Codebase list unrtf / 25babe7
undo diff from upstream Willi Mann 4 years ago
9 changed file(s) with 10875 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
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 # 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 # 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 #! /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 ;;