mizuho 0.9.6 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +4 -2
- data/Rakefile +0 -37
- data/asciidoc/BUGS +9 -18
- data/asciidoc/BUGS.txt +5 -14
- data/asciidoc/CHANGELOG +1433 -266
- data/asciidoc/CHANGELOG.txt +2821 -1810
- data/asciidoc/COPYING +339 -339
- data/asciidoc/COPYRIGHT +18 -18
- data/asciidoc/INSTALL +189 -30
- data/asciidoc/INSTALL.txt +175 -19
- data/asciidoc/MANIFEST +88 -0
- data/asciidoc/Makefile.in +29 -13
- data/asciidoc/README +16 -17
- data/asciidoc/README.txt +35 -36
- data/asciidoc/a2x.py +902 -0
- data/asciidoc/asciidoc.conf +610 -455
- data/asciidoc/asciidoc.py +1965 -1061
- data/asciidoc/asciidocapi.py +257 -0
- data/asciidoc/common.aap +2 -2
- data/asciidoc/configure +1170 -1023
- data/asciidoc/configure.ac +1 -1
- data/asciidoc/dblatex/asciidoc-dblatex.xsl +42 -0
- data/asciidoc/doc/a2x.1 +559 -102
- data/asciidoc/doc/a2x.1.txt +233 -91
- data/asciidoc/doc/article-docinfo.xml +87 -0
- data/asciidoc/doc/article.pdf +0 -0
- data/asciidoc/doc/article.txt +139 -122
- data/asciidoc/doc/asciidoc.1 +157 -46
- data/asciidoc/doc/asciidoc.1.txt +171 -118
- data/asciidoc/doc/asciidoc.conf +7 -8
- data/asciidoc/doc/asciidoc.dict +960 -635
- data/asciidoc/doc/asciidoc.txt +2335 -1464
- data/asciidoc/doc/asciidocapi.txt +189 -0
- data/asciidoc/doc/asciimathml.txt +14 -17
- data/asciidoc/doc/book-multi.txt +181 -155
- data/asciidoc/doc/book.epub +0 -0
- data/asciidoc/doc/book.txt +156 -131
- data/asciidoc/doc/customers.csv +18 -18
- data/asciidoc/doc/epub-notes.txt +210 -0
- data/asciidoc/doc/faq.txt +1122 -547
- data/asciidoc/doc/latex-backend.txt +192 -191
- data/asciidoc/doc/latex-bugs.txt +134 -0
- data/asciidoc/doc/latex-filter.pdf +0 -0
- data/asciidoc/doc/latex-filter.txt +196 -0
- data/asciidoc/doc/latexmath.txt +13 -136
- data/asciidoc/doc/latexmathml.txt +2 -2
- data/asciidoc/doc/main.aap +233 -297
- data/asciidoc/doc/music-filter.pdf +0 -0
- data/asciidoc/doc/music-filter.txt +55 -65
- data/asciidoc/doc/publishing-ebooks-with-asciidoc.txt +398 -0
- data/asciidoc/doc/slidy-example.txt +167 -0
- data/asciidoc/doc/slidy.txt +113 -0
- data/asciidoc/doc/source-highlight-filter.pdf +0 -0
- data/asciidoc/doc/source-highlight-filter.txt +45 -20
- data/asciidoc/doc/testasciidoc.txt +231 -0
- data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +30 -8
- data/asciidoc/docbook-xsl/chunked.xsl +17 -19
- data/asciidoc/docbook-xsl/common.xsl +106 -67
- data/asciidoc/docbook-xsl/epub.xsl +35 -0
- data/asciidoc/docbook-xsl/fo.xsl +3 -0
- data/asciidoc/docbook-xsl/htmlhelp.xsl +16 -17
- data/asciidoc/docbook-xsl/manpage.xsl +31 -31
- data/asciidoc/docbook-xsl/text.xsl +6 -1
- data/asciidoc/docbook-xsl/xhtml.xsl +14 -14
- data/asciidoc/docbook45.conf +759 -0
- data/asciidoc/filters/code/code-filter-readme.txt +37 -37
- data/asciidoc/filters/code/code-filter-test.txt +15 -15
- data/asciidoc/filters/code/code-filter.conf +8 -8
- data/asciidoc/filters/graphviz/asciidoc-graphviz-sample.txt +104 -64
- data/asciidoc/filters/graphviz/graphviz-filter.conf +20 -16
- data/asciidoc/filters/graphviz/graphviz2png.py +54 -39
- data/asciidoc/filters/latex/latex-filter.conf +18 -0
- data/asciidoc/filters/latex/latex2png.py +216 -0
- data/asciidoc/filters/music/music-filter.conf +8 -17
- data/asciidoc/filters/music/music2png.py +40 -32
- data/asciidoc/filters/source/source-highlight-filter.conf +40 -34
- data/asciidoc/help.conf +261 -96
- data/asciidoc/html4.conf +505 -460
- data/asciidoc/html5.conf +686 -0
- data/asciidoc/images/highlighter.png +0 -0
- data/asciidoc/images/icons/caution.png +0 -0
- data/asciidoc/images/icons/example.png +0 -0
- data/asciidoc/images/icons/important.png +0 -0
- data/asciidoc/images/icons/note.png +0 -0
- data/asciidoc/images/icons/tip.png +0 -0
- data/asciidoc/images/icons/warning.png +0 -0
- data/asciidoc/images/smallnew.png +0 -0
- data/asciidoc/javascripts/asciidoc.js +189 -0
- data/asciidoc/javascripts/slidy.js +2845 -0
- data/asciidoc/javascripts/toc.js +8 -0
- data/asciidoc/lang-de.conf +57 -0
- data/asciidoc/lang-en.conf +54 -0
- data/asciidoc/lang-es.conf +49 -9
- data/asciidoc/lang-fr.conf +59 -0
- data/asciidoc/lang-hu.conf +55 -0
- data/asciidoc/lang-it.conf +55 -0
- data/asciidoc/lang-nl.conf +57 -0
- data/asciidoc/lang-pt-BR.conf +56 -0
- data/asciidoc/lang-ru.conf +60 -0
- data/asciidoc/lang-uk.conf +60 -0
- data/asciidoc/latex.conf +700 -663
- data/asciidoc/main.aap +77 -0
- data/asciidoc/slidy.conf +136 -0
- data/asciidoc/{examples/website/xhtml11-manpage.css → stylesheets/asciidoc-manpage.css} +1 -1
- data/asciidoc/stylesheets/asciidoc.css +508 -0
- data/asciidoc/stylesheets/docbook-xsl.css +322 -272
- data/asciidoc/stylesheets/flask-manpage.css +1 -0
- data/asciidoc/stylesheets/flask.css +584 -0
- data/asciidoc/stylesheets/pygments.css +66 -0
- data/asciidoc/stylesheets/slidy.css +445 -0
- data/asciidoc/stylesheets/toc2.css +33 -0
- data/asciidoc/stylesheets/volnitsky-manpage.css +1 -0
- data/asciidoc/stylesheets/volnitsky.css +435 -0
- data/asciidoc/stylesheets/xhtml11-quirks.css +5 -3
- data/asciidoc/tests/asciidocapi.py +257 -0
- data/asciidoc/tests/data/deprecated-quotes.txt +12 -0
- data/asciidoc/tests/data/filters-test.txt +90 -0
- data/asciidoc/tests/data/lang-de-test.txt +106 -0
- data/asciidoc/tests/data/lang-en-test.txt +114 -0
- data/asciidoc/tests/data/lang-es-test.txt +106 -0
- data/asciidoc/tests/data/lang-fr-test.txt +106 -0
- data/asciidoc/tests/data/lang-hu-test.txt +106 -0
- data/asciidoc/tests/data/lang-nl-test.txt +94 -0
- data/asciidoc/tests/data/lang-pt-BR-test.txt +106 -0
- data/asciidoc/tests/data/lang-ru-test.txt +106 -0
- data/asciidoc/tests/data/lang-uk-test.txt +106 -0
- data/asciidoc/tests/data/oldtables.txt +64 -0
- data/asciidoc/tests/data/rcs-id-marker-test.txt +6 -0
- data/asciidoc/tests/data/testcases.conf +2 -0
- data/asciidoc/tests/data/testcases.txt +740 -0
- data/asciidoc/tests/data/utf8-bom-test.txt +9 -0
- data/asciidoc/tests/data/utf8-examples.txt +217 -0
- data/asciidoc/tests/testasciidoc.conf +520 -0
- data/asciidoc/tests/testasciidoc.py +411 -0
- data/asciidoc/text.conf +16 -16
- data/asciidoc/vim/syntax/asciidoc.vim +99 -91
- data/asciidoc/wordpress.conf +43 -3
- data/asciidoc/xhtml11-quirks.conf +61 -57
- data/asciidoc/xhtml11.conf +684 -645
- data/lib/mizuho.rb +2 -0
- data/lib/mizuho/generator.rb +2 -2
- data/test/generator_spec.rb +1 -1
- data/test/parser_spec.rb +1 -1
- data/test/spec_helper.rb +3 -4
- metadata +87 -88
- data/asciidoc/a2x +0 -674
- data/asciidoc/doc/article.css-embedded.html +0 -602
- data/asciidoc/doc/article.html +0 -46
- data/asciidoc/doc/asciidoc-revhistory.xml +0 -27
- data/asciidoc/doc/asciidoc.1.css-embedded.html +0 -598
- data/asciidoc/doc/asciidoc.1.css.html +0 -212
- data/asciidoc/doc/asciidoc.1.html +0 -190
- data/asciidoc/doc/asciidoc.css-embedded.html +0 -7853
- data/asciidoc/doc/asciidoc.css.html +0 -7416
- data/asciidoc/doc/asciidoc.html +0 -3339
- data/asciidoc/doc/book-multi.css-embedded.html +0 -575
- data/asciidoc/doc/book-multi.html +0 -55
- data/asciidoc/doc/book.css-embedded.html +0 -607
- data/asciidoc/doc/book.html +0 -43
- data/asciidoc/doc/docbook-xsl.css +0 -272
- data/asciidoc/doc/latex-backend.html +0 -117
- data/asciidoc/doc/music-filter.html +0 -566
- data/asciidoc/doc/source-highlight-filter.html +0 -214
- data/asciidoc/docbook.conf +0 -721
- data/asciidoc/examples/website/ASCIIMathML.js +0 -938
- data/asciidoc/examples/website/CHANGELOG.html +0 -4389
- data/asciidoc/examples/website/CHANGELOG.txt +0 -1810
- data/asciidoc/examples/website/INSTALL.html +0 -161
- data/asciidoc/examples/website/INSTALL.txt +0 -71
- data/asciidoc/examples/website/LaTeXMathML.js +0 -1223
- data/asciidoc/examples/website/README-website.html +0 -118
- data/asciidoc/examples/website/README-website.txt +0 -29
- data/asciidoc/examples/website/README.html +0 -125
- data/asciidoc/examples/website/README.txt +0 -36
- data/asciidoc/examples/website/a2x.1.html +0 -419
- data/asciidoc/examples/website/a2x.1.txt +0 -204
- data/asciidoc/examples/website/asciidoc-docbook-xsl.html +0 -130
- data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +0 -43
- data/asciidoc/examples/website/asciidoc-graphviz-sample.txt +0 -130
- data/asciidoc/examples/website/asciimathml.txt +0 -64
- data/asciidoc/examples/website/build-website.sh +0 -25
- data/asciidoc/examples/website/customers.csv +0 -18
- data/asciidoc/examples/website/downloads.html +0 -257
- data/asciidoc/examples/website/downloads.txt +0 -121
- data/asciidoc/examples/website/faq.html +0 -673
- data/asciidoc/examples/website/faq.txt +0 -547
- data/asciidoc/examples/website/index.html +0 -419
- data/asciidoc/examples/website/index.txt +0 -245
- data/asciidoc/examples/website/latex-backend.html +0 -535
- data/asciidoc/examples/website/latex-backend.txt +0 -191
- data/asciidoc/examples/website/latexmathml.txt +0 -41
- data/asciidoc/examples/website/layout1.conf +0 -161
- data/asciidoc/examples/website/layout1.css +0 -65
- data/asciidoc/examples/website/layout2.conf +0 -158
- data/asciidoc/examples/website/layout2.css +0 -93
- data/asciidoc/examples/website/manpage.html +0 -266
- data/asciidoc/examples/website/manpage.txt +0 -118
- data/asciidoc/examples/website/music-filter.html +0 -242
- data/asciidoc/examples/website/music-filter.txt +0 -158
- data/asciidoc/examples/website/music1.abc +0 -12
- data/asciidoc/examples/website/music1.png +0 -0
- data/asciidoc/examples/website/music2.ly +0 -9
- data/asciidoc/examples/website/music2.png +0 -0
- data/asciidoc/examples/website/newlists.txt +0 -40
- data/asciidoc/examples/website/newtables.txt +0 -397
- data/asciidoc/examples/website/sample1.png +0 -0
- data/asciidoc/examples/website/sample3.png +0 -0
- data/asciidoc/examples/website/sample4.png +0 -0
- data/asciidoc/examples/website/source-highlight-filter.html +0 -286
- data/asciidoc/examples/website/source-highlight-filter.txt +0 -203
- data/asciidoc/examples/website/support.html +0 -78
- data/asciidoc/examples/website/support.txt +0 -5
- data/asciidoc/examples/website/toc.js +0 -69
- data/asciidoc/examples/website/userguide.html +0 -7460
- data/asciidoc/examples/website/userguide.txt +0 -4979
- data/asciidoc/examples/website/version83.txt +0 -37
- data/asciidoc/examples/website/version9.html +0 -143
- data/asciidoc/examples/website/version9.txt +0 -48
- data/asciidoc/examples/website/xhtml11-quirks.css +0 -41
- data/asciidoc/examples/website/xhtml11.css +0 -328
- data/asciidoc/stylesheets/xhtml11-manpage.css +0 -18
- data/asciidoc/stylesheets/xhtml11.css +0 -328
@@ -0,0 +1,257 @@
|
|
1
|
+
#!/usr/bin/env python
|
2
|
+
"""
|
3
|
+
asciidocapi - AsciiDoc API wrapper class.
|
4
|
+
|
5
|
+
The AsciiDocAPI class provides an API for executing asciidoc. Minimal example
|
6
|
+
compiles `mydoc.txt` to `mydoc.html`:
|
7
|
+
|
8
|
+
import asciidocapi
|
9
|
+
asciidoc = asciidocapi.AsciiDocAPI()
|
10
|
+
asciidoc.execute('mydoc.txt')
|
11
|
+
|
12
|
+
- Full documentation in asciidocapi.txt.
|
13
|
+
- See the doctests below for more examples.
|
14
|
+
|
15
|
+
Doctests:
|
16
|
+
|
17
|
+
1. Check execution:
|
18
|
+
|
19
|
+
>>> import StringIO
|
20
|
+
>>> infile = StringIO.StringIO('Hello *{author}*')
|
21
|
+
>>> outfile = StringIO.StringIO()
|
22
|
+
>>> asciidoc = AsciiDocAPI()
|
23
|
+
>>> asciidoc.options('--no-header-footer')
|
24
|
+
>>> asciidoc.attributes['author'] = 'Joe Bloggs'
|
25
|
+
>>> asciidoc.execute(infile, outfile, backend='html4')
|
26
|
+
>>> print outfile.getvalue()
|
27
|
+
<p>Hello <strong>Joe Bloggs</strong></p>
|
28
|
+
|
29
|
+
>>> asciidoc.attributes['author'] = 'Bill Smith'
|
30
|
+
>>> infile = StringIO.StringIO('Hello _{author}_')
|
31
|
+
>>> outfile = StringIO.StringIO()
|
32
|
+
>>> asciidoc.execute(infile, outfile, backend='docbook')
|
33
|
+
>>> print outfile.getvalue()
|
34
|
+
<simpara>Hello <emphasis>Bill Smith</emphasis></simpara>
|
35
|
+
|
36
|
+
2. Check error handling:
|
37
|
+
|
38
|
+
>>> import StringIO
|
39
|
+
>>> asciidoc = AsciiDocAPI()
|
40
|
+
>>> infile = StringIO.StringIO('---------')
|
41
|
+
>>> outfile = StringIO.StringIO()
|
42
|
+
>>> asciidoc.execute(infile, outfile)
|
43
|
+
Traceback (most recent call last):
|
44
|
+
File "<stdin>", line 1, in <module>
|
45
|
+
File "asciidocapi.py", line 189, in execute
|
46
|
+
raise AsciiDocError(self.messages[-1])
|
47
|
+
AsciiDocError: ERROR: <stdin>: line 1: [blockdef-listing] missing closing delimiter
|
48
|
+
|
49
|
+
|
50
|
+
Copyright (C) 2009 Stuart Rackham. Free use of this software is granted
|
51
|
+
under the terms of the GNU General Public License (GPL).
|
52
|
+
|
53
|
+
"""
|
54
|
+
|
55
|
+
import sys,os,re,imp
|
56
|
+
|
57
|
+
API_VERSION = '0.1.2'
|
58
|
+
MIN_ASCIIDOC_VERSION = '8.4.1' # Minimum acceptable AsciiDoc version.
|
59
|
+
|
60
|
+
|
61
|
+
def find_in_path(fname, path=None):
|
62
|
+
"""
|
63
|
+
Find file fname in paths. Return None if not found.
|
64
|
+
"""
|
65
|
+
if path is None:
|
66
|
+
path = os.environ.get('PATH', '')
|
67
|
+
for dir in path.split(os.pathsep):
|
68
|
+
fpath = os.path.join(dir, fname)
|
69
|
+
if os.path.isfile(fpath):
|
70
|
+
return fpath
|
71
|
+
else:
|
72
|
+
return None
|
73
|
+
|
74
|
+
|
75
|
+
class AsciiDocError(Exception):
|
76
|
+
pass
|
77
|
+
|
78
|
+
|
79
|
+
class Options(object):
|
80
|
+
"""
|
81
|
+
Stores asciidoc(1) command options.
|
82
|
+
"""
|
83
|
+
def __init__(self, values=[]):
|
84
|
+
self.values = values[:]
|
85
|
+
def __call__(self, name, value=None):
|
86
|
+
"""Shortcut for append method."""
|
87
|
+
self.append(name, value)
|
88
|
+
def append(self, name, value=None):
|
89
|
+
if type(value) in (int,float):
|
90
|
+
value = str(value)
|
91
|
+
self.values.append((name,value))
|
92
|
+
|
93
|
+
|
94
|
+
class Version(object):
|
95
|
+
"""
|
96
|
+
Parse and compare AsciiDoc version numbers. Instance attributes:
|
97
|
+
|
98
|
+
string: String version number '<major>.<minor>[.<micro>][suffix]'.
|
99
|
+
major: Integer major version number.
|
100
|
+
minor: Integer minor version number.
|
101
|
+
micro: Integer micro version number.
|
102
|
+
suffix: Suffix (begins with non-numeric character) is ignored when
|
103
|
+
comparing.
|
104
|
+
|
105
|
+
Doctest examples:
|
106
|
+
|
107
|
+
>>> Version('8.2.5') < Version('8.3 beta 1')
|
108
|
+
True
|
109
|
+
>>> Version('8.3.0') == Version('8.3. beta 1')
|
110
|
+
True
|
111
|
+
>>> Version('8.2.0') < Version('8.20')
|
112
|
+
True
|
113
|
+
>>> Version('8.20').major
|
114
|
+
8
|
115
|
+
>>> Version('8.20').minor
|
116
|
+
20
|
117
|
+
>>> Version('8.20').micro
|
118
|
+
0
|
119
|
+
>>> Version('8.20').suffix
|
120
|
+
''
|
121
|
+
>>> Version('8.20 beta 1').suffix
|
122
|
+
'beta 1'
|
123
|
+
|
124
|
+
"""
|
125
|
+
def __init__(self, version):
|
126
|
+
self.string = version
|
127
|
+
reo = re.match(r'^(\d+)\.(\d+)(\.(\d+))?\s*(.*?)\s*$', self.string)
|
128
|
+
if not reo:
|
129
|
+
raise ValueError('invalid version number: %s' % self.string)
|
130
|
+
groups = reo.groups()
|
131
|
+
self.major = int(groups[0])
|
132
|
+
self.minor = int(groups[1])
|
133
|
+
self.micro = int(groups[3] or '0')
|
134
|
+
self.suffix = groups[4] or ''
|
135
|
+
def __cmp__(self, other):
|
136
|
+
result = cmp(self.major, other.major)
|
137
|
+
if result == 0:
|
138
|
+
result = cmp(self.minor, other.minor)
|
139
|
+
if result == 0:
|
140
|
+
result = cmp(self.micro, other.micro)
|
141
|
+
return result
|
142
|
+
|
143
|
+
|
144
|
+
class AsciiDocAPI(object):
|
145
|
+
"""
|
146
|
+
AsciiDoc API class.
|
147
|
+
"""
|
148
|
+
def __init__(self, asciidoc_py=None):
|
149
|
+
"""
|
150
|
+
Locate and import asciidoc.py.
|
151
|
+
Initialize instance attributes.
|
152
|
+
"""
|
153
|
+
self.options = Options()
|
154
|
+
self.attributes = {}
|
155
|
+
self.messages = []
|
156
|
+
# Search for the asciidoc command file.
|
157
|
+
# Try ASCIIDOC_PY environment variable first.
|
158
|
+
cmd = os.environ.get('ASCIIDOC_PY')
|
159
|
+
if cmd:
|
160
|
+
if not os.path.isfile(cmd):
|
161
|
+
raise AsciiDocError('missing ASCIIDOC_PY file: %s' % cmd)
|
162
|
+
elif asciidoc_py:
|
163
|
+
# Next try path specified by caller.
|
164
|
+
cmd = asciidoc_py
|
165
|
+
if not os.path.isfile(cmd):
|
166
|
+
raise AsciiDocError('missing file: %s' % cmd)
|
167
|
+
else:
|
168
|
+
# Try shell search paths.
|
169
|
+
for fname in ['asciidoc.py','asciidoc.pyc','asciidoc']:
|
170
|
+
cmd = find_in_path(fname)
|
171
|
+
if cmd: break
|
172
|
+
else:
|
173
|
+
# Finally try current working directory.
|
174
|
+
for cmd in ['asciidoc.py','asciidoc.pyc','asciidoc']:
|
175
|
+
if os.path.isfile(cmd): break
|
176
|
+
else:
|
177
|
+
raise AsciiDocError('failed to locate asciidoc')
|
178
|
+
self.cmd = os.path.realpath(cmd)
|
179
|
+
self.__import_asciidoc()
|
180
|
+
|
181
|
+
def __import_asciidoc(self, reload=False):
|
182
|
+
'''
|
183
|
+
Import asciidoc module (script or compiled .pyc).
|
184
|
+
See
|
185
|
+
http://groups.google.com/group/asciidoc/browse_frm/thread/66e7b59d12cd2f91
|
186
|
+
for an explanation of why a seemingly straight-forward job turned out
|
187
|
+
quite complicated.
|
188
|
+
'''
|
189
|
+
if os.path.splitext(self.cmd)[1] in ['.py','.pyc']:
|
190
|
+
sys.path.insert(0, os.path.dirname(self.cmd))
|
191
|
+
try:
|
192
|
+
try:
|
193
|
+
if reload:
|
194
|
+
import __builtin__ # Because reload() is shadowed.
|
195
|
+
__builtin__.reload(self.asciidoc)
|
196
|
+
else:
|
197
|
+
import asciidoc
|
198
|
+
self.asciidoc = asciidoc
|
199
|
+
except ImportError:
|
200
|
+
raise AsciiDocError('failed to import ' + self.cmd)
|
201
|
+
finally:
|
202
|
+
del sys.path[0]
|
203
|
+
else:
|
204
|
+
# The import statement can only handle .py or .pyc files, have to
|
205
|
+
# use imp.load_source() for scripts with other names.
|
206
|
+
try:
|
207
|
+
imp.load_source('asciidoc', self.cmd)
|
208
|
+
import asciidoc
|
209
|
+
self.asciidoc = asciidoc
|
210
|
+
except ImportError:
|
211
|
+
raise AsciiDocError('failed to import ' + self.cmd)
|
212
|
+
if Version(self.asciidoc.VERSION) < Version(MIN_ASCIIDOC_VERSION):
|
213
|
+
raise AsciiDocError(
|
214
|
+
'asciidocapi %s requires asciidoc %s or better'
|
215
|
+
% (API_VERSION, MIN_ASCIIDOC_VERSION))
|
216
|
+
|
217
|
+
def execute(self, infile, outfile=None, backend=None):
|
218
|
+
"""
|
219
|
+
Compile infile to outfile using backend format.
|
220
|
+
infile can outfile can be file path strings or file like objects.
|
221
|
+
"""
|
222
|
+
self.messages = []
|
223
|
+
opts = Options(self.options.values)
|
224
|
+
if outfile is not None:
|
225
|
+
opts('--out-file', outfile)
|
226
|
+
if backend is not None:
|
227
|
+
opts('--backend', backend)
|
228
|
+
for k,v in self.attributes.items():
|
229
|
+
if v == '' or k[-1] in '!@':
|
230
|
+
s = k
|
231
|
+
elif v is None: # A None value undefines the attribute.
|
232
|
+
s = k + '!'
|
233
|
+
else:
|
234
|
+
s = '%s=%s' % (k,v)
|
235
|
+
opts('--attribute', s)
|
236
|
+
args = [infile]
|
237
|
+
# The AsciiDoc command was designed to process source text then
|
238
|
+
# exit, there are globals and statics in asciidoc.py that have
|
239
|
+
# to be reinitialized before each run -- hence the reload.
|
240
|
+
self.__import_asciidoc(reload=True)
|
241
|
+
try:
|
242
|
+
try:
|
243
|
+
self.asciidoc.execute(self.cmd, opts.values, args)
|
244
|
+
finally:
|
245
|
+
self.messages = self.asciidoc.messages[:]
|
246
|
+
except SystemExit, e:
|
247
|
+
if e.code:
|
248
|
+
raise AsciiDocError(self.messages[-1])
|
249
|
+
|
250
|
+
|
251
|
+
if __name__ == "__main__":
|
252
|
+
"""
|
253
|
+
Run module doctests.
|
254
|
+
"""
|
255
|
+
import doctest
|
256
|
+
options = doctest.NORMALIZE_WHITESPACE + doctest.ELLIPSIS
|
257
|
+
doctest.testmod(optionflags=options)
|
data/asciidoc/common.aap
CHANGED
data/asciidoc/configure
CHANGED
@@ -1,60 +1,83 @@
|
|
1
1
|
#! /bin/sh
|
2
2
|
# Guess values for system-dependent variables and create Makefiles.
|
3
|
-
# Generated by GNU Autoconf 2.
|
3
|
+
# Generated by GNU Autoconf 2.65 for asciidoc 8.6.5.
|
4
|
+
#
|
4
5
|
#
|
5
6
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
6
|
-
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
|
7
|
+
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
8
|
+
# Inc.
|
9
|
+
#
|
10
|
+
#
|
7
11
|
# This configure script is free software; the Free Software Foundation
|
8
12
|
# gives unlimited permission to copy, distribute and modify it.
|
9
|
-
##
|
10
|
-
## M4sh Initialization.
|
11
|
-
##
|
13
|
+
## -------------------- ##
|
14
|
+
## M4sh Initialization. ##
|
15
|
+
## -------------------- ##
|
12
16
|
|
13
17
|
# Be more Bourne compatible
|
14
18
|
DUALCASE=1; export DUALCASE # for MKS sh
|
15
|
-
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
19
|
+
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
16
20
|
emulate sh
|
17
21
|
NULLCMD=:
|
18
|
-
#
|
22
|
+
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
19
23
|
# is contrary to our usage. Disable this feature.
|
20
24
|
alias -g '${1+"$@"}'='"$@"'
|
21
25
|
setopt NO_GLOB_SUBST
|
22
26
|
else
|
23
|
-
case `(set -o) 2>/dev/null` in
|
24
|
-
*posix*)
|
27
|
+
case `(set -o) 2>/dev/null` in #(
|
28
|
+
*posix*) :
|
29
|
+
set -o posix ;; #(
|
30
|
+
*) :
|
31
|
+
;;
|
25
32
|
esac
|
26
|
-
|
27
33
|
fi
|
28
34
|
|
29
35
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
#
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
36
|
+
as_nl='
|
37
|
+
'
|
38
|
+
export as_nl
|
39
|
+
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
40
|
+
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
41
|
+
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
42
|
+
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
43
|
+
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
44
|
+
# but without wasting forks for bash or zsh.
|
45
|
+
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
46
|
+
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
47
|
+
as_echo='print -r --'
|
48
|
+
as_echo_n='print -rn --'
|
49
|
+
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
50
|
+
as_echo='printf %s\n'
|
51
|
+
as_echo_n='printf %s'
|
52
|
+
else
|
53
|
+
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
54
|
+
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
55
|
+
as_echo_n='/usr/ucb/echo -n'
|
47
56
|
else
|
48
|
-
|
57
|
+
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
58
|
+
as_echo_n_body='eval
|
59
|
+
arg=$1;
|
60
|
+
case $arg in #(
|
61
|
+
*"$as_nl"*)
|
62
|
+
expr "X$arg" : "X\\(.*\\)$as_nl";
|
63
|
+
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
64
|
+
esac;
|
65
|
+
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
66
|
+
'
|
67
|
+
export as_echo_n_body
|
68
|
+
as_echo_n='sh -c $as_echo_n_body as_echo'
|
49
69
|
fi
|
50
|
-
|
70
|
+
export as_echo_body
|
71
|
+
as_echo='sh -c $as_echo_body as_echo'
|
51
72
|
fi
|
52
73
|
|
53
|
-
#
|
54
|
-
if
|
55
|
-
|
56
|
-
|
57
|
-
|
74
|
+
# The user is always right.
|
75
|
+
if test "${PATH_SEPARATOR+set}" != set; then
|
76
|
+
PATH_SEPARATOR=:
|
77
|
+
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
78
|
+
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
79
|
+
PATH_SEPARATOR=';'
|
80
|
+
}
|
58
81
|
fi
|
59
82
|
|
60
83
|
|
@@ -63,20 +86,18 @@ fi
|
|
63
86
|
# there to prevent editors from complaining about space-tab.
|
64
87
|
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
65
88
|
# splitting by setting IFS to empty value.)
|
66
|
-
as_nl='
|
67
|
-
'
|
68
89
|
IFS=" "" $as_nl"
|
69
90
|
|
70
91
|
# Find who we are. Look in the path if we contain no directory separator.
|
71
|
-
case $0 in
|
92
|
+
case $0 in #((
|
72
93
|
*[\\/]* ) as_myself=$0 ;;
|
73
94
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
74
95
|
for as_dir in $PATH
|
75
96
|
do
|
76
97
|
IFS=$as_save_IFS
|
77
98
|
test -z "$as_dir" && as_dir=.
|
78
|
-
|
79
|
-
done
|
99
|
+
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
100
|
+
done
|
80
101
|
IFS=$as_save_IFS
|
81
102
|
|
82
103
|
;;
|
@@ -87,354 +108,321 @@ if test "x$as_myself" = x; then
|
|
87
108
|
as_myself=$0
|
88
109
|
fi
|
89
110
|
if test ! -f "$as_myself"; then
|
90
|
-
|
91
|
-
|
111
|
+
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
112
|
+
exit 1
|
92
113
|
fi
|
93
114
|
|
94
|
-
#
|
95
|
-
|
96
|
-
|
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 || :
|
97
122
|
done
|
98
123
|
PS1='$ '
|
99
124
|
PS2='> '
|
100
125
|
PS4='+ '
|
101
126
|
|
102
127
|
# NLS nuisances.
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
do
|
108
|
-
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
109
|
-
eval $as_var=C; export $as_var
|
110
|
-
else
|
111
|
-
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
112
|
-
fi
|
113
|
-
done
|
114
|
-
|
115
|
-
# Required to use basename.
|
116
|
-
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
117
|
-
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
118
|
-
as_expr=expr
|
119
|
-
else
|
120
|
-
as_expr=false
|
121
|
-
fi
|
122
|
-
|
123
|
-
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
124
|
-
as_basename=basename
|
125
|
-
else
|
126
|
-
as_basename=false
|
127
|
-
fi
|
128
|
-
|
129
|
-
|
130
|
-
# Name of the executable.
|
131
|
-
as_me=`$as_basename -- "$0" ||
|
132
|
-
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
133
|
-
X"$0" : 'X\(//\)$' \| \
|
134
|
-
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
135
|
-
echo X/"$0" |
|
136
|
-
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
137
|
-
s//\1/
|
138
|
-
q
|
139
|
-
}
|
140
|
-
/^X\/\(\/\/\)$/{
|
141
|
-
s//\1/
|
142
|
-
q
|
143
|
-
}
|
144
|
-
/^X\/\(\/\).*/{
|
145
|
-
s//\1/
|
146
|
-
q
|
147
|
-
}
|
148
|
-
s/.*/./; q'`
|
128
|
+
LC_ALL=C
|
129
|
+
export LC_ALL
|
130
|
+
LANGUAGE=C
|
131
|
+
export LANGUAGE
|
149
132
|
|
150
133
|
# CDPATH.
|
151
|
-
|
152
|
-
|
134
|
+
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
153
135
|
|
154
136
|
if test "x$CONFIG_SHELL" = x; then
|
155
|
-
if
|
156
|
-
|
137
|
+
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
138
|
+
emulate sh
|
139
|
+
NULLCMD=:
|
140
|
+
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
141
|
+
# is contrary to our usage. Disable this feature.
|
142
|
+
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
143
|
+
setopt NO_GLOB_SUBST
|
157
144
|
else
|
158
|
-
|
145
|
+
case \`(set -o) 2>/dev/null\` in #(
|
146
|
+
*posix*) :
|
147
|
+
set -o posix ;; #(
|
148
|
+
*) :
|
149
|
+
;;
|
150
|
+
esac
|
159
151
|
fi
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
}
|
165
|
-
|
166
|
-
as_func_return 0
|
167
|
-
}
|
168
|
-
as_func_failure () {
|
169
|
-
as_func_return 1
|
170
|
-
}
|
171
|
-
as_func_ret_success () {
|
172
|
-
return 0
|
173
|
-
}
|
174
|
-
as_func_ret_failure () {
|
175
|
-
return 1
|
176
|
-
}
|
152
|
+
"
|
153
|
+
as_required="as_fn_return () { (exit \$1); }
|
154
|
+
as_fn_success () { as_fn_return 0; }
|
155
|
+
as_fn_failure () { as_fn_return 1; }
|
156
|
+
as_fn_ret_success () { return 0; }
|
157
|
+
as_fn_ret_failure () { return 1; }
|
177
158
|
|
178
159
|
exitcode=0
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
fi
|
160
|
+
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
161
|
+
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
162
|
+
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
163
|
+
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
164
|
+
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
185
165
|
|
186
|
-
if as_func_failure; then
|
187
|
-
exitcode=1
|
188
|
-
echo as_func_failure succeeded.
|
189
|
-
fi
|
190
|
-
|
191
|
-
if as_func_ret_success; then
|
192
|
-
:
|
193
166
|
else
|
194
|
-
exitcode=1
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
:
|
167
|
+
exitcode=1; echo positional parameters were not saved.
|
168
|
+
fi
|
169
|
+
test x\$exitcode = x0 || exit 1"
|
170
|
+
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
171
|
+
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
172
|
+
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
173
|
+
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
174
|
+
test \$(( 1 + 1 )) = 2 || exit 1"
|
175
|
+
if (eval "$as_required") 2>/dev/null; then :
|
176
|
+
as_have_required=yes
|
205
177
|
else
|
206
|
-
|
207
|
-
echo positional parameters were not saved.
|
178
|
+
as_have_required=no
|
208
179
|
fi
|
180
|
+
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
209
181
|
|
210
|
-
test \$exitcode = 0) || { (exit 1); exit 1; }
|
211
|
-
|
212
|
-
(
|
213
|
-
as_lineno_1=\$LINENO
|
214
|
-
as_lineno_2=\$LINENO
|
215
|
-
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
216
|
-
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
217
|
-
") 2> /dev/null; then
|
218
|
-
:
|
219
182
|
else
|
220
|
-
|
221
|
-
|
183
|
+
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
184
|
+
as_found=false
|
222
185
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
223
186
|
do
|
224
187
|
IFS=$as_save_IFS
|
225
188
|
test -z "$as_dir" && as_dir=.
|
226
|
-
|
189
|
+
as_found=:
|
190
|
+
case $as_dir in #(
|
227
191
|
/*)
|
228
192
|
for as_base in sh bash ksh sh5; do
|
229
|
-
|
193
|
+
# Try only shells that exist, to save several forks.
|
194
|
+
as_shell=$as_dir/$as_base
|
195
|
+
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
196
|
+
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
197
|
+
CONFIG_SHELL=$as_shell as_have_required=yes
|
198
|
+
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
199
|
+
break 2
|
200
|
+
fi
|
201
|
+
fi
|
230
202
|
done;;
|
231
203
|
esac
|
204
|
+
as_found=false
|
232
205
|
done
|
206
|
+
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
207
|
+
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
208
|
+
CONFIG_SHELL=$SHELL as_have_required=yes
|
209
|
+
fi; }
|
233
210
|
IFS=$as_save_IFS
|
234
211
|
|
235
212
|
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
alias -g '${1+"$@"}'='"$@"'
|
246
|
-
setopt NO_GLOB_SUBST
|
247
|
-
else
|
248
|
-
case `(set -o) 2>/dev/null` in
|
249
|
-
*posix*) set -o posix ;;
|
250
|
-
esac
|
251
|
-
|
213
|
+
if test "x$CONFIG_SHELL" != x; then :
|
214
|
+
# We cannot yet assume a decent shell, so we have to provide a
|
215
|
+
# neutralization value for shells without unset; and this also
|
216
|
+
# works around shells that cannot unset nonexistent variables.
|
217
|
+
BASH_ENV=/dev/null
|
218
|
+
ENV=/dev/null
|
219
|
+
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
220
|
+
export CONFIG_SHELL
|
221
|
+
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
252
222
|
fi
|
253
223
|
|
254
|
-
|
255
|
-
:
|
256
|
-
|
257
|
-
}; then
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
setopt NO_GLOB_SUBST
|
268
|
-
else
|
269
|
-
case `(set -o) 2>/dev/null` in
|
270
|
-
*posix*) set -o posix ;;
|
271
|
-
esac
|
272
|
-
|
224
|
+
if test x$as_have_required = xno; then :
|
225
|
+
$as_echo "$0: This script requires a shell more modern than all"
|
226
|
+
$as_echo "$0: the shells that I found on your system."
|
227
|
+
if test x${ZSH_VERSION+set} = xset ; then
|
228
|
+
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
229
|
+
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
230
|
+
else
|
231
|
+
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
|
232
|
+
$0: including any error possibly output before this
|
233
|
+
$0: message. Then install a modern shell, or manually run
|
234
|
+
$0: the script under such a shell if you do have one."
|
235
|
+
fi
|
236
|
+
exit 1
|
273
237
|
fi
|
238
|
+
fi
|
239
|
+
fi
|
240
|
+
SHELL=${CONFIG_SHELL-/bin/sh}
|
241
|
+
export SHELL
|
242
|
+
# Unset more variables known to interfere with behavior of common tools.
|
243
|
+
CLICOLOR_FORCE= GREP_OPTIONS=
|
244
|
+
unset CLICOLOR_FORCE GREP_OPTIONS
|
274
245
|
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
as_func_return 1
|
285
|
-
}
|
286
|
-
as_func_ret_success () {
|
287
|
-
return 0
|
288
|
-
}
|
289
|
-
as_func_ret_failure () {
|
290
|
-
return 1
|
246
|
+
## --------------------- ##
|
247
|
+
## M4sh Shell Functions. ##
|
248
|
+
## --------------------- ##
|
249
|
+
# as_fn_unset VAR
|
250
|
+
# ---------------
|
251
|
+
# Portably unset VAR.
|
252
|
+
as_fn_unset ()
|
253
|
+
{
|
254
|
+
{ eval $1=; unset $1;}
|
291
255
|
}
|
256
|
+
as_unset=as_fn_unset
|
292
257
|
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
258
|
+
# as_fn_set_status STATUS
|
259
|
+
# -----------------------
|
260
|
+
# Set $? to STATUS, without forking.
|
261
|
+
as_fn_set_status ()
|
262
|
+
{
|
263
|
+
return $1
|
264
|
+
} # as_fn_set_status
|
300
265
|
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
266
|
+
# as_fn_exit STATUS
|
267
|
+
# -----------------
|
268
|
+
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
269
|
+
as_fn_exit ()
|
270
|
+
{
|
271
|
+
set +e
|
272
|
+
as_fn_set_status $1
|
273
|
+
exit $1
|
274
|
+
} # as_fn_exit
|
275
|
+
|
276
|
+
# as_fn_mkdir_p
|
277
|
+
# -------------
|
278
|
+
# Create "$as_dir" as a directory, including parents if necessary.
|
279
|
+
as_fn_mkdir_p ()
|
280
|
+
{
|
305
281
|
|
306
|
-
|
307
|
-
|
282
|
+
case $as_dir in #(
|
283
|
+
-*) as_dir=./$as_dir;;
|
284
|
+
esac
|
285
|
+
test -d "$as_dir" || eval $as_mkdir_p || {
|
286
|
+
as_dirs=
|
287
|
+
while :; do
|
288
|
+
case $as_dir in #(
|
289
|
+
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
290
|
+
*) as_qdir=$as_dir;;
|
291
|
+
esac
|
292
|
+
as_dirs="'$as_qdir' $as_dirs"
|
293
|
+
as_dir=`$as_dirname -- "$as_dir" ||
|
294
|
+
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
295
|
+
X"$as_dir" : 'X\(//\)[^/]' \| \
|
296
|
+
X"$as_dir" : 'X\(//\)$' \| \
|
297
|
+
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
298
|
+
$as_echo X"$as_dir" |
|
299
|
+
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
300
|
+
s//\1/
|
301
|
+
q
|
302
|
+
}
|
303
|
+
/^X\(\/\/\)[^/].*/{
|
304
|
+
s//\1/
|
305
|
+
q
|
306
|
+
}
|
307
|
+
/^X\(\/\/\)$/{
|
308
|
+
s//\1/
|
309
|
+
q
|
310
|
+
}
|
311
|
+
/^X\(\/\).*/{
|
312
|
+
s//\1/
|
313
|
+
q
|
314
|
+
}
|
315
|
+
s/.*/./; q'`
|
316
|
+
test -d "$as_dir" && break
|
317
|
+
done
|
318
|
+
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
319
|
+
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
320
|
+
|
321
|
+
|
322
|
+
} # as_fn_mkdir_p
|
323
|
+
# as_fn_append VAR VALUE
|
324
|
+
# ----------------------
|
325
|
+
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
326
|
+
# advantage of any shell optimizations that allow amortized linear growth over
|
327
|
+
# repeated appends, instead of the typical quadratic growth present in naive
|
328
|
+
# implementations.
|
329
|
+
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
330
|
+
eval 'as_fn_append ()
|
331
|
+
{
|
332
|
+
eval $1+=\$2
|
333
|
+
}'
|
308
334
|
else
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
335
|
+
as_fn_append ()
|
336
|
+
{
|
337
|
+
eval $1=\$$1\$2
|
338
|
+
}
|
339
|
+
fi # as_fn_append
|
340
|
+
|
341
|
+
# as_fn_arith ARG...
|
342
|
+
# ------------------
|
343
|
+
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
344
|
+
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
345
|
+
# must be portable across $(()) and expr.
|
346
|
+
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
347
|
+
eval 'as_fn_arith ()
|
348
|
+
{
|
349
|
+
as_val=$(( $* ))
|
350
|
+
}'
|
320
351
|
else
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
(
|
328
|
-
as_lineno_1=$LINENO
|
329
|
-
as_lineno_2=$LINENO
|
330
|
-
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
331
|
-
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
332
|
-
|
333
|
-
_ASEOF
|
334
|
-
}; then
|
335
|
-
break
|
336
|
-
fi
|
337
|
-
|
338
|
-
fi
|
339
|
-
|
340
|
-
done
|
341
|
-
|
342
|
-
if test "x$CONFIG_SHELL" != x; then
|
343
|
-
for as_var in BASH_ENV ENV
|
344
|
-
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
345
|
-
done
|
346
|
-
export CONFIG_SHELL
|
347
|
-
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
348
|
-
fi
|
349
|
-
|
350
|
-
|
351
|
-
if test $as_have_required = no; then
|
352
|
-
echo This script requires a shell more modern than all the
|
353
|
-
echo shells that I found on your system. Please install a
|
354
|
-
echo modern shell, or manually run the script under such a
|
355
|
-
echo shell if you do have one.
|
356
|
-
{ (exit 1); exit 1; }
|
357
|
-
fi
|
358
|
-
|
359
|
-
|
360
|
-
fi
|
361
|
-
|
362
|
-
fi
|
363
|
-
|
352
|
+
as_fn_arith ()
|
353
|
+
{
|
354
|
+
as_val=`expr "$@" || test $? -eq 1`
|
355
|
+
}
|
356
|
+
fi # as_fn_arith
|
364
357
|
|
365
358
|
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
}
|
359
|
+
# as_fn_error ERROR [LINENO LOG_FD]
|
360
|
+
# ---------------------------------
|
361
|
+
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
362
|
+
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
363
|
+
# script with status $?, using 1 if that was 0.
|
364
|
+
as_fn_error ()
|
365
|
+
{
|
366
|
+
as_status=$?; test $as_status -eq 0 && as_status=1
|
367
|
+
if test "$3"; then
|
368
|
+
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
369
|
+
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
370
|
+
fi
|
371
|
+
$as_echo "$as_me: error: $1" >&2
|
372
|
+
as_fn_exit $as_status
|
373
|
+
} # as_fn_error
|
381
374
|
|
382
|
-
|
383
|
-
|
384
|
-
|
375
|
+
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
376
|
+
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
377
|
+
as_expr=expr
|
385
378
|
else
|
386
|
-
|
387
|
-
echo as_func_success failed.
|
388
|
-
fi
|
389
|
-
|
390
|
-
if as_func_failure; then
|
391
|
-
exitcode=1
|
392
|
-
echo as_func_failure succeeded.
|
379
|
+
as_expr=false
|
393
380
|
fi
|
394
381
|
|
395
|
-
if
|
396
|
-
|
382
|
+
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
383
|
+
as_basename=basename
|
397
384
|
else
|
398
|
-
|
399
|
-
echo as_func_ret_success failed.
|
400
|
-
fi
|
401
|
-
|
402
|
-
if as_func_ret_failure; then
|
403
|
-
exitcode=1
|
404
|
-
echo as_func_ret_failure succeeded.
|
385
|
+
as_basename=false
|
405
386
|
fi
|
406
387
|
|
407
|
-
if (
|
408
|
-
|
388
|
+
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
389
|
+
as_dirname=dirname
|
409
390
|
else
|
410
|
-
|
411
|
-
echo positional parameters were not saved.
|
391
|
+
as_dirname=false
|
412
392
|
fi
|
413
393
|
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
394
|
+
as_me=`$as_basename -- "$0" ||
|
395
|
+
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
396
|
+
X"$0" : 'X\(//\)$' \| \
|
397
|
+
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
398
|
+
$as_echo X/"$0" |
|
399
|
+
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
400
|
+
s//\1/
|
401
|
+
q
|
402
|
+
}
|
403
|
+
/^X\/\(\/\/\)$/{
|
404
|
+
s//\1/
|
405
|
+
q
|
406
|
+
}
|
407
|
+
/^X\/\(\/\).*/{
|
408
|
+
s//\1/
|
409
|
+
q
|
410
|
+
}
|
411
|
+
s/.*/./; q'`
|
421
412
|
|
413
|
+
# Avoid depending upon Character Ranges.
|
414
|
+
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
415
|
+
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
416
|
+
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
417
|
+
as_cr_digits='0123456789'
|
418
|
+
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
422
419
|
|
423
|
-
as_lineno_1=$LINENO
|
424
|
-
as_lineno_2=$LINENO
|
425
|
-
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
426
|
-
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
427
420
|
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
#
|
433
|
-
# trailing '-' during substitution so that $LINENO is not a special
|
434
|
-
# case at line end.
|
435
|
-
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
436
|
-
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
437
|
-
# E. McMahon (1931-1989) for sed's syntax. :-)
|
421
|
+
as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
422
|
+
as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
423
|
+
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
424
|
+
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
425
|
+
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
438
426
|
sed -n '
|
439
427
|
p
|
440
428
|
/[$]LINENO/=
|
@@ -451,8 +439,7 @@ test \$exitcode = 0") || {
|
|
451
439
|
s/-\n.*//
|
452
440
|
' >$as_me.lineno &&
|
453
441
|
chmod +x "$as_me.lineno" ||
|
454
|
-
{
|
455
|
-
{ (exit 1); exit 1; }; }
|
442
|
+
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
456
443
|
|
457
444
|
# Don't try to exec as it changes $[0], causing all sort of problems
|
458
445
|
# (the dirname of $[0] is not the place where we might find the
|
@@ -462,49 +449,40 @@ test \$exitcode = 0") || {
|
|
462
449
|
exit
|
463
450
|
}
|
464
451
|
|
465
|
-
|
466
|
-
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
467
|
-
as_dirname=dirname
|
468
|
-
else
|
469
|
-
as_dirname=false
|
470
|
-
fi
|
471
|
-
|
472
452
|
ECHO_C= ECHO_N= ECHO_T=
|
473
|
-
case `echo -n x` in
|
453
|
+
case `echo -n x` in #(((((
|
474
454
|
-n*)
|
475
|
-
case `echo '
|
455
|
+
case `echo 'xy\c'` in
|
476
456
|
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
477
|
-
|
457
|
+
xy) ECHO_C='\c';;
|
458
|
+
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
459
|
+
ECHO_T=' ';;
|
478
460
|
esac;;
|
479
461
|
*)
|
480
462
|
ECHO_N='-n';;
|
481
463
|
esac
|
482
464
|
|
483
|
-
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
484
|
-
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
485
|
-
as_expr=expr
|
486
|
-
else
|
487
|
-
as_expr=false
|
488
|
-
fi
|
489
|
-
|
490
465
|
rm -f conf$$ conf$$.exe conf$$.file
|
491
466
|
if test -d conf$$.dir; then
|
492
467
|
rm -f conf$$.dir/conf$$.file
|
493
468
|
else
|
494
469
|
rm -f conf$$.dir
|
495
|
-
mkdir conf$$.dir
|
496
|
-
fi
|
497
|
-
echo >conf$$.file
|
498
|
-
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
470
|
+
mkdir conf$$.dir 2>/dev/null
|
471
|
+
fi
|
472
|
+
if (echo >conf$$.file) 2>/dev/null; then
|
473
|
+
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
474
|
+
as_ln_s='ln -s'
|
475
|
+
# ... but there are two gotchas:
|
476
|
+
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
477
|
+
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
478
|
+
# In both cases, we have to default to `cp -p'.
|
479
|
+
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
480
|
+
as_ln_s='cp -p'
|
481
|
+
elif ln conf$$.file conf$$ 2>/dev/null; then
|
482
|
+
as_ln_s=ln
|
483
|
+
else
|
505
484
|
as_ln_s='cp -p'
|
506
|
-
|
507
|
-
as_ln_s=ln
|
485
|
+
fi
|
508
486
|
else
|
509
487
|
as_ln_s='cp -p'
|
510
488
|
fi
|
@@ -512,7 +490,7 @@ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|
512
490
|
rmdir conf$$.dir 2>/dev/null
|
513
491
|
|
514
492
|
if mkdir -p . 2>/dev/null; then
|
515
|
-
as_mkdir_p
|
493
|
+
as_mkdir_p='mkdir -p "$as_dir"'
|
516
494
|
else
|
517
495
|
test -d ./-p && rmdir ./-p
|
518
496
|
as_mkdir_p=false
|
@@ -529,12 +507,12 @@ else
|
|
529
507
|
as_test_x='
|
530
508
|
eval sh -c '\''
|
531
509
|
if test -d "$1"; then
|
532
|
-
|
510
|
+
test -d "$1/.";
|
533
511
|
else
|
534
|
-
case $1 in
|
535
|
-
|
512
|
+
case $1 in #(
|
513
|
+
-*)set "./$1";;
|
536
514
|
esac;
|
537
|
-
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
515
|
+
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
538
516
|
???[sx]*):;;*)false;;esac;fi
|
539
517
|
'\'' sh
|
540
518
|
'
|
@@ -548,8 +526,8 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
548
526
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
549
527
|
|
550
528
|
|
551
|
-
|
552
|
-
exec
|
529
|
+
test -n "$DJDIR" || exec 7<&0 </dev/null
|
530
|
+
exec 6>&1
|
553
531
|
|
554
532
|
# Name of the host.
|
555
533
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
@@ -567,60 +545,64 @@ cross_compiling=no
|
|
567
545
|
subdirs=
|
568
546
|
MFLAGS=
|
569
547
|
MAKEFLAGS=
|
570
|
-
SHELL=${CONFIG_SHELL-/bin/sh}
|
571
548
|
|
572
549
|
# Identity of this package.
|
573
550
|
PACKAGE_NAME='asciidoc'
|
574
551
|
PACKAGE_TARNAME='asciidoc'
|
575
|
-
PACKAGE_VERSION='8.
|
576
|
-
PACKAGE_STRING='asciidoc 8.
|
552
|
+
PACKAGE_VERSION='8.6.5'
|
553
|
+
PACKAGE_STRING='asciidoc 8.6.5'
|
577
554
|
PACKAGE_BUGREPORT=''
|
555
|
+
PACKAGE_URL=''
|
578
556
|
|
579
|
-
ac_subst_vars='
|
580
|
-
PATH_SEPARATOR
|
581
|
-
PACKAGE_NAME
|
582
|
-
PACKAGE_TARNAME
|
583
|
-
PACKAGE_VERSION
|
584
|
-
PACKAGE_STRING
|
585
|
-
PACKAGE_BUGREPORT
|
586
|
-
exec_prefix
|
587
|
-
prefix
|
588
|
-
program_transform_name
|
589
|
-
bindir
|
590
|
-
sbindir
|
591
|
-
libexecdir
|
592
|
-
datarootdir
|
593
|
-
datadir
|
594
|
-
sysconfdir
|
595
|
-
sharedstatedir
|
596
|
-
localstatedir
|
597
|
-
includedir
|
598
|
-
oldincludedir
|
599
|
-
docdir
|
600
|
-
infodir
|
601
|
-
htmldir
|
602
|
-
dvidir
|
603
|
-
pdfdir
|
604
|
-
psdir
|
605
|
-
libdir
|
606
|
-
localedir
|
607
|
-
mandir
|
608
|
-
DEFS
|
609
|
-
ECHO_C
|
610
|
-
ECHO_N
|
611
|
-
ECHO_T
|
612
|
-
LIBS
|
613
|
-
build_alias
|
614
|
-
host_alias
|
615
|
-
target_alias
|
616
|
-
SED
|
617
|
-
LN_S
|
618
|
-
INSTALL_PROGRAM
|
619
|
-
INSTALL_SCRIPT
|
620
|
-
INSTALL_DATA
|
557
|
+
ac_subst_vars='LTLIBOBJS
|
621
558
|
LIBOBJS
|
622
|
-
|
559
|
+
INSTALL_DATA
|
560
|
+
INSTALL_SCRIPT
|
561
|
+
INSTALL_PROGRAM
|
562
|
+
LN_S
|
563
|
+
SED
|
564
|
+
target_alias
|
565
|
+
host_alias
|
566
|
+
build_alias
|
567
|
+
LIBS
|
568
|
+
ECHO_T
|
569
|
+
ECHO_N
|
570
|
+
ECHO_C
|
571
|
+
DEFS
|
572
|
+
mandir
|
573
|
+
localedir
|
574
|
+
libdir
|
575
|
+
psdir
|
576
|
+
pdfdir
|
577
|
+
dvidir
|
578
|
+
htmldir
|
579
|
+
infodir
|
580
|
+
docdir
|
581
|
+
oldincludedir
|
582
|
+
includedir
|
583
|
+
localstatedir
|
584
|
+
sharedstatedir
|
585
|
+
sysconfdir
|
586
|
+
datadir
|
587
|
+
datarootdir
|
588
|
+
libexecdir
|
589
|
+
sbindir
|
590
|
+
bindir
|
591
|
+
program_transform_name
|
592
|
+
prefix
|
593
|
+
exec_prefix
|
594
|
+
PACKAGE_URL
|
595
|
+
PACKAGE_BUGREPORT
|
596
|
+
PACKAGE_STRING
|
597
|
+
PACKAGE_VERSION
|
598
|
+
PACKAGE_TARNAME
|
599
|
+
PACKAGE_NAME
|
600
|
+
PATH_SEPARATOR
|
601
|
+
SHELL'
|
623
602
|
ac_subst_files=''
|
603
|
+
ac_user_opts='
|
604
|
+
enable_option_checking
|
605
|
+
'
|
624
606
|
ac_precious_vars='build_alias
|
625
607
|
host_alias
|
626
608
|
target_alias'
|
@@ -629,6 +611,8 @@ target_alias'
|
|
629
611
|
# Initialize some variables set by options.
|
630
612
|
ac_init_help=
|
631
613
|
ac_init_version=false
|
614
|
+
ac_unrecognized_opts=
|
615
|
+
ac_unrecognized_sep=
|
632
616
|
# The variables have the same names as the options, with
|
633
617
|
# dashes changed to underlines.
|
634
618
|
cache_file=/dev/null
|
@@ -727,13 +711,20 @@ do
|
|
727
711
|
datarootdir=$ac_optarg ;;
|
728
712
|
|
729
713
|
-disable-* | --disable-*)
|
730
|
-
|
714
|
+
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
731
715
|
# Reject names that are not valid shell variable names.
|
732
|
-
expr "x$
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
716
|
+
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
717
|
+
as_fn_error "invalid feature name: $ac_useropt"
|
718
|
+
ac_useropt_orig=$ac_useropt
|
719
|
+
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
720
|
+
case $ac_user_opts in
|
721
|
+
*"
|
722
|
+
"enable_$ac_useropt"
|
723
|
+
"*) ;;
|
724
|
+
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
725
|
+
ac_unrecognized_sep=', ';;
|
726
|
+
esac
|
727
|
+
eval enable_$ac_useropt=no ;;
|
737
728
|
|
738
729
|
-docdir | --docdir | --docdi | --doc | --do)
|
739
730
|
ac_prev=docdir ;;
|
@@ -746,13 +737,20 @@ do
|
|
746
737
|
dvidir=$ac_optarg ;;
|
747
738
|
|
748
739
|
-enable-* | --enable-*)
|
749
|
-
|
740
|
+
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
750
741
|
# Reject names that are not valid shell variable names.
|
751
|
-
expr "x$
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
742
|
+
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
743
|
+
as_fn_error "invalid feature name: $ac_useropt"
|
744
|
+
ac_useropt_orig=$ac_useropt
|
745
|
+
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
746
|
+
case $ac_user_opts in
|
747
|
+
*"
|
748
|
+
"enable_$ac_useropt"
|
749
|
+
"*) ;;
|
750
|
+
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
751
|
+
ac_unrecognized_sep=', ';;
|
752
|
+
esac
|
753
|
+
eval enable_$ac_useropt=\$ac_optarg ;;
|
756
754
|
|
757
755
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
758
756
|
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
@@ -943,22 +941,36 @@ do
|
|
943
941
|
ac_init_version=: ;;
|
944
942
|
|
945
943
|
-with-* | --with-*)
|
946
|
-
|
944
|
+
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
947
945
|
# Reject names that are not valid shell variable names.
|
948
|
-
expr "x$
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
946
|
+
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
947
|
+
as_fn_error "invalid package name: $ac_useropt"
|
948
|
+
ac_useropt_orig=$ac_useropt
|
949
|
+
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
950
|
+
case $ac_user_opts in
|
951
|
+
*"
|
952
|
+
"with_$ac_useropt"
|
953
|
+
"*) ;;
|
954
|
+
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
955
|
+
ac_unrecognized_sep=', ';;
|
956
|
+
esac
|
957
|
+
eval with_$ac_useropt=\$ac_optarg ;;
|
953
958
|
|
954
959
|
-without-* | --without-*)
|
955
|
-
|
960
|
+
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
956
961
|
# Reject names that are not valid shell variable names.
|
957
|
-
expr "x$
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
+
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
963
|
+
as_fn_error "invalid package name: $ac_useropt"
|
964
|
+
ac_useropt_orig=$ac_useropt
|
965
|
+
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
966
|
+
case $ac_user_opts in
|
967
|
+
*"
|
968
|
+
"with_$ac_useropt"
|
969
|
+
"*) ;;
|
970
|
+
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
971
|
+
ac_unrecognized_sep=', ';;
|
972
|
+
esac
|
973
|
+
eval with_$ac_useropt=no ;;
|
962
974
|
|
963
975
|
--x)
|
964
976
|
# Obsolete; use --with-x.
|
@@ -978,25 +990,25 @@ do
|
|
978
990
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
979
991
|
x_libraries=$ac_optarg ;;
|
980
992
|
|
981
|
-
-*)
|
982
|
-
Try \`$0 --help' for more information."
|
983
|
-
{ (exit 1); exit 1; }; }
|
993
|
+
-*) as_fn_error "unrecognized option: \`$ac_option'
|
994
|
+
Try \`$0 --help' for more information."
|
984
995
|
;;
|
985
996
|
|
986
997
|
*=*)
|
987
998
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
988
999
|
# Reject names that are not valid shell variable names.
|
989
|
-
|
990
|
-
|
991
|
-
|
1000
|
+
case $ac_envvar in #(
|
1001
|
+
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
1002
|
+
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
|
1003
|
+
esac
|
992
1004
|
eval $ac_envvar=\$ac_optarg
|
993
1005
|
export $ac_envvar ;;
|
994
1006
|
|
995
1007
|
*)
|
996
1008
|
# FIXME: should be removed in autoconf 3.0.
|
997
|
-
|
1009
|
+
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
998
1010
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
999
|
-
|
1011
|
+
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
1000
1012
|
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
1001
1013
|
;;
|
1002
1014
|
|
@@ -1005,23 +1017,36 @@ done
|
|
1005
1017
|
|
1006
1018
|
if test -n "$ac_prev"; then
|
1007
1019
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1008
|
-
|
1009
|
-
{ (exit 1); exit 1; }; }
|
1020
|
+
as_fn_error "missing argument to $ac_option"
|
1010
1021
|
fi
|
1011
1022
|
|
1012
|
-
|
1023
|
+
if test -n "$ac_unrecognized_opts"; then
|
1024
|
+
case $enable_option_checking in
|
1025
|
+
no) ;;
|
1026
|
+
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
|
1027
|
+
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
1028
|
+
esac
|
1029
|
+
fi
|
1030
|
+
|
1031
|
+
# Check all directory arguments for consistency.
|
1013
1032
|
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
1014
1033
|
datadir sysconfdir sharedstatedir localstatedir includedir \
|
1015
1034
|
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
1016
1035
|
libdir localedir mandir
|
1017
1036
|
do
|
1018
1037
|
eval ac_val=\$$ac_var
|
1038
|
+
# Remove trailing slashes.
|
1039
|
+
case $ac_val in
|
1040
|
+
*/ )
|
1041
|
+
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
1042
|
+
eval $ac_var=\$ac_val;;
|
1043
|
+
esac
|
1044
|
+
# Be sure to have absolute directory names.
|
1019
1045
|
case $ac_val in
|
1020
1046
|
[\\/$]* | ?:[\\/]* ) continue;;
|
1021
1047
|
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1022
1048
|
esac
|
1023
|
-
|
1024
|
-
{ (exit 1); exit 1; }; }
|
1049
|
+
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
|
1025
1050
|
done
|
1026
1051
|
|
1027
1052
|
# There might be people who depend on the old broken behavior: `$host'
|
@@ -1035,7 +1060,7 @@ target=$target_alias
|
|
1035
1060
|
if test "x$host_alias" != x; then
|
1036
1061
|
if test "x$build_alias" = x; then
|
1037
1062
|
cross_compiling=maybe
|
1038
|
-
|
1063
|
+
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
1039
1064
|
If a cross compiler is detected then cross compile mode will be used." >&2
|
1040
1065
|
elif test "x$build_alias" != "x$host_alias"; then
|
1041
1066
|
cross_compiling=yes
|
@@ -1051,23 +1076,21 @@ test "$silent" = yes && exec 6>/dev/null
|
|
1051
1076
|
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1052
1077
|
ac_ls_di=`ls -di .` &&
|
1053
1078
|
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1054
|
-
|
1055
|
-
{ (exit 1); exit 1; }; }
|
1079
|
+
as_fn_error "working directory cannot be determined"
|
1056
1080
|
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1057
|
-
|
1058
|
-
{ (exit 1); exit 1; }; }
|
1081
|
+
as_fn_error "pwd does not report name of working directory"
|
1059
1082
|
|
1060
1083
|
|
1061
1084
|
# Find the source files, if location was not specified.
|
1062
1085
|
if test -z "$srcdir"; then
|
1063
1086
|
ac_srcdir_defaulted=yes
|
1064
1087
|
# Try the directory containing this script, then the parent directory.
|
1065
|
-
ac_confdir=`$as_dirname -- "$
|
1066
|
-
$as_expr X"$
|
1067
|
-
X"$
|
1068
|
-
X"$
|
1069
|
-
X"$
|
1070
|
-
|
1088
|
+
ac_confdir=`$as_dirname -- "$as_myself" ||
|
1089
|
+
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1090
|
+
X"$as_myself" : 'X\(//\)[^/]' \| \
|
1091
|
+
X"$as_myself" : 'X\(//\)$' \| \
|
1092
|
+
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
1093
|
+
$as_echo X"$as_myself" |
|
1071
1094
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1072
1095
|
s//\1/
|
1073
1096
|
q
|
@@ -1094,13 +1117,11 @@ else
|
|
1094
1117
|
fi
|
1095
1118
|
if test ! -r "$srcdir/$ac_unique_file"; then
|
1096
1119
|
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1097
|
-
|
1098
|
-
{ (exit 1); exit 1; }; }
|
1120
|
+
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
|
1099
1121
|
fi
|
1100
1122
|
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1101
1123
|
ac_abs_confdir=`(
|
1102
|
-
cd "$srcdir" && test -r "./$ac_unique_file" ||
|
1103
|
-
{ (exit 1); exit 1; }; }
|
1124
|
+
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
|
1104
1125
|
pwd)`
|
1105
1126
|
# When building in place, set srcdir=.
|
1106
1127
|
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
@@ -1126,7 +1147,7 @@ if test "$ac_init_help" = "long"; then
|
|
1126
1147
|
# Omit some internal or obsolete options to make the list less imposing.
|
1127
1148
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
1128
1149
|
cat <<_ACEOF
|
1129
|
-
\`configure' configures asciidoc 8.
|
1150
|
+
\`configure' configures asciidoc 8.6.5 to adapt to many kinds of systems.
|
1130
1151
|
|
1131
1152
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1132
1153
|
|
@@ -1148,9 +1169,9 @@ Configuration:
|
|
1148
1169
|
|
1149
1170
|
Installation directories:
|
1150
1171
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
1151
|
-
|
1172
|
+
[$ac_default_prefix]
|
1152
1173
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
1153
|
-
|
1174
|
+
[PREFIX]
|
1154
1175
|
|
1155
1176
|
By default, \`make install' will install all the files in
|
1156
1177
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
@@ -1160,25 +1181,25 @@ for instance \`--prefix=\$HOME'.
|
|
1160
1181
|
For better control, use the options below.
|
1161
1182
|
|
1162
1183
|
Fine tuning of the installation directories:
|
1163
|
-
--bindir=DIR
|
1164
|
-
--sbindir=DIR
|
1165
|
-
--libexecdir=DIR
|
1166
|
-
--sysconfdir=DIR
|
1167
|
-
--sharedstatedir=DIR
|
1168
|
-
--localstatedir=DIR
|
1169
|
-
--libdir=DIR
|
1170
|
-
--includedir=DIR
|
1171
|
-
--oldincludedir=DIR
|
1172
|
-
--datarootdir=DIR
|
1173
|
-
--datadir=DIR
|
1174
|
-
--infodir=DIR
|
1175
|
-
--localedir=DIR
|
1176
|
-
--mandir=DIR
|
1177
|
-
--docdir=DIR
|
1178
|
-
--htmldir=DIR
|
1179
|
-
--dvidir=DIR
|
1180
|
-
--pdfdir=DIR
|
1181
|
-
--psdir=DIR
|
1184
|
+
--bindir=DIR user executables [EPREFIX/bin]
|
1185
|
+
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
1186
|
+
--libexecdir=DIR program executables [EPREFIX/libexec]
|
1187
|
+
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
1188
|
+
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
1189
|
+
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
1190
|
+
--libdir=DIR object code libraries [EPREFIX/lib]
|
1191
|
+
--includedir=DIR C header files [PREFIX/include]
|
1192
|
+
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
1193
|
+
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
1194
|
+
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
1195
|
+
--infodir=DIR info documentation [DATAROOTDIR/info]
|
1196
|
+
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
1197
|
+
--mandir=DIR man documentation [DATAROOTDIR/man]
|
1198
|
+
--docdir=DIR documentation root [DATAROOTDIR/doc/asciidoc]
|
1199
|
+
--htmldir=DIR html documentation [DOCDIR]
|
1200
|
+
--dvidir=DIR dvi documentation [DOCDIR]
|
1201
|
+
--pdfdir=DIR pdf documentation [DOCDIR]
|
1202
|
+
--psdir=DIR ps documentation [DOCDIR]
|
1182
1203
|
_ACEOF
|
1183
1204
|
|
1184
1205
|
cat <<\_ACEOF
|
@@ -1187,10 +1208,11 @@ fi
|
|
1187
1208
|
|
1188
1209
|
if test -n "$ac_init_help"; then
|
1189
1210
|
case $ac_init_help in
|
1190
|
-
short | recursive ) echo "Configuration of asciidoc 8.
|
1211
|
+
short | recursive ) echo "Configuration of asciidoc 8.6.5:";;
|
1191
1212
|
esac
|
1192
1213
|
cat <<\_ACEOF
|
1193
1214
|
|
1215
|
+
Report bugs to the package provider.
|
1194
1216
|
_ACEOF
|
1195
1217
|
ac_status=$?
|
1196
1218
|
fi
|
@@ -1198,15 +1220,17 @@ fi
|
|
1198
1220
|
if test "$ac_init_help" = "recursive"; then
|
1199
1221
|
# If there are subdirs, report their specific --help.
|
1200
1222
|
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
1201
|
-
test -d "$ac_dir" ||
|
1223
|
+
test -d "$ac_dir" ||
|
1224
|
+
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
1225
|
+
continue
|
1202
1226
|
ac_builddir=.
|
1203
1227
|
|
1204
1228
|
case "$ac_dir" in
|
1205
1229
|
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1206
1230
|
*)
|
1207
|
-
ac_dir_suffix
|
1231
|
+
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
1208
1232
|
# A ".." for each directory in $ac_dir_suffix.
|
1209
|
-
ac_top_builddir_sub
|
1233
|
+
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
1210
1234
|
case $ac_top_builddir_sub in
|
1211
1235
|
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1212
1236
|
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
@@ -1242,7 +1266,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
1242
1266
|
echo &&
|
1243
1267
|
$SHELL "$ac_srcdir/configure" --help=recursive
|
1244
1268
|
else
|
1245
|
-
|
1269
|
+
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
1246
1270
|
fi || ac_status=$?
|
1247
1271
|
cd "$ac_pwd" || { ac_status=$?; break; }
|
1248
1272
|
done
|
@@ -1251,22 +1275,25 @@ fi
|
|
1251
1275
|
test -n "$ac_init_help" && exit $ac_status
|
1252
1276
|
if $ac_init_version; then
|
1253
1277
|
cat <<\_ACEOF
|
1254
|
-
asciidoc configure 8.
|
1255
|
-
generated by GNU Autoconf 2.
|
1278
|
+
asciidoc configure 8.6.5
|
1279
|
+
generated by GNU Autoconf 2.65
|
1256
1280
|
|
1257
|
-
Copyright (C)
|
1258
|
-
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
1281
|
+
Copyright (C) 2009 Free Software Foundation, Inc.
|
1259
1282
|
This configure script is free software; the Free Software Foundation
|
1260
1283
|
gives unlimited permission to copy, distribute and modify it.
|
1261
1284
|
_ACEOF
|
1262
1285
|
exit
|
1263
1286
|
fi
|
1287
|
+
|
1288
|
+
## ------------------------ ##
|
1289
|
+
## Autoconf initialization. ##
|
1290
|
+
## ------------------------ ##
|
1264
1291
|
cat >config.log <<_ACEOF
|
1265
1292
|
This file contains any messages produced by compilers while
|
1266
1293
|
running configure, to aid debugging if configure makes a mistake.
|
1267
1294
|
|
1268
|
-
It was created by asciidoc $as_me 8.
|
1269
|
-
generated by GNU Autoconf 2.
|
1295
|
+
It was created by asciidoc $as_me 8.6.5, which was
|
1296
|
+
generated by GNU Autoconf 2.65. Invocation command line was
|
1270
1297
|
|
1271
1298
|
$ $0 $@
|
1272
1299
|
|
@@ -1302,8 +1329,8 @@ for as_dir in $PATH
|
|
1302
1329
|
do
|
1303
1330
|
IFS=$as_save_IFS
|
1304
1331
|
test -z "$as_dir" && as_dir=.
|
1305
|
-
|
1306
|
-
done
|
1332
|
+
$as_echo "PATH: $as_dir"
|
1333
|
+
done
|
1307
1334
|
IFS=$as_save_IFS
|
1308
1335
|
|
1309
1336
|
} >&5
|
@@ -1337,12 +1364,12 @@ do
|
|
1337
1364
|
| -silent | --silent | --silen | --sile | --sil)
|
1338
1365
|
continue ;;
|
1339
1366
|
*\'*)
|
1340
|
-
ac_arg
|
1367
|
+
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1341
1368
|
esac
|
1342
1369
|
case $ac_pass in
|
1343
|
-
1) ac_configure_args0
|
1370
|
+
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
1344
1371
|
2)
|
1345
|
-
ac_configure_args1
|
1372
|
+
as_fn_append ac_configure_args1 " '$ac_arg'"
|
1346
1373
|
if test $ac_must_keep_next = true; then
|
1347
1374
|
ac_must_keep_next=false # Got value, back to normal.
|
1348
1375
|
else
|
@@ -1358,13 +1385,13 @@ do
|
|
1358
1385
|
-* ) ac_must_keep_next=true ;;
|
1359
1386
|
esac
|
1360
1387
|
fi
|
1361
|
-
ac_configure_args
|
1388
|
+
as_fn_append ac_configure_args " '$ac_arg'"
|
1362
1389
|
;;
|
1363
1390
|
esac
|
1364
1391
|
done
|
1365
1392
|
done
|
1366
|
-
|
1367
|
-
|
1393
|
+
{ ac_configure_args0=; unset ac_configure_args0;}
|
1394
|
+
{ ac_configure_args1=; unset ac_configure_args1;}
|
1368
1395
|
|
1369
1396
|
# When interrupted or exit'd, cleanup temporary files, and complete
|
1370
1397
|
# config.log. We remove comments because anyway the quotes in there
|
@@ -1389,12 +1416,13 @@ _ASBOX
|
|
1389
1416
|
case $ac_val in #(
|
1390
1417
|
*${as_nl}*)
|
1391
1418
|
case $ac_var in #(
|
1392
|
-
*_cv_*) {
|
1393
|
-
|
1419
|
+
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
1420
|
+
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
1394
1421
|
esac
|
1395
1422
|
case $ac_var in #(
|
1396
1423
|
_ | IFS | as_nl) ;; #(
|
1397
|
-
|
1424
|
+
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
1425
|
+
*) { eval $ac_var=; unset $ac_var;} ;;
|
1398
1426
|
esac ;;
|
1399
1427
|
esac
|
1400
1428
|
done
|
@@ -1423,9 +1451,9 @@ _ASBOX
|
|
1423
1451
|
do
|
1424
1452
|
eval ac_val=\$$ac_var
|
1425
1453
|
case $ac_val in
|
1426
|
-
*\'\''*) ac_val
|
1454
|
+
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
1427
1455
|
esac
|
1428
|
-
|
1456
|
+
$as_echo "$ac_var='\''$ac_val'\''"
|
1429
1457
|
done | sort
|
1430
1458
|
echo
|
1431
1459
|
|
@@ -1440,9 +1468,9 @@ _ASBOX
|
|
1440
1468
|
do
|
1441
1469
|
eval ac_val=\$$ac_var
|
1442
1470
|
case $ac_val in
|
1443
|
-
*\'\''*) ac_val
|
1471
|
+
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
1444
1472
|
esac
|
1445
|
-
|
1473
|
+
$as_echo "$ac_var='\''$ac_val'\''"
|
1446
1474
|
done | sort
|
1447
1475
|
echo
|
1448
1476
|
fi
|
@@ -1458,83 +1486,88 @@ _ASBOX
|
|
1458
1486
|
echo
|
1459
1487
|
fi
|
1460
1488
|
test "$ac_signal" != 0 &&
|
1461
|
-
|
1462
|
-
|
1489
|
+
$as_echo "$as_me: caught signal $ac_signal"
|
1490
|
+
$as_echo "$as_me: exit $exit_status"
|
1463
1491
|
} >&5
|
1464
1492
|
rm -f core *.core core.conftest.* &&
|
1465
1493
|
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
1466
1494
|
exit $exit_status
|
1467
1495
|
' 0
|
1468
1496
|
for ac_signal in 1 2 13 15; do
|
1469
|
-
trap 'ac_signal='$ac_signal';
|
1497
|
+
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
1470
1498
|
done
|
1471
1499
|
ac_signal=0
|
1472
1500
|
|
1473
1501
|
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1474
1502
|
rm -f -r conftest* confdefs.h
|
1475
1503
|
|
1504
|
+
$as_echo "/* confdefs.h */" > confdefs.h
|
1505
|
+
|
1476
1506
|
# Predefined preprocessor variables.
|
1477
1507
|
|
1478
1508
|
cat >>confdefs.h <<_ACEOF
|
1479
1509
|
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1480
1510
|
_ACEOF
|
1481
1511
|
|
1482
|
-
|
1483
1512
|
cat >>confdefs.h <<_ACEOF
|
1484
1513
|
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1485
1514
|
_ACEOF
|
1486
1515
|
|
1487
|
-
|
1488
1516
|
cat >>confdefs.h <<_ACEOF
|
1489
1517
|
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1490
1518
|
_ACEOF
|
1491
1519
|
|
1492
|
-
|
1493
1520
|
cat >>confdefs.h <<_ACEOF
|
1494
1521
|
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1495
1522
|
_ACEOF
|
1496
1523
|
|
1497
|
-
|
1498
1524
|
cat >>confdefs.h <<_ACEOF
|
1499
1525
|
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
1500
1526
|
_ACEOF
|
1501
1527
|
|
1528
|
+
cat >>confdefs.h <<_ACEOF
|
1529
|
+
#define PACKAGE_URL "$PACKAGE_URL"
|
1530
|
+
_ACEOF
|
1531
|
+
|
1502
1532
|
|
1503
1533
|
# Let the site file select an alternate cache file if it wants to.
|
1504
|
-
# Prefer explicitly selected file to automatically selected ones.
|
1534
|
+
# Prefer an explicitly selected file to automatically selected ones.
|
1535
|
+
ac_site_file1=NONE
|
1536
|
+
ac_site_file2=NONE
|
1505
1537
|
if test -n "$CONFIG_SITE"; then
|
1506
|
-
|
1538
|
+
ac_site_file1=$CONFIG_SITE
|
1507
1539
|
elif test "x$prefix" != xNONE; then
|
1508
|
-
|
1540
|
+
ac_site_file1=$prefix/share/config.site
|
1541
|
+
ac_site_file2=$prefix/etc/config.site
|
1509
1542
|
else
|
1510
|
-
|
1511
|
-
|
1543
|
+
ac_site_file1=$ac_default_prefix/share/config.site
|
1544
|
+
ac_site_file2=$ac_default_prefix/etc/config.site
|
1512
1545
|
fi
|
1513
|
-
|
1514
|
-
for ac_site_file
|
1546
|
+
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
1515
1547
|
do
|
1516
|
-
|
1517
|
-
|
1518
|
-
|
1548
|
+
test "x$ac_site_file" = xNONE && continue
|
1549
|
+
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
1550
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
1551
|
+
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
1519
1552
|
sed 's/^/| /' "$ac_site_file" >&5
|
1520
1553
|
. "$ac_site_file"
|
1521
1554
|
fi
|
1522
1555
|
done
|
1523
1556
|
|
1524
1557
|
if test -r "$cache_file"; then
|
1525
|
-
# Some versions of bash will fail to source /dev/null (special
|
1526
|
-
#
|
1527
|
-
if test -f "$cache_file"; then
|
1528
|
-
{
|
1529
|
-
|
1558
|
+
# Some versions of bash will fail to source /dev/null (special files
|
1559
|
+
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
1560
|
+
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
1561
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
1562
|
+
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
1530
1563
|
case $cache_file in
|
1531
1564
|
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
1532
1565
|
*) . "./$cache_file";;
|
1533
1566
|
esac
|
1534
1567
|
fi
|
1535
1568
|
else
|
1536
|
-
{
|
1537
|
-
|
1569
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
1570
|
+
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
1538
1571
|
>$cache_file
|
1539
1572
|
fi
|
1540
1573
|
|
@@ -1548,68 +1581,56 @@ for ac_var in $ac_precious_vars; do
|
|
1548
1581
|
eval ac_new_val=\$ac_env_${ac_var}_value
|
1549
1582
|
case $ac_old_set,$ac_new_set in
|
1550
1583
|
set,)
|
1551
|
-
{
|
1552
|
-
|
1584
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1585
|
+
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1553
1586
|
ac_cache_corrupted=: ;;
|
1554
1587
|
,set)
|
1555
|
-
{
|
1556
|
-
|
1588
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
1589
|
+
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1557
1590
|
ac_cache_corrupted=: ;;
|
1558
1591
|
,);;
|
1559
1592
|
*)
|
1560
1593
|
if test "x$ac_old_val" != "x$ac_new_val"; then
|
1561
|
-
|
1562
|
-
echo
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
|
1567
|
-
|
1594
|
+
# differences in whitespace do not lead to failure.
|
1595
|
+
ac_old_val_w=`echo x $ac_old_val`
|
1596
|
+
ac_new_val_w=`echo x $ac_new_val`
|
1597
|
+
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
1598
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
1599
|
+
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1600
|
+
ac_cache_corrupted=:
|
1601
|
+
else
|
1602
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
1603
|
+
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
1604
|
+
eval $ac_var=\$ac_old_val
|
1605
|
+
fi
|
1606
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
1607
|
+
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
1608
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
1609
|
+
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
1568
1610
|
fi;;
|
1569
|
-
esac
|
1570
|
-
# Pass precious variables to config.status.
|
1571
|
-
if test "$ac_new_set" = set; then
|
1572
|
-
case $ac_new_val in
|
1573
|
-
*\'*) ac_arg=$ac_var
|
1574
|
-
*) ac_arg=$ac_var=$ac_new_val ;;
|
1575
|
-
esac
|
1576
|
-
case " $ac_configure_args " in
|
1577
|
-
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
1578
|
-
*) ac_configure_args
|
1579
|
-
esac
|
1580
|
-
fi
|
1581
|
-
done
|
1582
|
-
if $ac_cache_corrupted; then
|
1583
|
-
{
|
1584
|
-
|
1585
|
-
{
|
1586
|
-
|
1587
|
-
|
1588
|
-
fi
|
1589
|
-
|
1590
|
-
|
1591
|
-
|
1592
|
-
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
1596
|
-
|
1597
|
-
|
1598
|
-
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
1609
|
-
|
1610
|
-
|
1611
|
-
|
1612
|
-
|
1611
|
+
esac
|
1612
|
+
# Pass precious variables to config.status.
|
1613
|
+
if test "$ac_new_set" = set; then
|
1614
|
+
case $ac_new_val in
|
1615
|
+
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1616
|
+
*) ac_arg=$ac_var=$ac_new_val ;;
|
1617
|
+
esac
|
1618
|
+
case " $ac_configure_args " in
|
1619
|
+
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
1620
|
+
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
1621
|
+
esac
|
1622
|
+
fi
|
1623
|
+
done
|
1624
|
+
if $ac_cache_corrupted; then
|
1625
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
1626
|
+
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
1627
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
1628
|
+
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
1629
|
+
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
1630
|
+
fi
|
1631
|
+
## -------------------- ##
|
1632
|
+
## Main body of script. ##
|
1633
|
+
## -------------------- ##
|
1613
1634
|
|
1614
1635
|
ac_ext=c
|
1615
1636
|
ac_cpp='$CPP $CPPFLAGS'
|
@@ -1622,51 +1643,46 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
1622
1643
|
ac_config_files="$ac_config_files Makefile"
|
1623
1644
|
|
1624
1645
|
|
1625
|
-
{
|
1626
|
-
|
1627
|
-
if test "${ac_cv_path_SED+set}" = set; then
|
1628
|
-
|
1646
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
1647
|
+
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
|
1648
|
+
if test "${ac_cv_path_SED+set}" = set; then :
|
1649
|
+
$as_echo_n "(cached) " >&6
|
1629
1650
|
else
|
1630
1651
|
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
|
1631
1652
|
for ac_i in 1 2 3 4 5 6 7; do
|
1632
1653
|
ac_script="$ac_script$as_nl$ac_script"
|
1633
1654
|
done
|
1634
|
-
echo "$ac_script" | sed 99q >conftest.sed
|
1635
|
-
|
1636
|
-
|
1637
|
-
if test -z "$SED"; then
|
1638
|
-
set dummy sed gsed; ac_prog_name=$2
|
1639
|
-
if test "${ac_cv_path_SED+set}" = set; then
|
1640
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1641
|
-
else
|
1655
|
+
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
|
1656
|
+
{ ac_script=; unset ac_script;}
|
1657
|
+
if test -z "$SED"; then
|
1642
1658
|
ac_path_SED_found=false
|
1643
|
-
# Loop through the user's path and test for each of PROGNAME-LIST
|
1644
|
-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1659
|
+
# Loop through the user's path and test for each of PROGNAME-LIST
|
1660
|
+
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1645
1661
|
for as_dir in $PATH
|
1646
1662
|
do
|
1647
1663
|
IFS=$as_save_IFS
|
1648
1664
|
test -z "$as_dir" && as_dir=.
|
1649
|
-
|
1650
|
-
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1665
|
+
for ac_prog in sed gsed; do
|
1666
|
+
for ac_exec_ext in '' $ac_executable_extensions; do
|
1667
|
+
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
|
1668
|
+
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
|
1669
|
+
# Check for GNU ac_path_SED and select it if it is found.
|
1654
1670
|
# Check for GNU $ac_path_SED
|
1655
1671
|
case `"$ac_path_SED" --version 2>&1` in
|
1656
1672
|
*GNU*)
|
1657
1673
|
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
|
1658
1674
|
*)
|
1659
1675
|
ac_count=0
|
1660
|
-
|
1676
|
+
$as_echo_n 0123456789 >"conftest.in"
|
1661
1677
|
while :
|
1662
1678
|
do
|
1663
1679
|
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
1664
1680
|
mv "conftest.tmp" "conftest.in"
|
1665
1681
|
cp "conftest.in" "conftest.nl"
|
1666
|
-
|
1682
|
+
$as_echo '' >> "conftest.nl"
|
1667
1683
|
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
1668
1684
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
1669
|
-
|
1685
|
+
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
1670
1686
|
if test $ac_count -gt ${ac_path_SED_max-0}; then
|
1671
1687
|
# Best one so far, save it but keep looking for a better one
|
1672
1688
|
ac_cv_path_SED="$ac_path_SED"
|
@@ -1678,67 +1694,49 @@ case `"$ac_path_SED" --version 2>&1` in
|
|
1678
1694
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
1679
1695
|
esac
|
1680
1696
|
|
1681
|
-
|
1682
|
-
|
1697
|
+
$ac_path_SED_found && break 3
|
1698
|
+
done
|
1699
|
+
done
|
1683
1700
|
done
|
1684
|
-
done
|
1685
|
-
|
1686
|
-
done
|
1687
1701
|
IFS=$as_save_IFS
|
1688
|
-
|
1689
|
-
|
1690
|
-
fi
|
1691
|
-
|
1692
|
-
SED="$ac_cv_path_SED"
|
1693
|
-
if test -z "$SED"; then
|
1694
|
-
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
|
1695
|
-
echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
|
1696
|
-
{ (exit 1); exit 1; }; }
|
1697
|
-
fi
|
1698
|
-
|
1702
|
+
if test -z "$ac_cv_path_SED"; then
|
1703
|
+
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
|
1704
|
+
fi
|
1699
1705
|
else
|
1700
1706
|
ac_cv_path_SED=$SED
|
1701
1707
|
fi
|
1702
1708
|
|
1703
1709
|
fi
|
1704
|
-
{
|
1705
|
-
|
1710
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
|
1711
|
+
$as_echo "$ac_cv_path_SED" >&6; }
|
1706
1712
|
SED="$ac_cv_path_SED"
|
1707
1713
|
rm -f conftest.sed
|
1708
1714
|
|
1709
1715
|
|
1710
|
-
{
|
1711
|
-
|
1716
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
1717
|
+
$as_echo_n "checking whether ln -s works... " >&6; }
|
1712
1718
|
LN_S=$as_ln_s
|
1713
1719
|
if test "$LN_S" = "ln -s"; then
|
1714
|
-
{
|
1715
|
-
|
1720
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
1721
|
+
$as_echo "yes" >&6; }
|
1716
1722
|
else
|
1717
|
-
{
|
1718
|
-
|
1723
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
1724
|
+
$as_echo "no, using $LN_S" >&6; }
|
1719
1725
|
fi
|
1720
1726
|
|
1721
1727
|
|
1722
1728
|
ac_aux_dir=
|
1723
1729
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
|
1728
|
-
|
1729
|
-
|
1730
|
-
|
1731
|
-
break
|
1732
|
-
elif test -f "$ac_dir/shtool"; then
|
1733
|
-
ac_aux_dir=$ac_dir
|
1734
|
-
ac_install_sh="$ac_aux_dir/shtool install -c"
|
1735
|
-
break
|
1736
|
-
fi
|
1730
|
+
for ac_t in install-sh install.sh shtool; do
|
1731
|
+
if test -f "$ac_dir/$ac_t"; then
|
1732
|
+
ac_aux_dir=$ac_dir
|
1733
|
+
ac_install_sh="$ac_aux_dir/$ac_t -c"
|
1734
|
+
break 2
|
1735
|
+
fi
|
1736
|
+
done
|
1737
1737
|
done
|
1738
1738
|
if test -z "$ac_aux_dir"; then
|
1739
|
-
|
1740
|
-
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
1741
|
-
{ (exit 1); exit 1; }; }
|
1739
|
+
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
1742
1740
|
fi
|
1743
1741
|
|
1744
1742
|
# These three variables are undocumented and unsupported,
|
@@ -1763,22 +1761,23 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
|
1763
1761
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
1764
1762
|
# OS/2's system install, which has a completely different semantic
|
1765
1763
|
# ./install, which can be erroneously created by make from ./install.sh.
|
1766
|
-
|
1767
|
-
|
1764
|
+
# Reject install programs that cannot install multiple files.
|
1765
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
1766
|
+
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
1768
1767
|
if test -z "$INSTALL"; then
|
1769
|
-
if test "${ac_cv_path_install+set}" = set; then
|
1770
|
-
|
1768
|
+
if test "${ac_cv_path_install+set}" = set; then :
|
1769
|
+
$as_echo_n "(cached) " >&6
|
1771
1770
|
else
|
1772
1771
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1773
1772
|
for as_dir in $PATH
|
1774
1773
|
do
|
1775
1774
|
IFS=$as_save_IFS
|
1776
1775
|
test -z "$as_dir" && as_dir=.
|
1777
|
-
|
1778
|
-
case $as_dir/ in
|
1779
|
-
./ | .// | /cC/* | \
|
1776
|
+
# Account for people who put trailing slashes in PATH elements.
|
1777
|
+
case $as_dir/ in #((
|
1778
|
+
./ | .// | /[cC]/* | \
|
1780
1779
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
1781
|
-
|
1780
|
+
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
1782
1781
|
/usr/ucb/* ) ;;
|
1783
1782
|
*)
|
1784
1783
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
@@ -1796,17 +1795,29 @@ case $as_dir/ in
|
|
1796
1795
|
# program-specific install script used by HP pwplus--don't use.
|
1797
1796
|
:
|
1798
1797
|
else
|
1799
|
-
|
1800
|
-
|
1798
|
+
rm -rf conftest.one conftest.two conftest.dir
|
1799
|
+
echo one > conftest.one
|
1800
|
+
echo two > conftest.two
|
1801
|
+
mkdir conftest.dir
|
1802
|
+
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
1803
|
+
test -s conftest.one && test -s conftest.two &&
|
1804
|
+
test -s conftest.dir/conftest.one &&
|
1805
|
+
test -s conftest.dir/conftest.two
|
1806
|
+
then
|
1807
|
+
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
1808
|
+
break 3
|
1809
|
+
fi
|
1801
1810
|
fi
|
1802
1811
|
fi
|
1803
1812
|
done
|
1804
1813
|
done
|
1805
1814
|
;;
|
1806
1815
|
esac
|
1807
|
-
|
1816
|
+
|
1817
|
+
done
|
1808
1818
|
IFS=$as_save_IFS
|
1809
1819
|
|
1820
|
+
rm -rf conftest.one conftest.two conftest.dir
|
1810
1821
|
|
1811
1822
|
fi
|
1812
1823
|
if test "${ac_cv_path_install+set}" = set; then
|
@@ -1819,8 +1830,8 @@ fi
|
|
1819
1830
|
INSTALL=$ac_install_sh
|
1820
1831
|
fi
|
1821
1832
|
fi
|
1822
|
-
{
|
1823
|
-
|
1833
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
1834
|
+
$as_echo "$INSTALL" >&6; }
|
1824
1835
|
|
1825
1836
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
1826
1837
|
# It thinks the first close brace ends the variable substitution.
|
@@ -1858,12 +1869,13 @@ _ACEOF
|
|
1858
1869
|
case $ac_val in #(
|
1859
1870
|
*${as_nl}*)
|
1860
1871
|
case $ac_var in #(
|
1861
|
-
*_cv_*) {
|
1862
|
-
|
1872
|
+
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
1873
|
+
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
1863
1874
|
esac
|
1864
1875
|
case $ac_var in #(
|
1865
1876
|
_ | IFS | as_nl) ;; #(
|
1866
|
-
|
1877
|
+
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
1878
|
+
*) { eval $ac_var=; unset $ac_var;} ;;
|
1867
1879
|
esac ;;
|
1868
1880
|
esac
|
1869
1881
|
done
|
@@ -1871,8 +1883,8 @@ echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
|
1871
1883
|
(set) 2>&1 |
|
1872
1884
|
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
1873
1885
|
*${as_nl}ac_space=\ *)
|
1874
|
-
# `set' does not quote correctly, so add quotes
|
1875
|
-
# substitution turns \\\\ into \\, and sed turns \\ into
|
1886
|
+
# `set' does not quote correctly, so add quotes: double-quote
|
1887
|
+
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
1876
1888
|
sed -n \
|
1877
1889
|
"s/'/'\\\\''/g;
|
1878
1890
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
@@ -1895,12 +1907,12 @@ echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
|
1895
1907
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
1896
1908
|
if test -w "$cache_file"; then
|
1897
1909
|
test "x$cache_file" != "x/dev/null" &&
|
1898
|
-
{
|
1899
|
-
|
1910
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
1911
|
+
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
1900
1912
|
cat confcache >$cache_file
|
1901
1913
|
else
|
1902
|
-
{
|
1903
|
-
|
1914
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
1915
|
+
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
1904
1916
|
fi
|
1905
1917
|
fi
|
1906
1918
|
rm -f confcache
|
@@ -1917,6 +1929,12 @@ test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
|
1917
1929
|
# take arguments), then branch to the quote section. Otherwise,
|
1918
1930
|
# look for a macro that doesn't take arguments.
|
1919
1931
|
ac_script='
|
1932
|
+
:mline
|
1933
|
+
/\\$/{
|
1934
|
+
N
|
1935
|
+
s,\\\n,,
|
1936
|
+
b mline
|
1937
|
+
}
|
1920
1938
|
t clear
|
1921
1939
|
:clear
|
1922
1940
|
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
|
@@ -1946,11 +1964,11 @@ ac_ltlibobjs=
|
|
1946
1964
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
1947
1965
|
# 1. Remove the extension, and $U if already installed.
|
1948
1966
|
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
1949
|
-
ac_i
|
1967
|
+
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
1950
1968
|
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
1951
1969
|
# will be set to the directory where LIBOBJS objects are built.
|
1952
|
-
ac_libobjs
|
1953
|
-
ac_ltlibobjs
|
1970
|
+
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
1971
|
+
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
1954
1972
|
done
|
1955
1973
|
LIBOBJS=$ac_libobjs
|
1956
1974
|
|
@@ -1959,11 +1977,13 @@ LTLIBOBJS=$ac_ltlibobjs
|
|
1959
1977
|
|
1960
1978
|
|
1961
1979
|
: ${CONFIG_STATUS=./config.status}
|
1980
|
+
ac_write_fail=0
|
1962
1981
|
ac_clean_files_save=$ac_clean_files
|
1963
1982
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
1964
|
-
{
|
1965
|
-
|
1966
|
-
|
1983
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
1984
|
+
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
1985
|
+
as_write_fail=0
|
1986
|
+
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
1967
1987
|
#! $SHELL
|
1968
1988
|
# Generated by $as_me.
|
1969
1989
|
# Run this file to recreate the current configuration.
|
@@ -1973,59 +1993,79 @@ cat >$CONFIG_STATUS <<_ACEOF
|
|
1973
1993
|
debug=false
|
1974
1994
|
ac_cs_recheck=false
|
1975
1995
|
ac_cs_silent=false
|
1976
|
-
SHELL=\${CONFIG_SHELL-$SHELL}
|
1977
|
-
_ACEOF
|
1978
1996
|
|
1979
|
-
|
1980
|
-
|
1981
|
-
|
1982
|
-
|
1997
|
+
SHELL=\${CONFIG_SHELL-$SHELL}
|
1998
|
+
export SHELL
|
1999
|
+
_ASEOF
|
2000
|
+
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
2001
|
+
## -------------------- ##
|
2002
|
+
## M4sh Initialization. ##
|
2003
|
+
## -------------------- ##
|
1983
2004
|
|
1984
2005
|
# Be more Bourne compatible
|
1985
2006
|
DUALCASE=1; export DUALCASE # for MKS sh
|
1986
|
-
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
2007
|
+
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
1987
2008
|
emulate sh
|
1988
2009
|
NULLCMD=:
|
1989
|
-
#
|
2010
|
+
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
1990
2011
|
# is contrary to our usage. Disable this feature.
|
1991
2012
|
alias -g '${1+"$@"}'='"$@"'
|
1992
2013
|
setopt NO_GLOB_SUBST
|
1993
2014
|
else
|
1994
|
-
case `(set -o) 2>/dev/null` in
|
1995
|
-
*posix*)
|
2015
|
+
case `(set -o) 2>/dev/null` in #(
|
2016
|
+
*posix*) :
|
2017
|
+
set -o posix ;; #(
|
2018
|
+
*) :
|
2019
|
+
;;
|
1996
2020
|
esac
|
1997
|
-
|
1998
2021
|
fi
|
1999
2022
|
|
2000
2023
|
|
2001
|
-
|
2002
|
-
|
2003
|
-
|
2004
|
-
#
|
2005
|
-
|
2006
|
-
|
2007
|
-
|
2008
|
-
|
2009
|
-
|
2010
|
-
|
2011
|
-
|
2012
|
-
|
2013
|
-
|
2014
|
-
|
2015
|
-
|
2016
|
-
|
2017
|
-
|
2024
|
+
as_nl='
|
2025
|
+
'
|
2026
|
+
export as_nl
|
2027
|
+
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
2028
|
+
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
2029
|
+
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
2030
|
+
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
2031
|
+
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
2032
|
+
# but without wasting forks for bash or zsh.
|
2033
|
+
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
2034
|
+
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
2035
|
+
as_echo='print -r --'
|
2036
|
+
as_echo_n='print -rn --'
|
2037
|
+
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
2038
|
+
as_echo='printf %s\n'
|
2039
|
+
as_echo_n='printf %s'
|
2040
|
+
else
|
2041
|
+
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
2042
|
+
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
2043
|
+
as_echo_n='/usr/ucb/echo -n'
|
2018
2044
|
else
|
2019
|
-
|
2045
|
+
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
2046
|
+
as_echo_n_body='eval
|
2047
|
+
arg=$1;
|
2048
|
+
case $arg in #(
|
2049
|
+
*"$as_nl"*)
|
2050
|
+
expr "X$arg" : "X\\(.*\\)$as_nl";
|
2051
|
+
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
2052
|
+
esac;
|
2053
|
+
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
2054
|
+
'
|
2055
|
+
export as_echo_n_body
|
2056
|
+
as_echo_n='sh -c $as_echo_n_body as_echo'
|
2020
2057
|
fi
|
2021
|
-
|
2058
|
+
export as_echo_body
|
2059
|
+
as_echo='sh -c $as_echo_body as_echo'
|
2022
2060
|
fi
|
2023
2061
|
|
2024
|
-
#
|
2025
|
-
if
|
2026
|
-
|
2027
|
-
|
2028
|
-
|
2062
|
+
# The user is always right.
|
2063
|
+
if test "${PATH_SEPARATOR+set}" != set; then
|
2064
|
+
PATH_SEPARATOR=:
|
2065
|
+
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
2066
|
+
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
2067
|
+
PATH_SEPARATOR=';'
|
2068
|
+
}
|
2029
2069
|
fi
|
2030
2070
|
|
2031
2071
|
|
@@ -2034,20 +2074,18 @@ fi
|
|
2034
2074
|
# there to prevent editors from complaining about space-tab.
|
2035
2075
|
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
2036
2076
|
# splitting by setting IFS to empty value.)
|
2037
|
-
as_nl='
|
2038
|
-
'
|
2039
2077
|
IFS=" "" $as_nl"
|
2040
2078
|
|
2041
2079
|
# Find who we are. Look in the path if we contain no directory separator.
|
2042
|
-
case $0 in
|
2080
|
+
case $0 in #((
|
2043
2081
|
*[\\/]* ) as_myself=$0 ;;
|
2044
2082
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2045
2083
|
for as_dir in $PATH
|
2046
2084
|
do
|
2047
2085
|
IFS=$as_save_IFS
|
2048
2086
|
test -z "$as_dir" && as_dir=.
|
2049
|
-
|
2050
|
-
done
|
2087
|
+
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
2088
|
+
done
|
2051
2089
|
IFS=$as_save_IFS
|
2052
2090
|
|
2053
2091
|
;;
|
@@ -2058,32 +2096,111 @@ if test "x$as_myself" = x; then
|
|
2058
2096
|
as_myself=$0
|
2059
2097
|
fi
|
2060
2098
|
if test ! -f "$as_myself"; then
|
2061
|
-
|
2062
|
-
|
2099
|
+
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
2100
|
+
exit 1
|
2063
2101
|
fi
|
2064
2102
|
|
2065
|
-
#
|
2066
|
-
|
2067
|
-
|
2103
|
+
# Unset variables that we do not need and which cause bugs (e.g. in
|
2104
|
+
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
2105
|
+
# suppresses any "Segmentation fault" message there. '((' could
|
2106
|
+
# trigger a bug in pdksh 5.2.14.
|
2107
|
+
for as_var in BASH_ENV ENV MAIL MAILPATH
|
2108
|
+
do eval test x\${$as_var+set} = xset \
|
2109
|
+
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
2068
2110
|
done
|
2069
2111
|
PS1='$ '
|
2070
2112
|
PS2='> '
|
2071
2113
|
PS4='+ '
|
2072
2114
|
|
2073
2115
|
# NLS nuisances.
|
2074
|
-
|
2075
|
-
|
2076
|
-
|
2077
|
-
|
2078
|
-
|
2079
|
-
|
2080
|
-
|
2081
|
-
|
2082
|
-
|
2116
|
+
LC_ALL=C
|
2117
|
+
export LC_ALL
|
2118
|
+
LANGUAGE=C
|
2119
|
+
export LANGUAGE
|
2120
|
+
|
2121
|
+
# CDPATH.
|
2122
|
+
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
2123
|
+
|
2124
|
+
|
2125
|
+
# as_fn_error ERROR [LINENO LOG_FD]
|
2126
|
+
# ---------------------------------
|
2127
|
+
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
2128
|
+
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
2129
|
+
# script with status $?, using 1 if that was 0.
|
2130
|
+
as_fn_error ()
|
2131
|
+
{
|
2132
|
+
as_status=$?; test $as_status -eq 0 && as_status=1
|
2133
|
+
if test "$3"; then
|
2134
|
+
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
2135
|
+
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
2083
2136
|
fi
|
2084
|
-
|
2137
|
+
$as_echo "$as_me: error: $1" >&2
|
2138
|
+
as_fn_exit $as_status
|
2139
|
+
} # as_fn_error
|
2140
|
+
|
2141
|
+
|
2142
|
+
# as_fn_set_status STATUS
|
2143
|
+
# -----------------------
|
2144
|
+
# Set $? to STATUS, without forking.
|
2145
|
+
as_fn_set_status ()
|
2146
|
+
{
|
2147
|
+
return $1
|
2148
|
+
} # as_fn_set_status
|
2149
|
+
|
2150
|
+
# as_fn_exit STATUS
|
2151
|
+
# -----------------
|
2152
|
+
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
2153
|
+
as_fn_exit ()
|
2154
|
+
{
|
2155
|
+
set +e
|
2156
|
+
as_fn_set_status $1
|
2157
|
+
exit $1
|
2158
|
+
} # as_fn_exit
|
2159
|
+
|
2160
|
+
# as_fn_unset VAR
|
2161
|
+
# ---------------
|
2162
|
+
# Portably unset VAR.
|
2163
|
+
as_fn_unset ()
|
2164
|
+
{
|
2165
|
+
{ eval $1=; unset $1;}
|
2166
|
+
}
|
2167
|
+
as_unset=as_fn_unset
|
2168
|
+
# as_fn_append VAR VALUE
|
2169
|
+
# ----------------------
|
2170
|
+
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
2171
|
+
# advantage of any shell optimizations that allow amortized linear growth over
|
2172
|
+
# repeated appends, instead of the typical quadratic growth present in naive
|
2173
|
+
# implementations.
|
2174
|
+
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
2175
|
+
eval 'as_fn_append ()
|
2176
|
+
{
|
2177
|
+
eval $1+=\$2
|
2178
|
+
}'
|
2179
|
+
else
|
2180
|
+
as_fn_append ()
|
2181
|
+
{
|
2182
|
+
eval $1=\$$1\$2
|
2183
|
+
}
|
2184
|
+
fi # as_fn_append
|
2185
|
+
|
2186
|
+
# as_fn_arith ARG...
|
2187
|
+
# ------------------
|
2188
|
+
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
2189
|
+
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
2190
|
+
# must be portable across $(()) and expr.
|
2191
|
+
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
2192
|
+
eval 'as_fn_arith ()
|
2193
|
+
{
|
2194
|
+
as_val=$(( $* ))
|
2195
|
+
}'
|
2196
|
+
else
|
2197
|
+
as_fn_arith ()
|
2198
|
+
{
|
2199
|
+
as_val=`expr "$@" || test $? -eq 1`
|
2200
|
+
}
|
2201
|
+
fi # as_fn_arith
|
2202
|
+
|
2085
2203
|
|
2086
|
-
# Required to use basename.
|
2087
2204
|
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
2088
2205
|
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
2089
2206
|
as_expr=expr
|
@@ -2097,13 +2214,17 @@ else
|
|
2097
2214
|
as_basename=false
|
2098
2215
|
fi
|
2099
2216
|
|
2217
|
+
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
2218
|
+
as_dirname=dirname
|
2219
|
+
else
|
2220
|
+
as_dirname=false
|
2221
|
+
fi
|
2100
2222
|
|
2101
|
-
# Name of the executable.
|
2102
2223
|
as_me=`$as_basename -- "$0" ||
|
2103
2224
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
2104
2225
|
X"$0" : 'X\(//\)$' \| \
|
2105
2226
|
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
2106
|
-
|
2227
|
+
$as_echo X/"$0" |
|
2107
2228
|
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
2108
2229
|
s//\1/
|
2109
2230
|
q
|
@@ -2118,104 +2239,103 @@ echo X/"$0" |
|
|
2118
2239
|
}
|
2119
2240
|
s/.*/./; q'`
|
2120
2241
|
|
2121
|
-
#
|
2122
|
-
|
2123
|
-
|
2124
|
-
|
2125
|
-
|
2126
|
-
|
2127
|
-
as_lineno_2=$LINENO
|
2128
|
-
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
2129
|
-
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
2130
|
-
|
2131
|
-
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
2132
|
-
# uniformly replaced by the line number. The first 'sed' inserts a
|
2133
|
-
# line-number line after each line using $LINENO; the second 'sed'
|
2134
|
-
# does the real work. The second script uses 'N' to pair each
|
2135
|
-
# line-number line with the line containing $LINENO, and appends
|
2136
|
-
# trailing '-' during substitution so that $LINENO is not a special
|
2137
|
-
# case at line end.
|
2138
|
-
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
2139
|
-
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
2140
|
-
# E. McMahon (1931-1989) for sed's syntax. :-)
|
2141
|
-
sed -n '
|
2142
|
-
p
|
2143
|
-
/[$]LINENO/=
|
2144
|
-
' <$as_myself |
|
2145
|
-
sed '
|
2146
|
-
s/[$]LINENO.*/&-/
|
2147
|
-
t lineno
|
2148
|
-
b
|
2149
|
-
:lineno
|
2150
|
-
N
|
2151
|
-
:loop
|
2152
|
-
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
2153
|
-
t loop
|
2154
|
-
s/-\n.*//
|
2155
|
-
' >$as_me.lineno &&
|
2156
|
-
chmod +x "$as_me.lineno" ||
|
2157
|
-
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
2158
|
-
{ (exit 1); exit 1; }; }
|
2159
|
-
|
2160
|
-
# Don't try to exec as it changes $[0], causing all sort of problems
|
2161
|
-
# (the dirname of $[0] is not the place where we might find the
|
2162
|
-
# original and so on. Autoconf is especially sensitive to this).
|
2163
|
-
. "./$as_me.lineno"
|
2164
|
-
# Exit status is that of the last command.
|
2165
|
-
exit
|
2166
|
-
}
|
2167
|
-
|
2168
|
-
|
2169
|
-
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
2170
|
-
as_dirname=dirname
|
2171
|
-
else
|
2172
|
-
as_dirname=false
|
2173
|
-
fi
|
2242
|
+
# Avoid depending upon Character Ranges.
|
2243
|
+
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
2244
|
+
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
2245
|
+
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
2246
|
+
as_cr_digits='0123456789'
|
2247
|
+
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
2174
2248
|
|
2175
2249
|
ECHO_C= ECHO_N= ECHO_T=
|
2176
|
-
case `echo -n x` in
|
2250
|
+
case `echo -n x` in #(((((
|
2177
2251
|
-n*)
|
2178
|
-
case `echo '
|
2252
|
+
case `echo 'xy\c'` in
|
2179
2253
|
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
2180
|
-
|
2254
|
+
xy) ECHO_C='\c';;
|
2255
|
+
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
2256
|
+
ECHO_T=' ';;
|
2181
2257
|
esac;;
|
2182
2258
|
*)
|
2183
2259
|
ECHO_N='-n';;
|
2184
2260
|
esac
|
2185
2261
|
|
2186
|
-
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
2187
|
-
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
2188
|
-
as_expr=expr
|
2189
|
-
else
|
2190
|
-
as_expr=false
|
2191
|
-
fi
|
2192
|
-
|
2193
2262
|
rm -f conf$$ conf$$.exe conf$$.file
|
2194
2263
|
if test -d conf$$.dir; then
|
2195
2264
|
rm -f conf$$.dir/conf$$.file
|
2196
2265
|
else
|
2197
2266
|
rm -f conf$$.dir
|
2198
|
-
mkdir conf$$.dir
|
2199
|
-
fi
|
2200
|
-
echo >conf$$.file
|
2201
|
-
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
2202
|
-
|
2203
|
-
|
2204
|
-
|
2205
|
-
|
2206
|
-
|
2207
|
-
|
2267
|
+
mkdir conf$$.dir 2>/dev/null
|
2268
|
+
fi
|
2269
|
+
if (echo >conf$$.file) 2>/dev/null; then
|
2270
|
+
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
2271
|
+
as_ln_s='ln -s'
|
2272
|
+
# ... but there are two gotchas:
|
2273
|
+
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
2274
|
+
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
2275
|
+
# In both cases, we have to default to `cp -p'.
|
2276
|
+
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
2277
|
+
as_ln_s='cp -p'
|
2278
|
+
elif ln conf$$.file conf$$ 2>/dev/null; then
|
2279
|
+
as_ln_s=ln
|
2280
|
+
else
|
2208
2281
|
as_ln_s='cp -p'
|
2209
|
-
|
2210
|
-
as_ln_s=ln
|
2282
|
+
fi
|
2211
2283
|
else
|
2212
2284
|
as_ln_s='cp -p'
|
2213
2285
|
fi
|
2214
2286
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
2215
2287
|
rmdir conf$$.dir 2>/dev/null
|
2216
2288
|
|
2289
|
+
|
2290
|
+
# as_fn_mkdir_p
|
2291
|
+
# -------------
|
2292
|
+
# Create "$as_dir" as a directory, including parents if necessary.
|
2293
|
+
as_fn_mkdir_p ()
|
2294
|
+
{
|
2295
|
+
|
2296
|
+
case $as_dir in #(
|
2297
|
+
-*) as_dir=./$as_dir;;
|
2298
|
+
esac
|
2299
|
+
test -d "$as_dir" || eval $as_mkdir_p || {
|
2300
|
+
as_dirs=
|
2301
|
+
while :; do
|
2302
|
+
case $as_dir in #(
|
2303
|
+
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
2304
|
+
*) as_qdir=$as_dir;;
|
2305
|
+
esac
|
2306
|
+
as_dirs="'$as_qdir' $as_dirs"
|
2307
|
+
as_dir=`$as_dirname -- "$as_dir" ||
|
2308
|
+
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
2309
|
+
X"$as_dir" : 'X\(//\)[^/]' \| \
|
2310
|
+
X"$as_dir" : 'X\(//\)$' \| \
|
2311
|
+
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
2312
|
+
$as_echo X"$as_dir" |
|
2313
|
+
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
2314
|
+
s//\1/
|
2315
|
+
q
|
2316
|
+
}
|
2317
|
+
/^X\(\/\/\)[^/].*/{
|
2318
|
+
s//\1/
|
2319
|
+
q
|
2320
|
+
}
|
2321
|
+
/^X\(\/\/\)$/{
|
2322
|
+
s//\1/
|
2323
|
+
q
|
2324
|
+
}
|
2325
|
+
/^X\(\/\).*/{
|
2326
|
+
s//\1/
|
2327
|
+
q
|
2328
|
+
}
|
2329
|
+
s/.*/./; q'`
|
2330
|
+
test -d "$as_dir" && break
|
2331
|
+
done
|
2332
|
+
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
2333
|
+
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
2334
|
+
|
2335
|
+
|
2336
|
+
} # as_fn_mkdir_p
|
2217
2337
|
if mkdir -p . 2>/dev/null; then
|
2218
|
-
as_mkdir_p
|
2338
|
+
as_mkdir_p='mkdir -p "$as_dir"'
|
2219
2339
|
else
|
2220
2340
|
test -d ./-p && rmdir ./-p
|
2221
2341
|
as_mkdir_p=false
|
@@ -2232,12 +2352,12 @@ else
|
|
2232
2352
|
as_test_x='
|
2233
2353
|
eval sh -c '\''
|
2234
2354
|
if test -d "$1"; then
|
2235
|
-
|
2355
|
+
test -d "$1/.";
|
2236
2356
|
else
|
2237
|
-
case $1 in
|
2238
|
-
|
2357
|
+
case $1 in #(
|
2358
|
+
-*)set "./$1";;
|
2239
2359
|
esac;
|
2240
|
-
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
2360
|
+
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
2241
2361
|
???[sx]*):;;*)false;;esac;fi
|
2242
2362
|
'\'' sh
|
2243
2363
|
'
|
@@ -2252,13 +2372,19 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
2252
2372
|
|
2253
2373
|
|
2254
2374
|
exec 6>&1
|
2375
|
+
## ----------------------------------- ##
|
2376
|
+
## Main body of $CONFIG_STATUS script. ##
|
2377
|
+
## ----------------------------------- ##
|
2378
|
+
_ASEOF
|
2379
|
+
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
2255
2380
|
|
2256
|
-
|
2381
|
+
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
2382
|
+
# Save the log message, to keep $0 and so on meaningful, and to
|
2257
2383
|
# report actual input values of CONFIG_FILES etc. instead of their
|
2258
2384
|
# values after options handling.
|
2259
2385
|
ac_log="
|
2260
|
-
This file was extended by asciidoc $as_me 8.
|
2261
|
-
generated by GNU Autoconf 2.
|
2386
|
+
This file was extended by asciidoc $as_me 8.6.5, which was
|
2387
|
+
generated by GNU Autoconf 2.65. Invocation command line was
|
2262
2388
|
|
2263
2389
|
CONFIG_FILES = $CONFIG_FILES
|
2264
2390
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
@@ -2271,51 +2397,61 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
2271
2397
|
|
2272
2398
|
_ACEOF
|
2273
2399
|
|
2274
|
-
|
2400
|
+
case $ac_config_files in *"
|
2401
|
+
"*) set x $ac_config_files; shift; ac_config_files=$*;;
|
2402
|
+
esac
|
2403
|
+
|
2404
|
+
|
2405
|
+
|
2406
|
+
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
2275
2407
|
# Files that config.status was made for.
|
2276
2408
|
config_files="$ac_config_files"
|
2277
2409
|
|
2278
2410
|
_ACEOF
|
2279
2411
|
|
2280
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
2412
|
+
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
2281
2413
|
ac_cs_usage="\
|
2282
|
-
\`$as_me' instantiates files
|
2283
|
-
current configuration.
|
2414
|
+
\`$as_me' instantiates files and other configuration actions
|
2415
|
+
from templates according to the current configuration. Unless the files
|
2416
|
+
and actions are specified as TAGs, all are instantiated by default.
|
2284
2417
|
|
2285
|
-
Usage: $0 [
|
2418
|
+
Usage: $0 [OPTION]... [TAG]...
|
2286
2419
|
|
2287
2420
|
-h, --help print this help, then exit
|
2288
2421
|
-V, --version print version number and configuration settings, then exit
|
2289
|
-
|
2422
|
+
--config print configuration, then exit
|
2423
|
+
-q, --quiet, --silent
|
2424
|
+
do not print progress messages
|
2290
2425
|
-d, --debug don't remove temporary files
|
2291
2426
|
--recheck update $as_me by reconfiguring in the same conditions
|
2292
|
-
|
2293
|
-
|
2427
|
+
--file=FILE[:TEMPLATE]
|
2428
|
+
instantiate the configuration file FILE
|
2294
2429
|
|
2295
2430
|
Configuration files:
|
2296
2431
|
$config_files
|
2297
2432
|
|
2298
|
-
Report bugs to
|
2433
|
+
Report bugs to the package provider."
|
2299
2434
|
|
2300
2435
|
_ACEOF
|
2301
|
-
cat >>$CONFIG_STATUS <<_ACEOF
|
2436
|
+
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
2437
|
+
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
2302
2438
|
ac_cs_version="\\
|
2303
|
-
asciidoc config.status 8.
|
2304
|
-
configured by $0, generated by GNU Autoconf 2.
|
2305
|
-
with options \\"
|
2439
|
+
asciidoc config.status 8.6.5
|
2440
|
+
configured by $0, generated by GNU Autoconf 2.65,
|
2441
|
+
with options \\"\$ac_cs_config\\"
|
2306
2442
|
|
2307
|
-
Copyright (C)
|
2443
|
+
Copyright (C) 2009 Free Software Foundation, Inc.
|
2308
2444
|
This config.status script is free software; the Free Software Foundation
|
2309
2445
|
gives unlimited permission to copy, distribute and modify it."
|
2310
2446
|
|
2311
2447
|
ac_pwd='$ac_pwd'
|
2312
2448
|
srcdir='$srcdir'
|
2313
2449
|
INSTALL='$INSTALL'
|
2450
|
+
test -n "\$AWK" || AWK=awk
|
2314
2451
|
_ACEOF
|
2315
2452
|
|
2316
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
2317
|
-
#
|
2318
|
-
# value. By we need to know if files were specified by the user.
|
2453
|
+
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
2454
|
+
# The default lists apply if the user does not specify any file.
|
2319
2455
|
ac_need_defaults=:
|
2320
2456
|
while test $# != 0
|
2321
2457
|
do
|
@@ -2337,25 +2473,29 @@ do
|
|
2337
2473
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
2338
2474
|
ac_cs_recheck=: ;;
|
2339
2475
|
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
2340
|
-
|
2476
|
+
$as_echo "$ac_cs_version"; exit ;;
|
2477
|
+
--config | --confi | --conf | --con | --co | --c )
|
2478
|
+
$as_echo "$ac_cs_config"; exit ;;
|
2341
2479
|
--debug | --debu | --deb | --de | --d | -d )
|
2342
2480
|
debug=: ;;
|
2343
2481
|
--file | --fil | --fi | --f )
|
2344
2482
|
$ac_shift
|
2345
|
-
|
2483
|
+
case $ac_optarg in
|
2484
|
+
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
2485
|
+
esac
|
2486
|
+
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
2346
2487
|
ac_need_defaults=false;;
|
2347
2488
|
--he | --h | --help | --hel | -h )
|
2348
|
-
|
2489
|
+
$as_echo "$ac_cs_usage"; exit ;;
|
2349
2490
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
2350
2491
|
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
2351
2492
|
ac_cs_silent=: ;;
|
2352
2493
|
|
2353
2494
|
# This is an error.
|
2354
|
-
-*)
|
2355
|
-
Try \`$0 --help' for more information."
|
2356
|
-
{ (exit 1); exit 1; }; } ;;
|
2495
|
+
-*) as_fn_error "unrecognized option: \`$1'
|
2496
|
+
Try \`$0 --help' for more information." ;;
|
2357
2497
|
|
2358
|
-
*) ac_config_targets
|
2498
|
+
*) as_fn_append ac_config_targets " $1"
|
2359
2499
|
ac_need_defaults=false ;;
|
2360
2500
|
|
2361
2501
|
esac
|
@@ -2370,30 +2510,32 @@ if $ac_cs_silent; then
|
|
2370
2510
|
fi
|
2371
2511
|
|
2372
2512
|
_ACEOF
|
2373
|
-
cat >>$CONFIG_STATUS <<_ACEOF
|
2513
|
+
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
2374
2514
|
if \$ac_cs_recheck; then
|
2375
|
-
|
2376
|
-
|
2515
|
+
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
2516
|
+
shift
|
2517
|
+
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
2518
|
+
CONFIG_SHELL='$SHELL'
|
2377
2519
|
export CONFIG_SHELL
|
2378
|
-
exec
|
2520
|
+
exec "\$@"
|
2379
2521
|
fi
|
2380
2522
|
|
2381
2523
|
_ACEOF
|
2382
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
2524
|
+
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
2383
2525
|
exec 5>>config.log
|
2384
2526
|
{
|
2385
2527
|
echo
|
2386
2528
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
2387
2529
|
## Running $as_me. ##
|
2388
2530
|
_ASBOX
|
2389
|
-
|
2531
|
+
$as_echo "$ac_log"
|
2390
2532
|
} >&5
|
2391
2533
|
|
2392
2534
|
_ACEOF
|
2393
|
-
cat >>$CONFIG_STATUS <<_ACEOF
|
2535
|
+
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
2394
2536
|
_ACEOF
|
2395
2537
|
|
2396
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
2538
|
+
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
2397
2539
|
|
2398
2540
|
# Handling of arguments.
|
2399
2541
|
for ac_config_target in $ac_config_targets
|
@@ -2401,9 +2543,7 @@ do
|
|
2401
2543
|
case $ac_config_target in
|
2402
2544
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
2403
2545
|
|
2404
|
-
*)
|
2405
|
-
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
2406
|
-
{ (exit 1); exit 1; }; };;
|
2546
|
+
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
2407
2547
|
esac
|
2408
2548
|
done
|
2409
2549
|
|
@@ -2428,7 +2568,7 @@ $debug ||
|
|
2428
2568
|
trap 'exit_status=$?
|
2429
2569
|
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
2430
2570
|
' 0
|
2431
|
-
trap '
|
2571
|
+
trap 'as_fn_exit 1' 1 2 13 15
|
2432
2572
|
}
|
2433
2573
|
# Create a (secure) tmp directory for tmp files.
|
2434
2574
|
|
@@ -2439,111 +2579,140 @@ $debug ||
|
|
2439
2579
|
{
|
2440
2580
|
tmp=./conf$$-$RANDOM
|
2441
2581
|
(umask 077 && mkdir "$tmp")
|
2442
|
-
} ||
|
2443
|
-
{
|
2444
|
-
echo "$me: cannot create a temporary directory in ." >&2
|
2445
|
-
{ (exit 1); exit 1; }
|
2446
|
-
}
|
2447
|
-
|
2448
|
-
#
|
2449
|
-
# Set up the sed scripts for CONFIG_FILES section.
|
2450
|
-
#
|
2582
|
+
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
|
2451
2583
|
|
2452
|
-
#
|
2453
|
-
#
|
2584
|
+
# Set up the scripts for CONFIG_FILES section.
|
2585
|
+
# No need to generate them if there are no CONFIG_FILES.
|
2586
|
+
# This happens for instance with `./config.status config.h'.
|
2454
2587
|
if test -n "$CONFIG_FILES"; then
|
2455
2588
|
|
2456
|
-
_ACEOF
|
2457
2589
|
|
2590
|
+
ac_cr=`echo X | tr X '\015'`
|
2591
|
+
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
2592
|
+
# But we know of no other shell where ac_cr would be empty at this
|
2593
|
+
# point, so we can use a bashism as a fallback.
|
2594
|
+
if test "x$ac_cr" = x; then
|
2595
|
+
eval ac_cr=\$\'\\r\'
|
2596
|
+
fi
|
2597
|
+
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
2598
|
+
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
2599
|
+
ac_cs_awk_cr='\r'
|
2600
|
+
else
|
2601
|
+
ac_cs_awk_cr=$ac_cr
|
2602
|
+
fi
|
2603
|
+
|
2604
|
+
echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
2605
|
+
_ACEOF
|
2458
2606
|
|
2459
2607
|
|
2608
|
+
{
|
2609
|
+
echo "cat >conf$$subs.awk <<_ACEOF" &&
|
2610
|
+
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
2611
|
+
echo "_ACEOF"
|
2612
|
+
} >conf$$subs.sh ||
|
2613
|
+
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
2614
|
+
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
2460
2615
|
ac_delim='%!_!# '
|
2461
2616
|
for ac_last_try in false false false false false :; do
|
2462
|
-
|
2463
|
-
|
2464
|
-
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
|
2465
|
-
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
|
2466
|
-
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
|
2467
|
-
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
|
2468
|
-
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
|
2469
|
-
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
|
2470
|
-
exec_prefix!$exec_prefix$ac_delim
|
2471
|
-
prefix!$prefix$ac_delim
|
2472
|
-
program_transform_name!$program_transform_name$ac_delim
|
2473
|
-
bindir!$bindir$ac_delim
|
2474
|
-
sbindir!$sbindir$ac_delim
|
2475
|
-
libexecdir!$libexecdir$ac_delim
|
2476
|
-
datarootdir!$datarootdir$ac_delim
|
2477
|
-
datadir!$datadir$ac_delim
|
2478
|
-
sysconfdir!$sysconfdir$ac_delim
|
2479
|
-
sharedstatedir!$sharedstatedir$ac_delim
|
2480
|
-
localstatedir!$localstatedir$ac_delim
|
2481
|
-
includedir!$includedir$ac_delim
|
2482
|
-
oldincludedir!$oldincludedir$ac_delim
|
2483
|
-
docdir!$docdir$ac_delim
|
2484
|
-
infodir!$infodir$ac_delim
|
2485
|
-
htmldir!$htmldir$ac_delim
|
2486
|
-
dvidir!$dvidir$ac_delim
|
2487
|
-
pdfdir!$pdfdir$ac_delim
|
2488
|
-
psdir!$psdir$ac_delim
|
2489
|
-
libdir!$libdir$ac_delim
|
2490
|
-
localedir!$localedir$ac_delim
|
2491
|
-
mandir!$mandir$ac_delim
|
2492
|
-
DEFS!$DEFS$ac_delim
|
2493
|
-
ECHO_C!$ECHO_C$ac_delim
|
2494
|
-
ECHO_N!$ECHO_N$ac_delim
|
2495
|
-
ECHO_T!$ECHO_T$ac_delim
|
2496
|
-
LIBS!$LIBS$ac_delim
|
2497
|
-
build_alias!$build_alias$ac_delim
|
2498
|
-
host_alias!$host_alias$ac_delim
|
2499
|
-
target_alias!$target_alias$ac_delim
|
2500
|
-
SED!$SED$ac_delim
|
2501
|
-
LN_S!$LN_S$ac_delim
|
2502
|
-
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
|
2503
|
-
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
|
2504
|
-
INSTALL_DATA!$INSTALL_DATA$ac_delim
|
2505
|
-
LIBOBJS!$LIBOBJS$ac_delim
|
2506
|
-
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
2507
|
-
_ACEOF
|
2617
|
+
. ./conf$$subs.sh ||
|
2618
|
+
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
2508
2619
|
|
2509
|
-
|
2620
|
+
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
2621
|
+
if test $ac_delim_n = $ac_delim_num; then
|
2510
2622
|
break
|
2511
2623
|
elif $ac_last_try; then
|
2512
|
-
|
2513
|
-
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
2514
|
-
{ (exit 1); exit 1; }; }
|
2624
|
+
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
2515
2625
|
else
|
2516
2626
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
2517
2627
|
fi
|
2518
2628
|
done
|
2629
|
+
rm -f conf$$subs.sh
|
2519
2630
|
|
2520
|
-
|
2521
|
-
|
2522
|
-
|
2523
|
-
|
2524
|
-
|
2631
|
+
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
2632
|
+
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
2633
|
+
_ACEOF
|
2634
|
+
sed -n '
|
2635
|
+
h
|
2636
|
+
s/^/S["/; s/!.*/"]=/
|
2637
|
+
p
|
2638
|
+
g
|
2639
|
+
s/^[^!]*!//
|
2640
|
+
:repl
|
2641
|
+
t repl
|
2642
|
+
s/'"$ac_delim"'$//
|
2643
|
+
t delim
|
2644
|
+
:nl
|
2645
|
+
h
|
2646
|
+
s/\(.\{148\}\)..*/\1/
|
2647
|
+
t more1
|
2648
|
+
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
2649
|
+
p
|
2650
|
+
n
|
2651
|
+
b repl
|
2652
|
+
:more1
|
2653
|
+
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
2654
|
+
p
|
2655
|
+
g
|
2656
|
+
s/.\{148\}//
|
2657
|
+
t nl
|
2658
|
+
:delim
|
2659
|
+
h
|
2660
|
+
s/\(.\{148\}\)..*/\1/
|
2661
|
+
t more2
|
2662
|
+
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
2663
|
+
p
|
2664
|
+
b
|
2665
|
+
:more2
|
2666
|
+
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
2667
|
+
p
|
2668
|
+
g
|
2669
|
+
s/.\{148\}//
|
2670
|
+
t delim
|
2671
|
+
' <conf$$subs.awk | sed '
|
2672
|
+
/^[^""]/{
|
2673
|
+
N
|
2674
|
+
s/\n//
|
2675
|
+
}
|
2676
|
+
' >>$CONFIG_STATUS || ac_write_fail=1
|
2677
|
+
rm -f conf$$subs.awk
|
2678
|
+
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
2679
|
+
_ACAWK
|
2680
|
+
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
2681
|
+
for (key in S) S_is_set[key] = 1
|
2682
|
+
FS = ""
|
2683
|
+
|
2684
|
+
}
|
2685
|
+
{
|
2686
|
+
line = $ 0
|
2687
|
+
nfields = split(line, field, "@")
|
2688
|
+
substed = 0
|
2689
|
+
len = length(field[1])
|
2690
|
+
for (i = 2; i < nfields; i++) {
|
2691
|
+
key = field[i]
|
2692
|
+
keylen = length(key)
|
2693
|
+
if (S_is_set[key]) {
|
2694
|
+
value = S[key]
|
2695
|
+
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
2696
|
+
len += length(value) + length(field[++i])
|
2697
|
+
substed = 1
|
2698
|
+
} else
|
2699
|
+
len += 1 + keylen
|
2700
|
+
}
|
2701
|
+
|
2702
|
+
print line
|
2703
|
+
}
|
2525
2704
|
|
2526
|
-
|
2527
|
-
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
|
2528
|
-
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
|
2705
|
+
_ACAWK
|
2529
2706
|
_ACEOF
|
2530
|
-
|
2531
|
-
s/
|
2532
|
-
s
|
2533
|
-
|
2534
|
-
|
2535
|
-
|
2536
|
-
|
2537
|
-
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
|
2538
|
-
' >>$CONFIG_STATUS <conf$$subs.sed
|
2539
|
-
rm -f conf$$subs.sed
|
2540
|
-
cat >>$CONFIG_STATUS <<_ACEOF
|
2541
|
-
:end
|
2542
|
-
s/|#_!!_#|//g
|
2543
|
-
CEOF$ac_eof
|
2707
|
+
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
2708
|
+
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
2709
|
+
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
2710
|
+
else
|
2711
|
+
cat
|
2712
|
+
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
2713
|
+
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
|
2544
2714
|
_ACEOF
|
2545
2715
|
|
2546
|
-
|
2547
2716
|
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
2548
2717
|
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
2549
2718
|
# trailing colons and then remove the whole line if VPATH becomes empty
|
@@ -2559,20 +2728,20 @@ s/^[^=]*=[ ]*$//
|
|
2559
2728
|
}'
|
2560
2729
|
fi
|
2561
2730
|
|
2562
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
2731
|
+
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
2563
2732
|
fi # test -n "$CONFIG_FILES"
|
2564
2733
|
|
2565
2734
|
|
2566
|
-
|
2735
|
+
eval set X " :F $CONFIG_FILES "
|
2736
|
+
shift
|
2737
|
+
for ac_tag
|
2567
2738
|
do
|
2568
2739
|
case $ac_tag in
|
2569
2740
|
:[FHLC]) ac_mode=$ac_tag; continue;;
|
2570
2741
|
esac
|
2571
2742
|
case $ac_mode$ac_tag in
|
2572
2743
|
:[FHL]*:*);;
|
2573
|
-
:L* | :C*:*)
|
2574
|
-
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
|
2575
|
-
{ (exit 1); exit 1; }; };;
|
2744
|
+
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
2576
2745
|
:[FH]-) ac_tag=-:-;;
|
2577
2746
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
2578
2747
|
esac
|
@@ -2600,26 +2769,34 @@ echo "$as_me: error: Invalid tag $ac_tag." >&2;}
|
|
2600
2769
|
[\\/$]*) false;;
|
2601
2770
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
2602
2771
|
esac ||
|
2603
|
-
|
2604
|
-
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
2605
|
-
{ (exit 1); exit 1; }; };;
|
2772
|
+
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
2606
2773
|
esac
|
2607
|
-
|
2774
|
+
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
2775
|
+
as_fn_append ac_file_inputs " '$ac_f'"
|
2608
2776
|
done
|
2609
2777
|
|
2610
2778
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
2611
2779
|
# use $as_me), people would be surprised to read:
|
2612
2780
|
# /* config.h. Generated by config.status. */
|
2613
|
-
configure_input=
|
2614
|
-
|
2781
|
+
configure_input='Generated from '`
|
2782
|
+
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
2783
|
+
`' by configure.'
|
2615
2784
|
if test x"$ac_file" != x-; then
|
2616
2785
|
configure_input="$ac_file. $configure_input"
|
2617
|
-
{
|
2618
|
-
|
2786
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
2787
|
+
$as_echo "$as_me: creating $ac_file" >&6;}
|
2619
2788
|
fi
|
2789
|
+
# Neutralize special characters interpreted by sed in replacement strings.
|
2790
|
+
case $configure_input in #(
|
2791
|
+
*\&* | *\|* | *\\* )
|
2792
|
+
ac_sed_conf_input=`$as_echo "$configure_input" |
|
2793
|
+
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
2794
|
+
*) ac_sed_conf_input=$configure_input;;
|
2795
|
+
esac
|
2620
2796
|
|
2621
2797
|
case $ac_tag in
|
2622
|
-
*:-:* | *:-) cat >"$tmp/stdin"
|
2798
|
+
*:-:* | *:-) cat >"$tmp/stdin" \
|
2799
|
+
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
|
2623
2800
|
esac
|
2624
2801
|
;;
|
2625
2802
|
esac
|
@@ -2629,42 +2806,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
2629
2806
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
2630
2807
|
X"$ac_file" : 'X\(//\)$' \| \
|
2631
2808
|
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
2632
|
-
|
2633
|
-
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
2634
|
-
s//\1/
|
2635
|
-
q
|
2636
|
-
}
|
2637
|
-
/^X\(\/\/\)[^/].*/{
|
2638
|
-
s//\1/
|
2639
|
-
q
|
2640
|
-
}
|
2641
|
-
/^X\(\/\/\)$/{
|
2642
|
-
s//\1/
|
2643
|
-
q
|
2644
|
-
}
|
2645
|
-
/^X\(\/\).*/{
|
2646
|
-
s//\1/
|
2647
|
-
q
|
2648
|
-
}
|
2649
|
-
s/.*/./; q'`
|
2650
|
-
{ as_dir="$ac_dir"
|
2651
|
-
case $as_dir in #(
|
2652
|
-
-*) as_dir=./$as_dir;;
|
2653
|
-
esac
|
2654
|
-
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
2655
|
-
as_dirs=
|
2656
|
-
while :; do
|
2657
|
-
case $as_dir in #(
|
2658
|
-
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
2659
|
-
*) as_qdir=$as_dir;;
|
2660
|
-
esac
|
2661
|
-
as_dirs="'$as_qdir' $as_dirs"
|
2662
|
-
as_dir=`$as_dirname -- "$as_dir" ||
|
2663
|
-
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
2664
|
-
X"$as_dir" : 'X\(//\)[^/]' \| \
|
2665
|
-
X"$as_dir" : 'X\(//\)$' \| \
|
2666
|
-
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
2667
|
-
echo X"$as_dir" |
|
2809
|
+
$as_echo X"$ac_file" |
|
2668
2810
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
2669
2811
|
s//\1/
|
2670
2812
|
q
|
@@ -2682,20 +2824,15 @@ echo X"$as_dir" |
|
|
2682
2824
|
q
|
2683
2825
|
}
|
2684
2826
|
s/.*/./; q'`
|
2685
|
-
|
2686
|
-
done
|
2687
|
-
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
2688
|
-
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
2689
|
-
echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
2690
|
-
{ (exit 1); exit 1; }; }; }
|
2827
|
+
as_dir="$ac_dir"; as_fn_mkdir_p
|
2691
2828
|
ac_builddir=.
|
2692
2829
|
|
2693
2830
|
case "$ac_dir" in
|
2694
2831
|
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
2695
2832
|
*)
|
2696
|
-
ac_dir_suffix
|
2833
|
+
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
2697
2834
|
# A ".." for each directory in $ac_dir_suffix.
|
2698
|
-
ac_top_builddir_sub
|
2835
|
+
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
2699
2836
|
case $ac_top_builddir_sub in
|
2700
2837
|
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
2701
2838
|
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
@@ -2735,12 +2872,12 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
2735
2872
|
esac
|
2736
2873
|
_ACEOF
|
2737
2874
|
|
2738
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
2875
|
+
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
2739
2876
|
# If the template does not know about datarootdir, expand it.
|
2740
2877
|
# FIXME: This hack should be removed a few years after 2.60.
|
2741
2878
|
ac_datarootdir_hack=; ac_datarootdir_seen=
|
2742
|
-
|
2743
|
-
|
2879
|
+
ac_sed_dataroot='
|
2880
|
+
/datarootdir/ {
|
2744
2881
|
p
|
2745
2882
|
q
|
2746
2883
|
}
|
@@ -2748,36 +2885,37 @@ case `sed -n '/datarootdir/ {
|
|
2748
2885
|
/@docdir@/p
|
2749
2886
|
/@infodir@/p
|
2750
2887
|
/@localedir@/p
|
2751
|
-
/@mandir@/p
|
2752
|
-
|
2888
|
+
/@mandir@/p'
|
2889
|
+
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
2753
2890
|
*datarootdir*) ac_datarootdir_seen=yes;;
|
2754
2891
|
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
2755
|
-
{
|
2756
|
-
|
2892
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
2893
|
+
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
2757
2894
|
_ACEOF
|
2758
|
-
cat >>$CONFIG_STATUS <<_ACEOF
|
2895
|
+
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
2759
2896
|
ac_datarootdir_hack='
|
2760
2897
|
s&@datadir@&$datadir&g
|
2761
2898
|
s&@docdir@&$docdir&g
|
2762
2899
|
s&@infodir@&$infodir&g
|
2763
2900
|
s&@localedir@&$localedir&g
|
2764
2901
|
s&@mandir@&$mandir&g
|
2765
|
-
|
2902
|
+
s&\\\${datarootdir}&$datarootdir&g' ;;
|
2766
2903
|
esac
|
2767
2904
|
_ACEOF
|
2768
2905
|
|
2769
2906
|
# Neutralize VPATH when `$srcdir' = `.'.
|
2770
2907
|
# Shell code in configure.ac might set extrasub.
|
2771
2908
|
# FIXME: do we really want to maintain this feature?
|
2772
|
-
cat >>$CONFIG_STATUS <<_ACEOF
|
2773
|
-
|
2909
|
+
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
2910
|
+
ac_sed_extra="$ac_vpsub
|
2774
2911
|
$extrasub
|
2775
2912
|
_ACEOF
|
2776
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
2913
|
+
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
2777
2914
|
:t
|
2778
2915
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
2779
|
-
s
|
2916
|
+
s|@configure_input@|$ac_sed_conf_input|;t t
|
2780
2917
|
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
2918
|
+
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
2781
2919
|
s&@srcdir@&$ac_srcdir&;t t
|
2782
2920
|
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
2783
2921
|
s&@top_srcdir@&$ac_top_srcdir&;t t
|
@@ -2787,21 +2925,24 @@ s&@abs_builddir@&$ac_abs_builddir&;t t
|
|
2787
2925
|
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
2788
2926
|
s&@INSTALL@&$ac_INSTALL&;t t
|
2789
2927
|
$ac_datarootdir_hack
|
2790
|
-
"
|
2928
|
+
"
|
2929
|
+
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
2930
|
+
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
2791
2931
|
|
2792
2932
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
2793
2933
|
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
2794
2934
|
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
2795
|
-
{
|
2935
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
2796
2936
|
which seems to be undefined. Please make sure it is defined." >&5
|
2797
|
-
|
2937
|
+
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
2798
2938
|
which seems to be undefined. Please make sure it is defined." >&2;}
|
2799
2939
|
|
2800
2940
|
rm -f "$tmp/stdin"
|
2801
2941
|
case $ac_file in
|
2802
|
-
-) cat "$tmp/out"
|
2803
|
-
*) rm -f "$ac_file"
|
2804
|
-
esac
|
2942
|
+
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
2943
|
+
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
2944
|
+
esac \
|
2945
|
+
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
2805
2946
|
;;
|
2806
2947
|
|
2807
2948
|
|
@@ -2811,11 +2952,13 @@ which seems to be undefined. Please make sure it is defined." >&2;}
|
|
2811
2952
|
done # for ac_tag
|
2812
2953
|
|
2813
2954
|
|
2814
|
-
|
2955
|
+
as_fn_exit 0
|
2815
2956
|
_ACEOF
|
2816
|
-
chmod +x $CONFIG_STATUS
|
2817
2957
|
ac_clean_files=$ac_clean_files_save
|
2818
2958
|
|
2959
|
+
test $ac_write_fail = 0 ||
|
2960
|
+
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
2961
|
+
|
2819
2962
|
|
2820
2963
|
# configure is writing to config.log, and then calls config.status.
|
2821
2964
|
# config.status does its own redirection, appending to config.log.
|
@@ -2835,6 +2978,10 @@ if test "$no_create" != yes; then
|
|
2835
2978
|
exec 5>>config.log
|
2836
2979
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
2837
2980
|
# would make configure fail if this is the last instruction.
|
2838
|
-
$ac_cs_success ||
|
2981
|
+
$ac_cs_success || as_fn_exit $?
|
2982
|
+
fi
|
2983
|
+
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
2984
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
2985
|
+
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
2839
2986
|
fi
|
2840
2987
|
|