Codebase list unrtf / f7b9cfd
update changelog Git-Dch: Ignore Willi Mann 7 years ago
10 changed file(s) with 2 addition(s) and 10875 deletion(s). Raw diff Collapse all Expand all
+0
-370
INSTALL less more
0 Installation Instructions
1 *************************
2
3 Copyright (C) 1994-1996, 1999-2002, 2004-2013 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.
10
11 Basic Installation
12 ==================
13
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.
22
23 The `configure' shell script attempts to guess correct values for
24 various system-dependent variables used during compilation. It uses
25 those values to create a `Makefile' in each directory of the package.
26 It may also create one or more `.h' files containing system-dependent
27 definitions. Finally, it creates a shell script `config.status' that
28 you can run in the future to recreate the current configuration, and a
29 file `config.log' containing compiler output (useful mainly for
30 debugging `configure').
31
32 It can also use an optional file (typically called `config.cache'
33 and enabled with `--cache-file=config.cache' or simply `-C') that saves
34 the results of its tests to speed up reconfiguring. Caching is
35 disabled by default to prevent problems with accidental use of stale
36 cache files.
37
38 If you need to do unusual things to compile the package, please try
39 to figure out how `configure' could check whether to do them, and mail
40 diffs or instructions to the address given in the `README' so they can
41 be considered for the next release. If you are using the cache, and at
42 some point `config.cache' contains results you don't want to keep, you
43 may remove or edit it.
44
45 The file `configure.ac' (or `configure.in') is used to create
46 `configure' by a program called `autoconf'. You need `configure.ac' if
47 you want to change it or regenerate `configure' using a newer version
48 of `autoconf'.
49
50 The simplest way to compile this package is:
51
52 1. `cd' to the directory containing the package's source code and type
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.
57
58 2. Type `make' to compile the package.
59
60 3. Optionally, type `make check' to run any self-tests that come with
61 the package, generally using the just-built uninstalled binaries.
62
63 4. Type `make install' to install the programs and any data files and
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
77 source code directory by typing `make clean'. To also remove the
78 files that `configure' created (so you can compile the package for
79 a different kind of computer), type `make distclean'. There is
80 also a `make maintainer-clean' target, but that is intended mainly
81 for the package's developers. If you use it, you may have to get
82 all sorts of other programs in order to regenerate files that came
83 with the distribution.
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
95 Compilers and Options
96 =====================
97
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.
101
102 You can give `configure' initial values for configuration parameters
103 by setting variables in the command line or in the environment. Here
104 is an example:
105
106 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
107
108 *Note Defining Variables::, for more details.
109
110 Compiling For Multiple Architectures
111 ====================================
112
113 You can compile the package for more than one kind of computer at the
114 same time, by placing the object files for each architecture in their
115 own directory. To do this, you can use GNU `make'. `cd' to the
116 directory where you want the object files and executables to go and run
117 the `configure' script. `configure' automatically checks for the
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.
139
140 Installation Names
141 ==================
142
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.
148
149 You can specify separate installation prefixes for
150 architecture-specific files and architecture-independent files. If you
151 pass the option `--exec-prefix=PREFIX' to `configure', the package uses
152 PREFIX as the prefix for installing programs and libraries.
153 Documentation and other data files still use the regular prefix.
154
155 In addition, if you use an unusual directory layout you can give
156 options like `--bindir=DIR' to specify different values for particular
157 kinds of files. Run `configure --help' for a list of the directories
158 you can set and what kinds of files go in them. In general, the
159 default for these options is expressed in terms of `${prefix}', so that
160 specifying just `--prefix' will affect all of the other directory
161 specifications that were not explicitly provided.
162
163 The most portable way to affect installation locations is to pass the
164 correct locations to `configure'; however, many packages provide one or
165 both of the following shortcuts of passing variable assignments to the
166 `make install' command line to change installation locations without
167 having to reconfigure or recompile.
168
169 The first method involves providing an override variable for each
170 affected directory. For example, `make install
171 prefix=/alternate/directory' will choose an alternate location for all
172 directory configuration variables that were expressed in terms of
173 `${prefix}'. Any directories that were specified during `configure',
174 but not in terms of `${prefix}', must each be overridden at install
175 time for the entire installation to be relocated. The approach of
176 makefile variable overrides for each directory variable is required by
177 the GNU Coding Standards, and ideally causes no recompilation.
178 However, some platforms have known limitations with the semantics of
179 shared libraries that end up requiring recompilation when using this
180 method, particularly noticeable in packages that use GNU Libtool.
181
182 The second method involves providing the `DESTDIR' variable. For
183 example, `make install DESTDIR=/alternate/directory' will prepend
184 `/alternate/directory' before all installation names. The approach of
185 `DESTDIR' overrides is not required by the GNU Coding Standards, and
186 does not work on platforms that have drive letters. On the other hand,
187 it does better at avoiding recompilation issues, and works well even
188 when some directory options were not specified in terms of `${prefix}'
189 at `configure' time.
190
191 Optional Features
192 =================
193
194 If the package supports it, you can cause programs to be installed
195 with an extra prefix or suffix on their names by giving `configure' the
196 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
197
198 Some packages pay attention to `--enable-FEATURE' options to
199 `configure', where FEATURE indicates an optional part of the package.
200 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
201 is something like `gnu-as' or `x' (for the X Window System). The
202 `README' should mention any `--enable-' and `--with-' options that the
203 package recognizes.
204
205 For packages that use the X Window System, `configure' can usually
206 find the X include and library files automatically, but if it doesn't,
207 you can use the `configure' options `--x-includes=DIR' and
208 `--x-libraries=DIR' to specify their locations.
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
254 Specifying the System Type
255 ==========================
256
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
262 `--build=TYPE' option. TYPE can either be a short name for the system
263 type, such as `sun4', or a canonical name which has the form:
264
265 CPU-COMPANY-SYSTEM
266
267 where SYSTEM can have one of these forms:
268
269 OS
270 KERNEL-OS
271
272 See the file `config.sub' for the possible values of each field. If
273 `config.sub' isn't included in this package, then this package doesn't
274 need to know the machine type.
275
276 If you are _building_ compiler tools for cross-compiling, you should
277 use the option `--target=TYPE' to select the type of system they will
278 produce code for.
279
280 If you want to _use_ a cross compiler, that generates code for a
281 platform different from the build platform, you should specify the
282 "host" platform (i.e., that on which the generated programs will
283 eventually be run) with `--host=TYPE'.
284
285 Sharing Defaults
286 ================
287
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'.
291 `configure' looks for `PREFIX/share/config.site' if it exists, then
292 `PREFIX/etc/config.site' if it exists. Or, you can set the
293 `CONFIG_SITE' environment variable to the location of the site script.
294 A warning: not all `configure' scripts look for a site script.
295
296 Defining Variables
297 ==================
298
299 Variables not defined in a site shell script can be set in the
300 environment passed to `configure'. However, some packages may run
301 configure again during the build, and the customized values of these
302 variables may be lost. In order to avoid this problem, you should set
303 them in the `configure' command line, using `VAR=value'. For example:
304
305 ./configure CC=/usr/local2/bin/gcc
306
307 causes the specified `gcc' to be used as the C compiler (unless it is
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
315
316 `configure' Invocation
317 ======================
318
319 `configure' recognizes the following options to control how it
320 operates.
321
322 `--help'
323 `-h'
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.
332
333 `--version'
334 `-V'
335 Print the version of Autoconf used to generate the `configure'
336 script, and exit.
337
338 `--cache-file=FILE'
339 Enable the cache: use and save the results of the tests in FILE,
340 traditionally `config.cache'. FILE defaults to `/dev/null' to
341 disable caching.
342
343 `--config-cache'
344 `-C'
345 Alias for `--cache-file=config.cache'.
346
347 `--quiet'
348 `--silent'
349 `-q'
350 Do not print messages saying which checks are being made. To
351 suppress all normal output, redirect it to `/dev/null' (any error
352 messages will still be shown).
353
354 `--srcdir=DIR'
355 Look for the package's source code in directory DIR. Usually
356 `configure' can determine that directory automatically.
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
368 `configure' also accepts some other, not widely useful, options. Run
369 `configure --help' for more details.
+0
-769
Makefile.in less more
0 # Makefile.in generated by automake 1.13.4 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 # this is the main Makefile.am
17 VPATH = @srcdir@
18 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
19 am__make_running_with_option = \
20 case $${target_option-} in \
21 ?) ;; \
22 *) echo "am__make_running_with_option: internal error: invalid" \
23 "target option '$${target_option-}' specified" >&2; \
24 exit 1;; \
25 esac; \
26 has_opt=no; \
27 sane_makeflags=$$MAKEFLAGS; \
28 if $(am__is_gnu_make); then \
29 sane_makeflags=$$MFLAGS; \
30 else \
31 case $$MAKEFLAGS in \
32 *\\[\ \ ]*) \
33 bs=\\; \
34 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
35 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
36 esac; \
37 fi; \
38 skip_next=no; \
39 strip_trailopt () \
40 { \
41 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
42 }; \
43 for flg in $$sane_makeflags; do \
44 test $$skip_next = yes && { skip_next=no; continue; }; \
45 case $$flg in \
46 *=*|--*) continue;; \
47 -*I) strip_trailopt 'I'; skip_next=yes;; \
48 -*I?*) strip_trailopt 'I';; \
49 -*O) strip_trailopt 'O'; skip_next=yes;; \
50 -*O?*) strip_trailopt 'O';; \
51 -*l) strip_trailopt 'l'; skip_next=yes;; \
52 -*l?*) strip_trailopt 'l';; \
53 -[dEDm]) skip_next=yes;; \
54 -[JT]) skip_next=yes;; \
55 esac; \
56 case $$flg in \
57 *$$target_option*) has_opt=yes; break;; \
58 esac; \
59 done; \
60 test $$has_opt = yes
61 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
62 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
63 pkgdatadir = $(datadir)/@PACKAGE@
64 pkgincludedir = $(includedir)/@PACKAGE@
65 pkglibdir = $(libdir)/@PACKAGE@
66 pkglibexecdir = $(libexecdir)/@PACKAGE@
67 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
68 install_sh_DATA = $(install_sh) -c -m 644
69 install_sh_PROGRAM = $(install_sh) -c
70 install_sh_SCRIPT = $(install_sh) -c
71 INSTALL_HEADER = $(INSTALL_DATA)
72 transform = $(program_transform_name)
73 NORMAL_INSTALL = :
74 PRE_INSTALL = :
75 POST_INSTALL = :
76 NORMAL_UNINSTALL = :
77 PRE_UNINSTALL = :
78 POST_UNINSTALL = :
79 build_triplet = @build@
80 host_triplet = @host@
81 subdir = .
82 DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
83 $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
84 $(top_srcdir)/configure $(am__configure_deps) \
85 $(srcdir)/config.h.in COPYING config/config.guess \
86 config/config.sub config/depcomp config/install-sh \
87 config/missing $(top_srcdir)/config/config.guess \
88 $(top_srcdir)/config/config.sub \
89 $(top_srcdir)/config/install-sh $(top_srcdir)/config/missing
90 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
91 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
92 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
93 $(ACLOCAL_M4)
94 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
95 configure.lineno config.status.lineno
96 mkinstalldirs = $(install_sh) -d
97 CONFIG_HEADER = config.h
98 CONFIG_CLEAN_FILES =
99 CONFIG_CLEAN_VPATH_FILES =
100 AM_V_P = $(am__v_P_@AM_V@)
101 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
102 am__v_P_0 = false
103 am__v_P_1 = :
104 AM_V_GEN = $(am__v_GEN_@AM_V@)
105 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
106 am__v_GEN_0 = @echo " GEN " $@;
107 am__v_GEN_1 =
108 AM_V_at = $(am__v_at_@AM_V@)
109 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
110 am__v_at_0 = @
111 am__v_at_1 =
112 SOURCES =
113 DIST_SOURCES =
114 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
115 ctags-recursive dvi-recursive html-recursive info-recursive \
116 install-data-recursive install-dvi-recursive \
117 install-exec-recursive install-html-recursive \
118 install-info-recursive install-pdf-recursive \
119 install-ps-recursive install-recursive installcheck-recursive \
120 installdirs-recursive pdf-recursive ps-recursive \
121 tags-recursive uninstall-recursive
122 am__can_run_installinfo = \
123 case $$AM_UPDATE_INFO_DIR in \
124 n|no|NO) false;; \
125 *) (install-info --version) >/dev/null 2>&1;; \
126 esac
127 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
128 distclean-recursive maintainer-clean-recursive
129 am__recursive_targets = \
130 $(RECURSIVE_TARGETS) \
131 $(RECURSIVE_CLEAN_TARGETS) \
132 $(am__extra_recursive_targets)
133 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
134 cscope distdir dist dist-all distcheck
135 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
136 $(LISP)config.h.in
137 # Read a list of newline-separated strings from the standard input,
138 # and print each of them once, without duplicates. Input order is
139 # *not* preserved.
140 am__uniquify_input = $(AWK) '\
141 BEGIN { nonempty = 0; } \
142 { items[$$0] = 1; nonempty = 1; } \
143 END { if (nonempty) { for (i in items) print i; }; } \
144 '
145 # Make sure the list of sources is unique. This is necessary because,
146 # e.g., the same source file might be shared among _SOURCES variables
147 # for different programs/libraries.
148 am__define_uniq_tagged_files = \
149 list='$(am__tagged_files)'; \
150 unique=`for i in $$list; do \
151 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
152 done | $(am__uniquify_input)`
153 ETAGS = etags
154 CTAGS = ctags
155 CSCOPE = cscope
156 DIST_SUBDIRS = $(SUBDIRS)
157 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
158 distdir = $(PACKAGE)-$(VERSION)
159 top_distdir = $(distdir)
160 am__remove_distdir = \
161 if test -d "$(distdir)"; then \
162 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
163 && rm -rf "$(distdir)" \
164 || { sleep 5 && rm -rf "$(distdir)"; }; \
165 else :; fi
166 am__post_remove_distdir = $(am__remove_distdir)
167 am__relativize = \
168 dir0=`pwd`; \
169 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
170 sed_rest='s,^[^/]*/*,,'; \
171 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
172 sed_butlast='s,/*[^/]*$$,,'; \
173 while test -n "$$dir1"; do \
174 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
175 if test "$$first" != "."; then \
176 if test "$$first" = ".."; then \
177 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
178 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
179 else \
180 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
181 if test "$$first2" = "$$first"; then \
182 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
183 else \
184 dir2="../$$dir2"; \
185 fi; \
186 dir0="$$dir0"/"$$first"; \
187 fi; \
188 fi; \
189 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
190 done; \
191 reldir="$$dir2"
192 DIST_ARCHIVES = $(distdir).tar.gz
193 GZIP_ENV = --best
194 DIST_TARGETS = dist-gzip
195 distuninstallcheck_listfiles = find . -type f -print
196 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
197 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
198 distcleancheck_listfiles = find . -type f -print
199 ACLOCAL = @ACLOCAL@
200 AMTAR = @AMTAR@
201 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
202 AUTOCONF = @AUTOCONF@
203 AUTOHEADER = @AUTOHEADER@
204 AUTOMAKE = @AUTOMAKE@
205 AWK = @AWK@
206 CC = @CC@
207 CCDEPMODE = @CCDEPMODE@
208 CFLAGS = @CFLAGS@
209 CPP = @CPP@
210 CPPFLAGS = @CPPFLAGS@
211 CYGPATH_W = @CYGPATH_W@
212 DEFS = @DEFS@
213 DEPDIR = @DEPDIR@
214 ECHO_C = @ECHO_C@
215 ECHO_N = @ECHO_N@
216 ECHO_T = @ECHO_T@
217 EGREP = @EGREP@
218 EXEEXT = @EXEEXT@
219 GREP = @GREP@
220 INSTALL = @INSTALL@
221 INSTALL_DATA = @INSTALL_DATA@
222 INSTALL_PROGRAM = @INSTALL_PROGRAM@
223 INSTALL_SCRIPT = @INSTALL_SCRIPT@
224 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
225 LDFLAGS = @LDFLAGS@
226 LIBOBJS = @LIBOBJS@
227 LIBS = @LIBS@
228 LTLIBOBJS = @LTLIBOBJS@
229 MAINT = @MAINT@
230 MAKEINFO = @MAKEINFO@
231 MKDIR_P = @MKDIR_P@
232 OBJEXT = @OBJEXT@
233 PACKAGE = @PACKAGE@
234 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
235 PACKAGE_NAME = @PACKAGE_NAME@
236 PACKAGE_STRING = @PACKAGE_STRING@
237 PACKAGE_TARNAME = @PACKAGE_TARNAME@
238 PACKAGE_URL = @PACKAGE_URL@
239 PACKAGE_VERSION = @PACKAGE_VERSION@
240 PATH_SEPARATOR = @PATH_SEPARATOR@
241 SET_MAKE = @SET_MAKE@
242 SHELL = @SHELL@
243 STRIP = @STRIP@
244 VERSION = @VERSION@
245 abs_builddir = @abs_builddir@
246 abs_srcdir = @abs_srcdir@
247 abs_top_builddir = @abs_top_builddir@
248 abs_top_srcdir = @abs_top_srcdir@
249 ac_ct_CC = @ac_ct_CC@
250 am__include = @am__include@
251 am__leading_dot = @am__leading_dot@
252 am__quote = @am__quote@
253 am__tar = @am__tar@
254 am__untar = @am__untar@
255 bindir = @bindir@
256 build = @build@
257 build_alias = @build_alias@
258 build_cpu = @build_cpu@
259 build_os = @build_os@
260 build_vendor = @build_vendor@
261 builddir = @builddir@
262 datadir = @datadir@
263 datarootdir = @datarootdir@
264 docdir = @docdir@
265 dvidir = @dvidir@
266 exec_prefix = @exec_prefix@
267 host = @host@
268 host_alias = @host_alias@
269 host_cpu = @host_cpu@
270 host_os = @host_os@
271 host_vendor = @host_vendor@
272 htmldir = @htmldir@
273 includedir = @includedir@
274 infodir = @infodir@
275 install_sh = @install_sh@
276 libdir = @libdir@
277 libexecdir = @libexecdir@
278 localedir = @localedir@
279 localstatedir = @localstatedir@
280 mandir = @mandir@
281 mkdir_p = @mkdir_p@
282 oldincludedir = @oldincludedir@
283 pdfdir = @pdfdir@
284 prefix = @prefix@
285 program_transform_name = @program_transform_name@
286 psdir = @psdir@
287 sbindir = @sbindir@
288 sharedstatedir = @sharedstatedir@
289 srcdir = @srcdir@
290 sysconfdir = @sysconfdir@
291 target_alias = @target_alias@
292 top_build_prefix = @top_build_prefix@
293 top_builddir = @top_builddir@
294 top_srcdir = @top_srcdir@
295
296 # first of all, parse the subdirectories in the order given
297 SUBDIRS = src tests doc patches outputs
298
299 # then do stuff in this directory. Actually, we just need to add the
300 # bootstrap script to the distribution (for curious users, not really needed).
301 EXTRA_DIST = bootstrap
302 all: config.h
303 $(MAKE) $(AM_MAKEFLAGS) all-recursive
304
305 .SUFFIXES:
306 am--refresh: Makefile
307 @:
308 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
309 @for dep in $?; do \
310 case '$(am__configure_deps)' in \
311 *$$dep*) \
312 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
313 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
314 && exit 0; \
315 exit 1;; \
316 esac; \
317 done; \
318 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
319 $(am__cd) $(top_srcdir) && \
320 $(AUTOMAKE) --gnu Makefile
321 .PRECIOUS: Makefile
322 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
323 @case '$?' in \
324 *config.status*) \
325 echo ' $(SHELL) ./config.status'; \
326 $(SHELL) ./config.status;; \
327 *) \
328 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
329 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
330 esac;
331
332 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
333 $(SHELL) ./config.status --recheck
334
335 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
336 $(am__cd) $(srcdir) && $(AUTOCONF)
337 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
338 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
339 $(am__aclocal_m4_deps):
340
341 config.h: stamp-h1
342 @if test ! -f $@; then rm -f stamp-h1; else :; fi
343 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
344
345 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
346 @rm -f stamp-h1
347 cd $(top_builddir) && $(SHELL) ./config.status config.h
348 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
349 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
350 rm -f stamp-h1
351 touch $@
352
353 distclean-hdr:
354 -rm -f config.h stamp-h1
355
356 # This directory's subdirectories are mostly independent; you can cd
357 # into them and run 'make' without going through this Makefile.
358 # To change the values of 'make' variables: instead of editing Makefiles,
359 # (1) if the variable is set in 'config.status', edit 'config.status'
360 # (which will cause the Makefiles to be regenerated when you run 'make');
361 # (2) otherwise, pass the desired values on the 'make' command line.
362 $(am__recursive_targets):
363 @fail=; \
364 if $(am__make_keepgoing); then \
365 failcom='fail=yes'; \
366 else \
367 failcom='exit 1'; \
368 fi; \
369 dot_seen=no; \
370 target=`echo $@ | sed s/-recursive//`; \
371 case "$@" in \
372 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
373 *) list='$(SUBDIRS)' ;; \
374 esac; \
375 for subdir in $$list; do \
376 echo "Making $$target in $$subdir"; \
377 if test "$$subdir" = "."; then \
378 dot_seen=yes; \
379 local_target="$$target-am"; \
380 else \
381 local_target="$$target"; \
382 fi; \
383 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
384 || eval $$failcom; \
385 done; \
386 if test "$$dot_seen" = "no"; then \
387 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
388 fi; test -z "$$fail"
389
390 ID: $(am__tagged_files)
391 $(am__define_uniq_tagged_files); mkid -fID $$unique
392 tags: tags-recursive
393 TAGS: tags
394
395 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
396 set x; \
397 here=`pwd`; \
398 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
399 include_option=--etags-include; \
400 empty_fix=.; \
401 else \
402 include_option=--include; \
403 empty_fix=; \
404 fi; \
405 list='$(SUBDIRS)'; for subdir in $$list; do \
406 if test "$$subdir" = .; then :; else \
407 test ! -f $$subdir/TAGS || \
408 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
409 fi; \
410 done; \
411 $(am__define_uniq_tagged_files); \
412 shift; \
413 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
414 test -n "$$unique" || unique=$$empty_fix; \
415 if test $$# -gt 0; then \
416 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
417 "$$@" $$unique; \
418 else \
419 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
420 $$unique; \
421 fi; \
422 fi
423 ctags: ctags-recursive
424
425 CTAGS: ctags
426 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
427 $(am__define_uniq_tagged_files); \
428 test -z "$(CTAGS_ARGS)$$unique" \
429 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
430 $$unique
431
432 GTAGS:
433 here=`$(am__cd) $(top_builddir) && pwd` \
434 && $(am__cd) $(top_srcdir) \
435 && gtags -i $(GTAGS_ARGS) "$$here"
436 cscope: cscope.files
437 test ! -s cscope.files \
438 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
439 clean-cscope:
440 -rm -f cscope.files
441 cscope.files: clean-cscope cscopelist
442 cscopelist: cscopelist-recursive
443
444 cscopelist-am: $(am__tagged_files)
445 list='$(am__tagged_files)'; \
446 case "$(srcdir)" in \
447 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
448 *) sdir=$(subdir)/$(srcdir) ;; \
449 esac; \
450 for i in $$list; do \
451 if test -f "$$i"; then \
452 echo "$(subdir)/$$i"; \
453 else \
454 echo "$$sdir/$$i"; \
455 fi; \
456 done >> $(top_builddir)/cscope.files
457
458 distclean-tags:
459 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
460 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
461
462 distdir: $(DISTFILES)
463 $(am__remove_distdir)
464 test -d "$(distdir)" || mkdir "$(distdir)"
465 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
466 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
467 list='$(DISTFILES)'; \
468 dist_files=`for file in $$list; do echo $$file; done | \
469 sed -e "s|^$$srcdirstrip/||;t" \
470 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
471 case $$dist_files in \
472 */*) $(MKDIR_P) `echo "$$dist_files" | \
473 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
474 sort -u` ;; \
475 esac; \
476 for file in $$dist_files; do \
477 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
478 if test -d $$d/$$file; then \
479 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
480 if test -d "$(distdir)/$$file"; then \
481 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
482 fi; \
483 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
484 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
485 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
486 fi; \
487 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
488 else \
489 test -f "$(distdir)/$$file" \
490 || cp -p $$d/$$file "$(distdir)/$$file" \
491 || exit 1; \
492 fi; \
493 done
494 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
495 if test "$$subdir" = .; then :; else \
496 $(am__make_dryrun) \
497 || test -d "$(distdir)/$$subdir" \
498 || $(MKDIR_P) "$(distdir)/$$subdir" \
499 || exit 1; \
500 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
501 $(am__relativize); \
502 new_distdir=$$reldir; \
503 dir1=$$subdir; dir2="$(top_distdir)"; \
504 $(am__relativize); \
505 new_top_distdir=$$reldir; \
506 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
507 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
508 ($(am__cd) $$subdir && \
509 $(MAKE) $(AM_MAKEFLAGS) \
510 top_distdir="$$new_top_distdir" \
511 distdir="$$new_distdir" \
512 am__remove_distdir=: \
513 am__skip_length_check=: \
514 am__skip_mode_fix=: \
515 distdir) \
516 || exit 1; \
517 fi; \
518 done
519 -test -n "$(am__skip_mode_fix)" \
520 || find "$(distdir)" -type d ! -perm -755 \
521 -exec chmod u+rwx,go+rx {} \; -o \
522 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
523 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
524 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
525 || chmod -R a+r "$(distdir)"
526 dist-gzip: distdir
527 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
528 $(am__post_remove_distdir)
529
530 dist-bzip2: distdir
531 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
532 $(am__post_remove_distdir)
533
534 dist-lzip: distdir
535 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
536 $(am__post_remove_distdir)
537
538 dist-xz: distdir
539 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
540 $(am__post_remove_distdir)
541
542 dist-tarZ: distdir
543 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
544 $(am__post_remove_distdir)
545
546 dist-shar: distdir
547 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
548 $(am__post_remove_distdir)
549
550 dist-zip: distdir
551 -rm -f $(distdir).zip
552 zip -rq $(distdir).zip $(distdir)
553 $(am__post_remove_distdir)
554
555 dist dist-all:
556 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
557 $(am__post_remove_distdir)
558
559 # This target untars the dist file and tries a VPATH configuration. Then
560 # it guarantees that the distribution is self-contained by making another
561 # tarfile.
562 distcheck: dist
563 case '$(DIST_ARCHIVES)' in \
564 *.tar.gz*) \
565 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
566 *.tar.bz2*) \
567 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
568 *.tar.lz*) \
569 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
570 *.tar.xz*) \
571 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
572 *.tar.Z*) \
573 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
574 *.shar.gz*) \
575 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
576 *.zip*) \
577 unzip $(distdir).zip ;;\
578 esac
579 chmod -R a-w $(distdir)
580 chmod u+w $(distdir)
581 mkdir $(distdir)/_build $(distdir)/_inst
582 chmod a-w $(distdir)
583 test -d $(distdir)/_build || exit 0; \
584 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
585 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
586 && am__cwd=`pwd` \
587 && $(am__cd) $(distdir)/_build \
588 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
589 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
590 $(DISTCHECK_CONFIGURE_FLAGS) \
591 && $(MAKE) $(AM_MAKEFLAGS) \
592 && $(MAKE) $(AM_MAKEFLAGS) dvi \
593 && $(MAKE) $(AM_MAKEFLAGS) check \
594 && $(MAKE) $(AM_MAKEFLAGS) install \
595 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
596 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
597 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
598 distuninstallcheck \
599 && chmod -R a-w "$$dc_install_base" \
600 && ({ \
601 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
602 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
603 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
604 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
605 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
606 } || { rm -rf "$$dc_destdir"; exit 1; }) \
607 && rm -rf "$$dc_destdir" \
608 && $(MAKE) $(AM_MAKEFLAGS) dist \
609 && rm -rf $(DIST_ARCHIVES) \
610 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
611 && cd "$$am__cwd" \
612 || exit 1
613 $(am__post_remove_distdir)
614 @(echo "$(distdir) archives ready for distribution: "; \
615 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
616 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
617 distuninstallcheck:
618 @test -n '$(distuninstallcheck_dir)' || { \
619 echo 'ERROR: trying to run $@ with an empty' \
620 '$$(distuninstallcheck_dir)' >&2; \
621 exit 1; \
622 }; \
623 $(am__cd) '$(distuninstallcheck_dir)' || { \
624 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
625 exit 1; \
626 }; \
627 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
628 || { echo "ERROR: files left after uninstall:" ; \
629 if test -n "$(DESTDIR)"; then \
630 echo " (check DESTDIR support)"; \
631 fi ; \
632 $(distuninstallcheck_listfiles) ; \
633 exit 1; } >&2
634 distcleancheck: distclean
635 @if test '$(srcdir)' = . ; then \
636 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
637 exit 1 ; \
638 fi
639 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
640 || { echo "ERROR: files left in build directory after distclean:" ; \
641 $(distcleancheck_listfiles) ; \
642 exit 1; } >&2
643 check-am: all-am
644 check: check-recursive
645 all-am: Makefile config.h
646 installdirs: installdirs-recursive
647 installdirs-am:
648 install: install-recursive
649 install-exec: install-exec-recursive
650 install-data: install-data-recursive
651 uninstall: uninstall-recursive
652
653 install-am: all-am
654 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
655
656 installcheck: installcheck-recursive
657 install-strip:
658 if test -z '$(STRIP)'; then \
659 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
660 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
661 install; \
662 else \
663 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
664 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
665 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
666 fi
667 mostlyclean-generic:
668
669 clean-generic:
670
671 distclean-generic:
672 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
673 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
674
675 maintainer-clean-generic:
676 @echo "This command is intended for maintainers to use"
677 @echo "it deletes files that may require special tools to rebuild."
678 clean: clean-recursive
679
680 clean-am: clean-generic mostlyclean-am
681
682 distclean: distclean-recursive
683 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
684 -rm -f Makefile
685 distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
686
687 dvi: dvi-recursive
688
689 dvi-am:
690
691 html: html-recursive
692
693 html-am:
694
695 info: info-recursive
696
697 info-am:
698
699 install-data-am:
700
701 install-dvi: install-dvi-recursive
702
703 install-dvi-am:
704
705 install-exec-am:
706
707 install-html: install-html-recursive
708
709 install-html-am:
710
711 install-info: install-info-recursive
712
713 install-info-am:
714
715 install-man:
716
717 install-pdf: install-pdf-recursive
718
719 install-pdf-am:
720
721 install-ps: install-ps-recursive
722
723 install-ps-am:
724
725 installcheck-am:
726
727 maintainer-clean: maintainer-clean-recursive
728 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
729 -rm -rf $(top_srcdir)/autom4te.cache
730 -rm -f Makefile
731 maintainer-clean-am: distclean-am maintainer-clean-generic
732
733 mostlyclean: mostlyclean-recursive
734
735 mostlyclean-am: mostlyclean-generic
736
737 pdf: pdf-recursive
738
739 pdf-am:
740
741 ps: ps-recursive
742
743 ps-am:
744
745 uninstall-am:
746
747 .MAKE: $(am__recursive_targets) all install-am install-strip
748
749 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
750 am--refresh check check-am clean clean-cscope clean-generic \
751 cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
752 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
753 distcheck distclean distclean-generic distclean-hdr \
754 distclean-tags distcleancheck distdir distuninstallcheck dvi \
755 dvi-am html html-am info info-am install install-am \
756 install-data install-data-am install-dvi install-dvi-am \
757 install-exec install-exec-am install-html install-html-am \
758 install-info install-info-am install-man install-pdf \
759 install-pdf-am install-ps install-ps-am install-strip \
760 installcheck installcheck-am installdirs installdirs-am \
761 maintainer-clean maintainer-clean-generic mostlyclean \
762 mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
763 uninstall-am
764
765
766 # Tell versions [3.59,3.63) of GNU make to not export all variables.
767 # Otherwise a system limit (for SysV at least) may be exceeded.
768 .NOEXPORT:
+0
-1075
aclocal.m4 less more
0 # generated automatically by aclocal 1.13.4 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
3
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
14 m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
17 [m4_warning([this file was generated for autoconf 2.69.
18 You have another version of autoconf. It may work, but is not guaranteed to.
19 If you have problems, you may need to regenerate the build system entirely.
20 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
21
22 # Copyright (C) 2002-2013 Free Software Foundation, Inc.
23 #
24 # This file is free software; the Free Software Foundation
25 # gives unlimited permission to copy and/or distribute it,
26 # with or without modifications, as long as this notice is preserved.
27
28 # AM_AUTOMAKE_VERSION(VERSION)
29 # ----------------------------
30 # Automake X.Y traces this macro to ensure aclocal.m4 has been
31 # generated from the m4 files accompanying Automake X.Y.
32 # (This private macro should not be called outside this file.)
33 AC_DEFUN([AM_AUTOMAKE_VERSION],
34 [am__api_version='1.13'
35 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36 dnl require some minimum version. Point them to the right macro.
37 m4_if([$1], [1.13.4], [],
38 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
39 ])
40
41 # _AM_AUTOCONF_VERSION(VERSION)
42 # -----------------------------
43 # aclocal traces this macro to find the Autoconf version.
44 # This is a private macro too. Using m4_define simplifies
45 # the logic in aclocal, which can simply ignore this definition.
46 m4_define([_AM_AUTOCONF_VERSION], [])
47
48 # AM_SET_CURRENT_AUTOMAKE_VERSION
49 # -------------------------------
50 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53 [AM_AUTOMAKE_VERSION([1.13.4])dnl
54 m4_ifndef([AC_AUTOCONF_VERSION],
55 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
57
58 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
59
60 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
61 #
62 # This file is free software; the Free Software Foundation
63 # gives unlimited permission to copy and/or distribute it,
64 # with or without modifications, as long as this notice is preserved.
65
66 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
67 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
68 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
69 #
70 # Of course, Automake must honor this variable whenever it calls a
71 # tool from the auxiliary directory. The problem is that $srcdir (and
72 # therefore $ac_aux_dir as well) can be either absolute or relative,
73 # depending on how configure is run. This is pretty annoying, since
74 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
75 # source directory, any form will work fine, but in subdirectories a
76 # relative path needs to be adjusted first.
77 #
78 # $ac_aux_dir/missing
79 # fails when called from a subdirectory if $ac_aux_dir is relative
80 # $top_srcdir/$ac_aux_dir/missing
81 # fails if $ac_aux_dir is absolute,
82 # fails when called from a subdirectory in a VPATH build with
83 # a relative $ac_aux_dir
84 #
85 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
86 # are both prefixed by $srcdir. In an in-source build this is usually
87 # harmless because $srcdir is '.', but things will broke when you
88 # start a VPATH build or use an absolute $srcdir.
89 #
90 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
91 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
92 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
93 # and then we would define $MISSING as
94 # MISSING="\${SHELL} $am_aux_dir/missing"
95 # This will work as long as MISSING is not called from configure, because
96 # unfortunately $(top_srcdir) has no meaning in configure.
97 # However there are other variables, like CC, which are often used in
98 # configure, and could therefore not use this "fixed" $ac_aux_dir.
99 #
100 # Another solution, used here, is to always expand $ac_aux_dir to an
101 # absolute PATH. The drawback is that using absolute paths prevent a
102 # configured tree to be moved without reconfiguration.
103
104 AC_DEFUN([AM_AUX_DIR_EXPAND],
105 [dnl Rely on autoconf to set up CDPATH properly.
106 AC_PREREQ([2.50])dnl
107 # expand $ac_aux_dir to an absolute path
108 am_aux_dir=`cd $ac_aux_dir && pwd`
109 ])
110
111 # AM_CONDITIONAL -*- Autoconf -*-
112
113 # Copyright (C) 1997-2013 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 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
120 # -------------------------------------
121 # Define a conditional.
122 AC_DEFUN([AM_CONDITIONAL],
123 [AC_PREREQ([2.52])dnl
124 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
125 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
126 AC_SUBST([$1_TRUE])dnl
127 AC_SUBST([$1_FALSE])dnl
128 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
129 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
130 m4_define([_AM_COND_VALUE_$1], [$2])dnl
131 if $2; then
132 $1_TRUE=
133 $1_FALSE='#'
134 else
135 $1_TRUE='#'
136 $1_FALSE=
137 fi
138 AC_CONFIG_COMMANDS_PRE(
139 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
140 AC_MSG_ERROR([[conditional "$1" was never defined.
141 Usually this means the macro was only invoked conditionally.]])
142 fi])])
143
144 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
145 #
146 # This file is free software; the Free Software Foundation
147 # gives unlimited permission to copy and/or distribute it,
148 # with or without modifications, as long as this notice is preserved.
149
150
151 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
152 # written in clear, in which case automake, when reading aclocal.m4,
153 # will think it sees a *use*, and therefore will trigger all it's
154 # C support machinery. Also note that it means that autoscan, seeing
155 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
156
157
158 # _AM_DEPENDENCIES(NAME)
159 # ----------------------
160 # See how the compiler implements dependency checking.
161 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
162 # We try a few techniques and use that to set a single cache variable.
163 #
164 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
165 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
166 # dependency, and given that the user is not expected to run this macro,
167 # just rely on AC_PROG_CC.
168 AC_DEFUN([_AM_DEPENDENCIES],
169 [AC_REQUIRE([AM_SET_DEPDIR])dnl
170 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
171 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
172 AC_REQUIRE([AM_DEP_TRACK])dnl
173
174 m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
175 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
176 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
177 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
178 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
179 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
180 [depcc="$$1" am_compiler_list=])
181
182 AC_CACHE_CHECK([dependency style of $depcc],
183 [am_cv_$1_dependencies_compiler_type],
184 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
185 # We make a subdir and do the tests there. Otherwise we can end up
186 # making bogus files that we don't know about and never remove. For
187 # instance it was reported that on HP-UX the gcc test will end up
188 # making a dummy file named 'D' -- because '-MD' means "put the output
189 # in D".
190 rm -rf conftest.dir
191 mkdir conftest.dir
192 # Copy depcomp to subdir because otherwise we won't find it if we're
193 # using a relative directory.
194 cp "$am_depcomp" conftest.dir
195 cd conftest.dir
196 # We will build objects and dependencies in a subdirectory because
197 # it helps to detect inapplicable dependency modes. For instance
198 # both Tru64's cc and ICC support -MD to output dependencies as a
199 # side effect of compilation, but ICC will put the dependencies in
200 # the current directory while Tru64 will put them in the object
201 # directory.
202 mkdir sub
203
204 am_cv_$1_dependencies_compiler_type=none
205 if test "$am_compiler_list" = ""; then
206 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
207 fi
208 am__universal=false
209 m4_case([$1], [CC],
210 [case " $depcc " in #(
211 *\ -arch\ *\ -arch\ *) am__universal=true ;;
212 esac],
213 [CXX],
214 [case " $depcc " in #(
215 *\ -arch\ *\ -arch\ *) am__universal=true ;;
216 esac])
217
218 for depmode in $am_compiler_list; do
219 # Setup a source with many dependencies, because some compilers
220 # like to wrap large dependency lists on column 80 (with \), and
221 # we should not choose a depcomp mode which is confused by this.
222 #
223 # We need to recreate these files for each test, as the compiler may
224 # overwrite some of them when testing with obscure command lines.
225 # This happens at least with the AIX C compiler.
226 : > sub/conftest.c
227 for i in 1 2 3 4 5 6; do
228 echo '#include "conftst'$i'.h"' >> sub/conftest.c
229 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
230 # Solaris 10 /bin/sh.
231 echo '/* dummy */' > sub/conftst$i.h
232 done
233 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
234
235 # We check with '-c' and '-o' for the sake of the "dashmstdout"
236 # mode. It turns out that the SunPro C++ compiler does not properly
237 # handle '-M -o', and we need to detect this. Also, some Intel
238 # versions had trouble with output in subdirs.
239 am__obj=sub/conftest.${OBJEXT-o}
240 am__minus_obj="-o $am__obj"
241 case $depmode in
242 gcc)
243 # This depmode causes a compiler race in universal mode.
244 test "$am__universal" = false || continue
245 ;;
246 nosideeffect)
247 # After this tag, mechanisms are not by side-effect, so they'll
248 # only be used when explicitly requested.
249 if test "x$enable_dependency_tracking" = xyes; then
250 continue
251 else
252 break
253 fi
254 ;;
255 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
256 # This compiler won't grok '-c -o', but also, the minuso test has
257 # not run yet. These depmodes are late enough in the game, and
258 # so weak that their functioning should not be impacted.
259 am__obj=conftest.${OBJEXT-o}
260 am__minus_obj=
261 ;;
262 none) break ;;
263 esac
264 if depmode=$depmode \
265 source=sub/conftest.c object=$am__obj \
266 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
267 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
268 >/dev/null 2>conftest.err &&
269 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
270 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
271 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
272 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
273 # icc doesn't choke on unknown options, it will just issue warnings
274 # or remarks (even with -Werror). So we grep stderr for any message
275 # that says an option was ignored or not supported.
276 # When given -MP, icc 7.0 and 7.1 complain thusly:
277 # icc: Command line warning: ignoring option '-M'; no argument required
278 # The diagnosis changed in icc 8.0:
279 # icc: Command line remark: option '-MP' not supported
280 if (grep 'ignoring option' conftest.err ||
281 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
282 am_cv_$1_dependencies_compiler_type=$depmode
283 break
284 fi
285 fi
286 done
287
288 cd ..
289 rm -rf conftest.dir
290 else
291 am_cv_$1_dependencies_compiler_type=none
292 fi
293 ])
294 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
295 AM_CONDITIONAL([am__fastdep$1], [
296 test "x$enable_dependency_tracking" != xno \
297 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
298 ])
299
300
301 # AM_SET_DEPDIR
302 # -------------
303 # Choose a directory name for dependency files.
304 # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
305 AC_DEFUN([AM_SET_DEPDIR],
306 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
307 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
308 ])
309
310
311 # AM_DEP_TRACK
312 # ------------
313 AC_DEFUN([AM_DEP_TRACK],
314 [AC_ARG_ENABLE([dependency-tracking], [dnl
315 AS_HELP_STRING(
316 [--enable-dependency-tracking],
317 [do not reject slow dependency extractors])
318 AS_HELP_STRING(
319 [--disable-dependency-tracking],
320 [speeds up one-time build])])
321 if test "x$enable_dependency_tracking" != xno; then
322 am_depcomp="$ac_aux_dir/depcomp"
323 AMDEPBACKSLASH='\'
324 am__nodep='_no'
325 fi
326 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
327 AC_SUBST([AMDEPBACKSLASH])dnl
328 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
329 AC_SUBST([am__nodep])dnl
330 _AM_SUBST_NOTMAKE([am__nodep])dnl
331 ])
332
333 # Generate code to set up dependency tracking. -*- Autoconf -*-
334
335 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
336 #
337 # This file is free software; the Free Software Foundation
338 # gives unlimited permission to copy and/or distribute it,
339 # with or without modifications, as long as this notice is preserved.
340
341
342 # _AM_OUTPUT_DEPENDENCY_COMMANDS
343 # ------------------------------
344 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
345 [{
346 # Older Autoconf quotes --file arguments for eval, but not when files
347 # are listed without --file. Let's play safe and only enable the eval
348 # if we detect the quoting.
349 case $CONFIG_FILES in
350 *\'*) eval set x "$CONFIG_FILES" ;;
351 *) set x $CONFIG_FILES ;;
352 esac
353 shift
354 for mf
355 do
356 # Strip MF so we end up with the name of the file.
357 mf=`echo "$mf" | sed -e 's/:.*$//'`
358 # Check whether this is an Automake generated Makefile or not.
359 # We used to match only the files named 'Makefile.in', but
360 # some people rename them; so instead we look at the file content.
361 # Grep'ing the first line is not enough: some people post-process
362 # each Makefile.in and add a new line on top of each file to say so.
363 # Grep'ing the whole file is not good either: AIX grep has a line
364 # limit of 2048, but all sed's we know have understand at least 4000.
365 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
366 dirpart=`AS_DIRNAME("$mf")`
367 else
368 continue
369 fi
370 # Extract the definition of DEPDIR, am__include, and am__quote
371 # from the Makefile without running 'make'.
372 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
373 test -z "$DEPDIR" && continue
374 am__include=`sed -n 's/^am__include = //p' < "$mf"`
375 test -z "$am__include" && continue
376 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
377 # Find all dependency output files, they are included files with
378 # $(DEPDIR) in their names. We invoke sed twice because it is the
379 # simplest approach to changing $(DEPDIR) to its actual value in the
380 # expansion.
381 for file in `sed -n "
382 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
383 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
384 # Make sure the directory exists.
385 test -f "$dirpart/$file" && continue
386 fdir=`AS_DIRNAME(["$file"])`
387 AS_MKDIR_P([$dirpart/$fdir])
388 # echo "creating $dirpart/$file"
389 echo '# dummy' > "$dirpart/$file"
390 done
391 done
392 }
393 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
394
395
396 # AM_OUTPUT_DEPENDENCY_COMMANDS
397 # -----------------------------
398 # This macro should only be invoked once -- use via AC_REQUIRE.
399 #
400 # This code is only required when automatic dependency tracking
401 # is enabled. FIXME. This creates each '.P' file that we will
402 # need in order to bootstrap the dependency handling code.
403 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
404 [AC_CONFIG_COMMANDS([depfiles],
405 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
406 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
407 ])
408
409 # Do all the work for Automake. -*- Autoconf -*-
410
411 # Copyright (C) 1996-2013 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 # This macro actually does too much. Some checks are only needed if
418 # your package does certain things. But this isn't really a big deal.
419
420 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
421 # AM_INIT_AUTOMAKE([OPTIONS])
422 # -----------------------------------------------
423 # The call with PACKAGE and VERSION arguments is the old style
424 # call (pre autoconf-2.50), which is being phased out. PACKAGE
425 # and VERSION should now be passed to AC_INIT and removed from
426 # the call to AM_INIT_AUTOMAKE.
427 # We support both call styles for the transition. After
428 # the next Automake release, Autoconf can make the AC_INIT
429 # arguments mandatory, and then we can depend on a new Autoconf
430 # release and drop the old call support.
431 AC_DEFUN([AM_INIT_AUTOMAKE],
432 [AC_PREREQ([2.65])dnl
433 dnl Autoconf wants to disallow AM_ names. We explicitly allow
434 dnl the ones we care about.
435 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
436 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
437 AC_REQUIRE([AC_PROG_INSTALL])dnl
438 if test "`cd $srcdir && pwd`" != "`pwd`"; then
439 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
440 # is not polluted with repeated "-I."
441 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
442 # test to see if srcdir already configured
443 if test -f $srcdir/config.status; then
444 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
445 fi
446 fi
447
448 # test whether we have cygpath
449 if test -z "$CYGPATH_W"; then
450 if (cygpath --version) >/dev/null 2>/dev/null; then
451 CYGPATH_W='cygpath -w'
452 else
453 CYGPATH_W=echo
454 fi
455 fi
456 AC_SUBST([CYGPATH_W])
457
458 # Define the identity of the package.
459 dnl Distinguish between old-style and new-style calls.
460 m4_ifval([$2],
461 [AC_DIAGNOSE([obsolete],
462 [$0: two- and three-arguments forms are deprecated.])
463 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
464 AC_SUBST([PACKAGE], [$1])dnl
465 AC_SUBST([VERSION], [$2])],
466 [_AM_SET_OPTIONS([$1])dnl
467 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
468 m4_if(
469 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
470 [ok:ok],,
471 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
472 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
473 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
474
475 _AM_IF_OPTION([no-define],,
476 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
477 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
478
479 # Some tools Automake needs.
480 AC_REQUIRE([AM_SANITY_CHECK])dnl
481 AC_REQUIRE([AC_ARG_PROGRAM])dnl
482 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
483 AM_MISSING_PROG([AUTOCONF], [autoconf])
484 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
485 AM_MISSING_PROG([AUTOHEADER], [autoheader])
486 AM_MISSING_PROG([MAKEINFO], [makeinfo])
487 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
488 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
489 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
490 # For better backward compatibility. To be removed once Automake 1.9.x
491 # dies out for good. For more background, see:
492 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
493 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
494 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
495 # We need awk for the "check" target. The system "awk" is bad on
496 # some platforms.
497 AC_REQUIRE([AC_PROG_AWK])dnl
498 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
499 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
500 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
501 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
502 [_AM_PROG_TAR([v7])])])
503 _AM_IF_OPTION([no-dependencies],,
504 [AC_PROVIDE_IFELSE([AC_PROG_CC],
505 [_AM_DEPENDENCIES([CC])],
506 [m4_define([AC_PROG_CC],
507 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
508 AC_PROVIDE_IFELSE([AC_PROG_CXX],
509 [_AM_DEPENDENCIES([CXX])],
510 [m4_define([AC_PROG_CXX],
511 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
512 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
513 [_AM_DEPENDENCIES([OBJC])],
514 [m4_define([AC_PROG_OBJC],
515 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
516 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
517 [_AM_DEPENDENCIES([OBJCXX])],
518 [m4_define([AC_PROG_OBJCXX],
519 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
520 ])
521 AC_REQUIRE([AM_SILENT_RULES])dnl
522 dnl The testsuite driver may need to know about EXEEXT, so add the
523 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
524 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
525 AC_CONFIG_COMMANDS_PRE(dnl
526 [m4_provide_if([_AM_COMPILER_EXEEXT],
527 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
528 ])
529
530 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
531 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
532 dnl mangled by Autoconf and run in a shell conditional statement.
533 m4_define([_AC_COMPILER_EXEEXT],
534 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
535
536
537 # When config.status generates a header, we must update the stamp-h file.
538 # This file resides in the same directory as the config header
539 # that is generated. The stamp files are numbered to have different names.
540
541 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
542 # loop where config.status creates the headers, so we can generate
543 # our stamp files there.
544 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
545 [# Compute $1's index in $config_headers.
546 _am_arg=$1
547 _am_stamp_count=1
548 for _am_header in $config_headers :; do
549 case $_am_header in
550 $_am_arg | $_am_arg:* )
551 break ;;
552 * )
553 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
554 esac
555 done
556 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
557
558 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
559 #
560 # This file is free software; the Free Software Foundation
561 # gives unlimited permission to copy and/or distribute it,
562 # with or without modifications, as long as this notice is preserved.
563
564 # AM_PROG_INSTALL_SH
565 # ------------------
566 # Define $install_sh.
567 AC_DEFUN([AM_PROG_INSTALL_SH],
568 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
569 if test x"${install_sh}" != xset; then
570 case $am_aux_dir in
571 *\ * | *\ *)
572 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
573 *)
574 install_sh="\${SHELL} $am_aux_dir/install-sh"
575 esac
576 fi
577 AC_SUBST([install_sh])])
578
579 # Copyright (C) 2003-2013 Free Software Foundation, Inc.
580 #
581 # This file is free software; the Free Software Foundation
582 # gives unlimited permission to copy and/or distribute it,
583 # with or without modifications, as long as this notice is preserved.
584
585 # Check whether the underlying file-system supports filenames
586 # with a leading dot. For instance MS-DOS doesn't.
587 AC_DEFUN([AM_SET_LEADING_DOT],
588 [rm -rf .tst 2>/dev/null
589 mkdir .tst 2>/dev/null
590 if test -d .tst; then
591 am__leading_dot=.
592 else
593 am__leading_dot=_
594 fi
595 rmdir .tst 2>/dev/null
596 AC_SUBST([am__leading_dot])])
597
598 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
599 # From Jim Meyering
600
601 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
602 #
603 # This file is free software; the Free Software Foundation
604 # gives unlimited permission to copy and/or distribute it,
605 # with or without modifications, as long as this notice is preserved.
606
607 # AM_MAINTAINER_MODE([DEFAULT-MODE])
608 # ----------------------------------
609 # Control maintainer-specific portions of Makefiles.
610 # Default is to disable them, unless 'enable' is passed literally.
611 # For symmetry, 'disable' may be passed as well. Anyway, the user
612 # can override the default with the --enable/--disable switch.
613 AC_DEFUN([AM_MAINTAINER_MODE],
614 [m4_case(m4_default([$1], [disable]),
615 [enable], [m4_define([am_maintainer_other], [disable])],
616 [disable], [m4_define([am_maintainer_other], [enable])],
617 [m4_define([am_maintainer_other], [enable])
618 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
619 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
620 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
621 AC_ARG_ENABLE([maintainer-mode],
622 [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
623 am_maintainer_other[ make rules and dependencies not useful
624 (and sometimes confusing) to the casual installer])],
625 [USE_MAINTAINER_MODE=$enableval],
626 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
627 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
628 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
629 MAINT=$MAINTAINER_MODE_TRUE
630 AC_SUBST([MAINT])dnl
631 ]
632 )
633
634 # Check to see how 'make' treats includes. -*- Autoconf -*-
635
636 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
637 #
638 # This file is free software; the Free Software Foundation
639 # gives unlimited permission to copy and/or distribute it,
640 # with or without modifications, as long as this notice is preserved.
641
642 # AM_MAKE_INCLUDE()
643 # -----------------
644 # Check to see how make treats includes.
645 AC_DEFUN([AM_MAKE_INCLUDE],
646 [am_make=${MAKE-make}
647 cat > confinc << 'END'
648 am__doit:
649 @echo this is the am__doit target
650 .PHONY: am__doit
651 END
652 # If we don't find an include directive, just comment out the code.
653 AC_MSG_CHECKING([for style of include used by $am_make])
654 am__include="#"
655 am__quote=
656 _am_result=none
657 # First try GNU make style include.
658 echo "include confinc" > confmf
659 # Ignore all kinds of additional output from 'make'.
660 case `$am_make -s -f confmf 2> /dev/null` in #(
661 *the\ am__doit\ target*)
662 am__include=include
663 am__quote=
664 _am_result=GNU
665 ;;
666 esac
667 # Now try BSD make style include.
668 if test "$am__include" = "#"; then
669 echo '.include "confinc"' > confmf
670 case `$am_make -s -f confmf 2> /dev/null` in #(
671 *the\ am__doit\ target*)
672 am__include=.include
673 am__quote="\""
674 _am_result=BSD
675 ;;
676 esac
677 fi
678 AC_SUBST([am__include])
679 AC_SUBST([am__quote])
680 AC_MSG_RESULT([$_am_result])
681 rm -f confinc confmf
682 ])
683
684 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
685
686 # Copyright (C) 1997-2013 Free Software Foundation, Inc.
687 #
688 # This file is free software; the Free Software Foundation
689 # gives unlimited permission to copy and/or distribute it,
690 # with or without modifications, as long as this notice is preserved.
691
692 # AM_MISSING_PROG(NAME, PROGRAM)
693 # ------------------------------
694 AC_DEFUN([AM_MISSING_PROG],
695 [AC_REQUIRE([AM_MISSING_HAS_RUN])
696 $1=${$1-"${am_missing_run}$2"}
697 AC_SUBST($1)])
698
699 # AM_MISSING_HAS_RUN
700 # ------------------
701 # Define MISSING if not defined so far and test if it is modern enough.
702 # If it is, set am_missing_run to use it, otherwise, to nothing.
703 AC_DEFUN([AM_MISSING_HAS_RUN],
704 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
705 AC_REQUIRE_AUX_FILE([missing])dnl
706 if test x"${MISSING+set}" != xset; then
707 case $am_aux_dir in
708 *\ * | *\ *)
709 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
710 *)
711 MISSING="\${SHELL} $am_aux_dir/missing" ;;
712 esac
713 fi
714 # Use eval to expand $SHELL
715 if eval "$MISSING --is-lightweight"; then
716 am_missing_run="$MISSING "
717 else
718 am_missing_run=
719 AC_MSG_WARN(['missing' script is too old or missing])
720 fi
721 ])
722
723 # Helper functions for option handling. -*- Autoconf -*-
724
725 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
726 #
727 # This file is free software; the Free Software Foundation
728 # gives unlimited permission to copy and/or distribute it,
729 # with or without modifications, as long as this notice is preserved.
730
731 # _AM_MANGLE_OPTION(NAME)
732 # -----------------------
733 AC_DEFUN([_AM_MANGLE_OPTION],
734 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
735
736 # _AM_SET_OPTION(NAME)
737 # --------------------
738 # Set option NAME. Presently that only means defining a flag for this option.
739 AC_DEFUN([_AM_SET_OPTION],
740 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
741
742 # _AM_SET_OPTIONS(OPTIONS)
743 # ------------------------
744 # OPTIONS is a space-separated list of Automake options.
745 AC_DEFUN([_AM_SET_OPTIONS],
746 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
747
748 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
749 # -------------------------------------------
750 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
751 AC_DEFUN([_AM_IF_OPTION],
752 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
753
754 # Check to make sure that the build environment is sane. -*- Autoconf -*-
755
756 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
757 #
758 # This file is free software; the Free Software Foundation
759 # gives unlimited permission to copy and/or distribute it,
760 # with or without modifications, as long as this notice is preserved.
761
762 # AM_SANITY_CHECK
763 # ---------------
764 AC_DEFUN([AM_SANITY_CHECK],
765 [AC_MSG_CHECKING([whether build environment is sane])
766 # Reject unsafe characters in $srcdir or the absolute working directory
767 # name. Accept space and tab only in the latter.
768 am_lf='
769 '
770 case `pwd` in
771 *[[\\\"\#\$\&\'\`$am_lf]]*)
772 AC_MSG_ERROR([unsafe absolute working directory name]);;
773 esac
774 case $srcdir in
775 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
776 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
777 esac
778
779 # Do 'set' in a subshell so we don't clobber the current shell's
780 # arguments. Must try -L first in case configure is actually a
781 # symlink; some systems play weird games with the mod time of symlinks
782 # (eg FreeBSD returns the mod time of the symlink's containing
783 # directory).
784 if (
785 am_has_slept=no
786 for am_try in 1 2; do
787 echo "timestamp, slept: $am_has_slept" > conftest.file
788 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
789 if test "$[*]" = "X"; then
790 # -L didn't work.
791 set X `ls -t "$srcdir/configure" conftest.file`
792 fi
793 if test "$[*]" != "X $srcdir/configure conftest.file" \
794 && test "$[*]" != "X conftest.file $srcdir/configure"; then
795
796 # If neither matched, then we have a broken ls. This can happen
797 # if, for instance, CONFIG_SHELL is bash and it inherits a
798 # broken ls alias from the environment. This has actually
799 # happened. Such a system could not be considered "sane".
800 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
801 alias in your environment])
802 fi
803 if test "$[2]" = conftest.file || test $am_try -eq 2; then
804 break
805 fi
806 # Just in case.
807 sleep 1
808 am_has_slept=yes
809 done
810 test "$[2]" = conftest.file
811 )
812 then
813 # Ok.
814 :
815 else
816 AC_MSG_ERROR([newly created file is older than distributed files!
817 Check your system clock])
818 fi
819 AC_MSG_RESULT([yes])
820 # If we didn't sleep, we still need to ensure time stamps of config.status and
821 # generated files are strictly newer.
822 am_sleep_pid=
823 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
824 ( sleep 1 ) &
825 am_sleep_pid=$!
826 fi
827 AC_CONFIG_COMMANDS_PRE(
828 [AC_MSG_CHECKING([that generated files are newer than configure])
829 if test -n "$am_sleep_pid"; then
830 # Hide warnings about reused PIDs.
831 wait $am_sleep_pid 2>/dev/null
832 fi
833 AC_MSG_RESULT([done])])
834 rm -f conftest.file
835 ])
836
837 # Copyright (C) 2009-2013 Free Software Foundation, Inc.
838 #
839 # This file is free software; the Free Software Foundation
840 # gives unlimited permission to copy and/or distribute it,
841 # with or without modifications, as long as this notice is preserved.
842
843 # AM_SILENT_RULES([DEFAULT])
844 # --------------------------
845 # Enable less verbose build rules; with the default set to DEFAULT
846 # ("yes" being less verbose, "no" or empty being verbose).
847 AC_DEFUN([AM_SILENT_RULES],
848 [AC_ARG_ENABLE([silent-rules], [dnl
849 AS_HELP_STRING(
850 [--enable-silent-rules],
851 [less verbose build output (undo: "make V=1")])
852 AS_HELP_STRING(
853 [--disable-silent-rules],
854 [verbose build output (undo: "make V=0")])dnl
855 ])
856 case $enable_silent_rules in @%:@ (((
857 yes) AM_DEFAULT_VERBOSITY=0;;
858 no) AM_DEFAULT_VERBOSITY=1;;
859 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
860 esac
861 dnl
862 dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
863 dnl do not support nested variable expansions.
864 dnl See automake bug#9928 and bug#10237.
865 am_make=${MAKE-make}
866 AC_CACHE_CHECK([whether $am_make supports nested variables],
867 [am_cv_make_support_nested_variables],
868 [if AS_ECHO([['TRUE=$(BAR$(V))
869 BAR0=false
870 BAR1=true
871 V=1
872 am__doit:
873 @$(TRUE)
874 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
875 am_cv_make_support_nested_variables=yes
876 else
877 am_cv_make_support_nested_variables=no
878 fi])
879 if test $am_cv_make_support_nested_variables = yes; then
880 dnl Using '$V' instead of '$(V)' breaks IRIX make.
881 AM_V='$(V)'
882 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
883 else
884 AM_V=$AM_DEFAULT_VERBOSITY
885 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
886 fi
887 AC_SUBST([AM_V])dnl
888 AM_SUBST_NOTMAKE([AM_V])dnl
889 AC_SUBST([AM_DEFAULT_V])dnl
890 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
891 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
892 AM_BACKSLASH='\'
893 AC_SUBST([AM_BACKSLASH])dnl
894 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
895 ])
896
897 # Copyright (C) 2001-2013 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 # AM_PROG_INSTALL_STRIP
904 # ---------------------
905 # One issue with vendor 'install' (even GNU) is that you can't
906 # specify the program used to strip binaries. This is especially
907 # annoying in cross-compiling environments, where the build's strip
908 # is unlikely to handle the host's binaries.
909 # Fortunately install-sh will honor a STRIPPROG variable, so we
910 # always use install-sh in "make install-strip", and initialize
911 # STRIPPROG with the value of the STRIP variable (set by the user).
912 AC_DEFUN([AM_PROG_INSTALL_STRIP],
913 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
914 # Installed binaries are usually stripped using 'strip' when the user
915 # run "make install-strip". However 'strip' might not be the right
916 # tool to use in cross-compilation environments, therefore Automake
917 # will honor the 'STRIP' environment variable to overrule this program.
918 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
919 if test "$cross_compiling" != no; then
920 AC_CHECK_TOOL([STRIP], [strip], :)
921 fi
922 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
923 AC_SUBST([INSTALL_STRIP_PROGRAM])])
924
925 # Copyright (C) 2006-2013 Free Software Foundation, Inc.
926 #
927 # This file is free software; the Free Software Foundation
928 # gives unlimited permission to copy and/or distribute it,
929 # with or without modifications, as long as this notice is preserved.
930
931 # _AM_SUBST_NOTMAKE(VARIABLE)
932 # ---------------------------
933 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
934 # This macro is traced by Automake.
935 AC_DEFUN([_AM_SUBST_NOTMAKE])
936
937 # AM_SUBST_NOTMAKE(VARIABLE)
938 # --------------------------
939 # Public sister of _AM_SUBST_NOTMAKE.
940 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
941
942 # Check how to create a tarball. -*- Autoconf -*-
943
944 # Copyright (C) 2004-2013 Free Software Foundation, Inc.
945 #
946 # This file is free software; the Free Software Foundation
947 # gives unlimited permission to copy and/or distribute it,
948 # with or without modifications, as long as this notice is preserved.
949
950 # _AM_PROG_TAR(FORMAT)
951 # --------------------
952 # Check how to create a tarball in format FORMAT.
953 # FORMAT should be one of 'v7', 'ustar', or 'pax'.
954 #
955 # Substitute a variable $(am__tar) that is a command
956 # writing to stdout a FORMAT-tarball containing the directory
957 # $tardir.
958 # tardir=directory && $(am__tar) > result.tar
959 #
960 # Substitute a variable $(am__untar) that extract such
961 # a tarball read from stdin.
962 # $(am__untar) < result.tar
963 #
964 AC_DEFUN([_AM_PROG_TAR],
965 [# Always define AMTAR for backward compatibility. Yes, it's still used
966 # in the wild :-( We should find a proper way to deprecate it ...
967 AC_SUBST([AMTAR], ['$${TAR-tar}'])
968
969 # We'll loop over all known methods to create a tar archive until one works.
970 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
971
972 m4_if([$1], [v7],
973 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
974
975 [m4_case([$1],
976 [ustar],
977 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
978 # There is notably a 21 bits limit for the UID and the GID. In fact,
979 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
980 # and bug#13588).
981 am_max_uid=2097151 # 2^21 - 1
982 am_max_gid=$am_max_uid
983 # The $UID and $GID variables are not portable, so we need to resort
984 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
985 # below are definitely unexpected, so allow the users to see them
986 # (that is, avoid stderr redirection).
987 am_uid=`id -u || echo unknown`
988 am_gid=`id -g || echo unknown`
989 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
990 if test $am_uid -le $am_max_uid; then
991 AC_MSG_RESULT([yes])
992 else
993 AC_MSG_RESULT([no])
994 _am_tools=none
995 fi
996 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
997 if test $am_gid -le $am_max_gid; then
998 AC_MSG_RESULT([yes])
999 else
1000 AC_MSG_RESULT([no])
1001 _am_tools=none
1002 fi],
1003
1004 [pax],
1005 [],
1006
1007 [m4_fatal([Unknown tar format])])
1008
1009 AC_MSG_CHECKING([how to create a $1 tar archive])
1010
1011 # Go ahead even if we have the value already cached. We do so because we
1012 # need to set the values for the 'am__tar' and 'am__untar' variables.
1013 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1014
1015 for _am_tool in $_am_tools; do
1016 case $_am_tool in
1017 gnutar)
1018 for _am_tar in tar gnutar gtar; do
1019 AM_RUN_LOG([$_am_tar --version]) && break
1020 done
1021 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1022 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1023 am__untar="$_am_tar -xf -"
1024 ;;
1025 plaintar)
1026 # Must skip GNU tar: if it does not support --format= it doesn't create
1027 # ustar tarball either.
1028 (tar --version) >/dev/null 2>&1 && continue
1029 am__tar='tar chf - "$$tardir"'
1030 am__tar_='tar chf - "$tardir"'
1031 am__untar='tar xf -'
1032 ;;
1033 pax)
1034 am__tar='pax -L -x $1 -w "$$tardir"'
1035 am__tar_='pax -L -x $1 -w "$tardir"'
1036 am__untar='pax -r'
1037 ;;
1038 cpio)
1039 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1040 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1041 am__untar='cpio -i -H $1 -d'
1042 ;;
1043 none)
1044 am__tar=false
1045 am__tar_=false
1046 am__untar=false
1047 ;;
1048 esac
1049
1050 # If the value was cached, stop now. We just wanted to have am__tar
1051 # and am__untar set.
1052 test -n "${am_cv_prog_tar_$1}" && break
1053
1054 # tar/untar a dummy directory, and stop if the command works.
1055 rm -rf conftest.dir
1056 mkdir conftest.dir
1057 echo GrepMe > conftest.dir/file
1058 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1059 rm -rf conftest.dir
1060 if test -s conftest.tar; then
1061 AM_RUN_LOG([$am__untar <conftest.tar])
1062 AM_RUN_LOG([cat conftest.dir/file])
1063 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1064 fi
1065 done
1066 rm -rf conftest.dir
1067
1068 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1069 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1070
1071 AC_SUBST([am__tar])
1072 AC_SUBST([am__untar])
1073 ]) # _AM_PROG_TAR
1074
+0
-5797
configure less more
0 #! /bin/sh
1 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for unrtf 0.21.9.
3 #
4 # Report bugs to <bug-unrtf@gnu.org>.
5 #
6 #
7 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
8 #
9 #
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19 emulate sh
20 NULLCMD=:
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in #(
27 *posix*) :
28 set -o posix ;; #(
29 *) :
30 ;;
31 esac
32 fi
33
34
35 as_nl='
36 '
37 export as_nl
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
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 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in #(
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
72
73 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
75 PATH_SEPARATOR=:
76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78 PATH_SEPARATOR=';'
79 }
80 fi
81
82
83 # IFS
84 # We need space, tab and new line, in precisely that order. Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
88 IFS=" "" $as_nl"
89
90 # Find who we are. Look in the path if we contain no directory separator.
91 as_myself=
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
102
103 ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
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 $? 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 "$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 $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) 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 $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
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
423 as_expr=expr
424 else
425 as_expr=false
426 fi
427
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429 as_basename=basename
430 else
431 as_basename=false
432 fi
433
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
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 $as_echo X/"$0" |
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
446 s//\1/
447 q
448 }
449 /^X\/\(\/\/\)$/{
450 s//\1/
451 q
452 }
453 /^X\/\(\/\).*/{
454 s//\1/
455 q
456 }
457 s/.*/./; q'`
458
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. :-)
472 sed -n '
473 p
474 /[$]LINENO/=
475 ' <$as_myself |
476 sed '
477 s/[$]LINENO.*/&-/
478 t lineno
479 b
480 :lineno
481 N
482 :loop
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 t loop
485 s/-\n.*//
486 ' >$as_me.lineno &&
487 chmod +x "$as_me.lineno" ||
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
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
497 . "./$as_me.lineno"
498 # Exit status is that of the last command.
499 exit
500 }
501
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
504 -n*)
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 xy) ECHO_C='\c';;
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
509 ECHO_T=' ';;
510 esac;;
511 *)
512 ECHO_N='-n';;
513 esac
514
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
518 else
519 rm -f conf$$.dir
520 mkdir conf$$.dir 2>/dev/null
521 fi
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
524 as_ln_s='ln -s'
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530 as_ln_s='cp -pR'
531 elif ln conf$$.file conf$$ 2>/dev/null; then
532 as_ln_s=ln
533 else
534 as_ln_s='cp -pR'
535 fi
536 else
537 as_ln_s='cp -pR'
538 fi
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
541
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
544 else
545 test -d ./-p && rmdir ./-p
546 as_mkdir_p=false
547 fi
548
549 as_test_x='test -x'
550 as_executable_p=as_fn_executable_p
551
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557
558
559 test -n "$DJDIR" || exec 7<&0 </dev/null
560 exec 6>&1
561
562 # Name of the host.
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566
567 #
568 # Initializations.
569 #
570 ac_default_prefix=/usr/local
571 ac_clean_files=
572 ac_config_libobj_dir=.
573 LIBOBJS=
574 cross_compiling=no
575 subdirs=
576 MFLAGS=
577 MAKEFLAGS=
578
579 # Identity of this package.
580 PACKAGE_NAME='unrtf'
581 PACKAGE_TARNAME='unrtf'
582 PACKAGE_VERSION='0.21.9'
583 PACKAGE_STRING='unrtf 0.21.9'
584 PACKAGE_BUGREPORT='bug-unrtf@gnu.org'
585 PACKAGE_URL=''
586
587 ac_unique_file="src/attr.c"
588 # Factoring default headers for most tests.
589 ac_includes_default="\
590 #include <stdio.h>
591 #ifdef HAVE_SYS_TYPES_H
592 # include <sys/types.h>
593 #endif
594 #ifdef HAVE_SYS_STAT_H
595 # include <sys/stat.h>
596 #endif
597 #ifdef STDC_HEADERS
598 # include <stdlib.h>
599 # include <stddef.h>
600 #else
601 # ifdef HAVE_STDLIB_H
602 # include <stdlib.h>
603 # endif
604 #endif
605 #ifdef HAVE_STRING_H
606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607 # include <memory.h>
608 # endif
609 # include <string.h>
610 #endif
611 #ifdef HAVE_STRINGS_H
612 # include <strings.h>
613 #endif
614 #ifdef HAVE_INTTYPES_H
615 # include <inttypes.h>
616 #endif
617 #ifdef HAVE_STDINT_H
618 # include <stdint.h>
619 #endif
620 #ifdef HAVE_UNISTD_H
621 # include <unistd.h>
622 #endif"
623
624 ac_subst_vars='am__EXEEXT_FALSE
625 am__EXEEXT_TRUE
626 LTLIBOBJS
627 host_os
628 host_vendor
629 host_cpu
630 host
631 build_os
632 build_vendor
633 build_cpu
634 build
635 LIBOBJS
636 EGREP
637 GREP
638 CPP
639 am__fastdepCC_FALSE
640 am__fastdepCC_TRUE
641 CCDEPMODE
642 am__nodep
643 AMDEPBACKSLASH
644 AMDEP_FALSE
645 AMDEP_TRUE
646 am__quote
647 am__include
648 DEPDIR
649 OBJEXT
650 EXEEXT
651 ac_ct_CC
652 CPPFLAGS
653 LDFLAGS
654 CFLAGS
655 CC
656 MAINT
657 MAINTAINER_MODE_FALSE
658 MAINTAINER_MODE_TRUE
659 AM_BACKSLASH
660 AM_DEFAULT_VERBOSITY
661 AM_DEFAULT_V
662 AM_V
663 am__untar
664 am__tar
665 AMTAR
666 am__leading_dot
667 SET_MAKE
668 AWK
669 mkdir_p
670 MKDIR_P
671 INSTALL_STRIP_PROGRAM
672 STRIP
673 install_sh
674 MAKEINFO
675 AUTOHEADER
676 AUTOMAKE
677 AUTOCONF
678 ACLOCAL
679 VERSION
680 PACKAGE
681 CYGPATH_W
682 am__isrc
683 INSTALL_DATA
684 INSTALL_SCRIPT
685 INSTALL_PROGRAM
686 target_alias
687 host_alias
688 build_alias
689 LIBS
690 ECHO_T
691 ECHO_N
692 ECHO_C
693 DEFS
694 mandir
695 localedir
696 libdir
697 psdir
698 pdfdir
699 dvidir
700 htmldir
701 infodir
702 docdir
703 oldincludedir
704 includedir
705 localstatedir
706 sharedstatedir
707 sysconfdir
708 datadir
709 datarootdir
710 libexecdir
711 sbindir
712 bindir
713 program_transform_name
714 prefix
715 exec_prefix
716 PACKAGE_URL
717 PACKAGE_BUGREPORT
718 PACKAGE_STRING
719 PACKAGE_VERSION
720 PACKAGE_TARNAME
721 PACKAGE_NAME
722 PATH_SEPARATOR
723 SHELL'
724 ac_subst_files=''
725 ac_user_opts='
726 enable_option_checking
727 enable_silent_rules
728 enable_maintainer_mode
729 enable_dependency_tracking
730 '
731 ac_precious_vars='build_alias
732 host_alias
733 target_alias
734 CC
735 CFLAGS
736 LDFLAGS
737 LIBS
738 CPPFLAGS
739 CPP'
740
741
742 # Initialize some variables set by options.
743 ac_init_help=
744 ac_init_version=false
745 ac_unrecognized_opts=
746 ac_unrecognized_sep=
747 # The variables have the same names as the options, with
748 # dashes changed to underlines.
749 cache_file=/dev/null
750 exec_prefix=NONE
751 no_create=
752 no_recursion=
753 prefix=NONE
754 program_prefix=NONE
755 program_suffix=NONE
756 program_transform_name=s,x,x,
757 silent=
758 site=
759 srcdir=
760 verbose=
761 x_includes=NONE
762 x_libraries=NONE
763
764 # Installation directory options.
765 # These are left unexpanded so users can "make install exec_prefix=/foo"
766 # and all the variables that are supposed to be based on exec_prefix
767 # by default will actually change.
768 # Use braces instead of parens because sh, perl, etc. also accept them.
769 # (The list follows the same order as the GNU Coding Standards.)
770 bindir='${exec_prefix}/bin'
771 sbindir='${exec_prefix}/sbin'
772 libexecdir='${exec_prefix}/libexec'
773 datarootdir='${prefix}/share'
774 datadir='${datarootdir}'
775 sysconfdir='${prefix}/etc'
776 sharedstatedir='${prefix}/com'
777 localstatedir='${prefix}/var'
778 includedir='${prefix}/include'
779 oldincludedir='/usr/include'
780 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
781 infodir='${datarootdir}/info'
782 htmldir='${docdir}'
783 dvidir='${docdir}'
784 pdfdir='${docdir}'
785 psdir='${docdir}'
786 libdir='${exec_prefix}/lib'
787 localedir='${datarootdir}/locale'
788 mandir='${datarootdir}/man'
789
790 ac_prev=
791 ac_dashdash=
792 for ac_option
793 do
794 # If the previous option needs an argument, assign it.
795 if test -n "$ac_prev"; then
796 eval $ac_prev=\$ac_option
797 ac_prev=
798 continue
799 fi
800
801 case $ac_option in
802 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
803 *=) ac_optarg= ;;
804 *) ac_optarg=yes ;;
805 esac
806
807 # Accept the important Cygnus configure options, so we can diagnose typos.
808
809 case $ac_dashdash$ac_option in
810 --)
811 ac_dashdash=yes ;;
812
813 -bindir | --bindir | --bindi | --bind | --bin | --bi)
814 ac_prev=bindir ;;
815 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
816 bindir=$ac_optarg ;;
817
818 -build | --build | --buil | --bui | --bu)
819 ac_prev=build_alias ;;
820 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
821 build_alias=$ac_optarg ;;
822
823 -cache-file | --cache-file | --cache-fil | --cache-fi \
824 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
825 ac_prev=cache_file ;;
826 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
827 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
828 cache_file=$ac_optarg ;;
829
830 --config-cache | -C)
831 cache_file=config.cache ;;
832
833 -datadir | --datadir | --datadi | --datad)
834 ac_prev=datadir ;;
835 -datadir=* | --datadir=* | --datadi=* | --datad=*)
836 datadir=$ac_optarg ;;
837
838 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
839 | --dataroo | --dataro | --datar)
840 ac_prev=datarootdir ;;
841 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
842 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
843 datarootdir=$ac_optarg ;;
844
845 -disable-* | --disable-*)
846 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
847 # Reject names that are not valid shell variable names.
848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
849 as_fn_error $? "invalid feature name: $ac_useropt"
850 ac_useropt_orig=$ac_useropt
851 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
852 case $ac_user_opts in
853 *"
854 "enable_$ac_useropt"
855 "*) ;;
856 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
857 ac_unrecognized_sep=', ';;
858 esac
859 eval enable_$ac_useropt=no ;;
860
861 -docdir | --docdir | --docdi | --doc | --do)
862 ac_prev=docdir ;;
863 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
864 docdir=$ac_optarg ;;
865
866 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
867 ac_prev=dvidir ;;
868 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
869 dvidir=$ac_optarg ;;
870
871 -enable-* | --enable-*)
872 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
873 # Reject names that are not valid shell variable names.
874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
875 as_fn_error $? "invalid feature name: $ac_useropt"
876 ac_useropt_orig=$ac_useropt
877 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
878 case $ac_user_opts in
879 *"
880 "enable_$ac_useropt"
881 "*) ;;
882 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
883 ac_unrecognized_sep=', ';;
884 esac
885 eval enable_$ac_useropt=\$ac_optarg ;;
886
887 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
888 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
889 | --exec | --exe | --ex)
890 ac_prev=exec_prefix ;;
891 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
892 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
893 | --exec=* | --exe=* | --ex=*)
894 exec_prefix=$ac_optarg ;;
895
896 -gas | --gas | --ga | --g)
897 # Obsolete; use --with-gas.
898 with_gas=yes ;;
899
900 -help | --help | --hel | --he | -h)
901 ac_init_help=long ;;
902 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
903 ac_init_help=recursive ;;
904 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
905 ac_init_help=short ;;
906
907 -host | --host | --hos | --ho)
908 ac_prev=host_alias ;;
909 -host=* | --host=* | --hos=* | --ho=*)
910 host_alias=$ac_optarg ;;
911
912 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
913 ac_prev=htmldir ;;
914 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
915 | --ht=*)
916 htmldir=$ac_optarg ;;
917
918 -includedir | --includedir | --includedi | --included | --include \
919 | --includ | --inclu | --incl | --inc)
920 ac_prev=includedir ;;
921 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
922 | --includ=* | --inclu=* | --incl=* | --inc=*)
923 includedir=$ac_optarg ;;
924
925 -infodir | --infodir | --infodi | --infod | --info | --inf)
926 ac_prev=infodir ;;
927 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
928 infodir=$ac_optarg ;;
929
930 -libdir | --libdir | --libdi | --libd)
931 ac_prev=libdir ;;
932 -libdir=* | --libdir=* | --libdi=* | --libd=*)
933 libdir=$ac_optarg ;;
934
935 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
936 | --libexe | --libex | --libe)
937 ac_prev=libexecdir ;;
938 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
939 | --libexe=* | --libex=* | --libe=*)
940 libexecdir=$ac_optarg ;;
941
942 -localedir | --localedir | --localedi | --localed | --locale)
943 ac_prev=localedir ;;
944 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
945 localedir=$ac_optarg ;;
946
947 -localstatedir | --localstatedir | --localstatedi | --localstated \
948 | --localstate | --localstat | --localsta | --localst | --locals)
949 ac_prev=localstatedir ;;
950 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
951 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
952 localstatedir=$ac_optarg ;;
953
954 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
955 ac_prev=mandir ;;
956 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
957 mandir=$ac_optarg ;;
958
959 -nfp | --nfp | --nf)
960 # Obsolete; use --without-fp.
961 with_fp=no ;;
962
963 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
964 | --no-cr | --no-c | -n)
965 no_create=yes ;;
966
967 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
968 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
969 no_recursion=yes ;;
970
971 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
972 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
973 | --oldin | --oldi | --old | --ol | --o)
974 ac_prev=oldincludedir ;;
975 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
976 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
977 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
978 oldincludedir=$ac_optarg ;;
979
980 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
981 ac_prev=prefix ;;
982 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
983 prefix=$ac_optarg ;;
984
985 -program-prefix | --program-prefix | --program-prefi | --program-pref \
986 | --program-pre | --program-pr | --program-p)
987 ac_prev=program_prefix ;;
988 -program-prefix=* | --program-prefix=* | --program-prefi=* \
989 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
990 program_prefix=$ac_optarg ;;
991
992 -program-suffix | --program-suffix | --program-suffi | --program-suff \
993 | --program-suf | --program-su | --program-s)
994 ac_prev=program_suffix ;;
995 -program-suffix=* | --program-suffix=* | --program-suffi=* \
996 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
997 program_suffix=$ac_optarg ;;
998
999 -program-transform-name | --program-transform-name \
1000 | --program-transform-nam | --program-transform-na \
1001 | --program-transform-n | --program-transform- \
1002 | --program-transform | --program-transfor \
1003 | --program-transfo | --program-transf \
1004 | --program-trans | --program-tran \
1005 | --progr-tra | --program-tr | --program-t)
1006 ac_prev=program_transform_name ;;
1007 -program-transform-name=* | --program-transform-name=* \
1008 | --program-transform-nam=* | --program-transform-na=* \
1009 | --program-transform-n=* | --program-transform-=* \
1010 | --program-transform=* | --program-transfor=* \
1011 | --program-transfo=* | --program-transf=* \
1012 | --program-trans=* | --program-tran=* \
1013 | --progr-tra=* | --program-tr=* | --program-t=*)
1014 program_transform_name=$ac_optarg ;;
1015
1016 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1017 ac_prev=pdfdir ;;
1018 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1019 pdfdir=$ac_optarg ;;
1020
1021 -psdir | --psdir | --psdi | --psd | --ps)
1022 ac_prev=psdir ;;
1023 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1024 psdir=$ac_optarg ;;
1025
1026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1027 | -silent | --silent | --silen | --sile | --sil)
1028 silent=yes ;;
1029
1030 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1031 ac_prev=sbindir ;;
1032 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1033 | --sbi=* | --sb=*)
1034 sbindir=$ac_optarg ;;
1035
1036 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1037 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1038 | --sharedst | --shareds | --shared | --share | --shar \
1039 | --sha | --sh)
1040 ac_prev=sharedstatedir ;;
1041 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1042 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1043 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1044 | --sha=* | --sh=*)
1045 sharedstatedir=$ac_optarg ;;
1046
1047 -site | --site | --sit)
1048 ac_prev=site ;;
1049 -site=* | --site=* | --sit=*)
1050 site=$ac_optarg ;;
1051
1052 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1053 ac_prev=srcdir ;;
1054 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1055 srcdir=$ac_optarg ;;
1056
1057 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1058 | --syscon | --sysco | --sysc | --sys | --sy)
1059 ac_prev=sysconfdir ;;
1060 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1061 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1062 sysconfdir=$ac_optarg ;;
1063
1064 -target | --target | --targe | --targ | --tar | --ta | --t)
1065 ac_prev=target_alias ;;
1066 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1067 target_alias=$ac_optarg ;;
1068
1069 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1070 verbose=yes ;;
1071
1072 -version | --version | --versio | --versi | --vers | -V)
1073 ac_init_version=: ;;
1074
1075 -with-* | --with-*)
1076 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1077 # Reject names that are not valid shell variable names.
1078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1079 as_fn_error $? "invalid package name: $ac_useropt"
1080 ac_useropt_orig=$ac_useropt
1081 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1082 case $ac_user_opts in
1083 *"
1084 "with_$ac_useropt"
1085 "*) ;;
1086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1087 ac_unrecognized_sep=', ';;
1088 esac
1089 eval with_$ac_useropt=\$ac_optarg ;;
1090
1091 -without-* | --without-*)
1092 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1095 as_fn_error $? "invalid package name: $ac_useropt"
1096 ac_useropt_orig=$ac_useropt
1097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1098 case $ac_user_opts in
1099 *"
1100 "with_$ac_useropt"
1101 "*) ;;
1102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1103 ac_unrecognized_sep=', ';;
1104 esac
1105 eval with_$ac_useropt=no ;;
1106
1107 --x)
1108 # Obsolete; use --with-x.
1109 with_x=yes ;;
1110
1111 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1112 | --x-incl | --x-inc | --x-in | --x-i)
1113 ac_prev=x_includes ;;
1114 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1115 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1116 x_includes=$ac_optarg ;;
1117
1118 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1119 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1120 ac_prev=x_libraries ;;
1121 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1122 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1123 x_libraries=$ac_optarg ;;
1124
1125 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1126 Try \`$0 --help' for more information"
1127 ;;
1128
1129 *=*)
1130 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1131 # Reject names that are not valid shell variable names.
1132 case $ac_envvar in #(
1133 '' | [0-9]* | *[!_$as_cr_alnum]* )
1134 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1135 esac
1136 eval $ac_envvar=\$ac_optarg
1137 export $ac_envvar ;;
1138
1139 *)
1140 # FIXME: should be removed in autoconf 3.0.
1141 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1142 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1143 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1144 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1145 ;;
1146
1147 esac
1148 done
1149
1150 if test -n "$ac_prev"; then
1151 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1152 as_fn_error $? "missing argument to $ac_option"
1153 fi
1154
1155 if test -n "$ac_unrecognized_opts"; then
1156 case $enable_option_checking in
1157 no) ;;
1158 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1159 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1160 esac
1161 fi
1162
1163 # Check all directory arguments for consistency.
1164 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1165 datadir sysconfdir sharedstatedir localstatedir includedir \
1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1167 libdir localedir mandir
1168 do
1169 eval ac_val=\$$ac_var
1170 # Remove trailing slashes.
1171 case $ac_val in
1172 */ )
1173 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1174 eval $ac_var=\$ac_val;;
1175 esac
1176 # Be sure to have absolute directory names.
1177 case $ac_val in
1178 [\\/$]* | ?:[\\/]* ) continue;;
1179 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1180 esac
1181 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1182 done
1183
1184 # There might be people who depend on the old broken behavior: `$host'
1185 # used to hold the argument of --host etc.
1186 # FIXME: To remove some day.
1187 build=$build_alias
1188 host=$host_alias
1189 target=$target_alias
1190
1191 # FIXME: To remove some day.
1192 if test "x$host_alias" != x; then
1193 if test "x$build_alias" = x; then
1194 cross_compiling=maybe
1195 elif test "x$build_alias" != "x$host_alias"; then
1196 cross_compiling=yes
1197 fi
1198 fi
1199
1200 ac_tool_prefix=
1201 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1202
1203 test "$silent" = yes && exec 6>/dev/null
1204
1205
1206 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1207 ac_ls_di=`ls -di .` &&
1208 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1209 as_fn_error $? "working directory cannot be determined"
1210 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1211 as_fn_error $? "pwd does not report name of working directory"
1212
1213
1214 # Find the source files, if location was not specified.
1215 if test -z "$srcdir"; then
1216 ac_srcdir_defaulted=yes
1217 # Try the directory containing this script, then the parent directory.
1218 ac_confdir=`$as_dirname -- "$as_myself" ||
1219 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1220 X"$as_myself" : 'X\(//\)[^/]' \| \
1221 X"$as_myself" : 'X\(//\)$' \| \
1222 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1223 $as_echo X"$as_myself" |
1224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1225 s//\1/
1226 q
1227 }
1228 /^X\(\/\/\)[^/].*/{
1229 s//\1/
1230 q
1231 }
1232 /^X\(\/\/\)$/{
1233 s//\1/
1234 q
1235 }
1236 /^X\(\/\).*/{
1237 s//\1/
1238 q
1239 }
1240 s/.*/./; q'`
1241 srcdir=$ac_confdir
1242 if test ! -r "$srcdir/$ac_unique_file"; then
1243 srcdir=..
1244 fi
1245 else
1246 ac_srcdir_defaulted=no
1247 fi
1248 if test ! -r "$srcdir/$ac_unique_file"; then
1249 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1250 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1251 fi
1252 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1253 ac_abs_confdir=`(
1254 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1255 pwd)`
1256 # When building in place, set srcdir=.
1257 if test "$ac_abs_confdir" = "$ac_pwd"; then
1258 srcdir=.
1259 fi
1260 # Remove unnecessary trailing slashes from srcdir.
1261 # Double slashes in file names in object file debugging info
1262 # mess up M-x gdb in Emacs.
1263 case $srcdir in
1264 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1265 esac
1266 for ac_var in $ac_precious_vars; do
1267 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1268 eval ac_env_${ac_var}_value=\$${ac_var}
1269 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1270 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1271 done
1272
1273 #
1274 # Report the --help message.
1275 #
1276 if test "$ac_init_help" = "long"; then
1277 # Omit some internal or obsolete options to make the list less imposing.
1278 # This message is too long to be a string in the A/UX 3.1 sh.
1279 cat <<_ACEOF
1280 \`configure' configures unrtf 0.21.9 to adapt to many kinds of systems.
1281
1282 Usage: $0 [OPTION]... [VAR=VALUE]...
1283
1284 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1285 VAR=VALUE. See below for descriptions of some of the useful variables.
1286
1287 Defaults for the options are specified in brackets.
1288
1289 Configuration:
1290 -h, --help display this help and exit
1291 --help=short display options specific to this package
1292 --help=recursive display the short help of all the included packages
1293 -V, --version display version information and exit
1294 -q, --quiet, --silent do not print \`checking ...' messages
1295 --cache-file=FILE cache test results in FILE [disabled]
1296 -C, --config-cache alias for \`--cache-file=config.cache'
1297 -n, --no-create do not create output files
1298 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1299
1300 Installation directories:
1301 --prefix=PREFIX install architecture-independent files in PREFIX
1302 [$ac_default_prefix]
1303 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1304 [PREFIX]
1305
1306 By default, \`make install' will install all the files in
1307 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1308 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1309 for instance \`--prefix=\$HOME'.
1310
1311 For better control, use the options below.
1312
1313 Fine tuning of the installation directories:
1314 --bindir=DIR user executables [EPREFIX/bin]
1315 --sbindir=DIR system admin executables [EPREFIX/sbin]
1316 --libexecdir=DIR program executables [EPREFIX/libexec]
1317 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1318 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1319 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1320 --libdir=DIR object code libraries [EPREFIX/lib]
1321 --includedir=DIR C header files [PREFIX/include]
1322 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1325 --infodir=DIR info documentation [DATAROOTDIR/info]
1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1327 --mandir=DIR man documentation [DATAROOTDIR/man]
1328 --docdir=DIR documentation root [DATAROOTDIR/doc/unrtf]
1329 --htmldir=DIR html documentation [DOCDIR]
1330 --dvidir=DIR dvi documentation [DOCDIR]
1331 --pdfdir=DIR pdf documentation [DOCDIR]
1332 --psdir=DIR ps documentation [DOCDIR]
1333 _ACEOF
1334
1335 cat <<\_ACEOF
1336
1337 Program names:
1338 --program-prefix=PREFIX prepend PREFIX to installed program names
1339 --program-suffix=SUFFIX append SUFFIX to installed program names
1340 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1341
1342 System types:
1343 --build=BUILD configure for building on BUILD [guessed]
1344 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1345 _ACEOF
1346 fi
1347
1348 if test -n "$ac_init_help"; then
1349 case $ac_init_help in
1350 short | recursive ) echo "Configuration of unrtf 0.21.9:";;
1351 esac
1352 cat <<\_ACEOF
1353
1354 Optional Features:
1355 --disable-option-checking ignore unrecognized --enable/--with options
1356 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1357 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1358 --enable-silent-rules less verbose build output (undo: "make V=1")
1359 --disable-silent-rules verbose build output (undo: "make V=0")
1360 --enable-maintainer-mode
1361 enable make rules and dependencies not useful (and
1362 sometimes confusing) to the casual installer
1363 --enable-dependency-tracking
1364 do not reject slow dependency extractors
1365 --disable-dependency-tracking
1366 speeds up one-time build
1367
1368 Some influential environment variables:
1369 CC C compiler command
1370 CFLAGS C compiler flags
1371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1372 nonstandard directory <lib dir>
1373 LIBS libraries to pass to the linker, e.g. -l<library>
1374 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1375 you have headers in a nonstandard directory <include dir>
1376 CPP C preprocessor
1377
1378 Use these variables to override the choices made by `configure' or to help
1379 it to find libraries and programs with nonstandard names/locations.
1380
1381 Report bugs to <bug-unrtf@gnu.org>.
1382 _ACEOF
1383 ac_status=$?
1384 fi
1385
1386 if test "$ac_init_help" = "recursive"; then
1387 # If there are subdirs, report their specific --help.
1388 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1389 test -d "$ac_dir" ||
1390 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1391 continue
1392 ac_builddir=.
1393
1394 case "$ac_dir" in
1395 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1396 *)
1397 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1398 # A ".." for each directory in $ac_dir_suffix.
1399 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1400 case $ac_top_builddir_sub in
1401 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1402 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1403 esac ;;
1404 esac
1405 ac_abs_top_builddir=$ac_pwd
1406 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1407 # for backward compatibility:
1408 ac_top_builddir=$ac_top_build_prefix
1409
1410 case $srcdir in
1411 .) # We are building in place.
1412 ac_srcdir=.
1413 ac_top_srcdir=$ac_top_builddir_sub
1414 ac_abs_top_srcdir=$ac_pwd ;;
1415 [\\/]* | ?:[\\/]* ) # Absolute name.
1416 ac_srcdir=$srcdir$ac_dir_suffix;
1417 ac_top_srcdir=$srcdir
1418 ac_abs_top_srcdir=$srcdir ;;
1419 *) # Relative name.
1420 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1421 ac_top_srcdir=$ac_top_build_prefix$srcdir
1422 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1423 esac
1424 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1425
1426 cd "$ac_dir" || { ac_status=$?; continue; }
1427 # Check for guested configure.
1428 if test -f "$ac_srcdir/configure.gnu"; then
1429 echo &&
1430 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1431 elif test -f "$ac_srcdir/configure"; then
1432 echo &&
1433 $SHELL "$ac_srcdir/configure" --help=recursive
1434 else
1435 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1436 fi || ac_status=$?
1437 cd "$ac_pwd" || { ac_status=$?; break; }
1438 done
1439 fi
1440
1441 test -n "$ac_init_help" && exit $ac_status
1442 if $ac_init_version; then
1443 cat <<\_ACEOF
1444 unrtf configure 0.21.9
1445 generated by GNU Autoconf 2.69
1446
1447 Copyright (C) 2012 Free Software Foundation, Inc.
1448 This configure script is free software; the Free Software Foundation
1449 gives unlimited permission to copy, distribute and modify it.
1450 _ACEOF
1451 exit
1452 fi
1453
1454 ## ------------------------ ##
1455 ## Autoconf initialization. ##
1456 ## ------------------------ ##
1457
1458 # ac_fn_c_try_compile LINENO
1459 # --------------------------
1460 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1461 ac_fn_c_try_compile ()
1462 {
1463 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1464 rm -f conftest.$ac_objext
1465 if { { ac_try="$ac_compile"
1466 case "(($ac_try" in
1467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1468 *) ac_try_echo=$ac_try;;
1469 esac
1470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1471 $as_echo "$ac_try_echo"; } >&5
1472 (eval "$ac_compile") 2>conftest.err
1473 ac_status=$?
1474 if test -s conftest.err; then
1475 grep -v '^ *+' conftest.err >conftest.er1
1476 cat conftest.er1 >&5
1477 mv -f conftest.er1 conftest.err
1478 fi
1479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1480 test $ac_status = 0; } && {
1481 test -z "$ac_c_werror_flag" ||
1482 test ! -s conftest.err
1483 } && test -s conftest.$ac_objext; then :
1484 ac_retval=0
1485 else
1486 $as_echo "$as_me: failed program was:" >&5
1487 sed 's/^/| /' conftest.$ac_ext >&5
1488
1489 ac_retval=1
1490 fi
1491 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1492 as_fn_set_status $ac_retval
1493
1494 } # ac_fn_c_try_compile
1495
1496 # ac_fn_c_try_cpp LINENO
1497 # ----------------------
1498 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1499 ac_fn_c_try_cpp ()
1500 {
1501 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1502 if { { ac_try="$ac_cpp conftest.$ac_ext"
1503 case "(($ac_try" in
1504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1505 *) ac_try_echo=$ac_try;;
1506 esac
1507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1508 $as_echo "$ac_try_echo"; } >&5
1509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1510 ac_status=$?
1511 if test -s conftest.err; then
1512 grep -v '^ *+' conftest.err >conftest.er1
1513 cat conftest.er1 >&5
1514 mv -f conftest.er1 conftest.err
1515 fi
1516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1517 test $ac_status = 0; } > conftest.i && {
1518 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1519 test ! -s conftest.err
1520 }; then :
1521 ac_retval=0
1522 else
1523 $as_echo "$as_me: failed program was:" >&5
1524 sed 's/^/| /' conftest.$ac_ext >&5
1525
1526 ac_retval=1
1527 fi
1528 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1529 as_fn_set_status $ac_retval
1530
1531 } # ac_fn_c_try_cpp
1532
1533 # ac_fn_c_try_run LINENO
1534 # ----------------------
1535 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1536 # that executables *can* be run.
1537 ac_fn_c_try_run ()
1538 {
1539 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540 if { { ac_try="$ac_link"
1541 case "(($ac_try" in
1542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1543 *) ac_try_echo=$ac_try;;
1544 esac
1545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1546 $as_echo "$ac_try_echo"; } >&5
1547 (eval "$ac_link") 2>&5
1548 ac_status=$?
1549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1551 { { case "(($ac_try" in
1552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1553 *) ac_try_echo=$ac_try;;
1554 esac
1555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1556 $as_echo "$ac_try_echo"; } >&5
1557 (eval "$ac_try") 2>&5
1558 ac_status=$?
1559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1560 test $ac_status = 0; }; }; then :
1561 ac_retval=0
1562 else
1563 $as_echo "$as_me: program exited with status $ac_status" >&5
1564 $as_echo "$as_me: failed program was:" >&5
1565 sed 's/^/| /' conftest.$ac_ext >&5
1566
1567 ac_retval=$ac_status
1568 fi
1569 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1571 as_fn_set_status $ac_retval
1572
1573 } # ac_fn_c_try_run
1574
1575 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1576 # -------------------------------------------------------
1577 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1578 # the include files in INCLUDES and setting the cache variable VAR
1579 # accordingly.
1580 ac_fn_c_check_header_mongrel ()
1581 {
1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583 if eval \${$3+:} false; then :
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1585 $as_echo_n "checking for $2... " >&6; }
1586 if eval \${$3+:} false; then :
1587 $as_echo_n "(cached) " >&6
1588 fi
1589 eval ac_res=\$$3
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1591 $as_echo "$ac_res" >&6; }
1592 else
1593 # Is the header compilable?
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1595 $as_echo_n "checking $2 usability... " >&6; }
1596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1597 /* end confdefs.h. */
1598 $4
1599 #include <$2>
1600 _ACEOF
1601 if ac_fn_c_try_compile "$LINENO"; then :
1602 ac_header_compiler=yes
1603 else
1604 ac_header_compiler=no
1605 fi
1606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1608 $as_echo "$ac_header_compiler" >&6; }
1609
1610 # Is the header present?
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1612 $as_echo_n "checking $2 presence... " >&6; }
1613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1614 /* end confdefs.h. */
1615 #include <$2>
1616 _ACEOF
1617 if ac_fn_c_try_cpp "$LINENO"; then :
1618 ac_header_preproc=yes
1619 else
1620 ac_header_preproc=no
1621 fi
1622 rm -f conftest.err conftest.i conftest.$ac_ext
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1624 $as_echo "$ac_header_preproc" >&6; }
1625
1626 # So? What about this header?
1627 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1628 yes:no: )
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1630 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1632 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1633 ;;
1634 no:yes:* )
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1636 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1638 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1640 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1642 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1644 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1645 ( $as_echo "## -------------------------------- ##
1646 ## Report this to bug-unrtf@gnu.org ##
1647 ## -------------------------------- ##"
1648 ) | sed "s/^/$as_me: WARNING: /" >&2
1649 ;;
1650 esac
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1652 $as_echo_n "checking for $2... " >&6; }
1653 if eval \${$3+:} false; then :
1654 $as_echo_n "(cached) " >&6
1655 else
1656 eval "$3=\$ac_header_compiler"
1657 fi
1658 eval ac_res=\$$3
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1660 $as_echo "$ac_res" >&6; }
1661 fi
1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663
1664 } # ac_fn_c_check_header_mongrel
1665
1666 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1667 # -------------------------------------------------------
1668 # Tests whether HEADER exists and can be compiled using the include files in
1669 # INCLUDES, setting the cache variable VAR accordingly.
1670 ac_fn_c_check_header_compile ()
1671 {
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1674 $as_echo_n "checking for $2... " >&6; }
1675 if eval \${$3+:} false; then :
1676 $as_echo_n "(cached) " >&6
1677 else
1678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1679 /* end confdefs.h. */
1680 $4
1681 #include <$2>
1682 _ACEOF
1683 if ac_fn_c_try_compile "$LINENO"; then :
1684 eval "$3=yes"
1685 else
1686 eval "$3=no"
1687 fi
1688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1689 fi
1690 eval ac_res=\$$3
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694
1695 } # ac_fn_c_check_header_compile
1696
1697 # ac_fn_c_try_link LINENO
1698 # -----------------------
1699 # Try to link conftest.$ac_ext, and return whether this succeeded.
1700 ac_fn_c_try_link ()
1701 {
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 rm -f conftest.$ac_objext conftest$ac_exeext
1704 if { { ac_try="$ac_link"
1705 case "(($ac_try" in
1706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1707 *) ac_try_echo=$ac_try;;
1708 esac
1709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1710 $as_echo "$ac_try_echo"; } >&5
1711 (eval "$ac_link") 2>conftest.err
1712 ac_status=$?
1713 if test -s conftest.err; then
1714 grep -v '^ *+' conftest.err >conftest.er1
1715 cat conftest.er1 >&5
1716 mv -f conftest.er1 conftest.err
1717 fi
1718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719 test $ac_status = 0; } && {
1720 test -z "$ac_c_werror_flag" ||
1721 test ! -s conftest.err
1722 } && test -s conftest$ac_exeext && {
1723 test "$cross_compiling" = yes ||
1724 test -x conftest$ac_exeext
1725 }; then :
1726 ac_retval=0
1727 else
1728 $as_echo "$as_me: failed program was:" >&5
1729 sed 's/^/| /' conftest.$ac_ext >&5
1730
1731 ac_retval=1
1732 fi
1733 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1734 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1735 # interfere with the next link command; also delete a directory that is
1736 # left behind by Apple's compiler. We do this before executing the actions.
1737 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1739 as_fn_set_status $ac_retval
1740
1741 } # ac_fn_c_try_link
1742
1743 # ac_fn_c_check_func LINENO FUNC VAR
1744 # ----------------------------------
1745 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1746 ac_fn_c_check_func ()
1747 {
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750 $as_echo_n "checking for $2... " >&6; }
1751 if eval \${$3+:} false; then :
1752 $as_echo_n "(cached) " >&6
1753 else
1754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1755 /* end confdefs.h. */
1756 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1758 #define $2 innocuous_$2
1759
1760 /* System header to define __stub macros and hopefully few prototypes,
1761 which can conflict with char $2 (); below.
1762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1763 <limits.h> exists even on freestanding compilers. */
1764
1765 #ifdef __STDC__
1766 # include <limits.h>
1767 #else
1768 # include <assert.h>
1769 #endif
1770
1771 #undef $2
1772
1773 /* Override any GCC internal prototype to avoid an error.
1774 Use char because int might match the return type of a GCC
1775 builtin and then its argument prototype would still apply. */
1776 #ifdef __cplusplus
1777 extern "C"
1778 #endif
1779 char $2 ();
1780 /* The GNU C library defines this for functions which it implements
1781 to always fail with ENOSYS. Some functions are actually named
1782 something starting with __ and the normal name is an alias. */
1783 #if defined __stub_$2 || defined __stub___$2
1784 choke me
1785 #endif
1786
1787 int
1788 main ()
1789 {
1790 return $2 ();
1791 ;
1792 return 0;
1793 }
1794 _ACEOF
1795 if ac_fn_c_try_link "$LINENO"; then :
1796 eval "$3=yes"
1797 else
1798 eval "$3=no"
1799 fi
1800 rm -f core conftest.err conftest.$ac_objext \
1801 conftest$ac_exeext conftest.$ac_ext
1802 fi
1803 eval ac_res=\$$3
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1805 $as_echo "$ac_res" >&6; }
1806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1807
1808 } # ac_fn_c_check_func
1809 cat >config.log <<_ACEOF
1810 This file contains any messages produced by compilers while
1811 running configure, to aid debugging if configure makes a mistake.
1812
1813 It was created by unrtf $as_me 0.21.9, which was
1814 generated by GNU Autoconf 2.69. Invocation command line was
1815
1816 $ $0 $@
1817
1818 _ACEOF
1819 exec 5>>config.log
1820 {
1821 cat <<_ASUNAME
1822 ## --------- ##
1823 ## Platform. ##
1824 ## --------- ##
1825
1826 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1827 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1828 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1829 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1830 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1831
1832 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1833 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1834
1835 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1836 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1837 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1838 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1839 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1840 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1841 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1842
1843 _ASUNAME
1844
1845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1846 for as_dir in $PATH
1847 do
1848 IFS=$as_save_IFS
1849 test -z "$as_dir" && as_dir=.
1850 $as_echo "PATH: $as_dir"
1851 done
1852 IFS=$as_save_IFS
1853
1854 } >&5
1855
1856 cat >&5 <<_ACEOF
1857
1858
1859 ## ----------- ##
1860 ## Core tests. ##
1861 ## ----------- ##
1862
1863 _ACEOF
1864
1865
1866 # Keep a trace of the command line.
1867 # Strip out --no-create and --no-recursion so they do not pile up.
1868 # Strip out --silent because we don't want to record it for future runs.
1869 # Also quote any args containing shell meta-characters.
1870 # Make two passes to allow for proper duplicate-argument suppression.
1871 ac_configure_args=
1872 ac_configure_args0=
1873 ac_configure_args1=
1874 ac_must_keep_next=false
1875 for ac_pass in 1 2
1876 do
1877 for ac_arg
1878 do
1879 case $ac_arg in
1880 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1881 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1882 | -silent | --silent | --silen | --sile | --sil)
1883 continue ;;
1884 *\'*)
1885 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1886 esac
1887 case $ac_pass in
1888 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1889 2)
1890 as_fn_append ac_configure_args1 " '$ac_arg'"
1891 if test $ac_must_keep_next = true; then
1892 ac_must_keep_next=false # Got value, back to normal.
1893 else
1894 case $ac_arg in
1895 *=* | --config-cache | -C | -disable-* | --disable-* \
1896 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1897 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1898 | -with-* | --with-* | -without-* | --without-* | --x)
1899 case "$ac_configure_args0 " in
1900 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1901 esac
1902 ;;
1903 -* ) ac_must_keep_next=true ;;
1904 esac
1905 fi
1906 as_fn_append ac_configure_args " '$ac_arg'"
1907 ;;
1908 esac
1909 done
1910 done
1911 { ac_configure_args0=; unset ac_configure_args0;}
1912 { ac_configure_args1=; unset ac_configure_args1;}
1913
1914 # When interrupted or exit'd, cleanup temporary files, and complete
1915 # config.log. We remove comments because anyway the quotes in there
1916 # would cause problems or look ugly.
1917 # WARNING: Use '\'' to represent an apostrophe within the trap.
1918 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1919 trap 'exit_status=$?
1920 # Save into config.log some information that might help in debugging.
1921 {
1922 echo
1923
1924 $as_echo "## ---------------- ##
1925 ## Cache variables. ##
1926 ## ---------------- ##"
1927 echo
1928 # The following way of writing the cache mishandles newlines in values,
1929 (
1930 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1931 eval ac_val=\$$ac_var
1932 case $ac_val in #(
1933 *${as_nl}*)
1934 case $ac_var in #(
1935 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1936 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1937 esac
1938 case $ac_var in #(
1939 _ | IFS | as_nl) ;; #(
1940 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1941 *) { eval $ac_var=; unset $ac_var;} ;;
1942 esac ;;
1943 esac
1944 done
1945 (set) 2>&1 |
1946 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1947 *${as_nl}ac_space=\ *)
1948 sed -n \
1949 "s/'\''/'\''\\\\'\'''\''/g;
1950 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1951 ;; #(
1952 *)
1953 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1954 ;;
1955 esac |
1956 sort
1957 )
1958 echo
1959
1960 $as_echo "## ----------------- ##
1961 ## Output variables. ##
1962 ## ----------------- ##"
1963 echo
1964 for ac_var in $ac_subst_vars
1965 do
1966 eval ac_val=\$$ac_var
1967 case $ac_val in
1968 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1969 esac
1970 $as_echo "$ac_var='\''$ac_val'\''"
1971 done | sort
1972 echo
1973
1974 if test -n "$ac_subst_files"; then
1975 $as_echo "## ------------------- ##
1976 ## File substitutions. ##
1977 ## ------------------- ##"
1978 echo
1979 for ac_var in $ac_subst_files
1980 do
1981 eval ac_val=\$$ac_var
1982 case $ac_val in
1983 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1984 esac
1985 $as_echo "$ac_var='\''$ac_val'\''"
1986 done | sort
1987 echo
1988 fi
1989
1990 if test -s confdefs.h; then
1991 $as_echo "## ----------- ##
1992 ## confdefs.h. ##
1993 ## ----------- ##"
1994 echo
1995 cat confdefs.h
1996 echo
1997 fi
1998 test "$ac_signal" != 0 &&
1999 $as_echo "$as_me: caught signal $ac_signal"
2000 $as_echo "$as_me: exit $exit_status"
2001 } >&5
2002 rm -f core *.core core.conftest.* &&
2003 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2004 exit $exit_status
2005 ' 0
2006 for ac_signal in 1 2 13 15; do
2007 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2008 done
2009 ac_signal=0
2010
2011 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2012 rm -f -r conftest* confdefs.h
2013
2014 $as_echo "/* confdefs.h */" > confdefs.h
2015
2016 # Predefined preprocessor variables.
2017
2018 cat >>confdefs.h <<_ACEOF
2019 #define PACKAGE_NAME "$PACKAGE_NAME"
2020 _ACEOF
2021
2022 cat >>confdefs.h <<_ACEOF
2023 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2024 _ACEOF
2025
2026 cat >>confdefs.h <<_ACEOF
2027 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2028 _ACEOF
2029
2030 cat >>confdefs.h <<_ACEOF
2031 #define PACKAGE_STRING "$PACKAGE_STRING"
2032 _ACEOF
2033
2034 cat >>confdefs.h <<_ACEOF
2035 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2036 _ACEOF
2037
2038 cat >>confdefs.h <<_ACEOF
2039 #define PACKAGE_URL "$PACKAGE_URL"
2040 _ACEOF
2041
2042
2043 # Let the site file select an alternate cache file if it wants to.
2044 # Prefer an explicitly selected file to automatically selected ones.
2045 ac_site_file1=NONE
2046 ac_site_file2=NONE
2047 if test -n "$CONFIG_SITE"; then
2048 # We do not want a PATH search for config.site.
2049 case $CONFIG_SITE in #((
2050 -*) ac_site_file1=./$CONFIG_SITE;;
2051 */*) ac_site_file1=$CONFIG_SITE;;
2052 *) ac_site_file1=./$CONFIG_SITE;;
2053 esac
2054 elif test "x$prefix" != xNONE; then
2055 ac_site_file1=$prefix/share/config.site
2056 ac_site_file2=$prefix/etc/config.site
2057 else
2058 ac_site_file1=$ac_default_prefix/share/config.site
2059 ac_site_file2=$ac_default_prefix/etc/config.site
2060 fi
2061 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2062 do
2063 test "x$ac_site_file" = xNONE && continue
2064 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2066 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2067 sed 's/^/| /' "$ac_site_file" >&5
2068 . "$ac_site_file" \
2069 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2071 as_fn_error $? "failed to load site script $ac_site_file
2072 See \`config.log' for more details" "$LINENO" 5; }
2073 fi
2074 done
2075
2076 if test -r "$cache_file"; then
2077 # Some versions of bash will fail to source /dev/null (special files
2078 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2079 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2081 $as_echo "$as_me: loading cache $cache_file" >&6;}
2082 case $cache_file in
2083 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2084 *) . "./$cache_file";;
2085 esac
2086 fi
2087 else
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2089 $as_echo "$as_me: creating cache $cache_file" >&6;}
2090 >$cache_file
2091 fi
2092
2093 # Check that the precious variables saved in the cache have kept the same
2094 # value.
2095 ac_cache_corrupted=false
2096 for ac_var in $ac_precious_vars; do
2097 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2098 eval ac_new_set=\$ac_env_${ac_var}_set
2099 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2100 eval ac_new_val=\$ac_env_${ac_var}_value
2101 case $ac_old_set,$ac_new_set in
2102 set,)
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2104 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2105 ac_cache_corrupted=: ;;
2106 ,set)
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2108 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2109 ac_cache_corrupted=: ;;
2110 ,);;
2111 *)
2112 if test "x$ac_old_val" != "x$ac_new_val"; then
2113 # differences in whitespace do not lead to failure.
2114 ac_old_val_w=`echo x $ac_old_val`
2115 ac_new_val_w=`echo x $ac_new_val`
2116 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2118 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2119 ac_cache_corrupted=:
2120 else
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2122 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2123 eval $ac_var=\$ac_old_val
2124 fi
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2126 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2128 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2129 fi;;
2130 esac
2131 # Pass precious variables to config.status.
2132 if test "$ac_new_set" = set; then
2133 case $ac_new_val in
2134 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2135 *) ac_arg=$ac_var=$ac_new_val ;;
2136 esac
2137 case " $ac_configure_args " in
2138 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2139 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2140 esac
2141 fi
2142 done
2143 if $ac_cache_corrupted; then
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2147 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2148 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2149 fi
2150 ## -------------------- ##
2151 ## Main body of script. ##
2152 ## -------------------- ##
2153
2154 ac_ext=c
2155 ac_cpp='$CPP $CPPFLAGS'
2156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2159
2160
2161
2162 ac_aux_dir=
2163 for ac_dir in config "$srcdir"/config; do
2164 if test -f "$ac_dir/install-sh"; then
2165 ac_aux_dir=$ac_dir
2166 ac_install_sh="$ac_aux_dir/install-sh -c"
2167 break
2168 elif test -f "$ac_dir/install.sh"; then
2169 ac_aux_dir=$ac_dir
2170 ac_install_sh="$ac_aux_dir/install.sh -c"
2171 break
2172 elif test -f "$ac_dir/shtool"; then
2173 ac_aux_dir=$ac_dir
2174 ac_install_sh="$ac_aux_dir/shtool install -c"
2175 break
2176 fi
2177 done
2178 if test -z "$ac_aux_dir"; then
2179 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2180 fi
2181
2182 # These three variables are undocumented and unsupported,
2183 # and are intended to be withdrawn in a future Autoconf release.
2184 # They can cause serious problems if a builder's source tree is in a directory
2185 # whose full name contains unusual characters.
2186 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2187 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2188 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2189
2190
2191 ac_config_headers="$ac_config_headers config.h"
2192
2193
2194 # Initialize automake
2195
2196 am__api_version='1.13'
2197
2198 # Find a good install program. We prefer a C program (faster),
2199 # so one script is as good as another. But avoid the broken or
2200 # incompatible versions:
2201 # SysV /etc/install, /usr/sbin/install
2202 # SunOS /usr/etc/install
2203 # IRIX /sbin/install
2204 # AIX /bin/install
2205 # AmigaOS /C/install, which installs bootblocks on floppy discs
2206 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2207 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2208 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2209 # OS/2's system install, which has a completely different semantic
2210 # ./install, which can be erroneously created by make from ./install.sh.
2211 # Reject install programs that cannot install multiple files.
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2213 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2214 if test -z "$INSTALL"; then
2215 if ${ac_cv_path_install+:} false; then :
2216 $as_echo_n "(cached) " >&6
2217 else
2218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2219 for as_dir in $PATH
2220 do
2221 IFS=$as_save_IFS
2222 test -z "$as_dir" && as_dir=.
2223 # Account for people who put trailing slashes in PATH elements.
2224 case $as_dir/ in #((
2225 ./ | .// | /[cC]/* | \
2226 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2227 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2228 /usr/ucb/* ) ;;
2229 *)
2230 # OSF1 and SCO ODT 3.0 have their own names for install.
2231 # Don't use installbsd from OSF since it installs stuff as root
2232 # by default.
2233 for ac_prog in ginstall scoinst install; do
2234 for ac_exec_ext in '' $ac_executable_extensions; do
2235 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2236 if test $ac_prog = install &&
2237 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2238 # AIX install. It has an incompatible calling convention.
2239 :
2240 elif test $ac_prog = install &&
2241 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2242 # program-specific install script used by HP pwplus--don't use.
2243 :
2244 else
2245 rm -rf conftest.one conftest.two conftest.dir
2246 echo one > conftest.one
2247 echo two > conftest.two
2248 mkdir conftest.dir
2249 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2250 test -s conftest.one && test -s conftest.two &&
2251 test -s conftest.dir/conftest.one &&
2252 test -s conftest.dir/conftest.two
2253 then
2254 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2255 break 3
2256 fi
2257 fi
2258 fi
2259 done
2260 done
2261 ;;
2262 esac
2263
2264 done
2265 IFS=$as_save_IFS
2266
2267 rm -rf conftest.one conftest.two conftest.dir
2268
2269 fi
2270 if test "${ac_cv_path_install+set}" = set; then
2271 INSTALL=$ac_cv_path_install
2272 else
2273 # As a last resort, use the slow shell script. Don't cache a
2274 # value for INSTALL within a source directory, because that will
2275 # break other packages using the cache if that directory is
2276 # removed, or if the value is a relative name.
2277 INSTALL=$ac_install_sh
2278 fi
2279 fi
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2281 $as_echo "$INSTALL" >&6; }
2282
2283 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2284 # It thinks the first close brace ends the variable substitution.
2285 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2286
2287 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2288
2289 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2290
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2292 $as_echo_n "checking whether build environment is sane... " >&6; }
2293 # Reject unsafe characters in $srcdir or the absolute working directory
2294 # name. Accept space and tab only in the latter.
2295 am_lf='
2296 '
2297 case `pwd` in
2298 *[\\\"\#\$\&\'\`$am_lf]*)
2299 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2300 esac
2301 case $srcdir in
2302 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2303 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2304 esac
2305
2306 # Do 'set' in a subshell so we don't clobber the current shell's
2307 # arguments. Must try -L first in case configure is actually a
2308 # symlink; some systems play weird games with the mod time of symlinks
2309 # (eg FreeBSD returns the mod time of the symlink's containing
2310 # directory).
2311 if (
2312 am_has_slept=no
2313 for am_try in 1 2; do
2314 echo "timestamp, slept: $am_has_slept" > conftest.file
2315 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2316 if test "$*" = "X"; then
2317 # -L didn't work.
2318 set X `ls -t "$srcdir/configure" conftest.file`
2319 fi
2320 if test "$*" != "X $srcdir/configure conftest.file" \
2321 && test "$*" != "X conftest.file $srcdir/configure"; then
2322
2323 # If neither matched, then we have a broken ls. This can happen
2324 # if, for instance, CONFIG_SHELL is bash and it inherits a
2325 # broken ls alias from the environment. This has actually
2326 # happened. Such a system could not be considered "sane".
2327 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2328 alias in your environment" "$LINENO" 5
2329 fi
2330 if test "$2" = conftest.file || test $am_try -eq 2; then
2331 break
2332 fi
2333 # Just in case.
2334 sleep 1
2335 am_has_slept=yes
2336 done
2337 test "$2" = conftest.file
2338 )
2339 then
2340 # Ok.
2341 :
2342 else
2343 as_fn_error $? "newly created file is older than distributed files!
2344 Check your system clock" "$LINENO" 5
2345 fi
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2347 $as_echo "yes" >&6; }
2348 # If we didn't sleep, we still need to ensure time stamps of config.status and
2349 # generated files are strictly newer.
2350 am_sleep_pid=
2351 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2352 ( sleep 1 ) &
2353 am_sleep_pid=$!
2354 fi
2355
2356 rm -f conftest.file
2357
2358 test "$program_prefix" != NONE &&
2359 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2360 # Use a double $ so make ignores it.
2361 test "$program_suffix" != NONE &&
2362 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2363 # Double any \ or $.
2364 # By default was `s,x,x', remove it if useless.
2365 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2366 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2367
2368 # expand $ac_aux_dir to an absolute path
2369 am_aux_dir=`cd $ac_aux_dir && pwd`
2370
2371 if test x"${MISSING+set}" != xset; then
2372 case $am_aux_dir in
2373 *\ * | *\ *)
2374 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2375 *)
2376 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2377 esac
2378 fi
2379 # Use eval to expand $SHELL
2380 if eval "$MISSING --is-lightweight"; then
2381 am_missing_run="$MISSING "
2382 else
2383 am_missing_run=
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2385 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2386 fi
2387
2388 if test x"${install_sh}" != xset; then
2389 case $am_aux_dir in
2390 *\ * | *\ *)
2391 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2392 *)
2393 install_sh="\${SHELL} $am_aux_dir/install-sh"
2394 esac
2395 fi
2396
2397 # Installed binaries are usually stripped using 'strip' when the user
2398 # run "make install-strip". However 'strip' might not be the right
2399 # tool to use in cross-compilation environments, therefore Automake
2400 # will honor the 'STRIP' environment variable to overrule this program.
2401 if test "$cross_compiling" != no; then
2402 if test -n "$ac_tool_prefix"; then
2403 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2404 set dummy ${ac_tool_prefix}strip; ac_word=$2
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2406 $as_echo_n "checking for $ac_word... " >&6; }
2407 if ${ac_cv_prog_STRIP+:} false; then :
2408 $as_echo_n "(cached) " >&6
2409 else
2410 if test -n "$STRIP"; then
2411 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2412 else
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2414 for as_dir in $PATH
2415 do
2416 IFS=$as_save_IFS
2417 test -z "$as_dir" && as_dir=.
2418 for ac_exec_ext in '' $ac_executable_extensions; do
2419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2420 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 break 2
2423 fi
2424 done
2425 done
2426 IFS=$as_save_IFS
2427
2428 fi
2429 fi
2430 STRIP=$ac_cv_prog_STRIP
2431 if test -n "$STRIP"; then
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2433 $as_echo "$STRIP" >&6; }
2434 else
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2436 $as_echo "no" >&6; }
2437 fi
2438
2439
2440 fi
2441 if test -z "$ac_cv_prog_STRIP"; then
2442 ac_ct_STRIP=$STRIP
2443 # Extract the first word of "strip", so it can be a program name with args.
2444 set dummy strip; ac_word=$2
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2446 $as_echo_n "checking for $ac_word... " >&6; }
2447 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2448 $as_echo_n "(cached) " >&6
2449 else
2450 if test -n "$ac_ct_STRIP"; then
2451 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2452 else
2453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454 for as_dir in $PATH
2455 do
2456 IFS=$as_save_IFS
2457 test -z "$as_dir" && as_dir=.
2458 for ac_exec_ext in '' $ac_executable_extensions; do
2459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2460 ac_cv_prog_ac_ct_STRIP="strip"
2461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2462 break 2
2463 fi
2464 done
2465 done
2466 IFS=$as_save_IFS
2467
2468 fi
2469 fi
2470 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2471 if test -n "$ac_ct_STRIP"; then
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2473 $as_echo "$ac_ct_STRIP" >&6; }
2474 else
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2476 $as_echo "no" >&6; }
2477 fi
2478
2479 if test "x$ac_ct_STRIP" = x; then
2480 STRIP=":"
2481 else
2482 case $cross_compiling:$ac_tool_warned in
2483 yes:)
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2486 ac_tool_warned=yes ;;
2487 esac
2488 STRIP=$ac_ct_STRIP
2489 fi
2490 else
2491 STRIP="$ac_cv_prog_STRIP"
2492 fi
2493
2494 fi
2495 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2496
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2498 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2499 if test -z "$MKDIR_P"; then
2500 if ${ac_cv_path_mkdir+:} false; then :
2501 $as_echo_n "(cached) " >&6
2502 else
2503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2504 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2505 do
2506 IFS=$as_save_IFS
2507 test -z "$as_dir" && as_dir=.
2508 for ac_prog in mkdir gmkdir; do
2509 for ac_exec_ext in '' $ac_executable_extensions; do
2510 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2511 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2512 'mkdir (GNU coreutils) '* | \
2513 'mkdir (coreutils) '* | \
2514 'mkdir (fileutils) '4.1*)
2515 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2516 break 3;;
2517 esac
2518 done
2519 done
2520 done
2521 IFS=$as_save_IFS
2522
2523 fi
2524
2525 test -d ./--version && rmdir ./--version
2526 if test "${ac_cv_path_mkdir+set}" = set; then
2527 MKDIR_P="$ac_cv_path_mkdir -p"
2528 else
2529 # As a last resort, use the slow shell script. Don't cache a
2530 # value for MKDIR_P within a source directory, because that will
2531 # break other packages using the cache if that directory is
2532 # removed, or if the value is a relative name.
2533 MKDIR_P="$ac_install_sh -d"
2534 fi
2535 fi
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2537 $as_echo "$MKDIR_P" >&6; }
2538
2539 for ac_prog in gawk mawk nawk awk
2540 do
2541 # Extract the first word of "$ac_prog", so it can be a program name with args.
2542 set dummy $ac_prog; ac_word=$2
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2544 $as_echo_n "checking for $ac_word... " >&6; }
2545 if ${ac_cv_prog_AWK+:} false; then :
2546 $as_echo_n "(cached) " >&6
2547 else
2548 if test -n "$AWK"; then
2549 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2550 else
2551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2552 for as_dir in $PATH
2553 do
2554 IFS=$as_save_IFS
2555 test -z "$as_dir" && as_dir=.
2556 for ac_exec_ext in '' $ac_executable_extensions; do
2557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2558 ac_cv_prog_AWK="$ac_prog"
2559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2560 break 2
2561 fi
2562 done
2563 done
2564 IFS=$as_save_IFS
2565
2566 fi
2567 fi
2568 AWK=$ac_cv_prog_AWK
2569 if test -n "$AWK"; then
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2571 $as_echo "$AWK" >&6; }
2572 else
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2574 $as_echo "no" >&6; }
2575 fi
2576
2577
2578 test -n "$AWK" && break
2579 done
2580
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2582 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2583 set x ${MAKE-make}
2584 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2585 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2586 $as_echo_n "(cached) " >&6
2587 else
2588 cat >conftest.make <<\_ACEOF
2589 SHELL = /bin/sh
2590 all:
2591 @echo '@@@%%%=$(MAKE)=@@@%%%'
2592 _ACEOF
2593 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2594 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2595 *@@@%%%=?*=@@@%%%*)
2596 eval ac_cv_prog_make_${ac_make}_set=yes;;
2597 *)
2598 eval ac_cv_prog_make_${ac_make}_set=no;;
2599 esac
2600 rm -f conftest.make
2601 fi
2602 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2604 $as_echo "yes" >&6; }
2605 SET_MAKE=
2606 else
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2608 $as_echo "no" >&6; }
2609 SET_MAKE="MAKE=${MAKE-make}"
2610 fi
2611
2612 rm -rf .tst 2>/dev/null
2613 mkdir .tst 2>/dev/null
2614 if test -d .tst; then
2615 am__leading_dot=.
2616 else
2617 am__leading_dot=_
2618 fi
2619 rmdir .tst 2>/dev/null
2620
2621 # Check whether --enable-silent-rules was given.
2622 if test "${enable_silent_rules+set}" = set; then :
2623 enableval=$enable_silent_rules;
2624 fi
2625
2626 case $enable_silent_rules in # (((
2627 yes) AM_DEFAULT_VERBOSITY=0;;
2628 no) AM_DEFAULT_VERBOSITY=1;;
2629 *) AM_DEFAULT_VERBOSITY=1;;
2630 esac
2631 am_make=${MAKE-make}
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2633 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2634 if ${am_cv_make_support_nested_variables+:} false; then :
2635 $as_echo_n "(cached) " >&6
2636 else
2637 if $as_echo 'TRUE=$(BAR$(V))
2638 BAR0=false
2639 BAR1=true
2640 V=1
2641 am__doit:
2642 @$(TRUE)
2643 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2644 am_cv_make_support_nested_variables=yes
2645 else
2646 am_cv_make_support_nested_variables=no
2647 fi
2648 fi
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2650 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2651 if test $am_cv_make_support_nested_variables = yes; then
2652 AM_V='$(V)'
2653 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2654 else
2655 AM_V=$AM_DEFAULT_VERBOSITY
2656 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2657 fi
2658 AM_BACKSLASH='\'
2659
2660 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2661 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2662 # is not polluted with repeated "-I."
2663 am__isrc=' -I$(srcdir)'
2664 # test to see if srcdir already configured
2665 if test -f $srcdir/config.status; then
2666 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2667 fi
2668 fi
2669
2670 # test whether we have cygpath
2671 if test -z "$CYGPATH_W"; then
2672 if (cygpath --version) >/dev/null 2>/dev/null; then
2673 CYGPATH_W='cygpath -w'
2674 else
2675 CYGPATH_W=echo
2676 fi
2677 fi
2678
2679
2680 # Define the identity of the package.
2681 PACKAGE='unrtf'
2682 VERSION='0.21.9'
2683
2684
2685 cat >>confdefs.h <<_ACEOF
2686 #define PACKAGE "$PACKAGE"
2687 _ACEOF
2688
2689
2690 cat >>confdefs.h <<_ACEOF
2691 #define VERSION "$VERSION"
2692 _ACEOF
2693
2694 # Some tools Automake needs.
2695
2696 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2697
2698
2699 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2700
2701
2702 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2703
2704
2705 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2706
2707
2708 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2709
2710 # For better backward compatibility. To be removed once Automake 1.9.x
2711 # dies out for good. For more background, see:
2712 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2713 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2714 mkdir_p='$(MKDIR_P)'
2715
2716 # We need awk for the "check" target. The system "awk" is bad on
2717 # some platforms.
2718 # Always define AMTAR for backward compatibility. Yes, it's still used
2719 # in the wild :-( We should find a proper way to deprecate it ...
2720 AMTAR='$${TAR-tar}'
2721
2722
2723 # We'll loop over all known methods to create a tar archive until one works.
2724 _am_tools='gnutar pax cpio none'
2725
2726 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2727
2728
2729
2730
2731
2732
2733
2734 # AM_MAINTAINER_MODE is a controversial macro.
2735 # I suggest you read this to understand what is going on:
2736 #
2737 # http://www.gnu.org/software/automake/manual/html_mono/automake.html#maintainer-mode
2738 #
2739 # when acting as a maintainer (writing code, preparing distributions, ...),
2740 # turn the maintainer mode on by using ./configure --enable-maintainer-mode
2741 #
2742 # your users will not see maintainer rules, and so their (potentially
2743 # incompatible) autotools do not have any chance to trigger and mess up things.
2744
2745
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2747 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2748 # Check whether --enable-maintainer-mode was given.
2749 if test "${enable_maintainer_mode+set}" = set; then :
2750 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2751 else
2752 USE_MAINTAINER_MODE=no
2753 fi
2754
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2756 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2757 if test $USE_MAINTAINER_MODE = yes; then
2758 MAINTAINER_MODE_TRUE=
2759 MAINTAINER_MODE_FALSE='#'
2760 else
2761 MAINTAINER_MODE_TRUE='#'
2762 MAINTAINER_MODE_FALSE=
2763 fi
2764
2765 MAINT=$MAINTAINER_MODE_TRUE
2766
2767
2768
2769 # Checks for programs (compiler and installation program)
2770 ac_ext=c
2771 ac_cpp='$CPP $CPPFLAGS'
2772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2775 if test -n "$ac_tool_prefix"; then
2776 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2777 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2779 $as_echo_n "checking for $ac_word... " >&6; }
2780 if ${ac_cv_prog_CC+:} false; then :
2781 $as_echo_n "(cached) " >&6
2782 else
2783 if test -n "$CC"; then
2784 ac_cv_prog_CC="$CC" # Let the user override the test.
2785 else
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 for as_dir in $PATH
2788 do
2789 IFS=$as_save_IFS
2790 test -z "$as_dir" && as_dir=.
2791 for ac_exec_ext in '' $ac_executable_extensions; do
2792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2793 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 break 2
2796 fi
2797 done
2798 done
2799 IFS=$as_save_IFS
2800
2801 fi
2802 fi
2803 CC=$ac_cv_prog_CC
2804 if test -n "$CC"; then
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2806 $as_echo "$CC" >&6; }
2807 else
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2809 $as_echo "no" >&6; }
2810 fi
2811
2812
2813 fi
2814 if test -z "$ac_cv_prog_CC"; then
2815 ac_ct_CC=$CC
2816 # Extract the first word of "gcc", so it can be a program name with args.
2817 set dummy gcc; ac_word=$2
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2819 $as_echo_n "checking for $ac_word... " >&6; }
2820 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2821 $as_echo_n "(cached) " >&6
2822 else
2823 if test -n "$ac_ct_CC"; then
2824 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2825 else
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 for as_dir in $PATH
2828 do
2829 IFS=$as_save_IFS
2830 test -z "$as_dir" && as_dir=.
2831 for ac_exec_ext in '' $ac_executable_extensions; do
2832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2833 ac_cv_prog_ac_ct_CC="gcc"
2834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 break 2
2836 fi
2837 done
2838 done
2839 IFS=$as_save_IFS
2840
2841 fi
2842 fi
2843 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2844 if test -n "$ac_ct_CC"; then
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2846 $as_echo "$ac_ct_CC" >&6; }
2847 else
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2850 fi
2851
2852 if test "x$ac_ct_CC" = x; then
2853 CC=""
2854 else
2855 case $cross_compiling:$ac_tool_warned in
2856 yes:)
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2859 ac_tool_warned=yes ;;
2860 esac
2861 CC=$ac_ct_CC
2862 fi
2863 else
2864 CC="$ac_cv_prog_CC"
2865 fi
2866
2867 if test -z "$CC"; then
2868 if test -n "$ac_tool_prefix"; then
2869 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2870 set dummy ${ac_tool_prefix}cc; ac_word=$2
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2872 $as_echo_n "checking for $ac_word... " >&6; }
2873 if ${ac_cv_prog_CC+:} false; then :
2874 $as_echo_n "(cached) " >&6
2875 else
2876 if test -n "$CC"; then
2877 ac_cv_prog_CC="$CC" # Let the user override the test.
2878 else
2879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2880 for as_dir in $PATH
2881 do
2882 IFS=$as_save_IFS
2883 test -z "$as_dir" && as_dir=.
2884 for ac_exec_ext in '' $ac_executable_extensions; do
2885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2886 ac_cv_prog_CC="${ac_tool_prefix}cc"
2887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2888 break 2
2889 fi
2890 done
2891 done
2892 IFS=$as_save_IFS
2893
2894 fi
2895 fi
2896 CC=$ac_cv_prog_CC
2897 if test -n "$CC"; then
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2899 $as_echo "$CC" >&6; }
2900 else
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 $as_echo "no" >&6; }
2903 fi
2904
2905
2906 fi
2907 fi
2908 if test -z "$CC"; then
2909 # Extract the first word of "cc", so it can be a program name with args.
2910 set dummy cc; ac_word=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if ${ac_cv_prog_CC+:} false; then :
2914 $as_echo_n "(cached) " >&6
2915 else
2916 if test -n "$CC"; then
2917 ac_cv_prog_CC="$CC" # Let the user override the test.
2918 else
2919 ac_prog_rejected=no
2920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921 for as_dir in $PATH
2922 do
2923 IFS=$as_save_IFS
2924 test -z "$as_dir" && as_dir=.
2925 for ac_exec_ext in '' $ac_executable_extensions; do
2926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2927 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2928 ac_prog_rejected=yes
2929 continue
2930 fi
2931 ac_cv_prog_CC="cc"
2932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 break 2
2934 fi
2935 done
2936 done
2937 IFS=$as_save_IFS
2938
2939 if test $ac_prog_rejected = yes; then
2940 # We found a bogon in the path, so make sure we never use it.
2941 set dummy $ac_cv_prog_CC
2942 shift
2943 if test $# != 0; then
2944 # We chose a different compiler from the bogus one.
2945 # However, it has the same basename, so the bogon will be chosen
2946 # first if we set CC to just the basename; use the full file name.
2947 shift
2948 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2949 fi
2950 fi
2951 fi
2952 fi
2953 CC=$ac_cv_prog_CC
2954 if test -n "$CC"; then
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2956 $as_echo "$CC" >&6; }
2957 else
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959 $as_echo "no" >&6; }
2960 fi
2961
2962
2963 fi
2964 if test -z "$CC"; then
2965 if test -n "$ac_tool_prefix"; then
2966 for ac_prog in cl.exe
2967 do
2968 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2969 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971 $as_echo_n "checking for $ac_word... " >&6; }
2972 if ${ac_cv_prog_CC+:} false; then :
2973 $as_echo_n "(cached) " >&6
2974 else
2975 if test -n "$CC"; then
2976 ac_cv_prog_CC="$CC" # Let the user override the test.
2977 else
2978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2979 for as_dir in $PATH
2980 do
2981 IFS=$as_save_IFS
2982 test -z "$as_dir" && as_dir=.
2983 for ac_exec_ext in '' $ac_executable_extensions; do
2984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2985 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987 break 2
2988 fi
2989 done
2990 done
2991 IFS=$as_save_IFS
2992
2993 fi
2994 fi
2995 CC=$ac_cv_prog_CC
2996 if test -n "$CC"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2998 $as_echo "$CC" >&6; }
2999 else
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001 $as_echo "no" >&6; }
3002 fi
3003
3004
3005 test -n "$CC" && break
3006 done
3007 fi
3008 if test -z "$CC"; then
3009 ac_ct_CC=$CC
3010 for ac_prog in cl.exe
3011 do
3012 # Extract the first word of "$ac_prog", so it can be a program name with args.
3013 set dummy $ac_prog; ac_word=$2
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3015 $as_echo_n "checking for $ac_word... " >&6; }
3016 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3017 $as_echo_n "(cached) " >&6
3018 else
3019 if test -n "$ac_ct_CC"; then
3020 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3021 else
3022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 for as_dir in $PATH
3024 do
3025 IFS=$as_save_IFS
3026 test -z "$as_dir" && as_dir=.
3027 for ac_exec_ext in '' $ac_executable_extensions; do
3028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3029 ac_cv_prog_ac_ct_CC="$ac_prog"
3030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031 break 2
3032 fi
3033 done
3034 done
3035 IFS=$as_save_IFS
3036
3037 fi
3038 fi
3039 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3040 if test -n "$ac_ct_CC"; then
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3042 $as_echo "$ac_ct_CC" >&6; }
3043 else
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3045 $as_echo "no" >&6; }
3046 fi
3047
3048
3049 test -n "$ac_ct_CC" && break
3050 done
3051
3052 if test "x$ac_ct_CC" = x; then
3053 CC=""
3054 else
3055 case $cross_compiling:$ac_tool_warned in
3056 yes:)
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3059 ac_tool_warned=yes ;;
3060 esac
3061 CC=$ac_ct_CC
3062 fi
3063 fi
3064
3065 fi
3066
3067
3068 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3070 as_fn_error $? "no acceptable C compiler found in \$PATH
3071 See \`config.log' for more details" "$LINENO" 5; }
3072
3073 # Provide some information about the compiler.
3074 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3075 set X $ac_compile
3076 ac_compiler=$2
3077 for ac_option in --version -v -V -qversion; do
3078 { { ac_try="$ac_compiler $ac_option >&5"
3079 case "(($ac_try" in
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3082 esac
3083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3084 $as_echo "$ac_try_echo"; } >&5
3085 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3086 ac_status=$?
3087 if test -s conftest.err; then
3088 sed '10a\
3089 ... rest of stderr output deleted ...
3090 10q' conftest.err >conftest.er1
3091 cat conftest.er1 >&5
3092 fi
3093 rm -f conftest.er1 conftest.err
3094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3095 test $ac_status = 0; }
3096 done
3097
3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3100
3101 int
3102 main ()
3103 {
3104
3105 ;
3106 return 0;
3107 }
3108 _ACEOF
3109 ac_clean_files_save=$ac_clean_files
3110 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3111 # Try to create an executable without -o first, disregard a.out.
3112 # It will help us diagnose broken compilers, and finding out an intuition
3113 # of exeext.
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3115 $as_echo_n "checking whether the C compiler works... " >&6; }
3116 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3117
3118 # The possible output files:
3119 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3120
3121 ac_rmfiles=
3122 for ac_file in $ac_files
3123 do
3124 case $ac_file in
3125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3126 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3127 esac
3128 done
3129 rm -f $ac_rmfiles
3130
3131 if { { ac_try="$ac_link_default"
3132 case "(($ac_try" in
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3135 esac
3136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3137 $as_echo "$ac_try_echo"; } >&5
3138 (eval "$ac_link_default") 2>&5
3139 ac_status=$?
3140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3141 test $ac_status = 0; }; then :
3142 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3143 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3144 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3145 # so that the user can short-circuit this test for compilers unknown to
3146 # Autoconf.
3147 for ac_file in $ac_files ''
3148 do
3149 test -f "$ac_file" || continue
3150 case $ac_file in
3151 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3152 ;;
3153 [ab].out )
3154 # We found the default executable, but exeext='' is most
3155 # certainly right.
3156 break;;
3157 *.* )
3158 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3159 then :; else
3160 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3161 fi
3162 # We set ac_cv_exeext here because the later test for it is not
3163 # safe: cross compilers may not add the suffix if given an `-o'
3164 # argument, so we may need to know it at that point already.
3165 # Even if this section looks crufty: it has the advantage of
3166 # actually working.
3167 break;;
3168 * )
3169 break;;
3170 esac
3171 done
3172 test "$ac_cv_exeext" = no && ac_cv_exeext=
3173
3174 else
3175 ac_file=''
3176 fi
3177 if test -z "$ac_file"; then :
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179 $as_echo "no" >&6; }
3180 $as_echo "$as_me: failed program was:" >&5
3181 sed 's/^/| /' conftest.$ac_ext >&5
3182
3183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3185 as_fn_error 77 "C compiler cannot create executables
3186 See \`config.log' for more details" "$LINENO" 5; }
3187 else
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3189 $as_echo "yes" >&6; }
3190 fi
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3192 $as_echo_n "checking for C compiler default output file name... " >&6; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3194 $as_echo "$ac_file" >&6; }
3195 ac_exeext=$ac_cv_exeext
3196
3197 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3198 ac_clean_files=$ac_clean_files_save
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3200 $as_echo_n "checking for suffix of executables... " >&6; }
3201 if { { ac_try="$ac_link"
3202 case "(($ac_try" in
3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204 *) ac_try_echo=$ac_try;;
3205 esac
3206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207 $as_echo "$ac_try_echo"; } >&5
3208 (eval "$ac_link") 2>&5
3209 ac_status=$?
3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211 test $ac_status = 0; }; then :
3212 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3213 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3214 # work properly (i.e., refer to `conftest.exe'), while it won't with
3215 # `rm'.
3216 for ac_file in conftest.exe conftest conftest.*; do
3217 test -f "$ac_file" || continue
3218 case $ac_file in
3219 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3220 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3221 break;;
3222 * ) break;;
3223 esac
3224 done
3225 else
3226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3228 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3229 See \`config.log' for more details" "$LINENO" 5; }
3230 fi
3231 rm -f conftest conftest$ac_cv_exeext
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3233 $as_echo "$ac_cv_exeext" >&6; }
3234
3235 rm -f conftest.$ac_ext
3236 EXEEXT=$ac_cv_exeext
3237 ac_exeext=$EXEEXT
3238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3239 /* end confdefs.h. */
3240 #include <stdio.h>
3241 int
3242 main ()
3243 {
3244 FILE *f = fopen ("conftest.out", "w");
3245 return ferror (f) || fclose (f) != 0;
3246
3247 ;
3248 return 0;
3249 }
3250 _ACEOF
3251 ac_clean_files="$ac_clean_files conftest.out"
3252 # Check that the compiler produces executables we can run. If not, either
3253 # the compiler is broken, or we cross compile.
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3255 $as_echo_n "checking whether we are cross compiling... " >&6; }
3256 if test "$cross_compiling" != yes; then
3257 { { ac_try="$ac_link"
3258 case "(($ac_try" in
3259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3260 *) ac_try_echo=$ac_try;;
3261 esac
3262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3263 $as_echo "$ac_try_echo"; } >&5
3264 (eval "$ac_link") 2>&5
3265 ac_status=$?
3266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3267 test $ac_status = 0; }
3268 if { ac_try='./conftest$ac_cv_exeext'
3269 { { case "(($ac_try" in
3270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3272 esac
3273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3274 $as_echo "$ac_try_echo"; } >&5
3275 (eval "$ac_try") 2>&5
3276 ac_status=$?
3277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278 test $ac_status = 0; }; }; then
3279 cross_compiling=no
3280 else
3281 if test "$cross_compiling" = maybe; then
3282 cross_compiling=yes
3283 else
3284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3286 as_fn_error $? "cannot run C compiled programs.
3287 If you meant to cross compile, use \`--host'.
3288 See \`config.log' for more details" "$LINENO" 5; }
3289 fi
3290 fi
3291 fi
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3293 $as_echo "$cross_compiling" >&6; }
3294
3295 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3296 ac_clean_files=$ac_clean_files_save
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3298 $as_echo_n "checking for suffix of object files... " >&6; }
3299 if ${ac_cv_objext+:} false; then :
3300 $as_echo_n "(cached) " >&6
3301 else
3302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303 /* end confdefs.h. */
3304
3305 int
3306 main ()
3307 {
3308
3309 ;
3310 return 0;
3311 }
3312 _ACEOF
3313 rm -f conftest.o conftest.obj
3314 if { { ac_try="$ac_compile"
3315 case "(($ac_try" in
3316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3317 *) ac_try_echo=$ac_try;;
3318 esac
3319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3320 $as_echo "$ac_try_echo"; } >&5
3321 (eval "$ac_compile") 2>&5
3322 ac_status=$?
3323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3324 test $ac_status = 0; }; then :
3325 for ac_file in conftest.o conftest.obj conftest.*; do
3326 test -f "$ac_file" || continue;
3327 case $ac_file in
3328 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3329 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3330 break;;
3331 esac
3332 done
3333 else
3334 $as_echo "$as_me: failed program was:" >&5
3335 sed 's/^/| /' conftest.$ac_ext >&5
3336
3337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3339 as_fn_error $? "cannot compute suffix of object files: cannot compile
3340 See \`config.log' for more details" "$LINENO" 5; }
3341 fi
3342 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3343 fi
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3345 $as_echo "$ac_cv_objext" >&6; }
3346 OBJEXT=$ac_cv_objext
3347 ac_objext=$OBJEXT
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3349 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3350 if ${ac_cv_c_compiler_gnu+:} false; then :
3351 $as_echo_n "(cached) " >&6
3352 else
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3355
3356 int
3357 main ()
3358 {
3359 #ifndef __GNUC__
3360 choke me
3361 #endif
3362
3363 ;
3364 return 0;
3365 }
3366 _ACEOF
3367 if ac_fn_c_try_compile "$LINENO"; then :
3368 ac_compiler_gnu=yes
3369 else
3370 ac_compiler_gnu=no
3371 fi
3372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3373 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3374
3375 fi
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3377 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3378 if test $ac_compiler_gnu = yes; then
3379 GCC=yes
3380 else
3381 GCC=
3382 fi
3383 ac_test_CFLAGS=${CFLAGS+set}
3384 ac_save_CFLAGS=$CFLAGS
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3386 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3387 if ${ac_cv_prog_cc_g+:} false; then :
3388 $as_echo_n "(cached) " >&6
3389 else
3390 ac_save_c_werror_flag=$ac_c_werror_flag
3391 ac_c_werror_flag=yes
3392 ac_cv_prog_cc_g=no
3393 CFLAGS="-g"
3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395 /* end confdefs.h. */
3396
3397 int
3398 main ()
3399 {
3400
3401 ;
3402 return 0;
3403 }
3404 _ACEOF
3405 if ac_fn_c_try_compile "$LINENO"; then :
3406 ac_cv_prog_cc_g=yes
3407 else
3408 CFLAGS=""
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3411
3412 int
3413 main ()
3414 {
3415
3416 ;
3417 return 0;
3418 }
3419 _ACEOF
3420 if ac_fn_c_try_compile "$LINENO"; then :
3421
3422 else
3423 ac_c_werror_flag=$ac_save_c_werror_flag
3424 CFLAGS="-g"
3425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3426 /* end confdefs.h. */
3427
3428 int
3429 main ()
3430 {
3431
3432 ;
3433 return 0;
3434 }
3435 _ACEOF
3436 if ac_fn_c_try_compile "$LINENO"; then :
3437 ac_cv_prog_cc_g=yes
3438 fi
3439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3440 fi
3441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3442 fi
3443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3444 ac_c_werror_flag=$ac_save_c_werror_flag
3445 fi
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3447 $as_echo "$ac_cv_prog_cc_g" >&6; }
3448 if test "$ac_test_CFLAGS" = set; then
3449 CFLAGS=$ac_save_CFLAGS
3450 elif test $ac_cv_prog_cc_g = yes; then
3451 if test "$GCC" = yes; then
3452 CFLAGS="-g -O2"
3453 else
3454 CFLAGS="-g"
3455 fi
3456 else
3457 if test "$GCC" = yes; then
3458 CFLAGS="-O2"
3459 else
3460 CFLAGS=
3461 fi
3462 fi
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3464 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3465 if ${ac_cv_prog_cc_c89+:} false; then :
3466 $as_echo_n "(cached) " >&6
3467 else
3468 ac_cv_prog_cc_c89=no
3469 ac_save_CC=$CC
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471 /* end confdefs.h. */
3472 #include <stdarg.h>
3473 #include <stdio.h>
3474 struct stat;
3475 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3476 struct buf { int x; };
3477 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3478 static char *e (p, i)
3479 char **p;
3480 int i;
3481 {
3482 return p[i];
3483 }
3484 static char *f (char * (*g) (char **, int), char **p, ...)
3485 {
3486 char *s;
3487 va_list v;
3488 va_start (v,p);
3489 s = g (p, va_arg (v,int));
3490 va_end (v);
3491 return s;
3492 }
3493
3494 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3495 function prototypes and stuff, but not '\xHH' hex character constants.
3496 These don't provoke an error unfortunately, instead are silently treated
3497 as 'x'. The following induces an error, until -std is added to get
3498 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3499 array size at least. It's necessary to write '\x00'==0 to get something
3500 that's true only with -std. */
3501 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3502
3503 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3504 inside strings and character constants. */
3505 #define FOO(x) 'x'
3506 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3507
3508 int test (int i, double x);
3509 struct s1 {int (*f) (int a);};
3510 struct s2 {int (*f) (double a);};
3511 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3512 int argc;
3513 char **argv;
3514 int
3515 main ()
3516 {
3517 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3518 ;
3519 return 0;
3520 }
3521 _ACEOF
3522 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3523 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3524 do
3525 CC="$ac_save_CC $ac_arg"
3526 if ac_fn_c_try_compile "$LINENO"; then :
3527 ac_cv_prog_cc_c89=$ac_arg
3528 fi
3529 rm -f core conftest.err conftest.$ac_objext
3530 test "x$ac_cv_prog_cc_c89" != "xno" && break
3531 done
3532 rm -f conftest.$ac_ext
3533 CC=$ac_save_CC
3534
3535 fi
3536 # AC_CACHE_VAL
3537 case "x$ac_cv_prog_cc_c89" in
3538 x)
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3540 $as_echo "none needed" >&6; } ;;
3541 xno)
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3543 $as_echo "unsupported" >&6; } ;;
3544 *)
3545 CC="$CC $ac_cv_prog_cc_c89"
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3547 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3548 esac
3549 if test "x$ac_cv_prog_cc_c89" != xno; then :
3550
3551 fi
3552
3553 ac_ext=c
3554 ac_cpp='$CPP $CPPFLAGS'
3555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3558 DEPDIR="${am__leading_dot}deps"
3559
3560 ac_config_commands="$ac_config_commands depfiles"
3561
3562
3563 am_make=${MAKE-make}
3564 cat > confinc << 'END'
3565 am__doit:
3566 @echo this is the am__doit target
3567 .PHONY: am__doit
3568 END
3569 # If we don't find an include directive, just comment out the code.
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3571 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3572 am__include="#"
3573 am__quote=
3574 _am_result=none
3575 # First try GNU make style include.
3576 echo "include confinc" > confmf
3577 # Ignore all kinds of additional output from 'make'.
3578 case `$am_make -s -f confmf 2> /dev/null` in #(
3579 *the\ am__doit\ target*)
3580 am__include=include
3581 am__quote=
3582 _am_result=GNU
3583 ;;
3584 esac
3585 # Now try BSD make style include.
3586 if test "$am__include" = "#"; then
3587 echo '.include "confinc"' > confmf
3588 case `$am_make -s -f confmf 2> /dev/null` in #(
3589 *the\ am__doit\ target*)
3590 am__include=.include
3591 am__quote="\""
3592 _am_result=BSD
3593 ;;
3594 esac
3595 fi
3596
3597
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3599 $as_echo "$_am_result" >&6; }
3600 rm -f confinc confmf
3601
3602 # Check whether --enable-dependency-tracking was given.
3603 if test "${enable_dependency_tracking+set}" = set; then :
3604 enableval=$enable_dependency_tracking;
3605 fi
3606
3607 if test "x$enable_dependency_tracking" != xno; then
3608 am_depcomp="$ac_aux_dir/depcomp"
3609 AMDEPBACKSLASH='\'
3610 am__nodep='_no'
3611 fi
3612 if test "x$enable_dependency_tracking" != xno; then
3613 AMDEP_TRUE=
3614 AMDEP_FALSE='#'
3615 else
3616 AMDEP_TRUE='#'
3617 AMDEP_FALSE=
3618 fi
3619
3620
3621
3622 depcc="$CC" am_compiler_list=
3623
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3625 $as_echo_n "checking dependency style of $depcc... " >&6; }
3626 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3627 $as_echo_n "(cached) " >&6
3628 else
3629 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3630 # We make a subdir and do the tests there. Otherwise we can end up
3631 # making bogus files that we don't know about and never remove. For
3632 # instance it was reported that on HP-UX the gcc test will end up
3633 # making a dummy file named 'D' -- because '-MD' means "put the output
3634 # in D".
3635 rm -rf conftest.dir
3636 mkdir conftest.dir
3637 # Copy depcomp to subdir because otherwise we won't find it if we're
3638 # using a relative directory.
3639 cp "$am_depcomp" conftest.dir
3640 cd conftest.dir
3641 # We will build objects and dependencies in a subdirectory because
3642 # it helps to detect inapplicable dependency modes. For instance
3643 # both Tru64's cc and ICC support -MD to output dependencies as a
3644 # side effect of compilation, but ICC will put the dependencies in
3645 # the current directory while Tru64 will put them in the object
3646 # directory.
3647 mkdir sub
3648
3649 am_cv_CC_dependencies_compiler_type=none
3650 if test "$am_compiler_list" = ""; then
3651 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3652 fi
3653 am__universal=false
3654 case " $depcc " in #(
3655 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3656 esac
3657
3658 for depmode in $am_compiler_list; do
3659 # Setup a source with many dependencies, because some compilers
3660 # like to wrap large dependency lists on column 80 (with \), and
3661 # we should not choose a depcomp mode which is confused by this.
3662 #
3663 # We need to recreate these files for each test, as the compiler may
3664 # overwrite some of them when testing with obscure command lines.
3665 # This happens at least with the AIX C compiler.
3666 : > sub/conftest.c
3667 for i in 1 2 3 4 5 6; do
3668 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3669 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3670 # Solaris 10 /bin/sh.
3671 echo '/* dummy */' > sub/conftst$i.h
3672 done
3673 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3674
3675 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3676 # mode. It turns out that the SunPro C++ compiler does not properly
3677 # handle '-M -o', and we need to detect this. Also, some Intel
3678 # versions had trouble with output in subdirs.
3679 am__obj=sub/conftest.${OBJEXT-o}
3680 am__minus_obj="-o $am__obj"
3681 case $depmode in
3682 gcc)
3683 # This depmode causes a compiler race in universal mode.
3684 test "$am__universal" = false || continue
3685 ;;
3686 nosideeffect)
3687 # After this tag, mechanisms are not by side-effect, so they'll
3688 # only be used when explicitly requested.
3689 if test "x$enable_dependency_tracking" = xyes; then
3690 continue
3691 else
3692 break
3693 fi
3694 ;;
3695 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3696 # This compiler won't grok '-c -o', but also, the minuso test has
3697 # not run yet. These depmodes are late enough in the game, and
3698 # so weak that their functioning should not be impacted.
3699 am__obj=conftest.${OBJEXT-o}
3700 am__minus_obj=
3701 ;;
3702 none) break ;;
3703 esac
3704 if depmode=$depmode \
3705 source=sub/conftest.c object=$am__obj \
3706 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3707 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3708 >/dev/null 2>conftest.err &&
3709 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3710 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3711 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3712 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3713 # icc doesn't choke on unknown options, it will just issue warnings
3714 # or remarks (even with -Werror). So we grep stderr for any message
3715 # that says an option was ignored or not supported.
3716 # When given -MP, icc 7.0 and 7.1 complain thusly:
3717 # icc: Command line warning: ignoring option '-M'; no argument required
3718 # The diagnosis changed in icc 8.0:
3719 # icc: Command line remark: option '-MP' not supported
3720 if (grep 'ignoring option' conftest.err ||
3721 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3722 am_cv_CC_dependencies_compiler_type=$depmode
3723 break
3724 fi
3725 fi
3726 done
3727
3728 cd ..
3729 rm -rf conftest.dir
3730 else
3731 am_cv_CC_dependencies_compiler_type=none
3732 fi
3733
3734 fi
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3736 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3737 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3738
3739 if
3740 test "x$enable_dependency_tracking" != xno \
3741 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3742 am__fastdepCC_TRUE=
3743 am__fastdepCC_FALSE='#'
3744 else
3745 am__fastdepCC_TRUE='#'
3746 am__fastdepCC_FALSE=
3747 fi
3748
3749
3750
3751
3752 # Checks for header files.
3753
3754 ac_ext=c
3755 ac_cpp='$CPP $CPPFLAGS'
3756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3760 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3761 # On Suns, sometimes $CPP names a directory.
3762 if test -n "$CPP" && test -d "$CPP"; then
3763 CPP=
3764 fi
3765 if test -z "$CPP"; then
3766 if ${ac_cv_prog_CPP+:} false; then :
3767 $as_echo_n "(cached) " >&6
3768 else
3769 # Double quotes because CPP needs to be expanded
3770 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3771 do
3772 ac_preproc_ok=false
3773 for ac_c_preproc_warn_flag in '' yes
3774 do
3775 # Use a header file that comes with gcc, so configuring glibc
3776 # with a fresh cross-compiler works.
3777 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3778 # <limits.h> exists even on freestanding compilers.
3779 # On the NeXT, cc -E runs the code through the compiler's parser,
3780 # not just through cpp. "Syntax error" is here to catch this case.
3781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3782 /* end confdefs.h. */
3783 #ifdef __STDC__
3784 # include <limits.h>
3785 #else
3786 # include <assert.h>
3787 #endif
3788 Syntax error
3789 _ACEOF
3790 if ac_fn_c_try_cpp "$LINENO"; then :
3791
3792 else
3793 # Broken: fails on valid input.
3794 continue
3795 fi
3796 rm -f conftest.err conftest.i conftest.$ac_ext
3797
3798 # OK, works on sane cases. Now check whether nonexistent headers
3799 # can be detected and how.
3800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3801 /* end confdefs.h. */
3802 #include <ac_nonexistent.h>
3803 _ACEOF
3804 if ac_fn_c_try_cpp "$LINENO"; then :
3805 # Broken: success on invalid input.
3806 continue
3807 else
3808 # Passes both tests.
3809 ac_preproc_ok=:
3810 break
3811 fi
3812 rm -f conftest.err conftest.i conftest.$ac_ext
3813
3814 done
3815 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3816 rm -f conftest.i conftest.err conftest.$ac_ext
3817 if $ac_preproc_ok; then :
3818 break
3819 fi
3820
3821 done
3822 ac_cv_prog_CPP=$CPP
3823
3824 fi
3825 CPP=$ac_cv_prog_CPP
3826 else
3827 ac_cv_prog_CPP=$CPP
3828 fi
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3830 $as_echo "$CPP" >&6; }
3831 ac_preproc_ok=false
3832 for ac_c_preproc_warn_flag in '' yes
3833 do
3834 # Use a header file that comes with gcc, so configuring glibc
3835 # with a fresh cross-compiler works.
3836 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3837 # <limits.h> exists even on freestanding compilers.
3838 # On the NeXT, cc -E runs the code through the compiler's parser,
3839 # not just through cpp. "Syntax error" is here to catch this case.
3840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3841 /* end confdefs.h. */
3842 #ifdef __STDC__
3843 # include <limits.h>
3844 #else
3845 # include <assert.h>
3846 #endif
3847 Syntax error
3848 _ACEOF
3849 if ac_fn_c_try_cpp "$LINENO"; then :
3850
3851 else
3852 # Broken: fails on valid input.
3853 continue
3854 fi
3855 rm -f conftest.err conftest.i conftest.$ac_ext
3856
3857 # OK, works on sane cases. Now check whether nonexistent headers
3858 # can be detected and how.
3859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3860 /* end confdefs.h. */
3861 #include <ac_nonexistent.h>
3862 _ACEOF
3863 if ac_fn_c_try_cpp "$LINENO"; then :
3864 # Broken: success on invalid input.
3865 continue
3866 else
3867 # Passes both tests.
3868 ac_preproc_ok=:
3869 break
3870 fi
3871 rm -f conftest.err conftest.i conftest.$ac_ext
3872
3873 done
3874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3875 rm -f conftest.i conftest.err conftest.$ac_ext
3876 if $ac_preproc_ok; then :
3877
3878 else
3879 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3881 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3882 See \`config.log' for more details" "$LINENO" 5; }
3883 fi
3884
3885 ac_ext=c
3886 ac_cpp='$CPP $CPPFLAGS'
3887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3890
3891
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3893 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3894 if ${ac_cv_path_GREP+:} false; then :
3895 $as_echo_n "(cached) " >&6
3896 else
3897 if test -z "$GREP"; then
3898 ac_path_GREP_found=false
3899 # Loop through the user's path and test for each of PROGNAME-LIST
3900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3901 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3902 do
3903 IFS=$as_save_IFS
3904 test -z "$as_dir" && as_dir=.
3905 for ac_prog in grep ggrep; do
3906 for ac_exec_ext in '' $ac_executable_extensions; do
3907 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3908 as_fn_executable_p "$ac_path_GREP" || continue
3909 # Check for GNU ac_path_GREP and select it if it is found.
3910 # Check for GNU $ac_path_GREP
3911 case `"$ac_path_GREP" --version 2>&1` in
3912 *GNU*)
3913 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3914 *)
3915 ac_count=0
3916 $as_echo_n 0123456789 >"conftest.in"
3917 while :
3918 do
3919 cat "conftest.in" "conftest.in" >"conftest.tmp"
3920 mv "conftest.tmp" "conftest.in"
3921 cp "conftest.in" "conftest.nl"
3922 $as_echo 'GREP' >> "conftest.nl"
3923 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3924 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3925 as_fn_arith $ac_count + 1 && ac_count=$as_val
3926 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3927 # Best one so far, save it but keep looking for a better one
3928 ac_cv_path_GREP="$ac_path_GREP"
3929 ac_path_GREP_max=$ac_count
3930 fi
3931 # 10*(2^10) chars as input seems more than enough
3932 test $ac_count -gt 10 && break
3933 done
3934 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3935 esac
3936
3937 $ac_path_GREP_found && break 3
3938 done
3939 done
3940 done
3941 IFS=$as_save_IFS
3942 if test -z "$ac_cv_path_GREP"; then
3943 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3944 fi
3945 else
3946 ac_cv_path_GREP=$GREP
3947 fi
3948
3949 fi
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3951 $as_echo "$ac_cv_path_GREP" >&6; }
3952 GREP="$ac_cv_path_GREP"
3953
3954
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3956 $as_echo_n "checking for egrep... " >&6; }
3957 if ${ac_cv_path_EGREP+:} false; then :
3958 $as_echo_n "(cached) " >&6
3959 else
3960 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3961 then ac_cv_path_EGREP="$GREP -E"
3962 else
3963 if test -z "$EGREP"; then
3964 ac_path_EGREP_found=false
3965 # Loop through the user's path and test for each of PROGNAME-LIST
3966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3967 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3968 do
3969 IFS=$as_save_IFS
3970 test -z "$as_dir" && as_dir=.
3971 for ac_prog in egrep; do
3972 for ac_exec_ext in '' $ac_executable_extensions; do
3973 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3974 as_fn_executable_p "$ac_path_EGREP" || continue
3975 # Check for GNU ac_path_EGREP and select it if it is found.
3976 # Check for GNU $ac_path_EGREP
3977 case `"$ac_path_EGREP" --version 2>&1` in
3978 *GNU*)
3979 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3980 *)
3981 ac_count=0
3982 $as_echo_n 0123456789 >"conftest.in"
3983 while :
3984 do
3985 cat "conftest.in" "conftest.in" >"conftest.tmp"
3986 mv "conftest.tmp" "conftest.in"
3987 cp "conftest.in" "conftest.nl"
3988 $as_echo 'EGREP' >> "conftest.nl"
3989 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3990 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3991 as_fn_arith $ac_count + 1 && ac_count=$as_val
3992 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3993 # Best one so far, save it but keep looking for a better one
3994 ac_cv_path_EGREP="$ac_path_EGREP"
3995 ac_path_EGREP_max=$ac_count
3996 fi
3997 # 10*(2^10) chars as input seems more than enough
3998 test $ac_count -gt 10 && break
3999 done
4000 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4001 esac
4002
4003 $ac_path_EGREP_found && break 3
4004 done
4005 done
4006 done
4007 IFS=$as_save_IFS
4008 if test -z "$ac_cv_path_EGREP"; then
4009 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4010 fi
4011 else
4012 ac_cv_path_EGREP=$EGREP
4013 fi
4014
4015 fi
4016 fi
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4018 $as_echo "$ac_cv_path_EGREP" >&6; }
4019 EGREP="$ac_cv_path_EGREP"
4020
4021
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4023 $as_echo_n "checking for ANSI C header files... " >&6; }
4024 if ${ac_cv_header_stdc+:} false; then :
4025 $as_echo_n "(cached) " >&6
4026 else
4027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4028 /* end confdefs.h. */
4029 #include <stdlib.h>
4030 #include <stdarg.h>
4031 #include <string.h>
4032 #include <float.h>
4033
4034 int
4035 main ()
4036 {
4037
4038 ;
4039 return 0;
4040 }
4041 _ACEOF
4042 if ac_fn_c_try_compile "$LINENO"; then :
4043 ac_cv_header_stdc=yes
4044 else
4045 ac_cv_header_stdc=no
4046 fi
4047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4048
4049 if test $ac_cv_header_stdc = yes; then
4050 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4052 /* end confdefs.h. */
4053 #include <string.h>
4054
4055 _ACEOF
4056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4057 $EGREP "memchr" >/dev/null 2>&1; then :
4058
4059 else
4060 ac_cv_header_stdc=no
4061 fi
4062 rm -f conftest*
4063
4064 fi
4065
4066 if test $ac_cv_header_stdc = yes; then
4067 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4069 /* end confdefs.h. */
4070 #include <stdlib.h>
4071
4072 _ACEOF
4073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4074 $EGREP "free" >/dev/null 2>&1; then :
4075
4076 else
4077 ac_cv_header_stdc=no
4078 fi
4079 rm -f conftest*
4080
4081 fi
4082
4083 if test $ac_cv_header_stdc = yes; then
4084 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4085 if test "$cross_compiling" = yes; then :
4086 :
4087 else
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4090 #include <ctype.h>
4091 #include <stdlib.h>
4092 #if ((' ' & 0x0FF) == 0x020)
4093 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4094 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4095 #else
4096 # define ISLOWER(c) \
4097 (('a' <= (c) && (c) <= 'i') \
4098 || ('j' <= (c) && (c) <= 'r') \
4099 || ('s' <= (c) && (c) <= 'z'))
4100 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4101 #endif
4102
4103 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4104 int
4105 main ()
4106 {
4107 int i;
4108 for (i = 0; i < 256; i++)
4109 if (XOR (islower (i), ISLOWER (i))
4110 || toupper (i) != TOUPPER (i))
4111 return 2;
4112 return 0;
4113 }
4114 _ACEOF
4115 if ac_fn_c_try_run "$LINENO"; then :
4116
4117 else
4118 ac_cv_header_stdc=no
4119 fi
4120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4121 conftest.$ac_objext conftest.beam conftest.$ac_ext
4122 fi
4123
4124 fi
4125 fi
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4127 $as_echo "$ac_cv_header_stdc" >&6; }
4128 if test $ac_cv_header_stdc = yes; then
4129
4130 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4131
4132 fi
4133
4134
4135 # following is not really necessary, since it is already done by preceding
4136 # macro, but it shows how to extend HAVE_ macros to other headers.
4137 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4138 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4139 inttypes.h stdint.h unistd.h
4140 do :
4141 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4142 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4143 "
4144 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4145 cat >>confdefs.h <<_ACEOF
4146 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4147 _ACEOF
4148
4149 fi
4150
4151 done
4152
4153
4154 for ac_header in stdlib.h stdio.h ctype.h string.h
4155 do :
4156 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4157 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4158 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4159 cat >>confdefs.h <<_ACEOF
4160 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4161 _ACEOF
4162
4163 fi
4164
4165 done
4166
4167
4168 # Checks for typedefs, structures, and compiler characteristics.
4169
4170 # Checks for library functions.
4171 for ac_header in stdlib.h
4172 do :
4173 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4174 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4175 cat >>confdefs.h <<_ACEOF
4176 #define HAVE_STDLIB_H 1
4177 _ACEOF
4178
4179 fi
4180
4181 done
4182
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4184 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4185 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
4186 $as_echo_n "(cached) " >&6
4187 else
4188 if test "$cross_compiling" = yes; then :
4189 ac_cv_func_malloc_0_nonnull=no
4190 else
4191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4193 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4194 # include <stdlib.h>
4195 #else
4196 char *malloc ();
4197 #endif
4198
4199 int
4200 main ()
4201 {
4202 return ! malloc (0);
4203 ;
4204 return 0;
4205 }
4206 _ACEOF
4207 if ac_fn_c_try_run "$LINENO"; then :
4208 ac_cv_func_malloc_0_nonnull=yes
4209 else
4210 ac_cv_func_malloc_0_nonnull=no
4211 fi
4212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4213 conftest.$ac_objext conftest.beam conftest.$ac_ext
4214 fi
4215
4216 fi
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4218 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4219 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4220
4221 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4222
4223 else
4224 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4225
4226 case " $LIBOBJS " in
4227 *" malloc.$ac_objext "* ) ;;
4228 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4229 ;;
4230 esac
4231
4232
4233 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4234
4235 fi
4236
4237
4238 for ac_func in memset strchr strstr
4239 do :
4240 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4241 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4242 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4243 cat >>confdefs.h <<_ACEOF
4244 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4245 _ACEOF
4246
4247 fi
4248 done
4249
4250
4251 # Make sure we can run config.sub.
4252 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4253 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4254
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4256 $as_echo_n "checking build system type... " >&6; }
4257 if ${ac_cv_build+:} false; then :
4258 $as_echo_n "(cached) " >&6
4259 else
4260 ac_build_alias=$build_alias
4261 test "x$ac_build_alias" = x &&
4262 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4263 test "x$ac_build_alias" = x &&
4264 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4265 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4266 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4267
4268 fi
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4270 $as_echo "$ac_cv_build" >&6; }
4271 case $ac_cv_build in
4272 *-*-*) ;;
4273 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4274 esac
4275 build=$ac_cv_build
4276 ac_save_IFS=$IFS; IFS='-'
4277 set x $ac_cv_build
4278 shift
4279 build_cpu=$1
4280 build_vendor=$2
4281 shift; shift
4282 # Remember, the first character of IFS is used to create $*,
4283 # except with old shells:
4284 build_os=$*
4285 IFS=$ac_save_IFS
4286 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4287
4288
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4290 $as_echo_n "checking host system type... " >&6; }
4291 if ${ac_cv_host+:} false; then :
4292 $as_echo_n "(cached) " >&6
4293 else
4294 if test "x$host_alias" = x; then
4295 ac_cv_host=$ac_cv_build
4296 else
4297 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4298 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4299 fi
4300
4301 fi
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4303 $as_echo "$ac_cv_host" >&6; }
4304 case $ac_cv_host in
4305 *-*-*) ;;
4306 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4307 esac
4308 host=$ac_cv_host
4309 ac_save_IFS=$IFS; IFS='-'
4310 set x $ac_cv_host
4311 shift
4312 host_cpu=$1
4313 host_vendor=$2
4314 shift; shift
4315 # Remember, the first character of IFS is used to create $*,
4316 # except with old shells:
4317 host_os=$*
4318 IFS=$ac_save_IFS
4319 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4320
4321
4322 case $host in
4323 *-*-cygwin*) LIBS="-liconv"
4324 ;;
4325 *aix*) LIBS="-liconv"
4326 ;;
4327 *-*-darwin*) LIBS="-liconv"
4328 ;;
4329 esac
4330
4331 ac_config_files="$ac_config_files Makefile doc/Makefile outputs/Makefile patches/Makefile src/Makefile tests/Makefile"
4332
4333 cat >confcache <<\_ACEOF
4334 # This file is a shell script that caches the results of configure
4335 # tests run on this system so they can be shared between configure
4336 # scripts and configure runs, see configure's option --config-cache.
4337 # It is not useful on other systems. If it contains results you don't
4338 # want to keep, you may remove or edit it.
4339 #
4340 # config.status only pays attention to the cache file if you give it
4341 # the --recheck option to rerun configure.
4342 #
4343 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4344 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4345 # following values.
4346
4347 _ACEOF
4348
4349 # The following way of writing the cache mishandles newlines in values,
4350 # but we know of no workaround that is simple, portable, and efficient.
4351 # So, we kill variables containing newlines.
4352 # Ultrix sh set writes to stderr and can't be redirected directly,
4353 # and sets the high bit in the cache file unless we assign to the vars.
4354 (
4355 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4356 eval ac_val=\$$ac_var
4357 case $ac_val in #(
4358 *${as_nl}*)
4359 case $ac_var in #(
4360 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4361 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4362 esac
4363 case $ac_var in #(
4364 _ | IFS | as_nl) ;; #(
4365 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4366 *) { eval $ac_var=; unset $ac_var;} ;;
4367 esac ;;
4368 esac
4369 done
4370
4371 (set) 2>&1 |
4372 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4373 *${as_nl}ac_space=\ *)
4374 # `set' does not quote correctly, so add quotes: double-quote
4375 # substitution turns \\\\ into \\, and sed turns \\ into \.
4376 sed -n \
4377 "s/'/'\\\\''/g;
4378 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4379 ;; #(
4380 *)
4381 # `set' quotes correctly as required by POSIX, so do not add quotes.
4382 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4383 ;;
4384 esac |
4385 sort
4386 ) |
4387 sed '
4388 /^ac_cv_env_/b end
4389 t clear
4390 :clear
4391 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4392 t end
4393 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4394 :end' >>confcache
4395 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4396 if test -w "$cache_file"; then
4397 if test "x$cache_file" != "x/dev/null"; then
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4399 $as_echo "$as_me: updating cache $cache_file" >&6;}
4400 if test ! -f "$cache_file" || test -h "$cache_file"; then
4401 cat confcache >"$cache_file"
4402 else
4403 case $cache_file in #(
4404 */* | ?:*)
4405 mv -f confcache "$cache_file"$$ &&
4406 mv -f "$cache_file"$$ "$cache_file" ;; #(
4407 *)
4408 mv -f confcache "$cache_file" ;;
4409 esac
4410 fi
4411 fi
4412 else
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4414 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4415 fi
4416 fi
4417 rm -f confcache
4418
4419 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4420 # Let make expand exec_prefix.
4421 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4422
4423 DEFS=-DHAVE_CONFIG_H
4424
4425 ac_libobjs=
4426 ac_ltlibobjs=
4427 U=
4428 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4429 # 1. Remove the extension, and $U if already installed.
4430 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4431 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4432 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4433 # will be set to the directory where LIBOBJS objects are built.
4434 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4435 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4436 done
4437 LIBOBJS=$ac_libobjs
4438
4439 LTLIBOBJS=$ac_ltlibobjs
4440
4441
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4443 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4444 if test -n "$am_sleep_pid"; then
4445 # Hide warnings about reused PIDs.
4446 wait $am_sleep_pid 2>/dev/null
4447 fi
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4449 $as_echo "done" >&6; }
4450 if test -n "$EXEEXT"; then
4451 am__EXEEXT_TRUE=
4452 am__EXEEXT_FALSE='#'
4453 else
4454 am__EXEEXT_TRUE='#'
4455 am__EXEEXT_FALSE=
4456 fi
4457
4458 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4459 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4461 fi
4462 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4463 as_fn_error $? "conditional \"AMDEP\" was never defined.
4464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4465 fi
4466 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4467 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4469 fi
4470
4471 : "${CONFIG_STATUS=./config.status}"
4472 ac_write_fail=0
4473 ac_clean_files_save=$ac_clean_files
4474 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4476 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4477 as_write_fail=0
4478 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4479 #! $SHELL
4480 # Generated by $as_me.
4481 # Run this file to recreate the current configuration.
4482 # Compiler output produced by configure, useful for debugging
4483 # configure, is in config.log if it exists.
4484
4485 debug=false
4486 ac_cs_recheck=false
4487 ac_cs_silent=false
4488
4489 SHELL=\${CONFIG_SHELL-$SHELL}
4490 export SHELL
4491 _ASEOF
4492 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4493 ## -------------------- ##
4494 ## M4sh Initialization. ##
4495 ## -------------------- ##
4496
4497 # Be more Bourne compatible
4498 DUALCASE=1; export DUALCASE # for MKS sh
4499 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4500 emulate sh
4501 NULLCMD=:
4502 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4503 # is contrary to our usage. Disable this feature.
4504 alias -g '${1+"$@"}'='"$@"'
4505 setopt NO_GLOB_SUBST
4506 else
4507 case `(set -o) 2>/dev/null` in #(
4508 *posix*) :
4509 set -o posix ;; #(
4510 *) :
4511 ;;
4512 esac
4513 fi
4514
4515
4516 as_nl='
4517 '
4518 export as_nl
4519 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4520 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4521 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4522 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4523 # Prefer a ksh shell builtin over an external printf program on Solaris,
4524 # but without wasting forks for bash or zsh.
4525 if test -z "$BASH_VERSION$ZSH_VERSION" \
4526 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4527 as_echo='print -r --'
4528 as_echo_n='print -rn --'
4529 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4530 as_echo='printf %s\n'
4531 as_echo_n='printf %s'
4532 else
4533 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4534 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4535 as_echo_n='/usr/ucb/echo -n'
4536 else
4537 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4538 as_echo_n_body='eval
4539 arg=$1;
4540 case $arg in #(
4541 *"$as_nl"*)
4542 expr "X$arg" : "X\\(.*\\)$as_nl";
4543 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4544 esac;
4545 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4546 '
4547 export as_echo_n_body
4548 as_echo_n='sh -c $as_echo_n_body as_echo'
4549 fi
4550 export as_echo_body
4551 as_echo='sh -c $as_echo_body as_echo'
4552 fi
4553
4554 # The user is always right.
4555 if test "${PATH_SEPARATOR+set}" != set; then
4556 PATH_SEPARATOR=:
4557 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4558 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4559 PATH_SEPARATOR=';'
4560 }
4561 fi
4562
4563
4564 # IFS
4565 # We need space, tab and new line, in precisely that order. Quoting is
4566 # there to prevent editors from complaining about space-tab.
4567 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4568 # splitting by setting IFS to empty value.)
4569 IFS=" "" $as_nl"
4570
4571 # Find who we are. Look in the path if we contain no directory separator.
4572 as_myself=
4573 case $0 in #((
4574 *[\\/]* ) as_myself=$0 ;;
4575 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 for as_dir in $PATH
4577 do
4578 IFS=$as_save_IFS
4579 test -z "$as_dir" && as_dir=.
4580 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4581 done
4582 IFS=$as_save_IFS
4583
4584 ;;
4585 esac
4586 # We did not find ourselves, most probably we were run as `sh COMMAND'
4587 # in which case we are not to be found in the path.
4588 if test "x$as_myself" = x; then
4589 as_myself=$0
4590 fi
4591 if test ! -f "$as_myself"; then
4592 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4593 exit 1
4594 fi
4595
4596 # Unset variables that we do not need and which cause bugs (e.g. in
4597 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4598 # suppresses any "Segmentation fault" message there. '((' could
4599 # trigger a bug in pdksh 5.2.14.
4600 for as_var in BASH_ENV ENV MAIL MAILPATH
4601 do eval test x\${$as_var+set} = xset \
4602 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4603 done
4604 PS1='$ '
4605 PS2='> '
4606 PS4='+ '
4607
4608 # NLS nuisances.
4609 LC_ALL=C
4610 export LC_ALL
4611 LANGUAGE=C
4612 export LANGUAGE
4613
4614 # CDPATH.
4615 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4616
4617
4618 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4619 # ----------------------------------------
4620 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4621 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4622 # script with STATUS, using 1 if that was 0.
4623 as_fn_error ()
4624 {
4625 as_status=$1; test $as_status -eq 0 && as_status=1
4626 if test "$4"; then
4627 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4628 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4629 fi
4630 $as_echo "$as_me: error: $2" >&2
4631 as_fn_exit $as_status
4632 } # as_fn_error
4633
4634
4635 # as_fn_set_status STATUS
4636 # -----------------------
4637 # Set $? to STATUS, without forking.
4638 as_fn_set_status ()
4639 {
4640 return $1
4641 } # as_fn_set_status
4642
4643 # as_fn_exit STATUS
4644 # -----------------
4645 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4646 as_fn_exit ()
4647 {
4648 set +e
4649 as_fn_set_status $1
4650 exit $1
4651 } # as_fn_exit
4652
4653 # as_fn_unset VAR
4654 # ---------------
4655 # Portably unset VAR.
4656 as_fn_unset ()
4657 {
4658 { eval $1=; unset $1;}
4659 }
4660 as_unset=as_fn_unset
4661 # as_fn_append VAR VALUE
4662 # ----------------------
4663 # Append the text in VALUE to the end of the definition contained in VAR. Take
4664 # advantage of any shell optimizations that allow amortized linear growth over
4665 # repeated appends, instead of the typical quadratic growth present in naive
4666 # implementations.
4667 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4668 eval 'as_fn_append ()
4669 {
4670 eval $1+=\$2
4671 }'
4672 else
4673 as_fn_append ()
4674 {
4675 eval $1=\$$1\$2
4676 }
4677 fi # as_fn_append
4678
4679 # as_fn_arith ARG...
4680 # ------------------
4681 # Perform arithmetic evaluation on the ARGs, and store the result in the
4682 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4683 # must be portable across $(()) and expr.
4684 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4685 eval 'as_fn_arith ()
4686 {
4687 as_val=$(( $* ))
4688 }'
4689 else
4690 as_fn_arith ()
4691 {
4692 as_val=`expr "$@" || test $? -eq 1`
4693 }
4694 fi # as_fn_arith
4695
4696
4697 if expr a : '\(a\)' >/dev/null 2>&1 &&
4698 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4699 as_expr=expr
4700 else
4701 as_expr=false
4702 fi
4703
4704 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4705 as_basename=basename
4706 else
4707 as_basename=false
4708 fi
4709
4710 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4711 as_dirname=dirname
4712 else
4713 as_dirname=false
4714 fi
4715
4716 as_me=`$as_basename -- "$0" ||
4717 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4718 X"$0" : 'X\(//\)$' \| \
4719 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4720 $as_echo X/"$0" |
4721 sed '/^.*\/\([^/][^/]*\)\/*$/{
4722 s//\1/
4723 q
4724 }
4725 /^X\/\(\/\/\)$/{
4726 s//\1/
4727 q
4728 }
4729 /^X\/\(\/\).*/{
4730 s//\1/
4731 q
4732 }
4733 s/.*/./; q'`
4734
4735 # Avoid depending upon Character Ranges.
4736 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4737 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4738 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4739 as_cr_digits='0123456789'
4740 as_cr_alnum=$as_cr_Letters$as_cr_digits
4741
4742 ECHO_C= ECHO_N= ECHO_T=
4743 case `echo -n x` in #(((((
4744 -n*)
4745 case `echo 'xy\c'` in
4746 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4747 xy) ECHO_C='\c';;
4748 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4749 ECHO_T=' ';;
4750 esac;;
4751 *)
4752 ECHO_N='-n';;
4753 esac
4754
4755 rm -f conf$$ conf$$.exe conf$$.file
4756 if test -d conf$$.dir; then
4757 rm -f conf$$.dir/conf$$.file
4758 else
4759 rm -f conf$$.dir
4760 mkdir conf$$.dir 2>/dev/null
4761 fi
4762 if (echo >conf$$.file) 2>/dev/null; then
4763 if ln -s conf$$.file conf$$ 2>/dev/null; then
4764 as_ln_s='ln -s'
4765 # ... but there are two gotchas:
4766 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4767 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4768 # In both cases, we have to default to `cp -pR'.
4769 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4770 as_ln_s='cp -pR'
4771 elif ln conf$$.file conf$$ 2>/dev/null; then
4772 as_ln_s=ln
4773 else
4774 as_ln_s='cp -pR'
4775 fi
4776 else
4777 as_ln_s='cp -pR'
4778 fi
4779 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4780 rmdir conf$$.dir 2>/dev/null
4781
4782
4783 # as_fn_mkdir_p
4784 # -------------
4785 # Create "$as_dir" as a directory, including parents if necessary.
4786 as_fn_mkdir_p ()
4787 {
4788
4789 case $as_dir in #(
4790 -*) as_dir=./$as_dir;;
4791 esac
4792 test -d "$as_dir" || eval $as_mkdir_p || {
4793 as_dirs=
4794 while :; do
4795 case $as_dir in #(
4796 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4797 *) as_qdir=$as_dir;;
4798 esac
4799 as_dirs="'$as_qdir' $as_dirs"
4800 as_dir=`$as_dirname -- "$as_dir" ||
4801 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4802 X"$as_dir" : 'X\(//\)[^/]' \| \
4803 X"$as_dir" : 'X\(//\)$' \| \
4804 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4805 $as_echo X"$as_dir" |
4806 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4807 s//\1/
4808 q
4809 }
4810 /^X\(\/\/\)[^/].*/{
4811 s//\1/
4812 q
4813 }
4814 /^X\(\/\/\)$/{
4815 s//\1/
4816 q
4817 }
4818 /^X\(\/\).*/{
4819 s//\1/
4820 q
4821 }
4822 s/.*/./; q'`
4823 test -d "$as_dir" && break
4824 done
4825 test -z "$as_dirs" || eval "mkdir $as_dirs"
4826 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4827
4828
4829 } # as_fn_mkdir_p
4830 if mkdir -p . 2>/dev/null; then
4831 as_mkdir_p='mkdir -p "$as_dir"'
4832 else
4833 test -d ./-p && rmdir ./-p
4834 as_mkdir_p=false
4835 fi
4836
4837
4838 # as_fn_executable_p FILE
4839 # -----------------------
4840 # Test if FILE is an executable regular file.
4841 as_fn_executable_p ()
4842 {
4843 test -f "$1" && test -x "$1"
4844 } # as_fn_executable_p
4845 as_test_x='test -x'
4846 as_executable_p=as_fn_executable_p
4847
4848 # Sed expression to map a string onto a valid CPP name.
4849 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4850
4851 # Sed expression to map a string onto a valid variable name.
4852 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4853
4854
4855 exec 6>&1
4856 ## ----------------------------------- ##
4857 ## Main body of $CONFIG_STATUS script. ##
4858 ## ----------------------------------- ##
4859 _ASEOF
4860 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4861
4862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4863 # Save the log message, to keep $0 and so on meaningful, and to
4864 # report actual input values of CONFIG_FILES etc. instead of their
4865 # values after options handling.
4866 ac_log="
4867 This file was extended by unrtf $as_me 0.21.9, which was
4868 generated by GNU Autoconf 2.69. Invocation command line was
4869
4870 CONFIG_FILES = $CONFIG_FILES
4871 CONFIG_HEADERS = $CONFIG_HEADERS
4872 CONFIG_LINKS = $CONFIG_LINKS
4873 CONFIG_COMMANDS = $CONFIG_COMMANDS
4874 $ $0 $@
4875
4876 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4877 "
4878
4879 _ACEOF
4880
4881 case $ac_config_files in *"
4882 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4883 esac
4884
4885 case $ac_config_headers in *"
4886 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4887 esac
4888
4889
4890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4891 # Files that config.status was made for.
4892 config_files="$ac_config_files"
4893 config_headers="$ac_config_headers"
4894 config_commands="$ac_config_commands"
4895
4896 _ACEOF
4897
4898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4899 ac_cs_usage="\
4900 \`$as_me' instantiates files and other configuration actions
4901 from templates according to the current configuration. Unless the files
4902 and actions are specified as TAGs, all are instantiated by default.
4903
4904 Usage: $0 [OPTION]... [TAG]...
4905
4906 -h, --help print this help, then exit
4907 -V, --version print version number and configuration settings, then exit
4908 --config print configuration, then exit
4909 -q, --quiet, --silent
4910 do not print progress messages
4911 -d, --debug don't remove temporary files
4912 --recheck update $as_me by reconfiguring in the same conditions
4913 --file=FILE[:TEMPLATE]
4914 instantiate the configuration file FILE
4915 --header=FILE[:TEMPLATE]
4916 instantiate the configuration header FILE
4917
4918 Configuration files:
4919 $config_files
4920
4921 Configuration headers:
4922 $config_headers
4923
4924 Configuration commands:
4925 $config_commands
4926
4927 Report bugs to <bug-unrtf@gnu.org>."
4928
4929 _ACEOF
4930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4931 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4932 ac_cs_version="\\
4933 unrtf config.status 0.21.9
4934 configured by $0, generated by GNU Autoconf 2.69,
4935 with options \\"\$ac_cs_config\\"
4936
4937 Copyright (C) 2012 Free Software Foundation, Inc.
4938 This config.status script is free software; the Free Software Foundation
4939 gives unlimited permission to copy, distribute and modify it."
4940
4941 ac_pwd='$ac_pwd'
4942 srcdir='$srcdir'
4943 INSTALL='$INSTALL'
4944 MKDIR_P='$MKDIR_P'
4945 AWK='$AWK'
4946 test -n "\$AWK" || AWK=awk
4947 _ACEOF
4948
4949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4950 # The default lists apply if the user does not specify any file.
4951 ac_need_defaults=:
4952 while test $# != 0
4953 do
4954 case $1 in
4955 --*=?*)
4956 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4957 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4958 ac_shift=:
4959 ;;
4960 --*=)
4961 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4962 ac_optarg=
4963 ac_shift=:
4964 ;;
4965 *)
4966 ac_option=$1
4967 ac_optarg=$2
4968 ac_shift=shift
4969 ;;
4970 esac
4971
4972 case $ac_option in
4973 # Handling of the options.
4974 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4975 ac_cs_recheck=: ;;
4976 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4977 $as_echo "$ac_cs_version"; exit ;;
4978 --config | --confi | --conf | --con | --co | --c )
4979 $as_echo "$ac_cs_config"; exit ;;
4980 --debug | --debu | --deb | --de | --d | -d )
4981 debug=: ;;
4982 --file | --fil | --fi | --f )
4983 $ac_shift
4984 case $ac_optarg in
4985 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4986 '') as_fn_error $? "missing file argument" ;;
4987 esac
4988 as_fn_append CONFIG_FILES " '$ac_optarg'"
4989 ac_need_defaults=false;;
4990 --header | --heade | --head | --hea )
4991 $ac_shift
4992 case $ac_optarg in
4993 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4994 esac
4995 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4996 ac_need_defaults=false;;
4997 --he | --h)
4998 # Conflict between --help and --header
4999 as_fn_error $? "ambiguous option: \`$1'
5000 Try \`$0 --help' for more information.";;
5001 --help | --hel | -h )
5002 $as_echo "$ac_cs_usage"; exit ;;
5003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5004 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5005 ac_cs_silent=: ;;
5006
5007 # This is an error.
5008 -*) as_fn_error $? "unrecognized option: \`$1'
5009 Try \`$0 --help' for more information." ;;
5010
5011 *) as_fn_append ac_config_targets " $1"
5012 ac_need_defaults=false ;;
5013
5014 esac
5015 shift
5016 done
5017
5018 ac_configure_extra_args=
5019
5020 if $ac_cs_silent; then
5021 exec 6>/dev/null
5022 ac_configure_extra_args="$ac_configure_extra_args --silent"
5023 fi
5024
5025 _ACEOF
5026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5027 if \$ac_cs_recheck; then
5028 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5029 shift
5030 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5031 CONFIG_SHELL='$SHELL'
5032 export CONFIG_SHELL
5033 exec "\$@"
5034 fi
5035
5036 _ACEOF
5037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5038 exec 5>>config.log
5039 {
5040 echo
5041 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5042 ## Running $as_me. ##
5043 _ASBOX
5044 $as_echo "$ac_log"
5045 } >&5
5046
5047 _ACEOF
5048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5049 #
5050 # INIT-COMMANDS
5051 #
5052 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5053
5054 _ACEOF
5055
5056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5057
5058 # Handling of arguments.
5059 for ac_config_target in $ac_config_targets
5060 do
5061 case $ac_config_target in
5062 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5063 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5064 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5065 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5066 "outputs/Makefile") CONFIG_FILES="$CONFIG_FILES outputs/Makefile" ;;
5067 "patches/Makefile") CONFIG_FILES="$CONFIG_FILES patches/Makefile" ;;
5068 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5069 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
5070
5071 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5072 esac
5073 done
5074
5075
5076 # If the user did not use the arguments to specify the items to instantiate,
5077 # then the envvar interface is used. Set only those that are not.
5078 # We use the long form for the default assignment because of an extremely
5079 # bizarre bug on SunOS 4.1.3.
5080 if $ac_need_defaults; then
5081 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5082 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5083 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5084 fi
5085
5086 # Have a temporary directory for convenience. Make it in the build tree
5087 # simply because there is no reason against having it here, and in addition,
5088 # creating and moving files from /tmp can sometimes cause problems.
5089 # Hook for its removal unless debugging.
5090 # Note that there is a small window in which the directory will not be cleaned:
5091 # after its creation but before its name has been assigned to `$tmp'.
5092 $debug ||
5093 {
5094 tmp= ac_tmp=
5095 trap 'exit_status=$?
5096 : "${ac_tmp:=$tmp}"
5097 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5098 ' 0
5099 trap 'as_fn_exit 1' 1 2 13 15
5100 }
5101 # Create a (secure) tmp directory for tmp files.
5102
5103 {
5104 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5105 test -d "$tmp"
5106 } ||
5107 {
5108 tmp=./conf$$-$RANDOM
5109 (umask 077 && mkdir "$tmp")
5110 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5111 ac_tmp=$tmp
5112
5113 # Set up the scripts for CONFIG_FILES section.
5114 # No need to generate them if there are no CONFIG_FILES.
5115 # This happens for instance with `./config.status config.h'.
5116 if test -n "$CONFIG_FILES"; then
5117
5118
5119 ac_cr=`echo X | tr X '\015'`
5120 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5121 # But we know of no other shell where ac_cr would be empty at this
5122 # point, so we can use a bashism as a fallback.
5123 if test "x$ac_cr" = x; then
5124 eval ac_cr=\$\'\\r\'
5125 fi
5126 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5127 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5128 ac_cs_awk_cr='\\r'
5129 else
5130 ac_cs_awk_cr=$ac_cr
5131 fi
5132
5133 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5134 _ACEOF
5135
5136
5137 {
5138 echo "cat >conf$$subs.awk <<_ACEOF" &&
5139 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5140 echo "_ACEOF"
5141 } >conf$$subs.sh ||
5142 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5143 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5144 ac_delim='%!_!# '
5145 for ac_last_try in false false false false false :; do
5146 . ./conf$$subs.sh ||
5147 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5148
5149 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5150 if test $ac_delim_n = $ac_delim_num; then
5151 break
5152 elif $ac_last_try; then
5153 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5154 else
5155 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5156 fi
5157 done
5158 rm -f conf$$subs.sh
5159
5160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5161 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5162 _ACEOF
5163 sed -n '
5164 h
5165 s/^/S["/; s/!.*/"]=/
5166 p
5167 g
5168 s/^[^!]*!//
5169 :repl
5170 t repl
5171 s/'"$ac_delim"'$//
5172 t delim
5173 :nl
5174 h
5175 s/\(.\{148\}\)..*/\1/
5176 t more1
5177 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5178 p
5179 n
5180 b repl
5181 :more1
5182 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5183 p
5184 g
5185 s/.\{148\}//
5186 t nl
5187 :delim
5188 h
5189 s/\(.\{148\}\)..*/\1/
5190 t more2
5191 s/["\\]/\\&/g; s/^/"/; s/$/"/
5192 p
5193 b
5194 :more2
5195 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5196 p
5197 g
5198 s/.\{148\}//
5199 t delim
5200 ' <conf$$subs.awk | sed '
5201 /^[^""]/{
5202 N
5203 s/\n//
5204 }
5205 ' >>$CONFIG_STATUS || ac_write_fail=1
5206 rm -f conf$$subs.awk
5207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5208 _ACAWK
5209 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5210 for (key in S) S_is_set[key] = 1
5211 FS = ""
5212
5213 }
5214 {
5215 line = $ 0
5216 nfields = split(line, field, "@")
5217 substed = 0
5218 len = length(field[1])
5219 for (i = 2; i < nfields; i++) {
5220 key = field[i]
5221 keylen = length(key)
5222 if (S_is_set[key]) {
5223 value = S[key]
5224 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5225 len += length(value) + length(field[++i])
5226 substed = 1
5227 } else
5228 len += 1 + keylen
5229 }
5230
5231 print line
5232 }
5233
5234 _ACAWK
5235 _ACEOF
5236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5237 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5238 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5239 else
5240 cat
5241 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5242 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5243 _ACEOF
5244
5245 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5246 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5247 # trailing colons and then remove the whole line if VPATH becomes empty
5248 # (actually we leave an empty line to preserve line numbers).
5249 if test "x$srcdir" = x.; then
5250 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5251 h
5252 s///
5253 s/^/:/
5254 s/[ ]*$/:/
5255 s/:\$(srcdir):/:/g
5256 s/:\${srcdir}:/:/g
5257 s/:@srcdir@:/:/g
5258 s/^:*//
5259 s/:*$//
5260 x
5261 s/\(=[ ]*\).*/\1/
5262 G
5263 s/\n//
5264 s/^[^=]*=[ ]*$//
5265 }'
5266 fi
5267
5268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5269 fi # test -n "$CONFIG_FILES"
5270
5271 # Set up the scripts for CONFIG_HEADERS section.
5272 # No need to generate them if there are no CONFIG_HEADERS.
5273 # This happens for instance with `./config.status Makefile'.
5274 if test -n "$CONFIG_HEADERS"; then
5275 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5276 BEGIN {
5277 _ACEOF
5278
5279 # Transform confdefs.h into an awk script `defines.awk', embedded as
5280 # here-document in config.status, that substitutes the proper values into
5281 # config.h.in to produce config.h.
5282
5283 # Create a delimiter string that does not exist in confdefs.h, to ease
5284 # handling of long lines.
5285 ac_delim='%!_!# '
5286 for ac_last_try in false false :; do
5287 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5288 if test -z "$ac_tt"; then
5289 break
5290 elif $ac_last_try; then
5291 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5292 else
5293 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5294 fi
5295 done
5296
5297 # For the awk script, D is an array of macro values keyed by name,
5298 # likewise P contains macro parameters if any. Preserve backslash
5299 # newline sequences.
5300
5301 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5302 sed -n '
5303 s/.\{148\}/&'"$ac_delim"'/g
5304 t rset
5305 :rset
5306 s/^[ ]*#[ ]*define[ ][ ]*/ /
5307 t def
5308 d
5309 :def
5310 s/\\$//
5311 t bsnl
5312 s/["\\]/\\&/g
5313 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5314 D["\1"]=" \3"/p
5315 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5316 d
5317 :bsnl
5318 s/["\\]/\\&/g
5319 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5320 D["\1"]=" \3\\\\\\n"\\/p
5321 t cont
5322 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5323 t cont
5324 d
5325 :cont
5326 n
5327 s/.\{148\}/&'"$ac_delim"'/g
5328 t clear
5329 :clear
5330 s/\\$//
5331 t bsnlc
5332 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5333 d
5334 :bsnlc
5335 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5336 b cont
5337 ' <confdefs.h | sed '
5338 s/'"$ac_delim"'/"\\\
5339 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5340
5341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5342 for (key in D) D_is_set[key] = 1
5343 FS = ""
5344 }
5345 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5346 line = \$ 0
5347 split(line, arg, " ")
5348 if (arg[1] == "#") {
5349 defundef = arg[2]
5350 mac1 = arg[3]
5351 } else {
5352 defundef = substr(arg[1], 2)
5353 mac1 = arg[2]
5354 }
5355 split(mac1, mac2, "(") #)
5356 macro = mac2[1]
5357 prefix = substr(line, 1, index(line, defundef) - 1)
5358 if (D_is_set[macro]) {
5359 # Preserve the white space surrounding the "#".
5360 print prefix "define", macro P[macro] D[macro]
5361 next
5362 } else {
5363 # Replace #undef with comments. This is necessary, for example,
5364 # in the case of _POSIX_SOURCE, which is predefined and required
5365 # on some systems where configure will not decide to define it.
5366 if (defundef == "undef") {
5367 print "/*", prefix defundef, macro, "*/"
5368 next
5369 }
5370 }
5371 }
5372 { print }
5373 _ACAWK
5374 _ACEOF
5375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5376 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5377 fi # test -n "$CONFIG_HEADERS"
5378
5379
5380 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5381 shift
5382 for ac_tag
5383 do
5384 case $ac_tag in
5385 :[FHLC]) ac_mode=$ac_tag; continue;;
5386 esac
5387 case $ac_mode$ac_tag in
5388 :[FHL]*:*);;
5389 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5390 :[FH]-) ac_tag=-:-;;
5391 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5392 esac
5393 ac_save_IFS=$IFS
5394 IFS=:
5395 set x $ac_tag
5396 IFS=$ac_save_IFS
5397 shift
5398 ac_file=$1
5399 shift
5400
5401 case $ac_mode in
5402 :L) ac_source=$1;;
5403 :[FH])
5404 ac_file_inputs=
5405 for ac_f
5406 do
5407 case $ac_f in
5408 -) ac_f="$ac_tmp/stdin";;
5409 *) # Look for the file first in the build tree, then in the source tree
5410 # (if the path is not absolute). The absolute path cannot be DOS-style,
5411 # because $ac_f cannot contain `:'.
5412 test -f "$ac_f" ||
5413 case $ac_f in
5414 [\\/$]*) false;;
5415 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5416 esac ||
5417 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5418 esac
5419 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5420 as_fn_append ac_file_inputs " '$ac_f'"
5421 done
5422
5423 # Let's still pretend it is `configure' which instantiates (i.e., don't
5424 # use $as_me), people would be surprised to read:
5425 # /* config.h. Generated by config.status. */
5426 configure_input='Generated from '`
5427 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5428 `' by configure.'
5429 if test x"$ac_file" != x-; then
5430 configure_input="$ac_file. $configure_input"
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5432 $as_echo "$as_me: creating $ac_file" >&6;}
5433 fi
5434 # Neutralize special characters interpreted by sed in replacement strings.
5435 case $configure_input in #(
5436 *\&* | *\|* | *\\* )
5437 ac_sed_conf_input=`$as_echo "$configure_input" |
5438 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5439 *) ac_sed_conf_input=$configure_input;;
5440 esac
5441
5442 case $ac_tag in
5443 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5444 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5445 esac
5446 ;;
5447 esac
5448
5449 ac_dir=`$as_dirname -- "$ac_file" ||
5450 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5451 X"$ac_file" : 'X\(//\)[^/]' \| \
5452 X"$ac_file" : 'X\(//\)$' \| \
5453 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5454 $as_echo X"$ac_file" |
5455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5456 s//\1/
5457 q
5458 }
5459 /^X\(\/\/\)[^/].*/{
5460 s//\1/
5461 q
5462 }
5463 /^X\(\/\/\)$/{
5464 s//\1/
5465 q
5466 }
5467 /^X\(\/\).*/{
5468 s//\1/
5469 q
5470 }
5471 s/.*/./; q'`
5472 as_dir="$ac_dir"; as_fn_mkdir_p
5473 ac_builddir=.
5474
5475 case "$ac_dir" in
5476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5477 *)
5478 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5479 # A ".." for each directory in $ac_dir_suffix.
5480 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5481 case $ac_top_builddir_sub in
5482 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5483 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5484 esac ;;
5485 esac
5486 ac_abs_top_builddir=$ac_pwd
5487 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5488 # for backward compatibility:
5489 ac_top_builddir=$ac_top_build_prefix
5490
5491 case $srcdir in
5492 .) # We are building in place.
5493 ac_srcdir=.
5494 ac_top_srcdir=$ac_top_builddir_sub
5495 ac_abs_top_srcdir=$ac_pwd ;;
5496 [\\/]* | ?:[\\/]* ) # Absolute name.
5497 ac_srcdir=$srcdir$ac_dir_suffix;
5498 ac_top_srcdir=$srcdir
5499 ac_abs_top_srcdir=$srcdir ;;
5500 *) # Relative name.
5501 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5502 ac_top_srcdir=$ac_top_build_prefix$srcdir
5503 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5504 esac
5505 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5506
5507
5508 case $ac_mode in
5509 :F)
5510 #
5511 # CONFIG_FILE
5512 #
5513
5514 case $INSTALL in
5515 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5516 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5517 esac
5518 ac_MKDIR_P=$MKDIR_P
5519 case $MKDIR_P in
5520 [\\/$]* | ?:[\\/]* ) ;;
5521 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5522 esac
5523 _ACEOF
5524
5525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5526 # If the template does not know about datarootdir, expand it.
5527 # FIXME: This hack should be removed a few years after 2.60.
5528 ac_datarootdir_hack=; ac_datarootdir_seen=
5529 ac_sed_dataroot='
5530 /datarootdir/ {
5531 p
5532 q
5533 }
5534 /@datadir@/p
5535 /@docdir@/p
5536 /@infodir@/p
5537 /@localedir@/p
5538 /@mandir@/p'
5539 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5540 *datarootdir*) ac_datarootdir_seen=yes;;
5541 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5543 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5544 _ACEOF
5545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5546 ac_datarootdir_hack='
5547 s&@datadir@&$datadir&g
5548 s&@docdir@&$docdir&g
5549 s&@infodir@&$infodir&g
5550 s&@localedir@&$localedir&g
5551 s&@mandir@&$mandir&g
5552 s&\\\${datarootdir}&$datarootdir&g' ;;
5553 esac
5554 _ACEOF
5555
5556 # Neutralize VPATH when `$srcdir' = `.'.
5557 # Shell code in configure.ac might set extrasub.
5558 # FIXME: do we really want to maintain this feature?
5559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5560 ac_sed_extra="$ac_vpsub
5561 $extrasub
5562 _ACEOF
5563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5564 :t
5565 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5566 s|@configure_input@|$ac_sed_conf_input|;t t
5567 s&@top_builddir@&$ac_top_builddir_sub&;t t
5568 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5569 s&@srcdir@&$ac_srcdir&;t t
5570 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5571 s&@top_srcdir@&$ac_top_srcdir&;t t
5572 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5573 s&@builddir@&$ac_builddir&;t t
5574 s&@abs_builddir@&$ac_abs_builddir&;t t
5575 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5576 s&@INSTALL@&$ac_INSTALL&;t t
5577 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5578 $ac_datarootdir_hack
5579 "
5580 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5581 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5582
5583 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5584 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5585 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5586 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5588 which seems to be undefined. Please make sure it is defined" >&5
5589 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5590 which seems to be undefined. Please make sure it is defined" >&2;}
5591
5592 rm -f "$ac_tmp/stdin"
5593 case $ac_file in
5594 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5595 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5596 esac \
5597 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5598 ;;
5599 :H)
5600 #
5601 # CONFIG_HEADER
5602 #
5603 if test x"$ac_file" != x-; then
5604 {
5605 $as_echo "/* $configure_input */" \
5606 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5607 } >"$ac_tmp/config.h" \
5608 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5609 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5611 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5612 else
5613 rm -f "$ac_file"
5614 mv "$ac_tmp/config.h" "$ac_file" \
5615 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5616 fi
5617 else
5618 $as_echo "/* $configure_input */" \
5619 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5620 || as_fn_error $? "could not create -" "$LINENO" 5
5621 fi
5622 # Compute "$ac_file"'s index in $config_headers.
5623 _am_arg="$ac_file"
5624 _am_stamp_count=1
5625 for _am_header in $config_headers :; do
5626 case $_am_header in
5627 $_am_arg | $_am_arg:* )
5628 break ;;
5629 * )
5630 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5631 esac
5632 done
5633 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5634 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5635 X"$_am_arg" : 'X\(//\)[^/]' \| \
5636 X"$_am_arg" : 'X\(//\)$' \| \
5637 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5638 $as_echo X"$_am_arg" |
5639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5640 s//\1/
5641 q
5642 }
5643 /^X\(\/\/\)[^/].*/{
5644 s//\1/
5645 q
5646 }
5647 /^X\(\/\/\)$/{
5648 s//\1/
5649 q
5650 }
5651 /^X\(\/\).*/{
5652 s//\1/
5653 q
5654 }
5655 s/.*/./; q'`/stamp-h$_am_stamp_count
5656 ;;
5657
5658 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5659 $as_echo "$as_me: executing $ac_file commands" >&6;}
5660 ;;
5661 esac
5662
5663
5664 case $ac_file$ac_mode in
5665 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5666 # Older Autoconf quotes --file arguments for eval, but not when files
5667 # are listed without --file. Let's play safe and only enable the eval
5668 # if we detect the quoting.
5669 case $CONFIG_FILES in
5670 *\'*) eval set x "$CONFIG_FILES" ;;
5671 *) set x $CONFIG_FILES ;;
5672 esac
5673 shift
5674 for mf
5675 do
5676 # Strip MF so we end up with the name of the file.
5677 mf=`echo "$mf" | sed -e 's/:.*$//'`
5678 # Check whether this is an Automake generated Makefile or not.
5679 # We used to match only the files named 'Makefile.in', but
5680 # some people rename them; so instead we look at the file content.
5681 # Grep'ing the first line is not enough: some people post-process
5682 # each Makefile.in and add a new line on top of each file to say so.
5683 # Grep'ing the whole file is not good either: AIX grep has a line
5684 # limit of 2048, but all sed's we know have understand at least 4000.
5685 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5686 dirpart=`$as_dirname -- "$mf" ||
5687 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5688 X"$mf" : 'X\(//\)[^/]' \| \
5689 X"$mf" : 'X\(//\)$' \| \
5690 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5691 $as_echo X"$mf" |
5692 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5693 s//\1/
5694 q
5695 }
5696 /^X\(\/\/\)[^/].*/{
5697 s//\1/
5698 q
5699 }
5700 /^X\(\/\/\)$/{
5701 s//\1/
5702 q
5703 }
5704 /^X\(\/\).*/{
5705 s//\1/
5706 q
5707 }
5708 s/.*/./; q'`
5709 else
5710 continue
5711 fi
5712 # Extract the definition of DEPDIR, am__include, and am__quote
5713 # from the Makefile without running 'make'.
5714 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5715 test -z "$DEPDIR" && continue
5716 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5717 test -z "$am__include" && continue
5718 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5719 # Find all dependency output files, they are included files with
5720 # $(DEPDIR) in their names. We invoke sed twice because it is the
5721 # simplest approach to changing $(DEPDIR) to its actual value in the
5722 # expansion.
5723 for file in `sed -n "
5724 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5725 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5726 # Make sure the directory exists.
5727 test -f "$dirpart/$file" && continue
5728 fdir=`$as_dirname -- "$file" ||
5729 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5730 X"$file" : 'X\(//\)[^/]' \| \
5731 X"$file" : 'X\(//\)$' \| \
5732 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5733 $as_echo X"$file" |
5734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5735 s//\1/
5736 q
5737 }
5738 /^X\(\/\/\)[^/].*/{
5739 s//\1/
5740 q
5741 }
5742 /^X\(\/\/\)$/{
5743 s//\1/
5744 q
5745 }
5746 /^X\(\/\).*/{
5747 s//\1/
5748 q
5749 }
5750 s/.*/./; q'`
5751 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5752 # echo "creating $dirpart/$file"
5753 echo '# dummy' > "$dirpart/$file"
5754 done
5755 done
5756 }
5757 ;;
5758
5759 esac
5760 done # for ac_tag
5761
5762
5763 as_fn_exit 0
5764 _ACEOF
5765 ac_clean_files=$ac_clean_files_save
5766
5767 test $ac_write_fail = 0 ||
5768 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5769
5770
5771 # configure is writing to config.log, and then calls config.status.
5772 # config.status does its own redirection, appending to config.log.
5773 # Unfortunately, on DOS this fails, as config.log is still kept open
5774 # by configure, so config.status won't be able to write to it; its
5775 # output is simply discarded. So we exec the FD to /dev/null,
5776 # effectively closing config.log, so it can be properly (re)opened and
5777 # appended to by config.status. When coming back to configure, we
5778 # need to make the FD available again.
5779 if test "$no_create" != yes; then
5780 ac_cs_success=:
5781 ac_config_status_args=
5782 test "$silent" = yes &&
5783 ac_config_status_args="$ac_config_status_args --quiet"
5784 exec 5>/dev/null
5785 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5786 exec 5>>config.log
5787 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5788 # would make configure fail if this is the last instruction.
5789 $ac_cs_success || as_fn_exit 1
5790 fi
5791 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5793 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5794 fi
5795
5796
00 unrtf (0.21.9-clean-3) UNRELEASED; urgency=medium
11
22 * Security fix
3 * Add patch from upstream to fix CVE-2016-10091 (buffer overflow in various
4 cmd_ functions). closes: 849705
35
46 -- Willi Mann <willi@debian.org> Sat, 31 Dec 2016 14:30:01 +0100
57
+0
-480
doc/Makefile.in less more
0 # Makefile.in generated by automake 1.13.4 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15 VPATH = @srcdir@
16 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
17 am__make_running_with_option = \
18 case $${target_option-} in \
19 ?) ;; \
20 *) echo "am__make_running_with_option: internal error: invalid" \
21 "target option '$${target_option-}' specified" >&2; \
22 exit 1;; \
23 esac; \
24 has_opt=no; \
25 sane_makeflags=$$MAKEFLAGS; \
26 if $(am__is_gnu_make); then \
27 sane_makeflags=$$MFLAGS; \
28 else \
29 case $$MAKEFLAGS in \
30 *\\[\ \ ]*) \
31 bs=\\; \
32 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
33 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
34 esac; \
35 fi; \
36 skip_next=no; \
37 strip_trailopt () \
38 { \
39 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
40 }; \
41 for flg in $$sane_makeflags; do \
42 test $$skip_next = yes && { skip_next=no; continue; }; \
43 case $$flg in \
44 *=*|--*) continue;; \
45 -*I) strip_trailopt 'I'; skip_next=yes;; \
46 -*I?*) strip_trailopt 'I';; \
47 -*O) strip_trailopt 'O'; skip_next=yes;; \
48 -*O?*) strip_trailopt 'O';; \
49 -*l) strip_trailopt 'l'; skip_next=yes;; \
50 -*l?*) strip_trailopt 'l';; \
51 -[dEDm]) skip_next=yes;; \
52 -[JT]) skip_next=yes;; \
53 esac; \
54 case $$flg in \
55 *$$target_option*) has_opt=yes; break;; \
56 esac; \
57 done; \
58 test $$has_opt = yes
59 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
60 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
61 pkgdatadir = $(datadir)/@PACKAGE@
62 pkgincludedir = $(includedir)/@PACKAGE@
63 pkglibdir = $(libdir)/@PACKAGE@
64 pkglibexecdir = $(libexecdir)/@PACKAGE@
65 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
66 install_sh_DATA = $(install_sh) -c -m 644
67 install_sh_PROGRAM = $(install_sh) -c
68 install_sh_SCRIPT = $(install_sh) -c
69 INSTALL_HEADER = $(INSTALL_DATA)
70 transform = $(program_transform_name)
71 NORMAL_INSTALL = :
72 PRE_INSTALL = :
73 POST_INSTALL = :
74 NORMAL_UNINSTALL = :
75 PRE_UNINSTALL = :
76 POST_UNINSTALL = :
77 build_triplet = @build@
78 host_triplet = @host@
79 subdir = doc
80 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
81 $(dist_man1_MANS)
82 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
83 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
84 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
85 $(ACLOCAL_M4)
86 mkinstalldirs = $(install_sh) -d
87 CONFIG_HEADER = $(top_builddir)/config.h
88 CONFIG_CLEAN_FILES =
89 CONFIG_CLEAN_VPATH_FILES =
90 AM_V_P = $(am__v_P_@AM_V@)
91 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
92 am__v_P_0 = false
93 am__v_P_1 = :
94 AM_V_GEN = $(am__v_GEN_@AM_V@)
95 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
96 am__v_GEN_0 = @echo " GEN " $@;
97 am__v_GEN_1 =
98 AM_V_at = $(am__v_at_@AM_V@)
99 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
100 am__v_at_0 = @
101 am__v_at_1 =
102 SOURCES =
103 DIST_SOURCES =
104 am__can_run_installinfo = \
105 case $$AM_UPDATE_INFO_DIR in \
106 n|no|NO) false;; \
107 *) (install-info --version) >/dev/null 2>&1;; \
108 esac
109 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
110 am__vpath_adj = case $$p in \
111 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
112 *) f=$$p;; \
113 esac;
114 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
115 am__install_max = 40
116 am__nobase_strip_setup = \
117 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
118 am__nobase_strip = \
119 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
120 am__nobase_list = $(am__nobase_strip_setup); \
121 for p in $$list; do echo "$$p $$p"; done | \
122 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
123 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
124 if (++n[$$2] == $(am__install_max)) \
125 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
126 END { for (dir in files) print dir, files[dir] }'
127 am__base_list = \
128 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
129 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
130 am__uninstall_files_from_dir = { \
131 test -z "$$files" \
132 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
133 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
134 $(am__cd) "$$dir" && rm -f $$files; }; \
135 }
136 man1dir = $(mandir)/man1
137 am__installdirs = "$(DESTDIR)$(man1dir)"
138 NROFF = nroff
139 MANS = $(dist_man1_MANS)
140 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
141 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
142 ACLOCAL = @ACLOCAL@
143 AMTAR = @AMTAR@
144 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
145 AUTOCONF = @AUTOCONF@
146 AUTOHEADER = @AUTOHEADER@
147 AUTOMAKE = @AUTOMAKE@
148 AWK = @AWK@
149 CC = @CC@
150 CCDEPMODE = @CCDEPMODE@
151 CFLAGS = @CFLAGS@
152 CPP = @CPP@
153 CPPFLAGS = @CPPFLAGS@
154 CYGPATH_W = @CYGPATH_W@
155 DEFS = @DEFS@
156 DEPDIR = @DEPDIR@
157 ECHO_C = @ECHO_C@
158 ECHO_N = @ECHO_N@
159 ECHO_T = @ECHO_T@
160 EGREP = @EGREP@
161 EXEEXT = @EXEEXT@
162 GREP = @GREP@
163 INSTALL = @INSTALL@
164 INSTALL_DATA = @INSTALL_DATA@
165 INSTALL_PROGRAM = @INSTALL_PROGRAM@
166 INSTALL_SCRIPT = @INSTALL_SCRIPT@
167 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
168 LDFLAGS = @LDFLAGS@
169 LIBOBJS = @LIBOBJS@
170 LIBS = @LIBS@
171 LTLIBOBJS = @LTLIBOBJS@
172 MAINT = @MAINT@
173 MAKEINFO = @MAKEINFO@
174 MKDIR_P = @MKDIR_P@
175 OBJEXT = @OBJEXT@
176 PACKAGE = @PACKAGE@
177 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
178 PACKAGE_NAME = @PACKAGE_NAME@
179 PACKAGE_STRING = @PACKAGE_STRING@
180 PACKAGE_TARNAME = @PACKAGE_TARNAME@
181 PACKAGE_URL = @PACKAGE_URL@
182 PACKAGE_VERSION = @PACKAGE_VERSION@
183 PATH_SEPARATOR = @PATH_SEPARATOR@
184 SET_MAKE = @SET_MAKE@
185 SHELL = @SHELL@
186 STRIP = @STRIP@
187 VERSION = @VERSION@
188 abs_builddir = @abs_builddir@
189 abs_srcdir = @abs_srcdir@
190 abs_top_builddir = @abs_top_builddir@
191 abs_top_srcdir = @abs_top_srcdir@
192 ac_ct_CC = @ac_ct_CC@
193 am__include = @am__include@
194 am__leading_dot = @am__leading_dot@
195 am__quote = @am__quote@
196 am__tar = @am__tar@
197 am__untar = @am__untar@
198 bindir = @bindir@
199 build = @build@
200 build_alias = @build_alias@
201 build_cpu = @build_cpu@
202 build_os = @build_os@
203 build_vendor = @build_vendor@
204 builddir = @builddir@
205 datadir = @datadir@
206 datarootdir = @datarootdir@
207 docdir = @docdir@
208 dvidir = @dvidir@
209 exec_prefix = @exec_prefix@
210 host = @host@
211 host_alias = @host_alias@
212 host_cpu = @host_cpu@
213 host_os = @host_os@
214 host_vendor = @host_vendor@
215 htmldir = @htmldir@
216 includedir = @includedir@
217 infodir = @infodir@
218 install_sh = @install_sh@
219 libdir = @libdir@
220 libexecdir = @libexecdir@
221 localedir = @localedir@
222 localstatedir = @localstatedir@
223 mandir = @mandir@
224 mkdir_p = @mkdir_p@
225 oldincludedir = @oldincludedir@
226 pdfdir = @pdfdir@
227 prefix = @prefix@
228 program_transform_name = @program_transform_name@
229 psdir = @psdir@
230 sbindir = @sbindir@
231 sharedstatedir = @sharedstatedir@
232 srcdir = @srcdir@
233 sysconfdir = @sysconfdir@
234 target_alias = @target_alias@
235 top_build_prefix = @top_build_prefix@
236 top_builddir = @top_builddir@
237 top_srcdir = @top_srcdir@
238 dist_man1_MANS = unrtf.1
239 EXTRA_DIST = unrtf.1.in
240 all: all-am
241
242 .SUFFIXES:
243 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
244 @for dep in $?; do \
245 case '$(am__configure_deps)' in \
246 *$$dep*) \
247 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
248 && { if test -f $@; then exit 0; else break; fi; }; \
249 exit 1;; \
250 esac; \
251 done; \
252 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
253 $(am__cd) $(top_srcdir) && \
254 $(AUTOMAKE) --gnu doc/Makefile
255 .PRECIOUS: Makefile
256 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
257 @case '$?' in \
258 *config.status*) \
259 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
260 *) \
261 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
262 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
263 esac;
264
265 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
266 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
267
268 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
269 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
270 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
271 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
272 $(am__aclocal_m4_deps):
273 install-man1: $(dist_man1_MANS)
274 @$(NORMAL_INSTALL)
275 @list1='$(dist_man1_MANS)'; \
276 list2=''; \
277 test -n "$(man1dir)" \
278 && test -n "`echo $$list1$$list2`" \
279 || exit 0; \
280 echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
281 $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
282 { for i in $$list1; do echo "$$i"; done; \
283 if test -n "$$list2"; then \
284 for i in $$list2; do echo "$$i"; done \
285 | sed -n '/\.1[a-z]*$$/p'; \
286 fi; \
287 } | while read p; do \
288 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
289 echo "$$d$$p"; echo "$$p"; \
290 done | \
291 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
292 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
293 sed 'N;N;s,\n, ,g' | { \
294 list=; while read file base inst; do \
295 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
296 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
297 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
298 fi; \
299 done; \
300 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
301 while read files; do \
302 test -z "$$files" || { \
303 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
304 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
305 done; }
306
307 uninstall-man1:
308 @$(NORMAL_UNINSTALL)
309 @list='$(dist_man1_MANS)'; test -n "$(man1dir)" || exit 0; \
310 files=`{ for i in $$list; do echo "$$i"; done; \
311 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
312 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
313 dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
314 tags TAGS:
315
316 ctags CTAGS:
317
318 cscope cscopelist:
319
320
321 distdir: $(DISTFILES)
322 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
323 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
324 list='$(DISTFILES)'; \
325 dist_files=`for file in $$list; do echo $$file; done | \
326 sed -e "s|^$$srcdirstrip/||;t" \
327 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
328 case $$dist_files in \
329 */*) $(MKDIR_P) `echo "$$dist_files" | \
330 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
331 sort -u` ;; \
332 esac; \
333 for file in $$dist_files; do \
334 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
335 if test -d $$d/$$file; then \
336 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
337 if test -d "$(distdir)/$$file"; then \
338 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
339 fi; \
340 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
341 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
342 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
343 fi; \
344 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
345 else \
346 test -f "$(distdir)/$$file" \
347 || cp -p $$d/$$file "$(distdir)/$$file" \
348 || exit 1; \
349 fi; \
350 done
351 check-am: all-am
352 check: check-am
353 all-am: Makefile $(MANS)
354 installdirs:
355 for dir in "$(DESTDIR)$(man1dir)"; do \
356 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
357 done
358 install: install-am
359 install-exec: install-exec-am
360 install-data: install-data-am
361 uninstall: uninstall-am
362
363 install-am: all-am
364 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
365
366 installcheck: installcheck-am
367 install-strip:
368 if test -z '$(STRIP)'; then \
369 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
370 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
371 install; \
372 else \
373 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
374 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
375 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
376 fi
377 mostlyclean-generic:
378
379 clean-generic:
380
381 distclean-generic:
382 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
383 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
384
385 maintainer-clean-generic:
386 @echo "This command is intended for maintainers to use"
387 @echo "it deletes files that may require special tools to rebuild."
388 clean: clean-am
389
390 clean-am: clean-generic clean-local mostlyclean-am
391
392 distclean: distclean-am
393 -rm -f Makefile
394 distclean-am: clean-am distclean-generic
395
396 dvi: dvi-am
397
398 dvi-am:
399
400 html: html-am
401
402 html-am:
403
404 info: info-am
405
406 info-am:
407
408 install-data-am: install-man
409
410 install-dvi: install-dvi-am
411
412 install-dvi-am:
413
414 install-exec-am:
415
416 install-html: install-html-am
417
418 install-html-am:
419
420 install-info: install-info-am
421
422 install-info-am:
423
424 install-man: install-man1
425
426 install-pdf: install-pdf-am
427
428 install-pdf-am:
429
430 install-ps: install-ps-am
431
432 install-ps-am:
433
434 installcheck-am:
435
436 maintainer-clean: maintainer-clean-am
437 -rm -f Makefile
438 maintainer-clean-am: distclean-am maintainer-clean-generic
439
440 mostlyclean: mostlyclean-am
441
442 mostlyclean-am: mostlyclean-generic
443
444 pdf: pdf-am
445
446 pdf-am:
447
448 ps: ps-am
449
450 ps-am:
451
452 uninstall-am: uninstall-man
453
454 uninstall-man: uninstall-man1
455
456 .MAKE: install-am install-strip
457
458 .PHONY: all all-am check check-am clean clean-generic clean-local \
459 cscopelist-am ctags-am distclean distclean-generic distdir dvi \
460 dvi-am html html-am info info-am install install-am \
461 install-data install-data-am install-dvi install-dvi-am \
462 install-exec install-exec-am install-html install-html-am \
463 install-info install-info-am install-man install-man1 \
464 install-pdf install-pdf-am install-ps install-ps-am \
465 install-strip installcheck installcheck-am installdirs \
466 maintainer-clean maintainer-clean-generic mostlyclean \
467 mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
468 uninstall-am uninstall-man uninstall-man1
469
470
471 unrtf.1: unrtf.1.in Makefile
472 sed -e 's!@DATADIR@!${datarootdir}/unrtf!g' < ${srcdir}/unrtf.1.in > unrtf.1
473
474 clean-local:
475 rm -f unrtf.1
476
477 # Tell versions [3.59,3.63) of GNU make to not export all variables.
478 # Otherwise a system limit (for SysV at least) may be exceeded.
479 .NOEXPORT:
+0
-459
outputs/Makefile.in less more
0 # Makefile.in generated by automake 1.13.4 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 VPATH = @srcdir@
17 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
18 am__make_running_with_option = \
19 case $${target_option-} in \
20 ?) ;; \
21 *) echo "am__make_running_with_option: internal error: invalid" \
22 "target option '$${target_option-}' specified" >&2; \
23 exit 1;; \
24 esac; \
25 has_opt=no; \
26 sane_makeflags=$$MAKEFLAGS; \
27 if $(am__is_gnu_make); then \
28 sane_makeflags=$$MFLAGS; \
29 else \
30 case $$MAKEFLAGS in \
31 *\\[\ \ ]*) \
32 bs=\\; \
33 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
34 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
35 esac; \
36 fi; \
37 skip_next=no; \
38 strip_trailopt () \
39 { \
40 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
41 }; \
42 for flg in $$sane_makeflags; do \
43 test $$skip_next = yes && { skip_next=no; continue; }; \
44 case $$flg in \
45 *=*|--*) continue;; \
46 -*I) strip_trailopt 'I'; skip_next=yes;; \
47 -*I?*) strip_trailopt 'I';; \
48 -*O) strip_trailopt 'O'; skip_next=yes;; \
49 -*O?*) strip_trailopt 'O';; \
50 -*l) strip_trailopt 'l'; skip_next=yes;; \
51 -*l?*) strip_trailopt 'l';; \
52 -[dEDm]) skip_next=yes;; \
53 -[JT]) skip_next=yes;; \
54 esac; \
55 case $$flg in \
56 *$$target_option*) has_opt=yes; break;; \
57 esac; \
58 done; \
59 test $$has_opt = yes
60 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
61 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
62 pkgdatadir = $(datadir)/@PACKAGE@
63 pkgincludedir = $(includedir)/@PACKAGE@
64 pkglibdir = $(libdir)/@PACKAGE@
65 pkglibexecdir = $(libexecdir)/@PACKAGE@
66 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
67 install_sh_DATA = $(install_sh) -c -m 644
68 install_sh_PROGRAM = $(install_sh) -c
69 install_sh_SCRIPT = $(install_sh) -c
70 INSTALL_HEADER = $(INSTALL_DATA)
71 transform = $(program_transform_name)
72 NORMAL_INSTALL = :
73 PRE_INSTALL = :
74 POST_INSTALL = :
75 NORMAL_UNINSTALL = :
76 PRE_UNINSTALL = :
77 POST_UNINSTALL = :
78 build_triplet = @build@
79 host_triplet = @host@
80 subdir = outputs
81 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
82 $(dist_outputs_DATA)
83 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
84 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
85 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
86 $(ACLOCAL_M4)
87 mkinstalldirs = $(install_sh) -d
88 CONFIG_HEADER = $(top_builddir)/config.h
89 CONFIG_CLEAN_FILES =
90 CONFIG_CLEAN_VPATH_FILES =
91 AM_V_P = $(am__v_P_@AM_V@)
92 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
93 am__v_P_0 = false
94 am__v_P_1 = :
95 AM_V_GEN = $(am__v_GEN_@AM_V@)
96 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
97 am__v_GEN_0 = @echo " GEN " $@;
98 am__v_GEN_1 =
99 AM_V_at = $(am__v_at_@AM_V@)
100 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
101 am__v_at_0 = @
102 am__v_at_1 =
103 SOURCES =
104 DIST_SOURCES =
105 am__can_run_installinfo = \
106 case $$AM_UPDATE_INFO_DIR in \
107 n|no|NO) false;; \
108 *) (install-info --version) >/dev/null 2>&1;; \
109 esac
110 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
111 am__vpath_adj = case $$p in \
112 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
113 *) f=$$p;; \
114 esac;
115 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
116 am__install_max = 40
117 am__nobase_strip_setup = \
118 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
119 am__nobase_strip = \
120 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
121 am__nobase_list = $(am__nobase_strip_setup); \
122 for p in $$list; do echo "$$p $$p"; done | \
123 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
124 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
125 if (++n[$$2] == $(am__install_max)) \
126 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
127 END { for (dir in files) print dir, files[dir] }'
128 am__base_list = \
129 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
130 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
131 am__uninstall_files_from_dir = { \
132 test -z "$$files" \
133 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
134 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
135 $(am__cd) "$$dir" && rm -f $$files; }; \
136 }
137 am__installdirs = "$(DESTDIR)$(outputsdir)"
138 DATA = $(dist_outputs_DATA)
139 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
140 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
141 ACLOCAL = @ACLOCAL@
142 AMTAR = @AMTAR@
143 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
144 AUTOCONF = @AUTOCONF@
145 AUTOHEADER = @AUTOHEADER@
146 AUTOMAKE = @AUTOMAKE@
147 AWK = @AWK@
148 CC = @CC@
149 CCDEPMODE = @CCDEPMODE@
150 CFLAGS = @CFLAGS@
151 CPP = @CPP@
152 CPPFLAGS = @CPPFLAGS@
153 CYGPATH_W = @CYGPATH_W@
154 DEFS = @DEFS@
155 DEPDIR = @DEPDIR@
156 ECHO_C = @ECHO_C@
157 ECHO_N = @ECHO_N@
158 ECHO_T = @ECHO_T@
159 EGREP = @EGREP@
160 EXEEXT = @EXEEXT@
161 GREP = @GREP@
162 INSTALL = @INSTALL@
163 INSTALL_DATA = @INSTALL_DATA@
164 INSTALL_PROGRAM = @INSTALL_PROGRAM@
165 INSTALL_SCRIPT = @INSTALL_SCRIPT@
166 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
167 LDFLAGS = @LDFLAGS@
168 LIBOBJS = @LIBOBJS@
169 LIBS = @LIBS@
170 LTLIBOBJS = @LTLIBOBJS@
171 MAINT = @MAINT@
172 MAKEINFO = @MAKEINFO@
173 MKDIR_P = @MKDIR_P@
174 OBJEXT = @OBJEXT@
175 PACKAGE = @PACKAGE@
176 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
177 PACKAGE_NAME = @PACKAGE_NAME@
178 PACKAGE_STRING = @PACKAGE_STRING@
179 PACKAGE_TARNAME = @PACKAGE_TARNAME@
180 PACKAGE_URL = @PACKAGE_URL@
181 PACKAGE_VERSION = @PACKAGE_VERSION@
182 PATH_SEPARATOR = @PATH_SEPARATOR@
183 SET_MAKE = @SET_MAKE@
184 SHELL = @SHELL@
185 STRIP = @STRIP@
186 VERSION = @VERSION@
187 abs_builddir = @abs_builddir@
188 abs_srcdir = @abs_srcdir@
189 abs_top_builddir = @abs_top_builddir@
190 abs_top_srcdir = @abs_top_srcdir@
191 ac_ct_CC = @ac_ct_CC@
192 am__include = @am__include@
193 am__leading_dot = @am__leading_dot@
194 am__quote = @am__quote@
195 am__tar = @am__tar@
196 am__untar = @am__untar@
197 bindir = @bindir@
198 build = @build@
199 build_alias = @build_alias@
200 build_cpu = @build_cpu@
201 build_os = @build_os@
202 build_vendor = @build_vendor@
203 builddir = @builddir@
204 datadir = @datadir@
205 datarootdir = @datarootdir@
206 docdir = @docdir@
207 dvidir = @dvidir@
208 exec_prefix = @exec_prefix@
209 host = @host@
210 host_alias = @host_alias@
211 host_cpu = @host_cpu@
212 host_os = @host_os@
213 host_vendor = @host_vendor@
214 htmldir = @htmldir@
215 includedir = @includedir@
216 infodir = @infodir@
217 install_sh = @install_sh@
218 libdir = @libdir@
219 libexecdir = @libexecdir@
220 localedir = @localedir@
221 localstatedir = @localstatedir@
222 mandir = @mandir@
223 mkdir_p = @mkdir_p@
224 oldincludedir = @oldincludedir@
225 pdfdir = @pdfdir@
226 prefix = @prefix@
227 program_transform_name = @program_transform_name@
228 psdir = @psdir@
229 sbindir = @sbindir@
230 sharedstatedir = @sharedstatedir@
231 srcdir = @srcdir@
232 sysconfdir = @sysconfdir@
233 target_alias = @target_alias@
234 top_build_prefix = @top_build_prefix@
235 top_builddir = @top_builddir@
236 top_srcdir = @top_srcdir@
237 outputsdir = ${pkgdatadir}
238 dist_outputs_DATA = \
239 html.conf \
240 latex.conf \
241 rtf.conf \
242 text.conf \
243 troff_mm.conf \
244 vt.conf \
245 SYMBOL.charmap
246
247 all: all-am
248
249 .SUFFIXES:
250 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
251 @for dep in $?; do \
252 case '$(am__configure_deps)' in \
253 *$$dep*) \
254 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
255 && { if test -f $@; then exit 0; else break; fi; }; \
256 exit 1;; \
257 esac; \
258 done; \
259 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu outputs/Makefile'; \
260 $(am__cd) $(top_srcdir) && \
261 $(AUTOMAKE) --gnu outputs/Makefile
262 .PRECIOUS: Makefile
263 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
264 @case '$?' in \
265 *config.status*) \
266 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
267 *) \
268 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
269 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
270 esac;
271
272 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
273 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
274
275 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
276 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
277 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
278 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
279 $(am__aclocal_m4_deps):
280 install-dist_outputsDATA: $(dist_outputs_DATA)
281 @$(NORMAL_INSTALL)
282 @list='$(dist_outputs_DATA)'; test -n "$(outputsdir)" || list=; \
283 if test -n "$$list"; then \
284 echo " $(MKDIR_P) '$(DESTDIR)$(outputsdir)'"; \
285 $(MKDIR_P) "$(DESTDIR)$(outputsdir)" || exit 1; \
286 fi; \
287 for p in $$list; do \
288 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
289 echo "$$d$$p"; \
290 done | $(am__base_list) | \
291 while read files; do \
292 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(outputsdir)'"; \
293 $(INSTALL_DATA) $$files "$(DESTDIR)$(outputsdir)" || exit $$?; \
294 done
295
296 uninstall-dist_outputsDATA:
297 @$(NORMAL_UNINSTALL)
298 @list='$(dist_outputs_DATA)'; test -n "$(outputsdir)" || list=; \
299 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
300 dir='$(DESTDIR)$(outputsdir)'; $(am__uninstall_files_from_dir)
301 tags TAGS:
302
303 ctags CTAGS:
304
305 cscope cscopelist:
306
307
308 distdir: $(DISTFILES)
309 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
310 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
311 list='$(DISTFILES)'; \
312 dist_files=`for file in $$list; do echo $$file; done | \
313 sed -e "s|^$$srcdirstrip/||;t" \
314 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
315 case $$dist_files in \
316 */*) $(MKDIR_P) `echo "$$dist_files" | \
317 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
318 sort -u` ;; \
319 esac; \
320 for file in $$dist_files; do \
321 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
322 if test -d $$d/$$file; then \
323 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
324 if test -d "$(distdir)/$$file"; then \
325 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
326 fi; \
327 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
328 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
329 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
330 fi; \
331 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
332 else \
333 test -f "$(distdir)/$$file" \
334 || cp -p $$d/$$file "$(distdir)/$$file" \
335 || exit 1; \
336 fi; \
337 done
338 check-am: all-am
339 check: check-am
340 all-am: Makefile $(DATA)
341 installdirs:
342 for dir in "$(DESTDIR)$(outputsdir)"; do \
343 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
344 done
345 install: install-am
346 install-exec: install-exec-am
347 install-data: install-data-am
348 uninstall: uninstall-am
349
350 install-am: all-am
351 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
352
353 installcheck: installcheck-am
354 install-strip:
355 if test -z '$(STRIP)'; then \
356 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
357 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
358 install; \
359 else \
360 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
361 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
362 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
363 fi
364 mostlyclean-generic:
365
366 clean-generic:
367
368 distclean-generic:
369 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
370 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
371
372 maintainer-clean-generic:
373 @echo "This command is intended for maintainers to use"
374 @echo "it deletes files that may require special tools to rebuild."
375 clean: clean-am
376
377 clean-am: clean-generic mostlyclean-am
378
379 distclean: distclean-am
380 -rm -f Makefile
381 distclean-am: clean-am distclean-generic
382
383 dvi: dvi-am
384
385 dvi-am:
386
387 html: html-am
388
389 html-am:
390
391 info: info-am
392
393 info-am:
394
395 install-data-am: install-dist_outputsDATA
396
397 install-dvi: install-dvi-am
398
399 install-dvi-am:
400
401 install-exec-am:
402
403 install-html: install-html-am
404
405 install-html-am:
406
407 install-info: install-info-am
408
409 install-info-am:
410
411 install-man:
412
413 install-pdf: install-pdf-am
414
415 install-pdf-am:
416
417 install-ps: install-ps-am
418
419 install-ps-am:
420
421 installcheck-am:
422
423 maintainer-clean: maintainer-clean-am
424 -rm -f Makefile
425 maintainer-clean-am: distclean-am maintainer-clean-generic
426
427 mostlyclean: mostlyclean-am
428
429 mostlyclean-am: mostlyclean-generic
430
431 pdf: pdf-am
432
433 pdf-am:
434
435 ps: ps-am
436
437 ps-am:
438
439 uninstall-am: uninstall-dist_outputsDATA
440
441 .MAKE: install-am install-strip
442
443 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
444 ctags-am distclean distclean-generic distdir dvi dvi-am html \
445 html-am info info-am install install-am install-data \
446 install-data-am install-dist_outputsDATA install-dvi \
447 install-dvi-am install-exec install-exec-am install-html \
448 install-html-am install-info install-info-am install-man \
449 install-pdf install-pdf-am install-ps install-ps-am \
450 install-strip installcheck installcheck-am installdirs \
451 maintainer-clean maintainer-clean-generic mostlyclean \
452 mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
453 uninstall-am uninstall-dist_outputsDATA
454
455
456 # Tell versions [3.59,3.63) of GNU make to not export all variables.
457 # Otherwise a system limit (for SysV at least) may be exceeded.
458 .NOEXPORT:
+0
-397
patches/Makefile.in less more
0 # Makefile.in generated by automake 1.13.4 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 # this simple Makefile.am just adds the patches to the distributed
17 # tarball in the release.
18 VPATH = @srcdir@
19 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
20 am__make_running_with_option = \
21 case $${target_option-} in \
22 ?) ;; \
23 *) echo "am__make_running_with_option: internal error: invalid" \
24 "target option '$${target_option-}' specified" >&2; \
25 exit 1;; \
26 esac; \
27 has_opt=no; \
28 sane_makeflags=$$MAKEFLAGS; \
29 if $(am__is_gnu_make); then \
30 sane_makeflags=$$MFLAGS; \
31 else \
32 case $$MAKEFLAGS in \
33 *\\[\ \ ]*) \
34 bs=\\; \
35 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
36 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
37 esac; \
38 fi; \
39 skip_next=no; \
40 strip_trailopt () \
41 { \
42 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
43 }; \
44 for flg in $$sane_makeflags; do \
45 test $$skip_next = yes && { skip_next=no; continue; }; \
46 case $$flg in \
47 *=*|--*) continue;; \
48 -*I) strip_trailopt 'I'; skip_next=yes;; \
49 -*I?*) strip_trailopt 'I';; \
50 -*O) strip_trailopt 'O'; skip_next=yes;; \
51 -*O?*) strip_trailopt 'O';; \
52 -*l) strip_trailopt 'l'; skip_next=yes;; \
53 -*l?*) strip_trailopt 'l';; \
54 -[dEDm]) skip_next=yes;; \
55 -[JT]) skip_next=yes;; \
56 esac; \
57 case $$flg in \
58 *$$target_option*) has_opt=yes; break;; \
59 esac; \
60 done; \
61 test $$has_opt = yes
62 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
63 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
64 pkgdatadir = $(datadir)/@PACKAGE@
65 pkgincludedir = $(includedir)/@PACKAGE@
66 pkglibdir = $(libdir)/@PACKAGE@
67 pkglibexecdir = $(libexecdir)/@PACKAGE@
68 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
69 install_sh_DATA = $(install_sh) -c -m 644
70 install_sh_PROGRAM = $(install_sh) -c
71 install_sh_SCRIPT = $(install_sh) -c
72 INSTALL_HEADER = $(INSTALL_DATA)
73 transform = $(program_transform_name)
74 NORMAL_INSTALL = :
75 PRE_INSTALL = :
76 POST_INSTALL = :
77 NORMAL_UNINSTALL = :
78 PRE_UNINSTALL = :
79 POST_UNINSTALL = :
80 build_triplet = @build@
81 host_triplet = @host@
82 subdir = patches
83 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
84 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
85 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
86 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
87 $(ACLOCAL_M4)
88 mkinstalldirs = $(install_sh) -d
89 CONFIG_HEADER = $(top_builddir)/config.h
90 CONFIG_CLEAN_FILES =
91 CONFIG_CLEAN_VPATH_FILES =
92 AM_V_P = $(am__v_P_@AM_V@)
93 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
94 am__v_P_0 = false
95 am__v_P_1 = :
96 AM_V_GEN = $(am__v_GEN_@AM_V@)
97 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
98 am__v_GEN_0 = @echo " GEN " $@;
99 am__v_GEN_1 =
100 AM_V_at = $(am__v_at_@AM_V@)
101 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
102 am__v_at_0 = @
103 am__v_at_1 =
104 SOURCES =
105 DIST_SOURCES =
106 am__can_run_installinfo = \
107 case $$AM_UPDATE_INFO_DIR in \
108 n|no|NO) false;; \
109 *) (install-info --version) >/dev/null 2>&1;; \
110 esac
111 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
112 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
113 ACLOCAL = @ACLOCAL@
114 AMTAR = @AMTAR@
115 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
116 AUTOCONF = @AUTOCONF@
117 AUTOHEADER = @AUTOHEADER@
118 AUTOMAKE = @AUTOMAKE@
119 AWK = @AWK@
120 CC = @CC@
121 CCDEPMODE = @CCDEPMODE@
122 CFLAGS = @CFLAGS@
123 CPP = @CPP@
124 CPPFLAGS = @CPPFLAGS@
125 CYGPATH_W = @CYGPATH_W@
126 DEFS = @DEFS@
127 DEPDIR = @DEPDIR@
128 ECHO_C = @ECHO_C@
129 ECHO_N = @ECHO_N@
130 ECHO_T = @ECHO_T@
131 EGREP = @EGREP@
132 EXEEXT = @EXEEXT@
133 GREP = @GREP@
134 INSTALL = @INSTALL@
135 INSTALL_DATA = @INSTALL_DATA@
136 INSTALL_PROGRAM = @INSTALL_PROGRAM@
137 INSTALL_SCRIPT = @INSTALL_SCRIPT@
138 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
139 LDFLAGS = @LDFLAGS@
140 LIBOBJS = @LIBOBJS@
141 LIBS = @LIBS@
142 LTLIBOBJS = @LTLIBOBJS@
143 MAINT = @MAINT@
144 MAKEINFO = @MAKEINFO@
145 MKDIR_P = @MKDIR_P@
146 OBJEXT = @OBJEXT@
147 PACKAGE = @PACKAGE@
148 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
149 PACKAGE_NAME = @PACKAGE_NAME@
150 PACKAGE_STRING = @PACKAGE_STRING@
151 PACKAGE_TARNAME = @PACKAGE_TARNAME@
152 PACKAGE_URL = @PACKAGE_URL@
153 PACKAGE_VERSION = @PACKAGE_VERSION@
154 PATH_SEPARATOR = @PATH_SEPARATOR@
155 SET_MAKE = @SET_MAKE@
156 SHELL = @SHELL@
157 STRIP = @STRIP@
158 VERSION = @VERSION@
159 abs_builddir = @abs_builddir@
160 abs_srcdir = @abs_srcdir@
161 abs_top_builddir = @abs_top_builddir@
162 abs_top_srcdir = @abs_top_srcdir@
163 ac_ct_CC = @ac_ct_CC@
164 am__include = @am__include@
165 am__leading_dot = @am__leading_dot@
166 am__quote = @am__quote@
167 am__tar = @am__tar@
168 am__untar = @am__untar@
169 bindir = @bindir@
170 build = @build@
171 build_alias = @build_alias@
172 build_cpu = @build_cpu@
173 build_os = @build_os@
174 build_vendor = @build_vendor@
175 builddir = @builddir@
176 datadir = @datadir@
177 datarootdir = @datarootdir@
178 docdir = @docdir@
179 dvidir = @dvidir@
180 exec_prefix = @exec_prefix@
181 host = @host@
182 host_alias = @host_alias@
183 host_cpu = @host_cpu@
184 host_os = @host_os@
185 host_vendor = @host_vendor@
186 htmldir = @htmldir@
187 includedir = @includedir@
188 infodir = @infodir@
189 install_sh = @install_sh@
190 libdir = @libdir@
191 libexecdir = @libexecdir@
192 localedir = @localedir@
193 localstatedir = @localstatedir@
194 mandir = @mandir@
195 mkdir_p = @mkdir_p@
196 oldincludedir = @oldincludedir@
197 pdfdir = @pdfdir@
198 prefix = @prefix@
199 program_transform_name = @program_transform_name@
200 psdir = @psdir@
201 sbindir = @sbindir@
202 sharedstatedir = @sharedstatedir@
203 srcdir = @srcdir@
204 sysconfdir = @sysconfdir@
205 target_alias = @target_alias@
206 top_build_prefix = @top_build_prefix@
207 top_builddir = @top_builddir@
208 top_srcdir = @top_srcdir@
209 EXTRA_DIST = DJGPP.patch french_text.patch
210 all: all-am
211
212 .SUFFIXES:
213 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
214 @for dep in $?; do \
215 case '$(am__configure_deps)' in \
216 *$$dep*) \
217 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
218 && { if test -f $@; then exit 0; else break; fi; }; \
219 exit 1;; \
220 esac; \
221 done; \
222 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu patches/Makefile'; \
223 $(am__cd) $(top_srcdir) && \
224 $(AUTOMAKE) --gnu patches/Makefile
225 .PRECIOUS: Makefile
226 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
227 @case '$?' in \
228 *config.status*) \
229 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
230 *) \
231 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
232 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
233 esac;
234
235 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
236 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
237
238 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
239 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
240 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
241 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
242 $(am__aclocal_m4_deps):
243 tags TAGS:
244
245 ctags CTAGS:
246
247 cscope cscopelist:
248
249
250 distdir: $(DISTFILES)
251 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
252 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
253 list='$(DISTFILES)'; \
254 dist_files=`for file in $$list; do echo $$file; done | \
255 sed -e "s|^$$srcdirstrip/||;t" \
256 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
257 case $$dist_files in \
258 */*) $(MKDIR_P) `echo "$$dist_files" | \
259 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
260 sort -u` ;; \
261 esac; \
262 for file in $$dist_files; do \
263 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
264 if test -d $$d/$$file; then \
265 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
266 if test -d "$(distdir)/$$file"; then \
267 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
268 fi; \
269 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
270 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
271 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
272 fi; \
273 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
274 else \
275 test -f "$(distdir)/$$file" \
276 || cp -p $$d/$$file "$(distdir)/$$file" \
277 || exit 1; \
278 fi; \
279 done
280 check-am: all-am
281 check: check-am
282 all-am: Makefile
283 installdirs:
284 install: install-am
285 install-exec: install-exec-am
286 install-data: install-data-am
287 uninstall: uninstall-am
288
289 install-am: all-am
290 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
291
292 installcheck: installcheck-am
293 install-strip:
294 if test -z '$(STRIP)'; then \
295 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
296 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
297 install; \
298 else \
299 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
300 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
301 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
302 fi
303 mostlyclean-generic:
304
305 clean-generic:
306
307 distclean-generic:
308 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
309 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
310
311 maintainer-clean-generic:
312 @echo "This command is intended for maintainers to use"
313 @echo "it deletes files that may require special tools to rebuild."
314 clean: clean-am
315
316 clean-am: clean-generic mostlyclean-am
317
318 distclean: distclean-am
319 -rm -f Makefile
320 distclean-am: clean-am distclean-generic
321
322 dvi: dvi-am
323
324 dvi-am:
325
326 html: html-am
327
328 html-am:
329
330 info: info-am
331
332 info-am:
333
334 install-data-am:
335
336 install-dvi: install-dvi-am
337
338 install-dvi-am:
339
340 install-exec-am:
341
342 install-html: install-html-am
343
344 install-html-am:
345
346 install-info: install-info-am
347
348 install-info-am:
349
350 install-man:
351
352 install-pdf: install-pdf-am
353
354 install-pdf-am:
355
356 install-ps: install-ps-am
357
358 install-ps-am:
359
360 installcheck-am:
361
362 maintainer-clean: maintainer-clean-am
363 -rm -f Makefile
364 maintainer-clean-am: distclean-am maintainer-clean-generic
365
366 mostlyclean: mostlyclean-am
367
368 mostlyclean-am: mostlyclean-generic
369
370 pdf: pdf-am
371
372 pdf-am:
373
374 ps: ps-am
375
376 ps-am:
377
378 uninstall-am:
379
380 .MAKE: install-am install-strip
381
382 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \
383 ctags-am distclean distclean-generic distdir dvi dvi-am html \
384 html-am info info-am install install-am install-data \
385 install-data-am install-dvi install-dvi-am install-exec \
386 install-exec-am install-html install-html-am install-info \
387 install-info-am install-man install-pdf install-pdf-am \
388 install-ps install-ps-am install-strip installcheck \
389 installcheck-am installdirs maintainer-clean \
390 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
391 pdf-am ps ps-am tags-am uninstall uninstall-am
392
393
394 # Tell versions [3.59,3.63) of GNU make to not export all variables.
395 # Otherwise a system limit (for SysV at least) may be exceeded.
396 .NOEXPORT:
+0
-596
src/Makefile.in less more
0 # Makefile.in generated by automake 1.13.4 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 # This is the Makefile.am that deals with the program proper.
17 # It all works automagically.
18
19 VPATH = @srcdir@
20 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
21 am__make_running_with_option = \
22 case $${target_option-} in \
23 ?) ;; \
24 *) echo "am__make_running_with_option: internal error: invalid" \
25 "target option '$${target_option-}' specified" >&2; \
26 exit 1;; \
27 esac; \
28 has_opt=no; \
29 sane_makeflags=$$MAKEFLAGS; \
30 if $(am__is_gnu_make); then \
31 sane_makeflags=$$MFLAGS; \
32 else \
33 case $$MAKEFLAGS in \
34 *\\[\ \ ]*) \
35 bs=\\; \
36 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
37 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
38 esac; \
39 fi; \
40 skip_next=no; \
41 strip_trailopt () \
42 { \
43 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
44 }; \
45 for flg in $$sane_makeflags; do \
46 test $$skip_next = yes && { skip_next=no; continue; }; \
47 case $$flg in \
48 *=*|--*) continue;; \
49 -*I) strip_trailopt 'I'; skip_next=yes;; \
50 -*I?*) strip_trailopt 'I';; \
51 -*O) strip_trailopt 'O'; skip_next=yes;; \
52 -*O?*) strip_trailopt 'O';; \
53 -*l) strip_trailopt 'l'; skip_next=yes;; \
54 -*l?*) strip_trailopt 'l';; \
55 -[dEDm]) skip_next=yes;; \
56 -[JT]) skip_next=yes;; \
57 esac; \
58 case $$flg in \
59 *$$target_option*) has_opt=yes; break;; \
60 esac; \
61 done; \
62 test $$has_opt = yes
63 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
64 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
65 pkgdatadir = $(datadir)/@PACKAGE@
66 pkgincludedir = $(includedir)/@PACKAGE@
67 pkglibdir = $(libdir)/@PACKAGE@
68 pkglibexecdir = $(libexecdir)/@PACKAGE@
69 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
70 install_sh_DATA = $(install_sh) -c -m 644
71 install_sh_PROGRAM = $(install_sh) -c
72 install_sh_SCRIPT = $(install_sh) -c
73 INSTALL_HEADER = $(INSTALL_DATA)
74 transform = $(program_transform_name)
75 NORMAL_INSTALL = :
76 PRE_INSTALL = :
77 POST_INSTALL = :
78 NORMAL_UNINSTALL = :
79 PRE_UNINSTALL = :
80 POST_UNINSTALL = :
81 build_triplet = @build@
82 host_triplet = @host@
83 bin_PROGRAMS = unrtf$(EXEEXT)
84 subdir = src
85 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
86 $(top_srcdir)/config/depcomp
87 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
88 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
89 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
90 $(ACLOCAL_M4)
91 mkinstalldirs = $(install_sh) -d
92 CONFIG_HEADER = $(top_builddir)/config.h
93 CONFIG_CLEAN_FILES =
94 CONFIG_CLEAN_VPATH_FILES =
95 am__installdirs = "$(DESTDIR)$(bindir)"
96 PROGRAMS = $(bin_PROGRAMS)
97 am_unrtf_OBJECTS = attr.$(OBJEXT) convert.$(OBJEXT) error.$(OBJEXT) \
98 hash.$(OBJEXT) my_iconv.$(OBJEXT) main.$(OBJEXT) \
99 malloc.$(OBJEXT) output.$(OBJEXT) parse.$(OBJEXT) \
100 path.$(OBJEXT) unicode.$(OBJEXT) user.$(OBJEXT) util.$(OBJEXT) \
101 word.$(OBJEXT)
102 unrtf_OBJECTS = $(am_unrtf_OBJECTS)
103 unrtf_LDADD = $(LDADD)
104 AM_V_P = $(am__v_P_@AM_V@)
105 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
106 am__v_P_0 = false
107 am__v_P_1 = :
108 AM_V_GEN = $(am__v_GEN_@AM_V@)
109 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
110 am__v_GEN_0 = @echo " GEN " $@;
111 am__v_GEN_1 =
112 AM_V_at = $(am__v_at_@AM_V@)
113 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
114 am__v_at_0 = @
115 am__v_at_1 =
116 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
117 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
118 am__depfiles_maybe = depfiles
119 am__mv = mv -f
120 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
121 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
122 AM_V_CC = $(am__v_CC_@AM_V@)
123 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
124 am__v_CC_0 = @echo " CC " $@;
125 am__v_CC_1 =
126 CCLD = $(CC)
127 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
128 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
129 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
130 am__v_CCLD_0 = @echo " CCLD " $@;
131 am__v_CCLD_1 =
132 SOURCES = $(unrtf_SOURCES)
133 DIST_SOURCES = $(unrtf_SOURCES)
134 am__can_run_installinfo = \
135 case $$AM_UPDATE_INFO_DIR in \
136 n|no|NO) false;; \
137 *) (install-info --version) >/dev/null 2>&1;; \
138 esac
139 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
140 # Read a list of newline-separated strings from the standard input,
141 # and print each of them once, without duplicates. Input order is
142 # *not* preserved.
143 am__uniquify_input = $(AWK) '\
144 BEGIN { nonempty = 0; } \
145 { items[$$0] = 1; nonempty = 1; } \
146 END { if (nonempty) { for (i in items) print i; }; } \
147 '
148 # Make sure the list of sources is unique. This is necessary because,
149 # e.g., the same source file might be shared among _SOURCES variables
150 # for different programs/libraries.
151 am__define_uniq_tagged_files = \
152 list='$(am__tagged_files)'; \
153 unique=`for i in $$list; do \
154 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
155 done | $(am__uniquify_input)`
156 ETAGS = etags
157 CTAGS = ctags
158 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
159 ACLOCAL = @ACLOCAL@
160 AMTAR = @AMTAR@
161 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
162 AUTOCONF = @AUTOCONF@
163 AUTOHEADER = @AUTOHEADER@
164 AUTOMAKE = @AUTOMAKE@
165 AWK = @AWK@
166 CC = @CC@
167 CCDEPMODE = @CCDEPMODE@
168 CFLAGS = @CFLAGS@
169 CPP = @CPP@
170 CPPFLAGS = @CPPFLAGS@
171 CYGPATH_W = @CYGPATH_W@
172 DEFS = @DEFS@
173 DEPDIR = @DEPDIR@
174 ECHO_C = @ECHO_C@
175 ECHO_N = @ECHO_N@
176 ECHO_T = @ECHO_T@
177 EGREP = @EGREP@
178 EXEEXT = @EXEEXT@
179 GREP = @GREP@
180 INSTALL = @INSTALL@
181 INSTALL_DATA = @INSTALL_DATA@
182 INSTALL_PROGRAM = @INSTALL_PROGRAM@
183 INSTALL_SCRIPT = @INSTALL_SCRIPT@
184 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
185 LDFLAGS = @LDFLAGS@
186 LIBOBJS = @LIBOBJS@
187 LIBS = @LIBS@
188 LTLIBOBJS = @LTLIBOBJS@
189 MAINT = @MAINT@
190 MAKEINFO = @MAKEINFO@
191 MKDIR_P = @MKDIR_P@
192 OBJEXT = @OBJEXT@
193 PACKAGE = @PACKAGE@
194 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
195 PACKAGE_NAME = @PACKAGE_NAME@
196 PACKAGE_STRING = @PACKAGE_STRING@
197 PACKAGE_TARNAME = @PACKAGE_TARNAME@
198 PACKAGE_URL = @PACKAGE_URL@
199 PACKAGE_VERSION = @PACKAGE_VERSION@
200 PATH_SEPARATOR = @PATH_SEPARATOR@
201 SET_MAKE = @SET_MAKE@
202 SHELL = @SHELL@
203 STRIP = @STRIP@
204 VERSION = @VERSION@
205 abs_builddir = @abs_builddir@
206 abs_srcdir = @abs_srcdir@
207 abs_top_builddir = @abs_top_builddir@
208 abs_top_srcdir = @abs_top_srcdir@
209 ac_ct_CC = @ac_ct_CC@
210 am__include = @am__include@
211 am__leading_dot = @am__leading_dot@
212 am__quote = @am__quote@
213 am__tar = @am__tar@
214 am__untar = @am__untar@
215 bindir = @bindir@
216 build = @build@
217 build_alias = @build_alias@
218 build_cpu = @build_cpu@
219 build_os = @build_os@
220 build_vendor = @build_vendor@
221 builddir = @builddir@
222 datadir = @datadir@
223 datarootdir = @datarootdir@
224 docdir = @docdir@
225 dvidir = @dvidir@
226 exec_prefix = @exec_prefix@
227 host = @host@
228 host_alias = @host_alias@
229 host_cpu = @host_cpu@
230 host_os = @host_os@
231 host_vendor = @host_vendor@
232 htmldir = @htmldir@
233 includedir = @includedir@
234 infodir = @infodir@
235 install_sh = @install_sh@
236 libdir = @libdir@
237 libexecdir = @libexecdir@
238 localedir = @localedir@
239 localstatedir = @localstatedir@
240 mandir = @mandir@
241 mkdir_p = @mkdir_p@
242 oldincludedir = @oldincludedir@
243 pdfdir = @pdfdir@
244 prefix = @prefix@
245 program_transform_name = @program_transform_name@
246 psdir = @psdir@
247 sbindir = @sbindir@
248 sharedstatedir = @sharedstatedir@
249 srcdir = @srcdir@
250 sysconfdir = @sysconfdir@
251 target_alias = @target_alias@
252 top_build_prefix = @top_build_prefix@
253 top_builddir = @top_builddir@
254 top_srcdir = @top_srcdir@
255 AM_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\"
256 unrtf_SOURCES = attr.c attr.h \
257 convert.c convert.h \
258 defs.h \
259 error.c error.h \
260 hash.c hash.h \
261 my_iconv.c my_iconv.h \
262 main.c main.h \
263 malloc.c malloc.h \
264 output.c output.h \
265 parse.c parse.h \
266 path.c path.h \
267 unicode.c unicode.h \
268 user.c user.h \
269 util.c util.h \
270 word.c word.h
271
272 all: all-am
273
274 .SUFFIXES:
275 .SUFFIXES: .c .o .obj
276 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
277 @for dep in $?; do \
278 case '$(am__configure_deps)' in \
279 *$$dep*) \
280 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
281 && { if test -f $@; then exit 0; else break; fi; }; \
282 exit 1;; \
283 esac; \
284 done; \
285 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
286 $(am__cd) $(top_srcdir) && \
287 $(AUTOMAKE) --gnu src/Makefile
288 .PRECIOUS: Makefile
289 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
290 @case '$?' in \
291 *config.status*) \
292 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
293 *) \
294 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
295 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
296 esac;
297
298 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
299 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
300
301 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
302 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
303 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
304 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
305 $(am__aclocal_m4_deps):
306 install-binPROGRAMS: $(bin_PROGRAMS)
307 @$(NORMAL_INSTALL)
308 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
309 if test -n "$$list"; then \
310 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
311 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
312 fi; \
313 for p in $$list; do echo "$$p $$p"; done | \
314 sed 's/$(EXEEXT)$$//' | \
315 while read p p1; do if test -f $$p \
316 ; then echo "$$p"; echo "$$p"; else :; fi; \
317 done | \
318 sed -e 'p;s,.*/,,;n;h' \
319 -e 's|.*|.|' \
320 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
321 sed 'N;N;N;s,\n, ,g' | \
322 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
323 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
324 if ($$2 == $$4) files[d] = files[d] " " $$1; \
325 else { print "f", $$3 "/" $$4, $$1; } } \
326 END { for (d in files) print "f", d, files[d] }' | \
327 while read type dir files; do \
328 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
329 test -z "$$files" || { \
330 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
331 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
332 } \
333 ; done
334
335 uninstall-binPROGRAMS:
336 @$(NORMAL_UNINSTALL)
337 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
338 files=`for p in $$list; do echo "$$p"; done | \
339 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
340 -e 's/$$/$(EXEEXT)/' \
341 `; \
342 test -n "$$list" || exit 0; \
343 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
344 cd "$(DESTDIR)$(bindir)" && rm -f $$files
345
346 clean-binPROGRAMS:
347 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
348
349 unrtf$(EXEEXT): $(unrtf_OBJECTS) $(unrtf_DEPENDENCIES) $(EXTRA_unrtf_DEPENDENCIES)
350 @rm -f unrtf$(EXEEXT)
351 $(AM_V_CCLD)$(LINK) $(unrtf_OBJECTS) $(unrtf_LDADD) $(LIBS)
352
353 mostlyclean-compile:
354 -rm -f *.$(OBJEXT)
355
356 distclean-compile:
357 -rm -f *.tab.c
358
359 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attr.Po@am__quote@
360 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/convert.Po@am__quote@
361 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Po@am__quote@
362 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hash.Po@am__quote@
363 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
364 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/malloc.Po@am__quote@
365 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/my_iconv.Po@am__quote@
366 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/output.Po@am__quote@
367 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parse.Po@am__quote@
368 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/path.Po@am__quote@
369 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unicode.Po@am__quote@
370 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/user.Po@am__quote@
371 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Po@am__quote@
372 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/word.Po@am__quote@
373
374 .c.o:
375 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
376 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
377 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
378 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
379 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
380
381 .c.obj:
382 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
383 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
384 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
385 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
386 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
387
388 ID: $(am__tagged_files)
389 $(am__define_uniq_tagged_files); mkid -fID $$unique
390 tags: tags-am
391 TAGS: tags
392
393 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
394 set x; \
395 here=`pwd`; \
396 $(am__define_uniq_tagged_files); \
397 shift; \
398 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
399 test -n "$$unique" || unique=$$empty_fix; \
400 if test $$# -gt 0; then \
401 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
402 "$$@" $$unique; \
403 else \
404 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
405 $$unique; \
406 fi; \
407 fi
408 ctags: ctags-am
409
410 CTAGS: ctags
411 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
412 $(am__define_uniq_tagged_files); \
413 test -z "$(CTAGS_ARGS)$$unique" \
414 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
415 $$unique
416
417 GTAGS:
418 here=`$(am__cd) $(top_builddir) && pwd` \
419 && $(am__cd) $(top_srcdir) \
420 && gtags -i $(GTAGS_ARGS) "$$here"
421 cscopelist: cscopelist-am
422
423 cscopelist-am: $(am__tagged_files)
424 list='$(am__tagged_files)'; \
425 case "$(srcdir)" in \
426 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
427 *) sdir=$(subdir)/$(srcdir) ;; \
428 esac; \
429 for i in $$list; do \
430 if test -f "$$i"; then \
431 echo "$(subdir)/$$i"; \
432 else \
433 echo "$$sdir/$$i"; \
434 fi; \
435 done >> $(top_builddir)/cscope.files
436
437 distclean-tags:
438 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
439
440 distdir: $(DISTFILES)
441 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
442 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
443 list='$(DISTFILES)'; \
444 dist_files=`for file in $$list; do echo $$file; done | \
445 sed -e "s|^$$srcdirstrip/||;t" \
446 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
447 case $$dist_files in \
448 */*) $(MKDIR_P) `echo "$$dist_files" | \
449 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
450 sort -u` ;; \
451 esac; \
452 for file in $$dist_files; do \
453 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
454 if test -d $$d/$$file; then \
455 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
456 if test -d "$(distdir)/$$file"; then \
457 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
458 fi; \
459 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
460 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
461 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
462 fi; \
463 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
464 else \
465 test -f "$(distdir)/$$file" \
466 || cp -p $$d/$$file "$(distdir)/$$file" \
467 || exit 1; \
468 fi; \
469 done
470 check-am: all-am
471 check: check-am
472 all-am: Makefile $(PROGRAMS)
473 installdirs:
474 for dir in "$(DESTDIR)$(bindir)"; do \
475 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
476 done
477 install: install-am
478 install-exec: install-exec-am
479 install-data: install-data-am
480 uninstall: uninstall-am
481
482 install-am: all-am
483 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
484
485 installcheck: installcheck-am
486 install-strip:
487 if test -z '$(STRIP)'; then \
488 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
489 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
490 install; \
491 else \
492 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
493 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
494 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
495 fi
496 mostlyclean-generic:
497
498 clean-generic:
499
500 distclean-generic:
501 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
502 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
503
504 maintainer-clean-generic:
505 @echo "This command is intended for maintainers to use"
506 @echo "it deletes files that may require special tools to rebuild."
507 clean: clean-am
508
509 clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
510
511 distclean: distclean-am
512 -rm -rf ./$(DEPDIR)
513 -rm -f Makefile
514 distclean-am: clean-am distclean-compile distclean-generic \
515 distclean-tags
516
517 dvi: dvi-am
518
519 dvi-am:
520
521 html: html-am
522
523 html-am:
524
525 info: info-am
526
527 info-am:
528
529 install-data-am:
530
531 install-dvi: install-dvi-am
532
533 install-dvi-am:
534
535 install-exec-am: install-binPROGRAMS
536
537 install-html: install-html-am
538
539 install-html-am:
540
541 install-info: install-info-am
542
543 install-info-am:
544
545 install-man:
546
547 install-pdf: install-pdf-am
548
549 install-pdf-am:
550
551 install-ps: install-ps-am
552
553 install-ps-am:
554
555 installcheck-am:
556
557 maintainer-clean: maintainer-clean-am
558 -rm -rf ./$(DEPDIR)
559 -rm -f Makefile
560 maintainer-clean-am: distclean-am maintainer-clean-generic
561
562 mostlyclean: mostlyclean-am
563
564 mostlyclean-am: mostlyclean-compile mostlyclean-generic
565
566 pdf: pdf-am
567
568 pdf-am:
569
570 ps: ps-am
571
572 ps-am:
573
574 uninstall-am: uninstall-binPROGRAMS
575
576 .MAKE: install-am install-strip
577
578 .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
579 clean-binPROGRAMS clean-generic cscopelist-am ctags ctags-am \
580 distclean distclean-compile distclean-generic distclean-tags \
581 distdir dvi dvi-am html html-am info info-am install \
582 install-am install-binPROGRAMS install-data install-data-am \
583 install-dvi install-dvi-am install-exec install-exec-am \
584 install-html install-html-am install-info install-info-am \
585 install-man install-pdf install-pdf-am install-ps \
586 install-ps-am install-strip installcheck installcheck-am \
587 installdirs maintainer-clean maintainer-clean-generic \
588 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
589 ps ps-am tags tags-am uninstall uninstall-am \
590 uninstall-binPROGRAMS
591
592
593 # Tell versions [3.59,3.63) of GNU make to not export all variables.
594 # Otherwise a system limit (for SysV at least) may be exceeded.
595 .NOEXPORT:
+0
-932
tests/Makefile.in less more
0 # Makefile.in generated by automake 1.13.4 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15 VPATH = @srcdir@
16 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
17 am__make_running_with_option = \
18 case $${target_option-} in \
19 ?) ;; \
20 *) echo "am__make_running_with_option: internal error: invalid" \
21 "target option '$${target_option-}' specified" >&2; \
22 exit 1;; \
23 esac; \
24 has_opt=no; \
25 sane_makeflags=$$MAKEFLAGS; \
26 if $(am__is_gnu_make); then \
27 sane_makeflags=$$MFLAGS; \
28 else \
29 case $$MAKEFLAGS in \
30 *\\[\ \ ]*) \
31 bs=\\; \
32 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
33 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
34 esac; \
35 fi; \
36 skip_next=no; \
37 strip_trailopt () \
38 { \
39 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
40 }; \
41 for flg in $$sane_makeflags; do \
42 test $$skip_next = yes && { skip_next=no; continue; }; \
43 case $$flg in \
44 *=*|--*) continue;; \
45 -*I) strip_trailopt 'I'; skip_next=yes;; \
46 -*I?*) strip_trailopt 'I';; \
47 -*O) strip_trailopt 'O'; skip_next=yes;; \
48 -*O?*) strip_trailopt 'O';; \
49 -*l) strip_trailopt 'l'; skip_next=yes;; \
50 -*l?*) strip_trailopt 'l';; \
51 -[dEDm]) skip_next=yes;; \
52 -[JT]) skip_next=yes;; \
53 esac; \
54 case $$flg in \
55 *$$target_option*) has_opt=yes; break;; \
56 esac; \
57 done; \
58 test $$has_opt = yes
59 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
60 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
61 pkgdatadir = $(datadir)/@PACKAGE@
62 pkgincludedir = $(includedir)/@PACKAGE@
63 pkglibdir = $(libdir)/@PACKAGE@
64 pkglibexecdir = $(libexecdir)/@PACKAGE@
65 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
66 install_sh_DATA = $(install_sh) -c -m 644
67 install_sh_PROGRAM = $(install_sh) -c
68 install_sh_SCRIPT = $(install_sh) -c
69 INSTALL_HEADER = $(INSTALL_DATA)
70 transform = $(program_transform_name)
71 NORMAL_INSTALL = :
72 PRE_INSTALL = :
73 POST_INSTALL = :
74 NORMAL_UNINSTALL = :
75 PRE_UNINSTALL = :
76 POST_UNINSTALL = :
77 build_triplet = @build@
78 host_triplet = @host@
79 subdir = tests
80 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
81 $(top_srcdir)/config/test-driver
82 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
83 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
84 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
85 $(ACLOCAL_M4)
86 mkinstalldirs = $(install_sh) -d
87 CONFIG_HEADER = $(top_builddir)/config.h
88 CONFIG_CLEAN_FILES =
89 CONFIG_CLEAN_VPATH_FILES =
90 AM_V_P = $(am__v_P_@AM_V@)
91 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
92 am__v_P_0 = false
93 am__v_P_1 = :
94 AM_V_GEN = $(am__v_GEN_@AM_V@)
95 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
96 am__v_GEN_0 = @echo " GEN " $@;
97 am__v_GEN_1 =
98 AM_V_at = $(am__v_at_@AM_V@)
99 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
100 am__v_at_0 = @
101 am__v_at_1 =
102 SOURCES =
103 DIST_SOURCES =
104 am__can_run_installinfo = \
105 case $$AM_UPDATE_INFO_DIR in \
106 n|no|NO) false;; \
107 *) (install-info --version) >/dev/null 2>&1;; \
108 esac
109 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
110 am__tty_colors_dummy = \
111 mgn= red= grn= lgn= blu= brg= std=; \
112 am__color_tests=no
113 am__tty_colors = { \
114 $(am__tty_colors_dummy); \
115 if test "X$(AM_COLOR_TESTS)" = Xno; then \
116 am__color_tests=no; \
117 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
118 am__color_tests=yes; \
119 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
120 am__color_tests=yes; \
121 fi; \
122 if test $$am__color_tests = yes; then \
123 red=''; \
124 grn=''; \
125 lgn=''; \
126 blu=''; \
127 mgn=''; \
128 brg=''; \
129 std=''; \
130 fi; \
131 }
132 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
133 am__vpath_adj = case $$p in \
134 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
135 *) f=$$p;; \
136 esac;
137 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
138 am__install_max = 40
139 am__nobase_strip_setup = \
140 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
141 am__nobase_strip = \
142 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
143 am__nobase_list = $(am__nobase_strip_setup); \
144 for p in $$list; do echo "$$p $$p"; done | \
145 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
146 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
147 if (++n[$$2] == $(am__install_max)) \
148 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
149 END { for (dir in files) print dir, files[dir] }'
150 am__base_list = \
151 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
152 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
153 am__uninstall_files_from_dir = { \
154 test -z "$$files" \
155 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
156 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
157 $(am__cd) "$$dir" && rm -f $$files; }; \
158 }
159 am__recheck_rx = ^[ ]*:recheck:[ ]*
160 am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
161 am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
162 # A command that, given a newline-separated list of test names on the
163 # standard input, print the name of the tests that are to be re-run
164 # upon "make recheck".
165 am__list_recheck_tests = $(AWK) '{ \
166 recheck = 1; \
167 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
168 { \
169 if (rc < 0) \
170 { \
171 if ((getline line2 < ($$0 ".log")) < 0) \
172 recheck = 0; \
173 break; \
174 } \
175 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
176 { \
177 recheck = 0; \
178 break; \
179 } \
180 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
181 { \
182 break; \
183 } \
184 }; \
185 if (recheck) \
186 print $$0; \
187 close ($$0 ".trs"); \
188 close ($$0 ".log"); \
189 }'
190 # A command that, given a newline-separated list of test names on the
191 # standard input, create the global log from their .trs and .log files.
192 am__create_global_log = $(AWK) ' \
193 function fatal(msg) \
194 { \
195 print "fatal: making $@: " msg | "cat >&2"; \
196 exit 1; \
197 } \
198 function rst_section(header) \
199 { \
200 print header; \
201 len = length(header); \
202 for (i = 1; i <= len; i = i + 1) \
203 printf "="; \
204 printf "\n\n"; \
205 } \
206 { \
207 copy_in_global_log = 1; \
208 global_test_result = "RUN"; \
209 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
210 { \
211 if (rc < 0) \
212 fatal("failed to read from " $$0 ".trs"); \
213 if (line ~ /$(am__global_test_result_rx)/) \
214 { \
215 sub("$(am__global_test_result_rx)", "", line); \
216 sub("[ ]*$$", "", line); \
217 global_test_result = line; \
218 } \
219 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
220 copy_in_global_log = 0; \
221 }; \
222 if (copy_in_global_log) \
223 { \
224 rst_section(global_test_result ": " $$0); \
225 while ((rc = (getline line < ($$0 ".log"))) != 0) \
226 { \
227 if (rc < 0) \
228 fatal("failed to read from " $$0 ".log"); \
229 print line; \
230 }; \
231 printf "\n"; \
232 }; \
233 close ($$0 ".trs"); \
234 close ($$0 ".log"); \
235 }'
236 # Restructured Text title.
237 am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
238 # Solaris 10 'make', and several other traditional 'make' implementations,
239 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
240 # by disabling -e (using the XSI extension "set +e") if it's set.
241 am__sh_e_setup = case $$- in *e*) set +e;; esac
242 # Default flags passed to test drivers.
243 am__common_driver_flags = \
244 --color-tests "$$am__color_tests" \
245 --enable-hard-errors "$$am__enable_hard_errors" \
246 --expect-failure "$$am__expect_failure"
247 # To be inserted before the command running the test. Creates the
248 # directory for the log if needed. Stores in $dir the directory
249 # containing $f, in $tst the test, in $log the log. Executes the
250 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
251 # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
252 # will run the test scripts (or their associated LOG_COMPILER, if
253 # thy have one).
254 am__check_pre = \
255 $(am__sh_e_setup); \
256 $(am__vpath_adj_setup) $(am__vpath_adj) \
257 $(am__tty_colors); \
258 srcdir=$(srcdir); export srcdir; \
259 case "$@" in \
260 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
261 *) am__odir=.;; \
262 esac; \
263 test "x$$am__odir" = x"." || test -d "$$am__odir" \
264 || $(MKDIR_P) "$$am__odir" || exit $$?; \
265 if test -f "./$$f"; then dir=./; \
266 elif test -f "$$f"; then dir=; \
267 else dir="$(srcdir)/"; fi; \
268 tst=$$dir$$f; log='$@'; \
269 if test -n '$(DISABLE_HARD_ERRORS)'; then \
270 am__enable_hard_errors=no; \
271 else \
272 am__enable_hard_errors=yes; \
273 fi; \
274 case " $(XFAIL_TESTS) " in \
275 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
276 am__expect_failure=yes;; \
277 *) \
278 am__expect_failure=no;; \
279 esac; \
280 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
281 # A shell command to get the names of the tests scripts with any registered
282 # extension removed (i.e., equivalently, the names of the test logs, with
283 # the '.log' extension removed). The result is saved in the shell variable
284 # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
285 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
286 # since that might cause problem with VPATH rewrites for suffix-less tests.
287 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
288 am__set_TESTS_bases = \
289 bases='$(TEST_LOGS)'; \
290 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
291 bases=`echo $$bases`
292 RECHECK_LOGS = $(TEST_LOGS)
293 AM_RECURSIVE_TARGETS = check recheck
294 TEST_SUITE_LOG = test-suite.log
295 TEST_EXTENSIONS = @EXEEXT@ .test
296 LOG_DRIVER = $(SHELL) $(top_srcdir)/config/test-driver
297 LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
298 am__set_b = \
299 case '$@' in \
300 */*) \
301 case '$*' in \
302 */*) b='$*';; \
303 *) b=`echo '$@' | sed 's/\.log$$//'`; \
304 esac;; \
305 *) \
306 b='$*';; \
307 esac
308 am__test_logs1 = $(TESTS:=.log)
309 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
310 TEST_LOGS = $(am__test_logs2:.test.log=.log)
311 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/config/test-driver
312 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
313 $(TEST_LOG_FLAGS)
314 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
315 ACLOCAL = @ACLOCAL@
316 AMTAR = @AMTAR@
317 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
318 AUTOCONF = @AUTOCONF@
319 AUTOHEADER = @AUTOHEADER@
320 AUTOMAKE = @AUTOMAKE@
321 AWK = @AWK@
322 CC = @CC@
323 CCDEPMODE = @CCDEPMODE@
324 CFLAGS = @CFLAGS@
325 CPP = @CPP@
326 CPPFLAGS = @CPPFLAGS@
327 CYGPATH_W = @CYGPATH_W@
328 DEFS = @DEFS@
329 DEPDIR = @DEPDIR@
330 ECHO_C = @ECHO_C@
331 ECHO_N = @ECHO_N@
332 ECHO_T = @ECHO_T@
333 EGREP = @EGREP@
334 EXEEXT = @EXEEXT@
335 GREP = @GREP@
336 INSTALL = @INSTALL@
337 INSTALL_DATA = @INSTALL_DATA@
338 INSTALL_PROGRAM = @INSTALL_PROGRAM@
339 INSTALL_SCRIPT = @INSTALL_SCRIPT@
340 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
341 LDFLAGS = @LDFLAGS@
342 LIBOBJS = @LIBOBJS@
343 LIBS = @LIBS@
344 LTLIBOBJS = @LTLIBOBJS@
345 MAINT = @MAINT@
346 MAKEINFO = @MAKEINFO@
347 MKDIR_P = @MKDIR_P@
348 OBJEXT = @OBJEXT@
349 PACKAGE = @PACKAGE@
350 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
351 PACKAGE_NAME = @PACKAGE_NAME@
352 PACKAGE_STRING = @PACKAGE_STRING@
353 PACKAGE_TARNAME = @PACKAGE_TARNAME@
354 PACKAGE_URL = @PACKAGE_URL@
355 PACKAGE_VERSION = @PACKAGE_VERSION@
356 PATH_SEPARATOR = @PATH_SEPARATOR@
357 SET_MAKE = @SET_MAKE@
358 SHELL = @SHELL@
359 STRIP = @STRIP@
360 VERSION = @VERSION@
361 abs_builddir = @abs_builddir@
362 abs_srcdir = @abs_srcdir@
363 abs_top_builddir = @abs_top_builddir@
364 abs_top_srcdir = @abs_top_srcdir@
365 ac_ct_CC = @ac_ct_CC@
366 am__include = @am__include@
367 am__leading_dot = @am__leading_dot@
368 am__quote = @am__quote@
369 am__tar = @am__tar@
370 am__untar = @am__untar@
371 bindir = @bindir@
372 build = @build@
373 build_alias = @build_alias@
374 build_cpu = @build_cpu@
375 build_os = @build_os@
376 build_vendor = @build_vendor@
377 builddir = @builddir@
378 datadir = @datadir@
379 datarootdir = @datarootdir@
380 docdir = @docdir@
381 dvidir = @dvidir@
382 exec_prefix = @exec_prefix@
383 host = @host@
384 host_alias = @host_alias@
385 host_cpu = @host_cpu@
386 host_os = @host_os@
387 host_vendor = @host_vendor@
388 htmldir = @htmldir@
389 includedir = @includedir@
390 infodir = @infodir@
391 install_sh = @install_sh@
392 libdir = @libdir@
393 libexecdir = @libexecdir@
394 localedir = @localedir@
395 localstatedir = @localstatedir@
396 mandir = @mandir@
397 mkdir_p = @mkdir_p@
398 oldincludedir = @oldincludedir@
399 pdfdir = @pdfdir@
400 prefix = @prefix@
401 program_transform_name = @program_transform_name@
402 psdir = @psdir@
403 sbindir = @sbindir@
404 sharedstatedir = @sharedstatedir@
405 srcdir = @srcdir@
406 sysconfdir = @sysconfdir@
407 target_alias = @target_alias@
408 top_build_prefix = @top_build_prefix@
409 top_builddir = @top_builddir@
410 top_srcdir = @top_srcdir@
411
412 # executable test scripts to perform
413 TESTS = test_html.sh test_latex.sh test_text.sh
414
415 # the data set for the tests
416 testdata = \
417 accents.rtf \
418 ascii_decimal.rtf \
419 backslash.rtf \
420 body.rtf \
421 borders_shading.rtf \
422 braces.rtf \
423 character_formatting.rtf \
424 chars.rtf \
425 columns.rtf \
426 cp1251-russian-alphabet.rtf \
427 emfpict.rtf \
428 EndNote.rtf \
429 font_size.rtf \
430 font_styles.rtf \
431 Greek1.rtf \
432 Greek2.rtf \
433 left-double-quotes.rtf \
434 lists.rtf \
435 opensymbols.rtf \
436 paragraph_formatting.rtf \
437 pict.rtf \
438 pictNotIgnored.rtf \
439 quotes.rtf \
440 symbol.rtf \
441 text_color.rtf \
442 text_formatting.rtf \
443 Turkish.rtf \
444 unicode4.rtf \
445 unnested.rtf
446
447
448 # the result set for the html test
449 testresults_html = \
450 accents.rtf.html \
451 ascii_decimal.rtf.html \
452 backslash.rtf.html \
453 body.rtf.html \
454 borders_shading.rtf.html \
455 braces.rtf.html \
456 character_formatting.rtf.html \
457 chars.rtf.html \
458 columns.rtf.html \
459 cp1251-russian-alphabet.rtf.html \
460 emfpict.rtf.html \
461 EndNote.rtf.html \
462 font_size.rtf.html \
463 font_styles.rtf.html \
464 Greek1.rtf.html \
465 Greek2.rtf.html \
466 left-double-quotes.rtf.html \
467 lists.rtf.html \
468 opensymbols.rtf.html \
469 paragraph_formatting.rtf.html \
470 pict.rtf.html \
471 pictNotIgnored.rtf.html \
472 quotes.rtf.html \
473 symbol.rtf.html \
474 text_color.rtf.html \
475 text_formatting.rtf.html \
476 Turkish.rtf.html \
477 unicode4.rtf.html \
478 unnested.rtf.html
479
480
481 # the result set for the latex test
482 testresults_tex = \
483 accents.rtf.tex \
484 ascii_decimal.rtf.tex \
485 backslash.rtf.tex \
486 body.rtf.tex \
487 borders_shading.rtf.tex \
488 braces.rtf.tex \
489 character_formatting.rtf.tex \
490 chars.rtf.tex \
491 columns.rtf.tex \
492 cp1251-russian-alphabet.rtf.tex \
493 emfpict.rtf.tex \
494 EndNote.rtf.tex \
495 font_size.rtf.tex \
496 font_styles.rtf.tex \
497 Greek1.rtf.tex \
498 Greek2.rtf.tex \
499 left-double-quotes.rtf.tex \
500 lists.rtf.tex \
501 pictNotIgnored.rtf.tex \
502 opensymbols.rtf.tex \
503 paragraph_formatting.rtf.tex \
504 pict.rtf.tex \
505 quotes.rtf.tex \
506 symbol.rtf.tex \
507 text_color.rtf.tex \
508 text_formatting.rtf.tex \
509 Turkish.rtf.tex \
510 unicode4.rtf.tex \
511 unnested.rtf.tex
512
513
514 # the result set for the text test
515 testresults_text = \
516 accents.rtf.text \
517 ascii_decimal.rtf.text \
518 backslash.rtf.text \
519 body.rtf.text \
520 borders_shading.rtf.text \
521 braces.rtf.text \
522 character_formatting.rtf.text \
523 chars.rtf.text \
524 columns.rtf.text \
525 cp1251-russian-alphabet.rtf.text \
526 emfpict.rtf.text \
527 EndNote.rtf.text \
528 font_size.rtf.text \
529 font_styles.rtf.text \
530 Greek1.rtf.text \
531 Greek2.rtf.text \
532 left-double-quotes.rtf.text \
533 lists.rtf.text \
534 opensymbols.rtf.text \
535 paragraph_formatting.rtf.text \
536 pict.rtf.text \
537 pictNotIgnored.rtf.text \
538 quotes.rtf.text \
539 symbol.rtf.text \
540 text_color.rtf.text \
541 text_formatting.rtf.text \
542 Turkish.rtf.text \
543 unicode4.rtf.text \
544 unnested.rtf.text
545
546
547 # need to wipe out test results on make clean
548 CLEANFILES = $(testresults_html) $(testresults_tex) $(testresults_text) pict0*.*
549
550 # add the test scripts and the test data to the distributed files
551 EXTRA_DIST = $(TESTS) $(testdata)
552 TESTS_ENVIRONMENT = UNRTF=$(top_builddir)/src/unrtf UNRTF_SEARCH_PATH=$(top_builddir)/outputs/
553 all: all-am
554
555 .SUFFIXES:
556 .SUFFIXES: .log .test .test$(EXEEXT) .trs
557 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
558 @for dep in $?; do \
559 case '$(am__configure_deps)' in \
560 *$$dep*) \
561 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
562 && { if test -f $@; then exit 0; else break; fi; }; \
563 exit 1;; \
564 esac; \
565 done; \
566 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
567 $(am__cd) $(top_srcdir) && \
568 $(AUTOMAKE) --gnu tests/Makefile
569 .PRECIOUS: Makefile
570 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
571 @case '$?' in \
572 *config.status*) \
573 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
574 *) \
575 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
576 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
577 esac;
578
579 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
580 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
581
582 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
583 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
584 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
585 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
586 $(am__aclocal_m4_deps):
587 tags TAGS:
588
589 ctags CTAGS:
590
591 cscope cscopelist:
592
593
594 # Recover from deleted '.trs' file; this should ensure that
595 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
596 # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
597 # to avoid problems with "make -n".
598 .log.trs:
599 rm -f $< $@
600 $(MAKE) $(AM_MAKEFLAGS) $<
601
602 # Leading 'am--fnord' is there to ensure the list of targets does not
603 # expand to empty, as could happen e.g. with make check TESTS=''.
604 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
605 am--force-recheck:
606 @:
607
608 $(TEST_SUITE_LOG): $(TEST_LOGS)
609 @$(am__set_TESTS_bases); \
610 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
611 redo_bases=`for i in $$bases; do \
612 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
613 done`; \
614 if test -n "$$redo_bases"; then \
615 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
616 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
617 if $(am__make_dryrun); then :; else \
618 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
619 fi; \
620 fi; \
621 if test -n "$$am__remaking_logs"; then \
622 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
623 "recursion detected" >&2; \
624 else \
625 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
626 fi; \
627 if $(am__make_dryrun); then :; else \
628 st=0; \
629 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
630 for i in $$redo_bases; do \
631 test -f $$i.trs && test -r $$i.trs \
632 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
633 test -f $$i.log && test -r $$i.log \
634 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
635 done; \
636 test $$st -eq 0 || exit 1; \
637 fi
638 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
639 ws='[ ]'; \
640 results=`for b in $$bases; do echo $$b.trs; done`; \
641 test -n "$$results" || results=/dev/null; \
642 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
643 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
644 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
645 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
646 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
647 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
648 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
649 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
650 success=true; \
651 else \
652 success=false; \
653 fi; \
654 br='==================='; br=$$br$$br$$br$$br; \
655 result_count () \
656 { \
657 if test x"$$1" = x"--maybe-color"; then \
658 maybe_colorize=yes; \
659 elif test x"$$1" = x"--no-color"; then \
660 maybe_colorize=no; \
661 else \
662 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
663 fi; \
664 shift; \
665 desc=$$1 count=$$2; \
666 if test $$maybe_colorize = yes && test $$count -gt 0; then \
667 color_start=$$3 color_end=$$std; \
668 else \
669 color_start= color_end=; \
670 fi; \
671 echo "$${color_start}# $$desc $$count$${color_end}"; \
672 }; \
673 create_testsuite_report () \
674 { \
675 result_count $$1 "TOTAL:" $$all "$$brg"; \
676 result_count $$1 "PASS: " $$pass "$$grn"; \
677 result_count $$1 "SKIP: " $$skip "$$blu"; \
678 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
679 result_count $$1 "FAIL: " $$fail "$$red"; \
680 result_count $$1 "XPASS:" $$xpass "$$red"; \
681 result_count $$1 "ERROR:" $$error "$$mgn"; \
682 }; \
683 { \
684 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
685 $(am__rst_title); \
686 create_testsuite_report --no-color; \
687 echo; \
688 echo ".. contents:: :depth: 2"; \
689 echo; \
690 for b in $$bases; do echo $$b; done \
691 | $(am__create_global_log); \
692 } >$(TEST_SUITE_LOG).tmp || exit 1; \
693 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
694 if $$success; then \
695 col="$$grn"; \
696 else \
697 col="$$red"; \
698 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
699 fi; \
700 echo "$${col}$$br$${std}"; \
701 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
702 echo "$${col}$$br$${std}"; \
703 create_testsuite_report --maybe-color; \
704 echo "$$col$$br$$std"; \
705 if $$success; then :; else \
706 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
707 if test -n "$(PACKAGE_BUGREPORT)"; then \
708 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
709 fi; \
710 echo "$$col$$br$$std"; \
711 fi; \
712 $$success || exit 1
713
714 check-TESTS:
715 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
716 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
717 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
718 @set +e; $(am__set_TESTS_bases); \
719 log_list=`for i in $$bases; do echo $$i.log; done`; \
720 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
721 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
722 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
723 exit $$?;
724 recheck: all
725 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
726 @set +e; $(am__set_TESTS_bases); \
727 bases=`for i in $$bases; do echo $$i; done \
728 | $(am__list_recheck_tests)` || exit 1; \
729 log_list=`for i in $$bases; do echo $$i.log; done`; \
730 log_list=`echo $$log_list`; \
731 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
732 am__force_recheck=am--force-recheck \
733 TEST_LOGS="$$log_list"; \
734 exit $$?
735 test_html.sh.log: test_html.sh
736 @p='test_html.sh'; \
737 b='test_html.sh'; \
738 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
739 --log-file $$b.log --trs-file $$b.trs \
740 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
741 "$$tst" $(AM_TESTS_FD_REDIRECT)
742 test_latex.sh.log: test_latex.sh
743 @p='test_latex.sh'; \
744 b='test_latex.sh'; \
745 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
746 --log-file $$b.log --trs-file $$b.trs \
747 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
748 "$$tst" $(AM_TESTS_FD_REDIRECT)
749 test_text.sh.log: test_text.sh
750 @p='test_text.sh'; \
751 b='test_text.sh'; \
752 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
753 --log-file $$b.log --trs-file $$b.trs \
754 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
755 "$$tst" $(AM_TESTS_FD_REDIRECT)
756 .test.log:
757 @p='$<'; \
758 $(am__set_b); \
759 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
760 --log-file $$b.log --trs-file $$b.trs \
761 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
762 "$$tst" $(AM_TESTS_FD_REDIRECT)
763 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
764 @am__EXEEXT_TRUE@ @p='$<'; \
765 @am__EXEEXT_TRUE@ $(am__set_b); \
766 @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
767 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
768 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
769 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
770
771 distdir: $(DISTFILES)
772 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
773 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
774 list='$(DISTFILES)'; \
775 dist_files=`for file in $$list; do echo $$file; done | \
776 sed -e "s|^$$srcdirstrip/||;t" \
777 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
778 case $$dist_files in \
779 */*) $(MKDIR_P) `echo "$$dist_files" | \
780 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
781 sort -u` ;; \
782 esac; \
783 for file in $$dist_files; do \
784 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
785 if test -d $$d/$$file; then \
786 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
787 if test -d "$(distdir)/$$file"; then \
788 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
789 fi; \
790 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
791 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
792 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
793 fi; \
794 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
795 else \
796 test -f "$(distdir)/$$file" \
797 || cp -p $$d/$$file "$(distdir)/$$file" \
798 || exit 1; \
799 fi; \
800 done
801 $(MAKE) $(AM_MAKEFLAGS) \
802 top_distdir="$(top_distdir)" distdir="$(distdir)" \
803 dist-hook
804 check-am: all-am
805 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
806 check: check-am
807 all-am: Makefile
808 installdirs:
809 install: install-am
810 install-exec: install-exec-am
811 install-data: install-data-am
812 uninstall: uninstall-am
813
814 install-am: all-am
815 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
816
817 installcheck: installcheck-am
818 install-strip:
819 if test -z '$(STRIP)'; then \
820 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
821 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
822 install; \
823 else \
824 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
825 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
826 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
827 fi
828 mostlyclean-generic:
829 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
830 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
831 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
832
833 clean-generic:
834 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
835
836 distclean-generic:
837 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
838 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
839
840 maintainer-clean-generic:
841 @echo "This command is intended for maintainers to use"
842 @echo "it deletes files that may require special tools to rebuild."
843 clean: clean-am
844
845 clean-am: clean-generic mostlyclean-am
846
847 distclean: distclean-am
848 -rm -f Makefile
849 distclean-am: clean-am distclean-generic
850
851 dvi: dvi-am
852
853 dvi-am:
854
855 html: html-am
856
857 html-am:
858
859 info: info-am
860
861 info-am:
862
863 install-data-am:
864
865 install-dvi: install-dvi-am
866
867 install-dvi-am:
868
869 install-exec-am:
870
871 install-html: install-html-am
872
873 install-html-am:
874
875 install-info: install-info-am
876
877 install-info-am:
878
879 install-man:
880
881 install-pdf: install-pdf-am
882
883 install-pdf-am:
884
885 install-ps: install-ps-am
886
887 install-ps-am:
888
889 installcheck-am:
890
891 maintainer-clean: maintainer-clean-am
892 -rm -f Makefile
893 maintainer-clean-am: distclean-am maintainer-clean-generic
894
895 mostlyclean: mostlyclean-am
896
897 mostlyclean-am: mostlyclean-generic
898
899 pdf: pdf-am
900
901 pdf-am:
902
903 ps: ps-am
904
905 ps-am:
906
907 uninstall-am:
908
909 .MAKE: check-am install-am install-strip
910
911 .PHONY: all all-am check check-TESTS check-am clean clean-generic \
912 cscopelist-am ctags-am dist-hook distclean distclean-generic \
913 distdir dvi dvi-am html html-am info info-am install \
914 install-am install-data install-data-am install-dvi \
915 install-dvi-am install-exec install-exec-am install-html \
916 install-html-am install-info install-info-am install-man \
917 install-pdf install-pdf-am install-ps install-ps-am \
918 install-strip installcheck installcheck-am installdirs \
919 maintainer-clean maintainer-clean-generic mostlyclean \
920 mostlyclean-generic pdf pdf-am ps ps-am recheck tags-am \
921 uninstall uninstall-am
922
923
924 # ensure that the distributed scripts are executable before distribution.
925 # Could be necessary if checking out CVS.
926 dist-hook:
927 cd $(distdir); for i in $(TESTS); do chmod +x $$i; done
928
929 # Tell versions [3.59,3.63) of GNU make to not export all variables.
930 # Otherwise a system limit (for SysV at least) may be exceeded.
931 .NOEXPORT: