Merge ~pieq/plainbox-provider-resource/+git/packaging:master into plainbox-provider-resource:master
- Git
- lp:~pieq/plainbox-provider-resource/+git/packaging
- master
- Merge into master
Status: | Rejected |
---|---|
Rejected by: | Pierre Equoy |
Proposed branch: | ~pieq/plainbox-provider-resource/+git/packaging:master |
Merge into: | plainbox-provider-resource:master |
Diff against target: |
11023 lines (+10903/-0) (has conflicts) 19 files modified
debian/.git-dpm (+8/-0) debian/changelog (+110/-0) debian/compat (+1/-0) debian/control (+40/-0) debian/copyright (+40/-0) debian/rules (+26/-0) debian/source/format (+1/-0) debian/upstream/signing-key.asc (+119/-0) debian/watch (+4/-0) manage.py (+4/-0) src/INSTALL (+370/-0) src/Makefile.in (+777/-0) src/aclocal.m4 (+1428/-0) src/compile (+347/-0) src/config.h.in (+76/-0) src/configure (+6038/-0) src/depcomp (+791/-0) src/install-sh (+508/-0) src/missing (+215/-0) Conflict in manage.py |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Checkbox Developers | Pending | ||
Review via email: mp+312116@code.launchpad.net |
Commit message
Description of the change
Modify git-dpm to use default config for tag naming
We want git-dpm to use the default naming convention (using dashes instead of
slashes, see `man git-dpm` for more information) because this is what we use
in our release scripts.
Unmerged commits
- 7361a37... by Pierre Equoy
-
Modify git-dpm to use default config for tag naming
We want git-dpm to use the default naming convention (using dashes instead of
slashes, see `man git-dpm` for more information) because this is what we use
in our release scripts. - 5c7f337... by Pierre Equoy
-
change version to 0.30.0~rc1-1
"new upstream version" - 97d1501... by Pierre Equoy
-
record new upstream branch created by importing plainbox-
provider- resource- generic_ 0.30.0~ rc1.orig. tar.gz and merge it - 6abcb51... by Pierre Equoy
-
Import plainbox-
provider- resource- generic_ 0.30.0~ rc1.orig. tar.gz - 8296eca... by Sylvain Pineau
-
Updated changelog
- 514e92a... by Sylvain Pineau
-
Updated changelog
- 7553855... by Sylvain Pineau
-
Update homepage and requirements
- 6f7755d... by Sylvain Pineau
-
Import plainbox-
provider- resource- generic_ 0.28.orig. tar.gz - 50ec117... by Sylvain Pineau
-
record new upstream branch created by importing plainbox-
provider- resource- generic_ 0.28.orig. tar.gz and merge it - f702311... by Sylvain Pineau
-
git-dpm config
Preview Diff
1 | diff --git a/debian/.git-dpm b/debian/.git-dpm |
2 | new file mode 100644 |
3 | index 0000000..f34edef |
4 | --- /dev/null |
5 | +++ b/debian/.git-dpm |
6 | @@ -0,0 +1,8 @@ |
7 | +# see git-dpm(1) from git-dpm package |
8 | +6abcb51eb585fce9bb9317b2366beb49a9c60e9f |
9 | +6abcb51eb585fce9bb9317b2366beb49a9c60e9f |
10 | +6abcb51eb585fce9bb9317b2366beb49a9c60e9f |
11 | +6abcb51eb585fce9bb9317b2366beb49a9c60e9f |
12 | +plainbox-provider-resource-generic_0.30.0~rc1.orig.tar.gz |
13 | +2ac863afe52a496e37c9206c7ff2511c001e00e6 |
14 | +127070 |
15 | diff --git a/debian/changelog b/debian/changelog |
16 | new file mode 100644 |
17 | index 0000000..d5541f5 |
18 | --- /dev/null |
19 | +++ b/debian/changelog |
20 | @@ -0,0 +1,110 @@ |
21 | +plainbox-provider-resource-generic (0.30.0~rc1-1) UNRELEASED; urgency=medium |
22 | + |
23 | + * Open for development (remove this message before releasing) |
24 | + * "new upstream version" |
25 | + |
26 | + -- Pierre Equoy <pierre.equoy@canonical.com> Mon, 28 Nov 2016 15:41:28 +0800 |
27 | + |
28 | +plainbox-provider-resource-generic (0.28) unstable; urgency=medium |
29 | + |
30 | + [ Pierre Equoy ] |
31 | + * New upstream release |
32 | + |
33 | + -- Pierre Equoy <pierre.equoy@canonical.com> Fri, 30 Sep 2016 15:18:52 +0800 |
34 | + |
35 | +plainbox-provider-resource-generic (0.23-1) unstable; urgency=medium |
36 | + |
37 | + * New upstream release |
38 | + * debian/watch: match new upstream tarball names |
39 | + * debian/rules: simplify override_dh_auto_install since installation |
40 | + directories are all named plainbox-provider-resource-generic |
41 | + |
42 | + -- Sylvain Pineau <sylvain.pineau@canonical.com> Fri, 15 Jan 2016 21:45:29 +0100 |
43 | + |
44 | +plainbox-provider-resource-generic (0.22-1) unstable; urgency=medium |
45 | + |
46 | + * New upstream release |
47 | + |
48 | + -- Sylvain Pineau <sylvain.pineau@canonical.com> Fri, 08 Jan 2016 09:23:03 +0100 |
49 | + |
50 | +plainbox-provider-resource-generic (0.19-2) unstable; urgency=low |
51 | + |
52 | + * Patch packaging meta-data to avoid depending on dmidecode for the following |
53 | + architectures: armel, mips, mipsel, powerpc, ppc64el and s390x. |
54 | + |
55 | + -- Sylvain Pineau <sylvain.pineau@canonical.com> Tue, 08 Sep 2015 16:51:00 +0200 |
56 | + |
57 | +plainbox-provider-resource-generic (0.19-1) unstable; urgency=medium |
58 | + |
59 | + * New upstream release |
60 | + * List of bug fixes and enhancements: |
61 | + https://launchpad.net/plainbox-provider-resource/trunk/0.18 |
62 | + https://launchpad.net/plainbox-provider-resource/trunk/0.19 |
63 | + * Allow debian/rules 'clean' to fail so that plainbox doesn't have to be |
64 | + installed to build the source package in a clean tree. |
65 | + * debian/control: Use the new email address for the team |
66 | + (checkbox-devel@lists.ubuntu.com). |
67 | + * debian/control: Depend on more recent version of plainbox to get the |
68 | + packaging meta-data unit which blocks validation. |
69 | + * debian/control, debian/rules: Depend on python3-debian for plainbox |
70 | + packaging system integration. Activate plainbox packaging integration |
71 | + through "./manage.py packaging", "X-Plainbox-Provider: yes" and |
72 | + ${plainbox:Depends} and similar. This lets plainbox look at packaging |
73 | + meta-data units contained in the provider being packaged (at .txt.in, .txt |
74 | + and .pxu files) and determine appropriate dependencies. This lessens the |
75 | + maintenance burden on the package maintainer and shifts it onto the |
76 | + upstream developers to provide accurate packaging meta-data for each |
77 | + specific distribution. This also means that separate packaging for similar |
78 | + distributions (Debian, Ubuntu and bleeding-edge Ubuntu PPA is far easier |
79 | + to work with as bulk of the work is shared). |
80 | + |
81 | + -- Zygmunt Krynicki <zygmunt.krynicki@canonical.com> Tue, 28 Apr 2015 10:35:39 +0200 |
82 | + |
83 | +plainbox-provider-resource-generic (0.17-1) unstable; urgency=medium |
84 | + |
85 | + * New upstream release |
86 | + * debian/copyright: refresh dates |
87 | + * debian/rules: rename provider directories to avoid having colon in any |
88 | + filesystem path |
89 | + * debian/control: bump Standards-Version to 3.9.6 (no change required) |
90 | + * debian/upstream/signing-key.asc: Re-export the public key of Sylvain |
91 | + Pineau (using gpg --armor --export-options export-minimal --export |
92 | + '7ED72CD1'). The old key there didn't validate and I'm not quite sure |
93 | + whose key that was. |
94 | + * debian/watch: escape one more dot |
95 | + |
96 | + -- Zygmunt Krynicki <zygmunt.krynicki@canonical.com> Tue, 10 Mar 2015 14:42:54 +0100 |
97 | + |
98 | +plainbox-provider-resource-generic (0.3-1) unstable; urgency=medium |
99 | + |
100 | + * New upstream release. List of bugfixes: |
101 | + https://launchpad.net/plainbox-provider-resource/14.04/0.3 |
102 | + * debian/watch: look for new releases on launchpad |
103 | + * debian/control: make plainbox-provider-resource-generic arch=any as it |
104 | + builds C source for one provider-specific executable now, also depend on |
105 | + autotools, intltool and two netlink libraries |
106 | + * debian/rules: stop using pybuild and use manage.py |
107 | + {i18n,build,install,validate} instead. The build rule also regenerates. |
108 | + autotools scripts that are present in the tarball. |
109 | + * debian/control: drop X-Python3-Version |
110 | + * debian/patches: drop (no longer needed) |
111 | + * debian/upstream/signing-key.asc: Use armoured gpg keys to avoid having to |
112 | + keep binary files in Debian packaging. Also, replace that with my key |
113 | + since I made the 0.3 release upstream. |
114 | + * debian/source/include-binaries: no longer needed |
115 | + * Stop being a python3 module, move to from DPMT to PAPT |
116 | + |
117 | + -- Zygmunt Krynicki <zygmunt.krynicki@canonical.com> Mon, 07 Apr 2014 14:12:51 +0200 |
118 | + |
119 | +plainbox-provider-resource-generic (0.2-2) unstable; urgency=low |
120 | + |
121 | + * Patch the plainbox-resources.provider file to add the version number, |
122 | + required by plainbox >= 0.5. |
123 | + |
124 | + -- Sylvain Pineau <sylvain.pineau@canonical.com> Tue, 28 Jan 2014 13:23:22 +0100 |
125 | + |
126 | +plainbox-provider-resource-generic (0.2-1) unstable; urgency=low |
127 | + |
128 | + * Initial release (Closes: #735187) |
129 | + |
130 | + -- Sylvain Pineau <sylvain.pineau@canonical.com> Mon, 13 Jan 2014 15:27:48 +0100 |
131 | diff --git a/debian/compat b/debian/compat |
132 | new file mode 100644 |
133 | index 0000000..ec63514 |
134 | --- /dev/null |
135 | +++ b/debian/compat |
136 | @@ -0,0 +1 @@ |
137 | +9 |
138 | diff --git a/debian/control b/debian/control |
139 | new file mode 100644 |
140 | index 0000000..67d365d |
141 | --- /dev/null |
142 | +++ b/debian/control |
143 | @@ -0,0 +1,40 @@ |
144 | +Source: plainbox-provider-resource-generic |
145 | +Section: utils |
146 | +Priority: optional |
147 | +Maintainer: Checkbox Developers <checkbox-devel@lists.ubuntu.com> |
148 | +Uploaders: Sylvain Pineau <sylvain.pineau@canonical.com>, |
149 | + Zygmunt Krynicki <zygmunt.krynicki@canonical.com>, |
150 | + Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org> |
151 | +Build-Depends: autoconf, |
152 | + automake, |
153 | + debhelper (>= 9), |
154 | + intltool, |
155 | + libnl-3-dev, |
156 | + libnl-genl-3-dev, |
157 | + pkg-config, |
158 | + python3, |
159 | + python3-debian, |
160 | + python3-plainbox (>= 0.27) |
161 | +Standards-Version: 3.9.6 |
162 | +Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/plainbox-provider-resource-generic/trunk/ |
163 | +Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/plainbox-provider-resource-generic/trunk/ |
164 | +Homepage: http://launchpad.net/plainbox-provider-resource |
165 | + |
166 | +Package: plainbox-provider-resource-generic |
167 | +Architecture: any |
168 | +Depends: ${misc:Depends}, ${plainbox:Depends}, ${shlibs:Depends} |
169 | +Suggests: ${plainbox:Suggests} |
170 | +Recommends: ${plainbox:Recommends} |
171 | +X-Plainbox-Provider: yes |
172 | +Description: CheckBox generic resource jobs provider |
173 | + This package provides the generic resource jobs. It is used together |
174 | + alongside with PlainBox. |
175 | + . |
176 | + Jobs are smallest units of testing that can be performed by PlainBox. |
177 | + All jobs have an unique name. There are many types of jobs, some are fully |
178 | + automated others are fully manual. |
179 | + . |
180 | + Resources are collections of key-value data sets that are generated by |
181 | + special resource jobs. They are extensively used to indicate hardware or |
182 | + software dependencies. For example a bluetooth test may indicate it |
183 | + requires bluetooth hardware and appropriate software packages installed. |
184 | diff --git a/debian/copyright b/debian/copyright |
185 | new file mode 100644 |
186 | index 0000000..4d79ae5 |
187 | --- /dev/null |
188 | +++ b/debian/copyright |
189 | @@ -0,0 +1,40 @@ |
190 | +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ |
191 | +Upstream-Name: plainbox-provider-resource-generic |
192 | +Source: https://launchpad.net/checkbox |
193 | + |
194 | +Files: * |
195 | +Copyright: Copyright 2007-2016 Canonical Ltd. |
196 | +License: GPL-3 |
197 | + This program is free software: you can redistribute it and/or modify |
198 | + it under the terms of the GNU General Public License version 3, |
199 | + as published by the Free Software Foundation. |
200 | + . |
201 | + This program is distributed in the hope that it will be useful, |
202 | + but WITHOUT ANY WARRANTY; without even the implied warranty of |
203 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
204 | + GNU General Public License for more details. |
205 | + . |
206 | + You should have received a copy of the GNU General Public License |
207 | + along with this program. If not, see <http://www.gnu.org/licenses/>. |
208 | + . |
209 | + On Debian-based systems the full text of the GPL, version 3, can be found at |
210 | + /usr/share/common-licenses/GPL-3. |
211 | + |
212 | +Files: src/80211_resource.c |
213 | +Copyright: 2014, Sylvain Pineau <sylvain.pineau@canonical.com> |
214 | + 2007-2012, Johannes Berg |
215 | + 2007, Andy Lutomirski |
216 | + 2007, Mike Kershaw |
217 | + 2008-2010, Luis R. Rodriguez |
218 | +License: ISC |
219 | + Permission to use, copy, modify, and/or distribute this software for any |
220 | + purpose with or without fee is hereby granted, provided that the above |
221 | + copyright notice and this permission notice appear in all copies. |
222 | + . |
223 | + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
224 | + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
225 | + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
226 | + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
227 | + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
228 | + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
229 | + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
230 | diff --git a/debian/rules b/debian/rules |
231 | new file mode 100755 |
232 | index 0000000..e134dea |
233 | --- /dev/null |
234 | +++ b/debian/rules |
235 | @@ -0,0 +1,26 @@ |
236 | +#!/usr/bin/make -f |
237 | + |
238 | +%: |
239 | + dh $@ |
240 | + |
241 | +override_dh_auto_clean: |
242 | + -python3 manage.py clean |
243 | + |
244 | +override_dh_auto_configure: |
245 | + cd src && autoreconf -i |
246 | + |
247 | +override_dh_auto_build: |
248 | + python3 manage.py build |
249 | + python3 manage.py i18n --dont-update-pot --dont-merge-po |
250 | + |
251 | +override_dh_auto_test: |
252 | + python3 manage.py validate |
253 | + |
254 | +override_dh_auto_install: |
255 | + python3 manage.py install \ |
256 | + --prefix=/usr --layout=unix \ |
257 | + --root=$(CURDIR)/debian/plainbox-provider-resource-generic/ |
258 | + |
259 | +override_dh_gencontrol: |
260 | + python3 manage.py packaging |
261 | + dh_gencontrol |
262 | diff --git a/debian/source/format b/debian/source/format |
263 | new file mode 100644 |
264 | index 0000000..163aaf8 |
265 | --- /dev/null |
266 | +++ b/debian/source/format |
267 | @@ -0,0 +1 @@ |
268 | +3.0 (quilt) |
269 | diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc |
270 | new file mode 100644 |
271 | index 0000000..90eb450 |
272 | --- /dev/null |
273 | +++ b/debian/upstream/signing-key.asc |
274 | @@ -0,0 +1,119 @@ |
275 | +-----BEGIN PGP PUBLIC KEY BLOCK----- |
276 | +Version: GnuPG v1 |
277 | + |
278 | +mQENBFKwFVIBCADKU9N0j1zVG1bzMb8ex6E0rtnt2iVE4Of+ev07xq7T/kKp/Dsm |
279 | +XUdV+teImQ6RCsHHlN6+a7fqTC468iHtK0fgYArILZx0Dc+VV7XNhFgvlruZoUHO |
280 | +HqTpCmI7U5yYup4xT3ZzhrqJnn5yRa3SK5+SgvtuWsbJdodkb+C7cmYwm6gZ1q/1 |
281 | +raO5hKyg4erSlbyEXc2Ka708950s7l4MpyzHA9kLq5Eo9rAP9IUs/gvh/tcVXf2K |
282 | +/0cr7u7BjTNgIXAhvWiv0nT475rnZzUDnFhZDhwqIgY0UUBWGsT0HWBeG/CooRns |
283 | +cQm6Ey3Ajk7HEBJm+JOnWuZqo5j1TucFddQ3ABEBAAG0Jlp5Z211bnQgS3J5bmlj |
284 | +a2kgPHprcnluaWNraUBnbWFpbC5jb20+iQE+BBMBAgAoBQJSsBVSAhsDBQkB4TOA |
285 | +BgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDSG1MMGLIyH/o2B/4952TbXO25 |
286 | +A6RWESjOuUhFC/ZAApNcB9MTFj9H+eggEzIPrGFsptV83ceoi+JOuXQM0Eaxw+1N |
287 | +WfF+Z00vYo0BdgYdK656zveCETrmLarBe9+DCl/rZSmOASbXPYulNeUA2nyx6U3D |
288 | +VapnjzebQ8F0GRZqaSGJq78orbW08tXIQ6E2yNcNmJUjyRmOYsVMGW7ee3hmIEKx |
289 | ++3EN+odIPKuXerDrSwUZcrHBbmu+XAL1TG/F3Q1w7gBLY/PiF9CDhgQ7mYiWUAKy |
290 | +WYVXTC9RkyoqshjqbEcqRQ51zIVUBcUc8fczAMdR5PqS5Y4d00nelPS/qHodfQF8 |
291 | +47pojdnJGx0miQIcBBABAgAGBQJSy9W4AAoJECbKqQEReiUehF8P/0J77SbjEQJN |
292 | +puNRBCY3YHcmQBZS4bqnvJXzTJsLmOEx8JydyE7E8h/o0DztJ+rZB6xiMeUXjG8i |
293 | +yu2j7ra19W1crxH/NRaNsxEgj6jnR7+oJIhMq4k1K8VuTMiQoikJt2hd6CIpEz0o |
294 | +w8mpAu6sQlCNyYpuIzXFykVTvJ+2YlZZ/LOV9eaZDaNX53H+9DM5Qlv9vYE4htZ8 |
295 | +QVB7uNDWz8A760VhxEPQZgrE/KCTigzhLmxfyNtuPep7nwrWqUy5BRwluzGhOchn |
296 | +Pr2NKQhL5OgfrQ+PfYNQkhtzkm4LtAdlyiRncpsuSQyACh9luatJSsHwp4yCRA9h |
297 | +iCQcgpKsFNCtunT71EOhRzmr4jLLAcDTDq0652TvcWeA0Yd3ikLRd0Y3U60En14f |
298 | +cJC9GCVIi7yVNE3LJQeWMPFuLpv64EdLV1G6PDj7OqEdLksHb1hqJ+WKBPC0YnRZ |
299 | +yd62bVhrZiUcuxQnNtqyp5Am1mlnficAyjhCjUHHkXlUFrmCt4ebGH1LAbfLiuEj |
300 | +ZB1n3m7bPbWv1bEIsx+Mi0pt2Fi6jQ7jEH1qPDSNgv2RQ53N4lNJCTu240OSzcVW |
301 | +ZnEIWnEV1PN7UqnTZmNU72sFnGHTzv/eiP0jhDc8Xpww5HRybP3kzZgaHeY+fM/g |
302 | +c5C9fW43hvrPxg4UDj8buKz+n7k0sV/WuQENBFKwFVIBCADJTpL7w0hWI8MSpPaq |
303 | +RCvFc+IHHhXXdEJ4miEglTVWrX14qvSo0dk90Kgpi9kuGK1I1nm9NVK8ml/fSqIC |
304 | +SL2xAVQzFzK5X3/PB4DyHGW0MWVvPjIsJBy3VDPcdEWiqJyjIHCAyblx9aHwW+TP |
305 | +GxY49jqoEGi3AVZzMlxBnGDl/gxGhSFwxQMNgmGLk6KNAK5x2a2/yXrEUzk0gNqv |
306 | +PUS6Gcnamz0H3W4EsEv/6gSq9pLVPfLEykqoMXFwBneQn3CbGYa7yOokK0PQVrWH |
307 | +4DE5f/DZGJcSw3epc+FGK96NogNDODVbFpYFpBuyf2JqcnmhiWRLeTwPB7zzxZAe |
308 | +dJTxABEBAAGJASUEGAECAA8FAlKwFVICGwwFCQHhM4AACgkQ0htTDBiyMh/OXwgA |
309 | +vdPfzO6YfsAPpDLcTtvepzaYnooK6H2TLETmTbcoQG2KQKLeSTCVf6842v+2uIyT |
310 | +7n4mPk3Bq4HZPR0kQmwbkGBGSKkKdEI2pbuKbS6j3xTwgKltn3NPhGAAHjZC28JS |
311 | +LnQwHbb4Fq/aPnGRE/MhrJWocKTsenyqsv0hXjpKgGT6CJmzK0xqHQ0J8boVdvuv |
312 | +0lpOH4huJrY1v4CgTb9Lel8+nVQdV/YW37q6ie8tKcuV/E0Bg2SDlrp1sB5fw6ug |
313 | +Gmw1KgG5PEGCw3aw8nTSxcs+SvlbcoQHQ4wxaC8JMk9FFd6jXMWJL9dWP+ZA61od |
314 | +xxGS57/Nmfbij8UuxgkLtw== |
315 | +=4Jty |
316 | +-----END PGP PUBLIC KEY BLOCK----- |
317 | +-----BEGIN PGP PUBLIC KEY BLOCK----- |
318 | +Version: GnuPG v1 |
319 | + |
320 | +mQENBEvipr4BCADJdK7pAu7fEFyNCLdMULze97sVWWJ1bWkA/lMot14911EbyFr7 |
321 | +pvi5uril4QT55d1AKfMXJ6HNtHtIHe/CF1ehEc5c7oA2c0IdeSR4F6JEbFSneORT |
322 | +OZtYAK3VdG53ywpyCqP2tzB/YrRhVO9qsc5fYEr0EpeqRkvB5ower2MUFvvM5PBZ |
323 | +a+0owzW9OnlSOqbrVPj9Wp1bn857j/WpJCrMbcJlPPWGyo4ambAQI4Rky+apeQM0 |
324 | +L4QTjPMXIoHDQao/2XsSL75OBx5Bi81j1KoU56PvM9b4oWMOqDDolPHwZGJtCewl |
325 | +LJqfy1Oa68vN4MxDXFmGp7bFTCt8ZOup1AjlABEBAAG0LVN5bHZhaW4gUGluZWF1 |
326 | +IDxzeWx2YWluLnBpbmVhdUBjYW5vbmljYWwuY29tPokBOAQTAQIAIgUCS+KmvgIb |
327 | +AwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQdNV1zH7XLNGSgAgApgU9VUlp |
328 | +Rblw7WH7q8BueI4G5CRiIDt6PA866IhbtuKPHMhv8LUQCVavAtKWVlwx/wGS/+2y |
329 | +CKqTCRXFu52MomE+kSfEFnELMW8vwz3KG6NgUVIv8dFesf1Finc8Y9YQkUX/xWYV |
330 | +MYREz3rgDgGMgpWlMVq5/olqYMg1jc4yIKrbQGoFDvlgijzGwibh/V5NVPcuYrMK |
331 | +DvhnWGIEX4whP/hW/o7vPKC5qYznrGqRroLqsq1viGgeS7nK37vcgX+vYv5pzIDM |
332 | +73CqpAnISAyBpU5n/YHG4AmundrVHwdscY7u8l9Fn5XFEGhu6FxWQL2mAY/gvGPS |
333 | +fgxeZUWpB21WNrkBDQRL4qa+AQgAtAiq2zDF0hl2KnB/a16O5SyjDR5XJUcWJ9F/ |
334 | +tFw0i3EXEYeYdCFHaTdFfDmdX+SyBPh4lJIJZCpFZZ7Akeb3qLDS/4oAAo4EcoeS |
335 | +pp47Mr1/eCahI9Pkwg073jqHSUAKQp6oPP/bvBzAqhl4ZkUyZQpjdy0/d5FO4OEa |
336 | +R91SCxNqBQOA+Z2rKL6gBwJYpMGMKC1bhfOCvD8eH7dN3PDMNnHoYSjJSy5di/Zu |
337 | +snrVR4MO63FpmSZ4r5eGjIaiBFxYXsitn2ilPOt2e0/Vo8QOJsOl+6bOkdn5jiNL |
338 | +n1fCvzadUXuEDTjj9+6UkCCLYRODeTrMM9XpNeAZZBSGVzuCgQARAQABiQEfBBgB |
339 | +AgAJBQJL4qa+AhsMAAoJEHTVdcx+1yzRcpEH/iZMQPFnnCj3LthOvCAVM/raO17h |
340 | +KshdrOMS53uI5NzeBnr+/0zGMehnYcpzLmrvHXM86lsUVSzfr/px/Ve3+8SR6qxy |
341 | +p5+PFsxbqh+DSkxnTfbIqHVBY4f7/nOQavI1rhj4JQzKiYLCvIhDMVQm/2ZKnsNB |
342 | +043MaDPi0SBLJmqZqFyH3CUE3B8JNi4i+nv7Vj37V4sL1yHwN+rmyDhZUUelO5Iw |
343 | +vrysE7eNqmhTtuV+tl5Oq2EEzYau+7u+/Kuo1JpFsamJ8xVIR2j9i/3m3LqOaVPo |
344 | +ExFTDCQAPTaRyLAvTFylsIUffsdIAsM8wJQnuO5EzlxbkId3aVOrJ/cb5to= |
345 | +=cQg/ |
346 | +-----END PGP PUBLIC KEY BLOCK----- |
347 | +-----BEGIN PGP PUBLIC KEY BLOCK----- |
348 | +Version: SKS 1.1.5 |
349 | + |
350 | +mQINBFRpWcgBEAC+cG21kzdC0OFfoFKTyh596YZdoMN6JjXeh5dDz3JLOa1ybiLZ8zrOpg83 |
351 | +1P9ChGiTlWkhGX6cp5Rmnc4z+5p6YgSgLZe6psl2bwEMtb4l+v2iPmafN6r/lym5dNlnkekq |
352 | +dao3EQHTRvQV/BB0O2JQStk01zQzkMtwSzwYK45Eah14jHct93oC2fKOYcCQWoap/XBgyU3p |
353 | +DmECXK7Y0lR51vmmS9jhL4AmjROyjmxePt03w0/6CBgXRN+5o58JT1vH64oosJFoZl+jUld4 |
354 | +AXFHkVNqq5geYIvV/wteFCwelLhIkfM7jtZpoLVgsOBDHmslGw/yoeTG9PtcmgtUtwwRPxcp |
355 | +9+9kwNXVNCjoTs3mIyyvrjx5So/CYJ/VpNrs0EzneAPGK5vpsvYZDjIXJbo3sZbkCevyJuhw |
356 | +9VOnmdf4RZmkCdDjMTp5c9V4aVzxwoWo+lWRaprRkJcyZkP0o94tXP4mQsFtiiOdmRXsLvKv |
357 | +LvawaKXQko1Xi46X4kxgmg/+/PTokp29mthyoNlBtkUPry/UTiIeyeVEqT6/YzmHht5yXOV3 |
358 | +f84TQVDEnu3IcaBjwszQV3hlj6cEHQVZ9AWTB347p8mIPoi1InRrTLBfXbqBrISVVAPzwHbh |
359 | +Q86UZ0Rfuh2cAoV7iqpCcnjEyzq9APDikwDsZV5Jv0piW0mwKQARAQABtClQaWVycmUgRXF1 |
360 | +b3kgPHBpZXJyZS5lcXVveUBjYW5vbmljYWwuY29tPokCOAQTAQIAIgUCVGlZyAIbAwYLCQgH |
361 | +AwIGFQgCCQoLBBYCAwECHgECF4AACgkQscby/LG1dar0Hw/7BN0SjDGPywb9bubWObmZr+ta |
362 | +MV8kMZ17rG2Jc1oeF4chw/LvtfEr9QaBfUHHDF+4aeeO9Ac7mJZ+dDUCMKU8m+Fkc46mJmtE |
363 | +QTKAQtjS9+WGoJ1qFQXEKJ/6NwjdTKyGjvsbTW5BeIuydE1xcAOgX0Oqe32nS0O3RJD3YrCA |
364 | +0UPZAhWdJJmwQ4nFMd4MXxhKMMuS2kB3wdBqcv9+XVK01PXyR54+Xsq1uE7Q0METaDk09iHE |
365 | +6AukzUQrmwvUBBWEtDi/OD9RJern8w6wfblsf3KGB0TYBED2U2Bx85QEv4uC1lBNlpSgrl8o |
366 | +wh1gnFyj3crG2FXzRj49+/aqNsTPVXe56/MfRCz0djvZH+duU9TNq2kmWrK+dZFnv61rBVof |
367 | +Wb2B9UaYMsTbMdE+UsqJZPLLRk1BMh66aY7Bu1emyumOiVsKjc2s3i5c+XKI2AuJIXKCQhHr |
368 | +guOeefj8ruvLgbiUWJrWyJDbXveBMqaij6oLTXiph00Rk5iBGT2dvg+GbhIm8yF2IuEfu9xC |
369 | +syNXpnRr4IOAsKsrgm1tmpuyYrkOs5zBspQljNm9t1xwspzQKmUkeZ+K7QrnCl3Ki6oAUfax |
370 | +KT823FOgy3sIBaoqArgi/eCOkO6UoZmoP5H35Acz+PzpEvLv7xcYRb0gASoTPcxudpXDbYfO |
371 | +92bXCBmd6Ga5Ag0EVGlZyAEQAKo2rz9RtuiGlEQ0UsHqhz/QLcJa5nADn9+cnDYAkyV5Yl0t |
372 | +1DENe455Uu9BeVyn85FPBJmdeZfIAn9x53zV4poOxt7oTN2kAj0Vgv0ek5oFbLSMgO2LnAn/ |
373 | +QkT35t9wJrn+57gm40MiBW1sJqWOpiR+0PgwfyOIGUIIDuDJmVgg78KgsKTbfRl9Fx/ZDpMV |
374 | +hFHguENWtTMJuiNeyJuILgc9CgI36PweM+RXKYZfkfk/UOWmpm/4XxgkS/yg1aaQTzrEYv+p |
375 | +nZrm7iX//GAr1TmS5fC+oGg+fV89rpsn9E7oIrfUTb9InIdSH55kzA0Rt4lQJTKanxiQTKd8 |
376 | +sznR2Xnd8BhTG4jdAaXY5A/zZJuMHwsjulcwjc90W2y+5q6ZwVwwBmq+0tsrnzcLeP4rnh2e |
377 | +PxNRDk08Ux8/bDJmknl66VytZtkj09FqYr033FC+VKtRcEdomH1RrozY6aa7ZpIMHNMx9IbP |
378 | ++YeFXCqAIgl0labAJt5dN2NzuC+Oz7mPmuL8B7MDpZ6VVzWphz3EoZulud2fRKMTgamNzCOj |
379 | +m/458OFgySEEpYT9peXsUE1b6kw3pt820g/VKoP1RMeAkt+iU/s4h6/vxdpp+9HIZ+2eB7/0 |
380 | +3iXEVGH3CI7Vb3001seyTJH7VbK6BiAvqxS8wLBZz2c8RV6buOjEl4tJFZ3jABEBAAGJAh8E |
381 | +GAECAAkFAlRpWcgCGwwACgkQscby/LG1daohWQ/9EJU/P+MrZJaLOaB6GMHvRBWiGxPxWxbD |
382 | +zOYFWdtZ1EC0fiiTPdU5OSDIg5MHPOFosl6IA+YY7pbKMqeduhRO+EwOSu6N4c5GB5qA380J |
383 | ++F+5fBJMeM7luvmEmevZU3SwGb+UY5ZsTutgRkgOQM1VAqIXr41uRPZH+GrjsDTonI8fqjhc |
384 | +6e0v+4UIdWbYcVzVLl0p0R5OvG4KL/uW4ZTxkW7rQB1Qgy81hCzgMWfSIG9iVSI1bLjiDRlL |
385 | +hbZpilQ2oTxGXsrxAZm7D0bcLf5qq0CEia7UjWs21g2mrPIP1ahI4f5ww8RVqd+oecN+0zy+ |
386 | ++2nijizfBs04cqY0fh5RKC2DL3giPw86sAyjD2qAaAShQkN1BFBZFGJGSIeMiDe4sXalmLrl |
387 | +I77vvMyajFThWqn8dpk0G+GpouY0lJ3YOo2zFxm/Uq5a5m0FCkWOgP9ug8YGlKr3IidA9gg2 |
388 | +oMhbvzQ/h+HN2JeOKoB4WKVZT4D4oDg9uvJSRbIuCWgnNEkwBW7koXpR1AT+6MTrz6djw1st |
389 | +x6SWkwqbOYu/zksoyauEYNE07YcOAyS0QeTp6UA4S/2If58xLoVUkNaR7E+s23sbSAzffKRD |
390 | +Swx6tcSA5hlpGMMeiq704pBicXO2FbLCsJ/NQNz2OYNuOzesM23ysjMR5m1woJzhEeGoKjt+ |
391 | +FHU= |
392 | +=UsyP |
393 | +-----END PGP PUBLIC KEY BLOCK----- |
394 | diff --git a/debian/watch b/debian/watch |
395 | new file mode 100644 |
396 | index 0000000..552db59 |
397 | --- /dev/null |
398 | +++ b/debian/watch |
399 | @@ -0,0 +1,4 @@ |
400 | +version=3 |
401 | +opts=pgpsigurlmangle=s/$/.asc/ \ |
402 | + http://launchpad.net/plainbox-provider-resource/+download/ \ |
403 | + https://launchpad\.net/plainbox-provider-resource/.*/.*/\+download/plainbox-provider-resource-generic-(.*).tar.gz |
404 | diff --git a/manage.py b/manage.py |
405 | index c9dd5a2..fffa24d 100755 |
406 | --- a/manage.py |
407 | +++ b/manage.py |
408 | @@ -44,7 +44,11 @@ class SourceDistributionCommandExt(SourceDistributionCommand): |
409 | setup( |
410 | name='plainbox-provider-resource-generic', |
411 | namespace='2013.com.canonical.certification', |
412 | +<<<<<<< manage.py |
413 | version="0.29", |
414 | +======= |
415 | + version="0.30.0rc1", |
416 | +>>>>>>> manage.py |
417 | description=N_("PlainBox resources provider"), |
418 | gettext_domain='plainbox-provider-resource-generic', |
419 | deprecated=False, strict=False, |
420 | diff --git a/src/INSTALL b/src/INSTALL |
421 | new file mode 100644 |
422 | index 0000000..2099840 |
423 | --- /dev/null |
424 | +++ b/src/INSTALL |
425 | @@ -0,0 +1,370 @@ |
426 | +Installation Instructions |
427 | +************************* |
428 | + |
429 | +Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation, |
430 | +Inc. |
431 | + |
432 | + Copying and distribution of this file, with or without modification, |
433 | +are permitted in any medium without royalty provided the copyright |
434 | +notice and this notice are preserved. This file is offered as-is, |
435 | +without warranty of any kind. |
436 | + |
437 | +Basic Installation |
438 | +================== |
439 | + |
440 | + Briefly, the shell command `./configure && make && make install' |
441 | +should configure, build, and install this package. The following |
442 | +more-detailed instructions are generic; see the `README' file for |
443 | +instructions specific to this package. Some packages provide this |
444 | +`INSTALL' file but do not implement all of the features documented |
445 | +below. The lack of an optional feature in a given package is not |
446 | +necessarily a bug. More recommendations for GNU packages can be found |
447 | +in *note Makefile Conventions: (standards)Makefile Conventions. |
448 | + |
449 | + The `configure' shell script attempts to guess correct values for |
450 | +various system-dependent variables used during compilation. It uses |
451 | +those values to create a `Makefile' in each directory of the package. |
452 | +It may also create one or more `.h' files containing system-dependent |
453 | +definitions. Finally, it creates a shell script `config.status' that |
454 | +you can run in the future to recreate the current configuration, and a |
455 | +file `config.log' containing compiler output (useful mainly for |
456 | +debugging `configure'). |
457 | + |
458 | + It can also use an optional file (typically called `config.cache' |
459 | +and enabled with `--cache-file=config.cache' or simply `-C') that saves |
460 | +the results of its tests to speed up reconfiguring. Caching is |
461 | +disabled by default to prevent problems with accidental use of stale |
462 | +cache files. |
463 | + |
464 | + If you need to do unusual things to compile the package, please try |
465 | +to figure out how `configure' could check whether to do them, and mail |
466 | +diffs or instructions to the address given in the `README' so they can |
467 | +be considered for the next release. If you are using the cache, and at |
468 | +some point `config.cache' contains results you don't want to keep, you |
469 | +may remove or edit it. |
470 | + |
471 | + The file `configure.ac' (or `configure.in') is used to create |
472 | +`configure' by a program called `autoconf'. You need `configure.ac' if |
473 | +you want to change it or regenerate `configure' using a newer version |
474 | +of `autoconf'. |
475 | + |
476 | + The simplest way to compile this package is: |
477 | + |
478 | + 1. `cd' to the directory containing the package's source code and type |
479 | + `./configure' to configure the package for your system. |
480 | + |
481 | + Running `configure' might take a while. While running, it prints |
482 | + some messages telling which features it is checking for. |
483 | + |
484 | + 2. Type `make' to compile the package. |
485 | + |
486 | + 3. Optionally, type `make check' to run any self-tests that come with |
487 | + the package, generally using the just-built uninstalled binaries. |
488 | + |
489 | + 4. Type `make install' to install the programs and any data files and |
490 | + documentation. When installing into a prefix owned by root, it is |
491 | + recommended that the package be configured and built as a regular |
492 | + user, and only the `make install' phase executed with root |
493 | + privileges. |
494 | + |
495 | + 5. Optionally, type `make installcheck' to repeat any self-tests, but |
496 | + this time using the binaries in their final installed location. |
497 | + This target does not install anything. Running this target as a |
498 | + regular user, particularly if the prior `make install' required |
499 | + root privileges, verifies that the installation completed |
500 | + correctly. |
501 | + |
502 | + 6. You can remove the program binaries and object files from the |
503 | + source code directory by typing `make clean'. To also remove the |
504 | + files that `configure' created (so you can compile the package for |
505 | + a different kind of computer), type `make distclean'. There is |
506 | + also a `make maintainer-clean' target, but that is intended mainly |
507 | + for the package's developers. If you use it, you may have to get |
508 | + all sorts of other programs in order to regenerate files that came |
509 | + with the distribution. |
510 | + |
511 | + 7. Often, you can also type `make uninstall' to remove the installed |
512 | + files again. In practice, not all packages have tested that |
513 | + uninstallation works correctly, even though it is required by the |
514 | + GNU Coding Standards. |
515 | + |
516 | + 8. Some packages, particularly those that use Automake, provide `make |
517 | + distcheck', which can by used by developers to test that all other |
518 | + targets like `make install' and `make uninstall' work correctly. |
519 | + This target is generally not run by end users. |
520 | + |
521 | +Compilers and Options |
522 | +===================== |
523 | + |
524 | + Some systems require unusual options for compilation or linking that |
525 | +the `configure' script does not know about. Run `./configure --help' |
526 | +for details on some of the pertinent environment variables. |
527 | + |
528 | + You can give `configure' initial values for configuration parameters |
529 | +by setting variables in the command line or in the environment. Here |
530 | +is an example: |
531 | + |
532 | + ./configure CC=c99 CFLAGS=-g LIBS=-lposix |
533 | + |
534 | + *Note Defining Variables::, for more details. |
535 | + |
536 | +Compiling For Multiple Architectures |
537 | +==================================== |
538 | + |
539 | + You can compile the package for more than one kind of computer at the |
540 | +same time, by placing the object files for each architecture in their |
541 | +own directory. To do this, you can use GNU `make'. `cd' to the |
542 | +directory where you want the object files and executables to go and run |
543 | +the `configure' script. `configure' automatically checks for the |
544 | +source code in the directory that `configure' is in and in `..'. This |
545 | +is known as a "VPATH" build. |
546 | + |
547 | + With a non-GNU `make', it is safer to compile the package for one |
548 | +architecture at a time in the source code directory. After you have |
549 | +installed the package for one architecture, use `make distclean' before |
550 | +reconfiguring for another architecture. |
551 | + |
552 | + On MacOS X 10.5 and later systems, you can create libraries and |
553 | +executables that work on multiple system types--known as "fat" or |
554 | +"universal" binaries--by specifying multiple `-arch' options to the |
555 | +compiler but only a single `-arch' option to the preprocessor. Like |
556 | +this: |
557 | + |
558 | + ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ |
559 | + CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ |
560 | + CPP="gcc -E" CXXCPP="g++ -E" |
561 | + |
562 | + This is not guaranteed to produce working output in all cases, you |
563 | +may have to build one architecture at a time and combine the results |
564 | +using the `lipo' tool if you have problems. |
565 | + |
566 | +Installation Names |
567 | +================== |
568 | + |
569 | + By default, `make install' installs the package's commands under |
570 | +`/usr/local/bin', include files under `/usr/local/include', etc. You |
571 | +can specify an installation prefix other than `/usr/local' by giving |
572 | +`configure' the option `--prefix=PREFIX', where PREFIX must be an |
573 | +absolute file name. |
574 | + |
575 | + You can specify separate installation prefixes for |
576 | +architecture-specific files and architecture-independent files. If you |
577 | +pass the option `--exec-prefix=PREFIX' to `configure', the package uses |
578 | +PREFIX as the prefix for installing programs and libraries. |
579 | +Documentation and other data files still use the regular prefix. |
580 | + |
581 | + In addition, if you use an unusual directory layout you can give |
582 | +options like `--bindir=DIR' to specify different values for particular |
583 | +kinds of files. Run `configure --help' for a list of the directories |
584 | +you can set and what kinds of files go in them. In general, the |
585 | +default for these options is expressed in terms of `${prefix}', so that |
586 | +specifying just `--prefix' will affect all of the other directory |
587 | +specifications that were not explicitly provided. |
588 | + |
589 | + The most portable way to affect installation locations is to pass the |
590 | +correct locations to `configure'; however, many packages provide one or |
591 | +both of the following shortcuts of passing variable assignments to the |
592 | +`make install' command line to change installation locations without |
593 | +having to reconfigure or recompile. |
594 | + |
595 | + The first method involves providing an override variable for each |
596 | +affected directory. For example, `make install |
597 | +prefix=/alternate/directory' will choose an alternate location for all |
598 | +directory configuration variables that were expressed in terms of |
599 | +`${prefix}'. Any directories that were specified during `configure', |
600 | +but not in terms of `${prefix}', must each be overridden at install |
601 | +time for the entire installation to be relocated. The approach of |
602 | +makefile variable overrides for each directory variable is required by |
603 | +the GNU Coding Standards, and ideally causes no recompilation. |
604 | +However, some platforms have known limitations with the semantics of |
605 | +shared libraries that end up requiring recompilation when using this |
606 | +method, particularly noticeable in packages that use GNU Libtool. |
607 | + |
608 | + The second method involves providing the `DESTDIR' variable. For |
609 | +example, `make install DESTDIR=/alternate/directory' will prepend |
610 | +`/alternate/directory' before all installation names. The approach of |
611 | +`DESTDIR' overrides is not required by the GNU Coding Standards, and |
612 | +does not work on platforms that have drive letters. On the other hand, |
613 | +it does better at avoiding recompilation issues, and works well even |
614 | +when some directory options were not specified in terms of `${prefix}' |
615 | +at `configure' time. |
616 | + |
617 | +Optional Features |
618 | +================= |
619 | + |
620 | + If the package supports it, you can cause programs to be installed |
621 | +with an extra prefix or suffix on their names by giving `configure' the |
622 | +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. |
623 | + |
624 | + Some packages pay attention to `--enable-FEATURE' options to |
625 | +`configure', where FEATURE indicates an optional part of the package. |
626 | +They may also pay attention to `--with-PACKAGE' options, where PACKAGE |
627 | +is something like `gnu-as' or `x' (for the X Window System). The |
628 | +`README' should mention any `--enable-' and `--with-' options that the |
629 | +package recognizes. |
630 | + |
631 | + For packages that use the X Window System, `configure' can usually |
632 | +find the X include and library files automatically, but if it doesn't, |
633 | +you can use the `configure' options `--x-includes=DIR' and |
634 | +`--x-libraries=DIR' to specify their locations. |
635 | + |
636 | + Some packages offer the ability to configure how verbose the |
637 | +execution of `make' will be. For these packages, running `./configure |
638 | +--enable-silent-rules' sets the default to minimal output, which can be |
639 | +overridden with `make V=1'; while running `./configure |
640 | +--disable-silent-rules' sets the default to verbose, which can be |
641 | +overridden with `make V=0'. |
642 | + |
643 | +Particular systems |
644 | +================== |
645 | + |
646 | + On HP-UX, the default C compiler is not ANSI C compatible. If GNU |
647 | +CC is not installed, it is recommended to use the following options in |
648 | +order to use an ANSI C compiler: |
649 | + |
650 | + ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" |
651 | + |
652 | +and if that doesn't work, install pre-built binaries of GCC for HP-UX. |
653 | + |
654 | + HP-UX `make' updates targets which have the same time stamps as |
655 | +their prerequisites, which makes it generally unusable when shipped |
656 | +generated files such as `configure' are involved. Use GNU `make' |
657 | +instead. |
658 | + |
659 | + On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot |
660 | +parse its `<wchar.h>' header file. The option `-nodtk' can be used as |
661 | +a workaround. If GNU CC is not installed, it is therefore recommended |
662 | +to try |
663 | + |
664 | + ./configure CC="cc" |
665 | + |
666 | +and if that doesn't work, try |
667 | + |
668 | + ./configure CC="cc -nodtk" |
669 | + |
670 | + On Solaris, don't put `/usr/ucb' early in your `PATH'. This |
671 | +directory contains several dysfunctional programs; working variants of |
672 | +these programs are available in `/usr/bin'. So, if you need `/usr/ucb' |
673 | +in your `PATH', put it _after_ `/usr/bin'. |
674 | + |
675 | + On Haiku, software installed for all users goes in `/boot/common', |
676 | +not `/usr/local'. It is recommended to use the following options: |
677 | + |
678 | + ./configure --prefix=/boot/common |
679 | + |
680 | +Specifying the System Type |
681 | +========================== |
682 | + |
683 | + There may be some features `configure' cannot figure out |
684 | +automatically, but needs to determine by the type of machine the package |
685 | +will run on. Usually, assuming the package is built to be run on the |
686 | +_same_ architectures, `configure' can figure that out, but if it prints |
687 | +a message saying it cannot guess the machine type, give it the |
688 | +`--build=TYPE' option. TYPE can either be a short name for the system |
689 | +type, such as `sun4', or a canonical name which has the form: |
690 | + |
691 | + CPU-COMPANY-SYSTEM |
692 | + |
693 | +where SYSTEM can have one of these forms: |
694 | + |
695 | + OS |
696 | + KERNEL-OS |
697 | + |
698 | + See the file `config.sub' for the possible values of each field. If |
699 | +`config.sub' isn't included in this package, then this package doesn't |
700 | +need to know the machine type. |
701 | + |
702 | + If you are _building_ compiler tools for cross-compiling, you should |
703 | +use the option `--target=TYPE' to select the type of system they will |
704 | +produce code for. |
705 | + |
706 | + If you want to _use_ a cross compiler, that generates code for a |
707 | +platform different from the build platform, you should specify the |
708 | +"host" platform (i.e., that on which the generated programs will |
709 | +eventually be run) with `--host=TYPE'. |
710 | + |
711 | +Sharing Defaults |
712 | +================ |
713 | + |
714 | + If you want to set default values for `configure' scripts to share, |
715 | +you can create a site shell script called `config.site' that gives |
716 | +default values for variables like `CC', `cache_file', and `prefix'. |
717 | +`configure' looks for `PREFIX/share/config.site' if it exists, then |
718 | +`PREFIX/etc/config.site' if it exists. Or, you can set the |
719 | +`CONFIG_SITE' environment variable to the location of the site script. |
720 | +A warning: not all `configure' scripts look for a site script. |
721 | + |
722 | +Defining Variables |
723 | +================== |
724 | + |
725 | + Variables not defined in a site shell script can be set in the |
726 | +environment passed to `configure'. However, some packages may run |
727 | +configure again during the build, and the customized values of these |
728 | +variables may be lost. In order to avoid this problem, you should set |
729 | +them in the `configure' command line, using `VAR=value'. For example: |
730 | + |
731 | + ./configure CC=/usr/local2/bin/gcc |
732 | + |
733 | +causes the specified `gcc' to be used as the C compiler (unless it is |
734 | +overridden in the site shell script). |
735 | + |
736 | +Unfortunately, this technique does not work for `CONFIG_SHELL' due to |
737 | +an Autoconf limitation. Until the limitation is lifted, you can use |
738 | +this workaround: |
739 | + |
740 | + CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash |
741 | + |
742 | +`configure' Invocation |
743 | +====================== |
744 | + |
745 | + `configure' recognizes the following options to control how it |
746 | +operates. |
747 | + |
748 | +`--help' |
749 | +`-h' |
750 | + Print a summary of all of the options to `configure', and exit. |
751 | + |
752 | +`--help=short' |
753 | +`--help=recursive' |
754 | + Print a summary of the options unique to this package's |
755 | + `configure', and exit. The `short' variant lists options used |
756 | + only in the top level, while the `recursive' variant lists options |
757 | + also present in any nested packages. |
758 | + |
759 | +`--version' |
760 | +`-V' |
761 | + Print the version of Autoconf used to generate the `configure' |
762 | + script, and exit. |
763 | + |
764 | +`--cache-file=FILE' |
765 | + Enable the cache: use and save the results of the tests in FILE, |
766 | + traditionally `config.cache'. FILE defaults to `/dev/null' to |
767 | + disable caching. |
768 | + |
769 | +`--config-cache' |
770 | +`-C' |
771 | + Alias for `--cache-file=config.cache'. |
772 | + |
773 | +`--quiet' |
774 | +`--silent' |
775 | +`-q' |
776 | + Do not print messages saying which checks are being made. To |
777 | + suppress all normal output, redirect it to `/dev/null' (any error |
778 | + messages will still be shown). |
779 | + |
780 | +`--srcdir=DIR' |
781 | + Look for the package's source code in directory DIR. Usually |
782 | + `configure' can determine that directory automatically. |
783 | + |
784 | +`--prefix=DIR' |
785 | + Use DIR as the installation prefix. *note Installation Names:: |
786 | + for more details, including other options available for fine-tuning |
787 | + the installation locations. |
788 | + |
789 | +`--no-create' |
790 | +`-n' |
791 | + Run the configure checks, but stop before creating any output |
792 | + files. |
793 | + |
794 | +`configure' also accepts some other, not widely useful, options. Run |
795 | +`configure --help' for more details. |
796 | diff --git a/src/Makefile.in b/src/Makefile.in |
797 | new file mode 100644 |
798 | index 0000000..224d038 |
799 | --- /dev/null |
800 | +++ b/src/Makefile.in |
801 | @@ -0,0 +1,777 @@ |
802 | +# Makefile.in generated by automake 1.15 from Makefile.am. |
803 | +# @configure_input@ |
804 | + |
805 | +# Copyright (C) 1994-2014 Free Software Foundation, Inc. |
806 | + |
807 | +# This Makefile.in is free software; the Free Software Foundation |
808 | +# gives unlimited permission to copy and/or distribute it, |
809 | +# with or without modifications, as long as this notice is preserved. |
810 | + |
811 | +# This program is distributed in the hope that it will be useful, |
812 | +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
813 | +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
814 | +# PARTICULAR PURPOSE. |
815 | + |
816 | +@SET_MAKE@ |
817 | + |
818 | +VPATH = @srcdir@ |
819 | +am__is_gnu_make = { \ |
820 | + if test -z '$(MAKELEVEL)'; then \ |
821 | + false; \ |
822 | + elif test -n '$(MAKE_HOST)'; then \ |
823 | + true; \ |
824 | + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ |
825 | + true; \ |
826 | + else \ |
827 | + false; \ |
828 | + fi; \ |
829 | +} |
830 | +am__make_running_with_option = \ |
831 | + case $${target_option-} in \ |
832 | + ?) ;; \ |
833 | + *) echo "am__make_running_with_option: internal error: invalid" \ |
834 | + "target option '$${target_option-}' specified" >&2; \ |
835 | + exit 1;; \ |
836 | + esac; \ |
837 | + has_opt=no; \ |
838 | + sane_makeflags=$$MAKEFLAGS; \ |
839 | + if $(am__is_gnu_make); then \ |
840 | + sane_makeflags=$$MFLAGS; \ |
841 | + else \ |
842 | + case $$MAKEFLAGS in \ |
843 | + *\\[\ \ ]*) \ |
844 | + bs=\\; \ |
845 | + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ |
846 | + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ |
847 | + esac; \ |
848 | + fi; \ |
849 | + skip_next=no; \ |
850 | + strip_trailopt () \ |
851 | + { \ |
852 | + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ |
853 | + }; \ |
854 | + for flg in $$sane_makeflags; do \ |
855 | + test $$skip_next = yes && { skip_next=no; continue; }; \ |
856 | + case $$flg in \ |
857 | + *=*|--*) continue;; \ |
858 | + -*I) strip_trailopt 'I'; skip_next=yes;; \ |
859 | + -*I?*) strip_trailopt 'I';; \ |
860 | + -*O) strip_trailopt 'O'; skip_next=yes;; \ |
861 | + -*O?*) strip_trailopt 'O';; \ |
862 | + -*l) strip_trailopt 'l'; skip_next=yes;; \ |
863 | + -*l?*) strip_trailopt 'l';; \ |
864 | + -[dEDm]) skip_next=yes;; \ |
865 | + -[JT]) skip_next=yes;; \ |
866 | + esac; \ |
867 | + case $$flg in \ |
868 | + *$$target_option*) has_opt=yes; break;; \ |
869 | + esac; \ |
870 | + done; \ |
871 | + test $$has_opt = yes |
872 | +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) |
873 | +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) |
874 | +pkgdatadir = $(datadir)/@PACKAGE@ |
875 | +pkgincludedir = $(includedir)/@PACKAGE@ |
876 | +pkglibdir = $(libdir)/@PACKAGE@ |
877 | +pkglibexecdir = $(libexecdir)/@PACKAGE@ |
878 | +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
879 | +install_sh_DATA = $(install_sh) -c -m 644 |
880 | +install_sh_PROGRAM = $(install_sh) -c |
881 | +install_sh_SCRIPT = $(install_sh) -c |
882 | +INSTALL_HEADER = $(INSTALL_DATA) |
883 | +transform = $(program_transform_name) |
884 | +NORMAL_INSTALL = : |
885 | +PRE_INSTALL = : |
886 | +POST_INSTALL = : |
887 | +NORMAL_UNINSTALL = : |
888 | +PRE_UNINSTALL = : |
889 | +POST_UNINSTALL = : |
890 | +bin_PROGRAMS = 80211_resource$(EXEEXT) |
891 | +subdir = . |
892 | +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
893 | +am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
894 | +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
895 | + $(ACLOCAL_M4) |
896 | +DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ |
897 | + $(am__configure_deps) $(am__DIST_COMMON) |
898 | +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
899 | + configure.lineno config.status.lineno |
900 | +mkinstalldirs = $(install_sh) -d |
901 | +CONFIG_HEADER = config.h |
902 | +CONFIG_CLEAN_FILES = |
903 | +CONFIG_CLEAN_VPATH_FILES = |
904 | +am__installdirs = "$(DESTDIR)$(bindir)" |
905 | +PROGRAMS = $(bin_PROGRAMS) |
906 | +am_80211_resource_OBJECTS = 80211_resource-80211_resource.$(OBJEXT) |
907 | +80211_resource_OBJECTS = $(am_80211_resource_OBJECTS) |
908 | +am__DEPENDENCIES_1 = |
909 | +80211_resource_DEPENDENCIES = $(am__DEPENDENCIES_1) |
910 | +AM_V_P = $(am__v_P_@AM_V@) |
911 | +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) |
912 | +am__v_P_0 = false |
913 | +am__v_P_1 = : |
914 | +AM_V_GEN = $(am__v_GEN_@AM_V@) |
915 | +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) |
916 | +am__v_GEN_0 = @echo " GEN " $@; |
917 | +am__v_GEN_1 = |
918 | +AM_V_at = $(am__v_at_@AM_V@) |
919 | +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) |
920 | +am__v_at_0 = @ |
921 | +am__v_at_1 = |
922 | +DEFAULT_INCLUDES = -I.@am__isrc@ |
923 | +depcomp = $(SHELL) $(top_srcdir)/depcomp |
924 | +am__depfiles_maybe = depfiles |
925 | +am__mv = mv -f |
926 | +AM_V_lt = $(am__v_lt_@AM_V@) |
927 | +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) |
928 | +am__v_lt_0 = --silent |
929 | +am__v_lt_1 = |
930 | +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
931 | + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
932 | +AM_V_CC = $(am__v_CC_@AM_V@) |
933 | +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) |
934 | +am__v_CC_0 = @echo " CC " $@; |
935 | +am__v_CC_1 = |
936 | +CCLD = $(CC) |
937 | +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
938 | +AM_V_CCLD = $(am__v_CCLD_@AM_V@) |
939 | +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) |
940 | +am__v_CCLD_0 = @echo " CCLD " $@; |
941 | +am__v_CCLD_1 = |
942 | +SOURCES = $(80211_resource_SOURCES) |
943 | +DIST_SOURCES = $(80211_resource_SOURCES) |
944 | +am__can_run_installinfo = \ |
945 | + case $$AM_UPDATE_INFO_DIR in \ |
946 | + n|no|NO) false;; \ |
947 | + *) (install-info --version) >/dev/null 2>&1;; \ |
948 | + esac |
949 | +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ |
950 | + $(LISP)config.h.in |
951 | +# Read a list of newline-separated strings from the standard input, |
952 | +# and print each of them once, without duplicates. Input order is |
953 | +# *not* preserved. |
954 | +am__uniquify_input = $(AWK) '\ |
955 | + BEGIN { nonempty = 0; } \ |
956 | + { items[$$0] = 1; nonempty = 1; } \ |
957 | + END { if (nonempty) { for (i in items) print i; }; } \ |
958 | +' |
959 | +# Make sure the list of sources is unique. This is necessary because, |
960 | +# e.g., the same source file might be shared among _SOURCES variables |
961 | +# for different programs/libraries. |
962 | +am__define_uniq_tagged_files = \ |
963 | + list='$(am__tagged_files)'; \ |
964 | + unique=`for i in $$list; do \ |
965 | + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
966 | + done | $(am__uniquify_input)` |
967 | +ETAGS = etags |
968 | +CTAGS = ctags |
969 | +CSCOPE = cscope |
970 | +AM_RECURSIVE_TARGETS = cscope |
971 | +am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in AUTHORS \ |
972 | + COPYING ChangeLog INSTALL NEWS README compile depcomp \ |
973 | + install-sh missing |
974 | +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
975 | +distdir = $(PACKAGE)-$(VERSION) |
976 | +top_distdir = $(distdir) |
977 | +am__remove_distdir = \ |
978 | + if test -d "$(distdir)"; then \ |
979 | + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ |
980 | + && rm -rf "$(distdir)" \ |
981 | + || { sleep 5 && rm -rf "$(distdir)"; }; \ |
982 | + else :; fi |
983 | +am__post_remove_distdir = $(am__remove_distdir) |
984 | +DIST_ARCHIVES = $(distdir).tar.gz |
985 | +GZIP_ENV = --best |
986 | +DIST_TARGETS = dist-gzip |
987 | +distuninstallcheck_listfiles = find . -type f -print |
988 | +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
989 | + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
990 | +distcleancheck_listfiles = find . -type f -print |
991 | +ACLOCAL = @ACLOCAL@ |
992 | +AMTAR = @AMTAR@ |
993 | +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
994 | +AUTOCONF = @AUTOCONF@ |
995 | +AUTOHEADER = @AUTOHEADER@ |
996 | +AUTOMAKE = @AUTOMAKE@ |
997 | +AWK = @AWK@ |
998 | +CC = @CC@ |
999 | +CCDEPMODE = @CCDEPMODE@ |
1000 | +CFLAGS = @CFLAGS@ |
1001 | +CPP = @CPP@ |
1002 | +CPPFLAGS = @CPPFLAGS@ |
1003 | +CYGPATH_W = @CYGPATH_W@ |
1004 | +DEFS = @DEFS@ |
1005 | +DEPDIR = @DEPDIR@ |
1006 | +ECHO_C = @ECHO_C@ |
1007 | +ECHO_N = @ECHO_N@ |
1008 | +ECHO_T = @ECHO_T@ |
1009 | +EGREP = @EGREP@ |
1010 | +EXEEXT = @EXEEXT@ |
1011 | +GREP = @GREP@ |
1012 | +INSTALL = @INSTALL@ |
1013 | +INSTALL_DATA = @INSTALL_DATA@ |
1014 | +INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
1015 | +INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
1016 | +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
1017 | +LDFLAGS = @LDFLAGS@ |
1018 | +LIBNL_CFLAGS = @LIBNL_CFLAGS@ |
1019 | +LIBNL_LIBS = @LIBNL_LIBS@ |
1020 | +LIBOBJS = @LIBOBJS@ |
1021 | +LIBS = @LIBS@ |
1022 | +LTLIBOBJS = @LTLIBOBJS@ |
1023 | +MAKEINFO = @MAKEINFO@ |
1024 | +MKDIR_P = @MKDIR_P@ |
1025 | +OBJEXT = @OBJEXT@ |
1026 | +PACKAGE = @PACKAGE@ |
1027 | +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
1028 | +PACKAGE_NAME = @PACKAGE_NAME@ |
1029 | +PACKAGE_STRING = @PACKAGE_STRING@ |
1030 | +PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
1031 | +PACKAGE_URL = @PACKAGE_URL@ |
1032 | +PACKAGE_VERSION = @PACKAGE_VERSION@ |
1033 | +PATH_SEPARATOR = @PATH_SEPARATOR@ |
1034 | +PKG_CONFIG = @PKG_CONFIG@ |
1035 | +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
1036 | +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
1037 | +SET_MAKE = @SET_MAKE@ |
1038 | +SHELL = @SHELL@ |
1039 | +STRIP = @STRIP@ |
1040 | +VERSION = @VERSION@ |
1041 | +abs_builddir = @abs_builddir@ |
1042 | +abs_srcdir = @abs_srcdir@ |
1043 | +abs_top_builddir = @abs_top_builddir@ |
1044 | +abs_top_srcdir = @abs_top_srcdir@ |
1045 | +ac_ct_CC = @ac_ct_CC@ |
1046 | +am__include = @am__include@ |
1047 | +am__leading_dot = @am__leading_dot@ |
1048 | +am__quote = @am__quote@ |
1049 | +am__tar = @am__tar@ |
1050 | +am__untar = @am__untar@ |
1051 | +bindir = @bindir@ |
1052 | +build_alias = @build_alias@ |
1053 | +builddir = @builddir@ |
1054 | +datadir = @datadir@ |
1055 | +datarootdir = @datarootdir@ |
1056 | +docdir = @docdir@ |
1057 | +dvidir = @dvidir@ |
1058 | +exec_prefix = @exec_prefix@ |
1059 | +host_alias = @host_alias@ |
1060 | +htmldir = @htmldir@ |
1061 | +includedir = @includedir@ |
1062 | +infodir = @infodir@ |
1063 | +install_sh = @install_sh@ |
1064 | +libdir = @libdir@ |
1065 | +libexecdir = @libexecdir@ |
1066 | +localedir = @localedir@ |
1067 | +localstatedir = @localstatedir@ |
1068 | +mandir = @mandir@ |
1069 | +mkdir_p = @mkdir_p@ |
1070 | +oldincludedir = @oldincludedir@ |
1071 | +pdfdir = @pdfdir@ |
1072 | +prefix = @prefix@ |
1073 | +program_transform_name = @program_transform_name@ |
1074 | +psdir = @psdir@ |
1075 | +runstatedir = @runstatedir@ |
1076 | +sbindir = @sbindir@ |
1077 | +sharedstatedir = @sharedstatedir@ |
1078 | +srcdir = @srcdir@ |
1079 | +sysconfdir = @sysconfdir@ |
1080 | +target_alias = @target_alias@ |
1081 | +top_build_prefix = @top_build_prefix@ |
1082 | +top_builddir = @top_builddir@ |
1083 | +top_srcdir = @top_srcdir@ |
1084 | +80211_resource_SOURCES = 80211_resource.c |
1085 | +80211_resource_CPPFLAGS = $(LIBNL_CFLAGS) |
1086 | +80211_resource_LDADD = $(LIBNL_LIBS) |
1087 | +all: config.h |
1088 | + $(MAKE) $(AM_MAKEFLAGS) all-am |
1089 | + |
1090 | +.SUFFIXES: |
1091 | +.SUFFIXES: .c .o .obj |
1092 | +am--refresh: Makefile |
1093 | + @: |
1094 | +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
1095 | + @for dep in $?; do \ |
1096 | + case '$(am__configure_deps)' in \ |
1097 | + *$$dep*) \ |
1098 | + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ |
1099 | + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ |
1100 | + && exit 0; \ |
1101 | + exit 1;; \ |
1102 | + esac; \ |
1103 | + done; \ |
1104 | + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ |
1105 | + $(am__cd) $(top_srcdir) && \ |
1106 | + $(AUTOMAKE) --gnu Makefile |
1107 | +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
1108 | + @case '$?' in \ |
1109 | + *config.status*) \ |
1110 | + echo ' $(SHELL) ./config.status'; \ |
1111 | + $(SHELL) ./config.status;; \ |
1112 | + *) \ |
1113 | + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ |
1114 | + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ |
1115 | + esac; |
1116 | + |
1117 | +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
1118 | + $(SHELL) ./config.status --recheck |
1119 | + |
1120 | +$(top_srcdir)/configure: $(am__configure_deps) |
1121 | + $(am__cd) $(srcdir) && $(AUTOCONF) |
1122 | +$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
1123 | + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
1124 | +$(am__aclocal_m4_deps): |
1125 | + |
1126 | +config.h: stamp-h1 |
1127 | + @test -f $@ || rm -f stamp-h1 |
1128 | + @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 |
1129 | + |
1130 | +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
1131 | + @rm -f stamp-h1 |
1132 | + cd $(top_builddir) && $(SHELL) ./config.status config.h |
1133 | +$(srcdir)/config.h.in: $(am__configure_deps) |
1134 | + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) |
1135 | + rm -f stamp-h1 |
1136 | + touch $@ |
1137 | + |
1138 | +distclean-hdr: |
1139 | + -rm -f config.h stamp-h1 |
1140 | +install-binPROGRAMS: $(bin_PROGRAMS) |
1141 | + @$(NORMAL_INSTALL) |
1142 | + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ |
1143 | + if test -n "$$list"; then \ |
1144 | + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ |
1145 | + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ |
1146 | + fi; \ |
1147 | + for p in $$list; do echo "$$p $$p"; done | \ |
1148 | + sed 's/$(EXEEXT)$$//' | \ |
1149 | + while read p p1; do if test -f $$p \ |
1150 | + ; then echo "$$p"; echo "$$p"; else :; fi; \ |
1151 | + done | \ |
1152 | + sed -e 'p;s,.*/,,;n;h' \ |
1153 | + -e 's|.*|.|' \ |
1154 | + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ |
1155 | + sed 'N;N;N;s,\n, ,g' | \ |
1156 | + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ |
1157 | + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ |
1158 | + if ($$2 == $$4) files[d] = files[d] " " $$1; \ |
1159 | + else { print "f", $$3 "/" $$4, $$1; } } \ |
1160 | + END { for (d in files) print "f", d, files[d] }' | \ |
1161 | + while read type dir files; do \ |
1162 | + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ |
1163 | + test -z "$$files" || { \ |
1164 | + echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ |
1165 | + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ |
1166 | + } \ |
1167 | + ; done |
1168 | + |
1169 | +uninstall-binPROGRAMS: |
1170 | + @$(NORMAL_UNINSTALL) |
1171 | + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ |
1172 | + files=`for p in $$list; do echo "$$p"; done | \ |
1173 | + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ |
1174 | + -e 's/$$/$(EXEEXT)/' \ |
1175 | + `; \ |
1176 | + test -n "$$list" || exit 0; \ |
1177 | + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ |
1178 | + cd "$(DESTDIR)$(bindir)" && rm -f $$files |
1179 | + |
1180 | +clean-binPROGRAMS: |
1181 | + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
1182 | + |
1183 | +80211_resource$(EXEEXT): $(80211_resource_OBJECTS) $(80211_resource_DEPENDENCIES) $(EXTRA_80211_resource_DEPENDENCIES) |
1184 | + @rm -f 80211_resource$(EXEEXT) |
1185 | + $(AM_V_CCLD)$(LINK) $(80211_resource_OBJECTS) $(80211_resource_LDADD) $(LIBS) |
1186 | + |
1187 | +mostlyclean-compile: |
1188 | + -rm -f *.$(OBJEXT) |
1189 | + |
1190 | +distclean-compile: |
1191 | + -rm -f *.tab.c |
1192 | + |
1193 | +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/80211_resource-80211_resource.Po@am__quote@ |
1194 | + |
1195 | +.c.o: |
1196 | +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
1197 | +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
1198 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
1199 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
1200 | +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< |
1201 | + |
1202 | +.c.obj: |
1203 | +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
1204 | +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
1205 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
1206 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
1207 | +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` |
1208 | + |
1209 | +80211_resource-80211_resource.o: 80211_resource.c |
1210 | +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(80211_resource_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT 80211_resource-80211_resource.o -MD -MP -MF $(DEPDIR)/80211_resource-80211_resource.Tpo -c -o 80211_resource-80211_resource.o `test -f '80211_resource.c' || echo '$(srcdir)/'`80211_resource.c |
1211 | +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/80211_resource-80211_resource.Tpo $(DEPDIR)/80211_resource-80211_resource.Po |
1212 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='80211_resource.c' object='80211_resource-80211_resource.o' libtool=no @AMDEPBACKSLASH@ |
1213 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
1214 | +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(80211_resource_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o 80211_resource-80211_resource.o `test -f '80211_resource.c' || echo '$(srcdir)/'`80211_resource.c |
1215 | + |
1216 | +80211_resource-80211_resource.obj: 80211_resource.c |
1217 | +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(80211_resource_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT 80211_resource-80211_resource.obj -MD -MP -MF $(DEPDIR)/80211_resource-80211_resource.Tpo -c -o 80211_resource-80211_resource.obj `if test -f '80211_resource.c'; then $(CYGPATH_W) '80211_resource.c'; else $(CYGPATH_W) '$(srcdir)/80211_resource.c'; fi` |
1218 | +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/80211_resource-80211_resource.Tpo $(DEPDIR)/80211_resource-80211_resource.Po |
1219 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='80211_resource.c' object='80211_resource-80211_resource.obj' libtool=no @AMDEPBACKSLASH@ |
1220 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
1221 | +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(80211_resource_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o 80211_resource-80211_resource.obj `if test -f '80211_resource.c'; then $(CYGPATH_W) '80211_resource.c'; else $(CYGPATH_W) '$(srcdir)/80211_resource.c'; fi` |
1222 | + |
1223 | +ID: $(am__tagged_files) |
1224 | + $(am__define_uniq_tagged_files); mkid -fID $$unique |
1225 | +tags: tags-am |
1226 | +TAGS: tags |
1227 | + |
1228 | +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
1229 | + set x; \ |
1230 | + here=`pwd`; \ |
1231 | + $(am__define_uniq_tagged_files); \ |
1232 | + shift; \ |
1233 | + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
1234 | + test -n "$$unique" || unique=$$empty_fix; \ |
1235 | + if test $$# -gt 0; then \ |
1236 | + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
1237 | + "$$@" $$unique; \ |
1238 | + else \ |
1239 | + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
1240 | + $$unique; \ |
1241 | + fi; \ |
1242 | + fi |
1243 | +ctags: ctags-am |
1244 | + |
1245 | +CTAGS: ctags |
1246 | +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
1247 | + $(am__define_uniq_tagged_files); \ |
1248 | + test -z "$(CTAGS_ARGS)$$unique" \ |
1249 | + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
1250 | + $$unique |
1251 | + |
1252 | +GTAGS: |
1253 | + here=`$(am__cd) $(top_builddir) && pwd` \ |
1254 | + && $(am__cd) $(top_srcdir) \ |
1255 | + && gtags -i $(GTAGS_ARGS) "$$here" |
1256 | +cscope: cscope.files |
1257 | + test ! -s cscope.files \ |
1258 | + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) |
1259 | +clean-cscope: |
1260 | + -rm -f cscope.files |
1261 | +cscope.files: clean-cscope cscopelist |
1262 | +cscopelist: cscopelist-am |
1263 | + |
1264 | +cscopelist-am: $(am__tagged_files) |
1265 | + list='$(am__tagged_files)'; \ |
1266 | + case "$(srcdir)" in \ |
1267 | + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ |
1268 | + *) sdir=$(subdir)/$(srcdir) ;; \ |
1269 | + esac; \ |
1270 | + for i in $$list; do \ |
1271 | + if test -f "$$i"; then \ |
1272 | + echo "$(subdir)/$$i"; \ |
1273 | + else \ |
1274 | + echo "$$sdir/$$i"; \ |
1275 | + fi; \ |
1276 | + done >> $(top_builddir)/cscope.files |
1277 | + |
1278 | +distclean-tags: |
1279 | + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
1280 | + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files |
1281 | + |
1282 | +distdir: $(DISTFILES) |
1283 | + $(am__remove_distdir) |
1284 | + test -d "$(distdir)" || mkdir "$(distdir)" |
1285 | + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
1286 | + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
1287 | + list='$(DISTFILES)'; \ |
1288 | + dist_files=`for file in $$list; do echo $$file; done | \ |
1289 | + sed -e "s|^$$srcdirstrip/||;t" \ |
1290 | + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
1291 | + case $$dist_files in \ |
1292 | + */*) $(MKDIR_P) `echo "$$dist_files" | \ |
1293 | + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
1294 | + sort -u` ;; \ |
1295 | + esac; \ |
1296 | + for file in $$dist_files; do \ |
1297 | + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
1298 | + if test -d $$d/$$file; then \ |
1299 | + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
1300 | + if test -d "$(distdir)/$$file"; then \ |
1301 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
1302 | + fi; \ |
1303 | + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
1304 | + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
1305 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
1306 | + fi; \ |
1307 | + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
1308 | + else \ |
1309 | + test -f "$(distdir)/$$file" \ |
1310 | + || cp -p $$d/$$file "$(distdir)/$$file" \ |
1311 | + || exit 1; \ |
1312 | + fi; \ |
1313 | + done |
1314 | + -test -n "$(am__skip_mode_fix)" \ |
1315 | + || find "$(distdir)" -type d ! -perm -755 \ |
1316 | + -exec chmod u+rwx,go+rx {} \; -o \ |
1317 | + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
1318 | + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
1319 | + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
1320 | + || chmod -R a+r "$(distdir)" |
1321 | +dist-gzip: distdir |
1322 | + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
1323 | + $(am__post_remove_distdir) |
1324 | + |
1325 | +dist-bzip2: distdir |
1326 | + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 |
1327 | + $(am__post_remove_distdir) |
1328 | + |
1329 | +dist-lzip: distdir |
1330 | + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz |
1331 | + $(am__post_remove_distdir) |
1332 | + |
1333 | +dist-xz: distdir |
1334 | + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
1335 | + $(am__post_remove_distdir) |
1336 | + |
1337 | +dist-tarZ: distdir |
1338 | + @echo WARNING: "Support for distribution archives compressed with" \ |
1339 | + "legacy program 'compress' is deprecated." >&2 |
1340 | + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 |
1341 | + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
1342 | + $(am__post_remove_distdir) |
1343 | + |
1344 | +dist-shar: distdir |
1345 | + @echo WARNING: "Support for shar distribution archives is" \ |
1346 | + "deprecated." >&2 |
1347 | + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 |
1348 | + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
1349 | + $(am__post_remove_distdir) |
1350 | + |
1351 | +dist-zip: distdir |
1352 | + -rm -f $(distdir).zip |
1353 | + zip -rq $(distdir).zip $(distdir) |
1354 | + $(am__post_remove_distdir) |
1355 | + |
1356 | +dist dist-all: |
1357 | + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' |
1358 | + $(am__post_remove_distdir) |
1359 | + |
1360 | +# This target untars the dist file and tries a VPATH configuration. Then |
1361 | +# it guarantees that the distribution is self-contained by making another |
1362 | +# tarfile. |
1363 | +distcheck: dist |
1364 | + case '$(DIST_ARCHIVES)' in \ |
1365 | + *.tar.gz*) \ |
1366 | + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
1367 | + *.tar.bz2*) \ |
1368 | + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
1369 | + *.tar.lz*) \ |
1370 | + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ |
1371 | + *.tar.xz*) \ |
1372 | + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
1373 | + *.tar.Z*) \ |
1374 | + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
1375 | + *.shar.gz*) \ |
1376 | + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
1377 | + *.zip*) \ |
1378 | + unzip $(distdir).zip ;;\ |
1379 | + esac |
1380 | + chmod -R a-w $(distdir) |
1381 | + chmod u+w $(distdir) |
1382 | + mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst |
1383 | + chmod a-w $(distdir) |
1384 | + test -d $(distdir)/_build || exit 0; \ |
1385 | + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
1386 | + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
1387 | + && am__cwd=`pwd` \ |
1388 | + && $(am__cd) $(distdir)/_build/sub \ |
1389 | + && ../../configure \ |
1390 | + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ |
1391 | + $(DISTCHECK_CONFIGURE_FLAGS) \ |
1392 | + --srcdir=../.. --prefix="$$dc_install_base" \ |
1393 | + && $(MAKE) $(AM_MAKEFLAGS) \ |
1394 | + && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
1395 | + && $(MAKE) $(AM_MAKEFLAGS) check \ |
1396 | + && $(MAKE) $(AM_MAKEFLAGS) install \ |
1397 | + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
1398 | + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ |
1399 | + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ |
1400 | + distuninstallcheck \ |
1401 | + && chmod -R a-w "$$dc_install_base" \ |
1402 | + && ({ \ |
1403 | + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ |
1404 | + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ |
1405 | + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ |
1406 | + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ |
1407 | + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ |
1408 | + } || { rm -rf "$$dc_destdir"; exit 1; }) \ |
1409 | + && rm -rf "$$dc_destdir" \ |
1410 | + && $(MAKE) $(AM_MAKEFLAGS) dist \ |
1411 | + && rm -rf $(DIST_ARCHIVES) \ |
1412 | + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
1413 | + && cd "$$am__cwd" \ |
1414 | + || exit 1 |
1415 | + $(am__post_remove_distdir) |
1416 | + @(echo "$(distdir) archives ready for distribution: "; \ |
1417 | + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
1418 | + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
1419 | +distuninstallcheck: |
1420 | + @test -n '$(distuninstallcheck_dir)' || { \ |
1421 | + echo 'ERROR: trying to run $@ with an empty' \ |
1422 | + '$$(distuninstallcheck_dir)' >&2; \ |
1423 | + exit 1; \ |
1424 | + }; \ |
1425 | + $(am__cd) '$(distuninstallcheck_dir)' || { \ |
1426 | + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ |
1427 | + exit 1; \ |
1428 | + }; \ |
1429 | + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ |
1430 | + || { echo "ERROR: files left after uninstall:" ; \ |
1431 | + if test -n "$(DESTDIR)"; then \ |
1432 | + echo " (check DESTDIR support)"; \ |
1433 | + fi ; \ |
1434 | + $(distuninstallcheck_listfiles) ; \ |
1435 | + exit 1; } >&2 |
1436 | +distcleancheck: distclean |
1437 | + @if test '$(srcdir)' = . ; then \ |
1438 | + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ |
1439 | + exit 1 ; \ |
1440 | + fi |
1441 | + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ |
1442 | + || { echo "ERROR: files left in build directory after distclean:" ; \ |
1443 | + $(distcleancheck_listfiles) ; \ |
1444 | + exit 1; } >&2 |
1445 | +check-am: all-am |
1446 | +check: check-am |
1447 | +all-am: Makefile $(PROGRAMS) config.h |
1448 | +installdirs: |
1449 | + for dir in "$(DESTDIR)$(bindir)"; do \ |
1450 | + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
1451 | + done |
1452 | +install: install-am |
1453 | +install-exec: install-exec-am |
1454 | +install-data: install-data-am |
1455 | +uninstall: uninstall-am |
1456 | + |
1457 | +install-am: all-am |
1458 | + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
1459 | + |
1460 | +installcheck: installcheck-am |
1461 | +install-strip: |
1462 | + if test -z '$(STRIP)'; then \ |
1463 | + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
1464 | + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
1465 | + install; \ |
1466 | + else \ |
1467 | + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
1468 | + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
1469 | + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ |
1470 | + fi |
1471 | +mostlyclean-generic: |
1472 | + |
1473 | +clean-generic: |
1474 | + |
1475 | +distclean-generic: |
1476 | + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
1477 | + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
1478 | + |
1479 | +maintainer-clean-generic: |
1480 | + @echo "This command is intended for maintainers to use" |
1481 | + @echo "it deletes files that may require special tools to rebuild." |
1482 | +clean: clean-am |
1483 | + |
1484 | +clean-am: clean-binPROGRAMS clean-generic mostlyclean-am |
1485 | + |
1486 | +distclean: distclean-am |
1487 | + -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
1488 | + -rm -rf ./$(DEPDIR) |
1489 | + -rm -f Makefile |
1490 | +distclean-am: clean-am distclean-compile distclean-generic \ |
1491 | + distclean-hdr distclean-tags |
1492 | + |
1493 | +dvi: dvi-am |
1494 | + |
1495 | +dvi-am: |
1496 | + |
1497 | +html: html-am |
1498 | + |
1499 | +html-am: |
1500 | + |
1501 | +info: info-am |
1502 | + |
1503 | +info-am: |
1504 | + |
1505 | +install-data-am: |
1506 | + |
1507 | +install-dvi: install-dvi-am |
1508 | + |
1509 | +install-dvi-am: |
1510 | + |
1511 | +install-exec-am: install-binPROGRAMS |
1512 | + |
1513 | +install-html: install-html-am |
1514 | + |
1515 | +install-html-am: |
1516 | + |
1517 | +install-info: install-info-am |
1518 | + |
1519 | +install-info-am: |
1520 | + |
1521 | +install-man: |
1522 | + |
1523 | +install-pdf: install-pdf-am |
1524 | + |
1525 | +install-pdf-am: |
1526 | + |
1527 | +install-ps: install-ps-am |
1528 | + |
1529 | +install-ps-am: |
1530 | + |
1531 | +installcheck-am: |
1532 | + |
1533 | +maintainer-clean: maintainer-clean-am |
1534 | + -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
1535 | + -rm -rf $(top_srcdir)/autom4te.cache |
1536 | + -rm -rf ./$(DEPDIR) |
1537 | + -rm -f Makefile |
1538 | +maintainer-clean-am: distclean-am maintainer-clean-generic |
1539 | + |
1540 | +mostlyclean: mostlyclean-am |
1541 | + |
1542 | +mostlyclean-am: mostlyclean-compile mostlyclean-generic |
1543 | + |
1544 | +pdf: pdf-am |
1545 | + |
1546 | +pdf-am: |
1547 | + |
1548 | +ps: ps-am |
1549 | + |
1550 | +ps-am: |
1551 | + |
1552 | +uninstall-am: uninstall-binPROGRAMS |
1553 | + |
1554 | +.MAKE: all install-am install-strip |
1555 | + |
1556 | +.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \ |
1557 | + clean-binPROGRAMS clean-cscope clean-generic cscope \ |
1558 | + cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ |
1559 | + dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ |
1560 | + distcheck distclean distclean-compile distclean-generic \ |
1561 | + distclean-hdr distclean-tags distcleancheck distdir \ |
1562 | + distuninstallcheck dvi dvi-am html html-am info info-am \ |
1563 | + install install-am install-binPROGRAMS install-data \ |
1564 | + install-data-am install-dvi install-dvi-am install-exec \ |
1565 | + install-exec-am install-html install-html-am install-info \ |
1566 | + install-info-am install-man install-pdf install-pdf-am \ |
1567 | + install-ps install-ps-am install-strip installcheck \ |
1568 | + installcheck-am installdirs maintainer-clean \ |
1569 | + maintainer-clean-generic mostlyclean mostlyclean-compile \ |
1570 | + mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ |
1571 | + uninstall-am uninstall-binPROGRAMS |
1572 | + |
1573 | +.PRECIOUS: Makefile |
1574 | + |
1575 | + |
1576 | +# Tell versions [3.59,3.63) of GNU make to not export all variables. |
1577 | +# Otherwise a system limit (for SysV at least) may be exceeded. |
1578 | +.NOEXPORT: |
1579 | diff --git a/src/aclocal.m4 b/src/aclocal.m4 |
1580 | new file mode 100644 |
1581 | index 0000000..9ecb44e |
1582 | --- /dev/null |
1583 | +++ b/src/aclocal.m4 |
1584 | @@ -0,0 +1,1428 @@ |
1585 | +# generated automatically by aclocal 1.15 -*- Autoconf -*- |
1586 | + |
1587 | +# Copyright (C) 1996-2014 Free Software Foundation, Inc. |
1588 | + |
1589 | +# This file is free software; the Free Software Foundation |
1590 | +# gives unlimited permission to copy and/or distribute it, |
1591 | +# with or without modifications, as long as this notice is preserved. |
1592 | + |
1593 | +# This program is distributed in the hope that it will be useful, |
1594 | +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
1595 | +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
1596 | +# PARTICULAR PURPOSE. |
1597 | + |
1598 | +m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) |
1599 | +m4_ifndef([AC_AUTOCONF_VERSION], |
1600 | + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
1601 | +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, |
1602 | +[m4_warning([this file was generated for autoconf 2.69. |
1603 | +You have another version of autoconf. It may work, but is not guaranteed to. |
1604 | +If you have problems, you may need to regenerate the build system entirely. |
1605 | +To do so, use the procedure documented by the package, typically 'autoreconf'.])]) |
1606 | + |
1607 | +dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- |
1608 | +dnl serial 11 (pkg-config-0.29.1) |
1609 | +dnl |
1610 | +dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>. |
1611 | +dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com> |
1612 | +dnl |
1613 | +dnl This program is free software; you can redistribute it and/or modify |
1614 | +dnl it under the terms of the GNU General Public License as published by |
1615 | +dnl the Free Software Foundation; either version 2 of the License, or |
1616 | +dnl (at your option) any later version. |
1617 | +dnl |
1618 | +dnl This program is distributed in the hope that it will be useful, but |
1619 | +dnl WITHOUT ANY WARRANTY; without even the implied warranty of |
1620 | +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
1621 | +dnl General Public License for more details. |
1622 | +dnl |
1623 | +dnl You should have received a copy of the GNU General Public License |
1624 | +dnl along with this program; if not, write to the Free Software |
1625 | +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
1626 | +dnl 02111-1307, USA. |
1627 | +dnl |
1628 | +dnl As a special exception to the GNU General Public License, if you |
1629 | +dnl distribute this file as part of a program that contains a |
1630 | +dnl configuration script generated by Autoconf, you may include it under |
1631 | +dnl the same distribution terms that you use for the rest of that |
1632 | +dnl program. |
1633 | + |
1634 | +dnl PKG_PREREQ(MIN-VERSION) |
1635 | +dnl ----------------------- |
1636 | +dnl Since: 0.29 |
1637 | +dnl |
1638 | +dnl Verify that the version of the pkg-config macros are at least |
1639 | +dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's |
1640 | +dnl installed version of pkg-config, this checks the developer's version |
1641 | +dnl of pkg.m4 when generating configure. |
1642 | +dnl |
1643 | +dnl To ensure that this macro is defined, also add: |
1644 | +dnl m4_ifndef([PKG_PREREQ], |
1645 | +dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) |
1646 | +dnl |
1647 | +dnl See the "Since" comment for each macro you use to see what version |
1648 | +dnl of the macros you require. |
1649 | +m4_defun([PKG_PREREQ], |
1650 | +[m4_define([PKG_MACROS_VERSION], [0.29.1]) |
1651 | +m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, |
1652 | + [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) |
1653 | +])dnl PKG_PREREQ |
1654 | + |
1655 | +dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) |
1656 | +dnl ---------------------------------- |
1657 | +dnl Since: 0.16 |
1658 | +dnl |
1659 | +dnl Search for the pkg-config tool and set the PKG_CONFIG variable to |
1660 | +dnl first found in the path. Checks that the version of pkg-config found |
1661 | +dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is |
1662 | +dnl used since that's the first version where most current features of |
1663 | +dnl pkg-config existed. |
1664 | +AC_DEFUN([PKG_PROG_PKG_CONFIG], |
1665 | +[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) |
1666 | +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) |
1667 | +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) |
1668 | +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) |
1669 | +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) |
1670 | +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) |
1671 | + |
1672 | +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
1673 | + AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) |
1674 | +fi |
1675 | +if test -n "$PKG_CONFIG"; then |
1676 | + _pkg_min_version=m4_default([$1], [0.9.0]) |
1677 | + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) |
1678 | + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
1679 | + AC_MSG_RESULT([yes]) |
1680 | + else |
1681 | + AC_MSG_RESULT([no]) |
1682 | + PKG_CONFIG="" |
1683 | + fi |
1684 | +fi[]dnl |
1685 | +])dnl PKG_PROG_PKG_CONFIG |
1686 | + |
1687 | +dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
1688 | +dnl ------------------------------------------------------------------- |
1689 | +dnl Since: 0.18 |
1690 | +dnl |
1691 | +dnl Check to see whether a particular set of modules exists. Similar to |
1692 | +dnl PKG_CHECK_MODULES(), but does not set variables or print errors. |
1693 | +dnl |
1694 | +dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
1695 | +dnl only at the first occurence in configure.ac, so if the first place |
1696 | +dnl it's called might be skipped (such as if it is within an "if", you |
1697 | +dnl have to call PKG_CHECK_EXISTS manually |
1698 | +AC_DEFUN([PKG_CHECK_EXISTS], |
1699 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
1700 | +if test -n "$PKG_CONFIG" && \ |
1701 | + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then |
1702 | + m4_default([$2], [:]) |
1703 | +m4_ifvaln([$3], [else |
1704 | + $3])dnl |
1705 | +fi]) |
1706 | + |
1707 | +dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) |
1708 | +dnl --------------------------------------------- |
1709 | +dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting |
1710 | +dnl pkg_failed based on the result. |
1711 | +m4_define([_PKG_CONFIG], |
1712 | +[if test -n "$$1"; then |
1713 | + pkg_cv_[]$1="$$1" |
1714 | + elif test -n "$PKG_CONFIG"; then |
1715 | + PKG_CHECK_EXISTS([$3], |
1716 | + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` |
1717 | + test "x$?" != "x0" && pkg_failed=yes ], |
1718 | + [pkg_failed=yes]) |
1719 | + else |
1720 | + pkg_failed=untried |
1721 | +fi[]dnl |
1722 | +])dnl _PKG_CONFIG |
1723 | + |
1724 | +dnl _PKG_SHORT_ERRORS_SUPPORTED |
1725 | +dnl --------------------------- |
1726 | +dnl Internal check to see if pkg-config supports short errors. |
1727 | +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], |
1728 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
1729 | +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
1730 | + _pkg_short_errors_supported=yes |
1731 | +else |
1732 | + _pkg_short_errors_supported=no |
1733 | +fi[]dnl |
1734 | +])dnl _PKG_SHORT_ERRORS_SUPPORTED |
1735 | + |
1736 | + |
1737 | +dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], |
1738 | +dnl [ACTION-IF-NOT-FOUND]) |
1739 | +dnl -------------------------------------------------------------- |
1740 | +dnl Since: 0.4.0 |
1741 | +dnl |
1742 | +dnl Note that if there is a possibility the first call to |
1743 | +dnl PKG_CHECK_MODULES might not happen, you should be sure to include an |
1744 | +dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac |
1745 | +AC_DEFUN([PKG_CHECK_MODULES], |
1746 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
1747 | +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl |
1748 | +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl |
1749 | + |
1750 | +pkg_failed=no |
1751 | +AC_MSG_CHECKING([for $1]) |
1752 | + |
1753 | +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) |
1754 | +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) |
1755 | + |
1756 | +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS |
1757 | +and $1[]_LIBS to avoid the need to call pkg-config. |
1758 | +See the pkg-config man page for more details.]) |
1759 | + |
1760 | +if test $pkg_failed = yes; then |
1761 | + AC_MSG_RESULT([no]) |
1762 | + _PKG_SHORT_ERRORS_SUPPORTED |
1763 | + if test $_pkg_short_errors_supported = yes; then |
1764 | + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` |
1765 | + else |
1766 | + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` |
1767 | + fi |
1768 | + # Put the nasty error message in config.log where it belongs |
1769 | + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD |
1770 | + |
1771 | + m4_default([$4], [AC_MSG_ERROR( |
1772 | +[Package requirements ($2) were not met: |
1773 | + |
1774 | +$$1_PKG_ERRORS |
1775 | + |
1776 | +Consider adjusting the PKG_CONFIG_PATH environment variable if you |
1777 | +installed software in a non-standard prefix. |
1778 | + |
1779 | +_PKG_TEXT])[]dnl |
1780 | + ]) |
1781 | +elif test $pkg_failed = untried; then |
1782 | + AC_MSG_RESULT([no]) |
1783 | + m4_default([$4], [AC_MSG_FAILURE( |
1784 | +[The pkg-config script could not be found or is too old. Make sure it |
1785 | +is in your PATH or set the PKG_CONFIG environment variable to the full |
1786 | +path to pkg-config. |
1787 | + |
1788 | +_PKG_TEXT |
1789 | + |
1790 | +To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl |
1791 | + ]) |
1792 | +else |
1793 | + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS |
1794 | + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS |
1795 | + AC_MSG_RESULT([yes]) |
1796 | + $3 |
1797 | +fi[]dnl |
1798 | +])dnl PKG_CHECK_MODULES |
1799 | + |
1800 | + |
1801 | +dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], |
1802 | +dnl [ACTION-IF-NOT-FOUND]) |
1803 | +dnl --------------------------------------------------------------------- |
1804 | +dnl Since: 0.29 |
1805 | +dnl |
1806 | +dnl Checks for existence of MODULES and gathers its build flags with |
1807 | +dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags |
1808 | +dnl and VARIABLE-PREFIX_LIBS from --libs. |
1809 | +dnl |
1810 | +dnl Note that if there is a possibility the first call to |
1811 | +dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to |
1812 | +dnl include an explicit call to PKG_PROG_PKG_CONFIG in your |
1813 | +dnl configure.ac. |
1814 | +AC_DEFUN([PKG_CHECK_MODULES_STATIC], |
1815 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
1816 | +_save_PKG_CONFIG=$PKG_CONFIG |
1817 | +PKG_CONFIG="$PKG_CONFIG --static" |
1818 | +PKG_CHECK_MODULES($@) |
1819 | +PKG_CONFIG=$_save_PKG_CONFIG[]dnl |
1820 | +])dnl PKG_CHECK_MODULES_STATIC |
1821 | + |
1822 | + |
1823 | +dnl PKG_INSTALLDIR([DIRECTORY]) |
1824 | +dnl ------------------------- |
1825 | +dnl Since: 0.27 |
1826 | +dnl |
1827 | +dnl Substitutes the variable pkgconfigdir as the location where a module |
1828 | +dnl should install pkg-config .pc files. By default the directory is |
1829 | +dnl $libdir/pkgconfig, but the default can be changed by passing |
1830 | +dnl DIRECTORY. The user can override through the --with-pkgconfigdir |
1831 | +dnl parameter. |
1832 | +AC_DEFUN([PKG_INSTALLDIR], |
1833 | +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) |
1834 | +m4_pushdef([pkg_description], |
1835 | + [pkg-config installation directory @<:@]pkg_default[@:>@]) |
1836 | +AC_ARG_WITH([pkgconfigdir], |
1837 | + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, |
1838 | + [with_pkgconfigdir=]pkg_default) |
1839 | +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) |
1840 | +m4_popdef([pkg_default]) |
1841 | +m4_popdef([pkg_description]) |
1842 | +])dnl PKG_INSTALLDIR |
1843 | + |
1844 | + |
1845 | +dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) |
1846 | +dnl -------------------------------- |
1847 | +dnl Since: 0.27 |
1848 | +dnl |
1849 | +dnl Substitutes the variable noarch_pkgconfigdir as the location where a |
1850 | +dnl module should install arch-independent pkg-config .pc files. By |
1851 | +dnl default the directory is $datadir/pkgconfig, but the default can be |
1852 | +dnl changed by passing DIRECTORY. The user can override through the |
1853 | +dnl --with-noarch-pkgconfigdir parameter. |
1854 | +AC_DEFUN([PKG_NOARCH_INSTALLDIR], |
1855 | +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) |
1856 | +m4_pushdef([pkg_description], |
1857 | + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) |
1858 | +AC_ARG_WITH([noarch-pkgconfigdir], |
1859 | + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, |
1860 | + [with_noarch_pkgconfigdir=]pkg_default) |
1861 | +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) |
1862 | +m4_popdef([pkg_default]) |
1863 | +m4_popdef([pkg_description]) |
1864 | +])dnl PKG_NOARCH_INSTALLDIR |
1865 | + |
1866 | + |
1867 | +dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, |
1868 | +dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
1869 | +dnl ------------------------------------------- |
1870 | +dnl Since: 0.28 |
1871 | +dnl |
1872 | +dnl Retrieves the value of the pkg-config variable for the given module. |
1873 | +AC_DEFUN([PKG_CHECK_VAR], |
1874 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
1875 | +AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl |
1876 | + |
1877 | +_PKG_CONFIG([$1], [variable="][$3]["], [$2]) |
1878 | +AS_VAR_COPY([$1], [pkg_cv_][$1]) |
1879 | + |
1880 | +AS_VAR_IF([$1], [""], [$5], [$4])dnl |
1881 | +])dnl PKG_CHECK_VAR |
1882 | + |
1883 | +# Copyright (C) 2002-2014 Free Software Foundation, Inc. |
1884 | +# |
1885 | +# This file is free software; the Free Software Foundation |
1886 | +# gives unlimited permission to copy and/or distribute it, |
1887 | +# with or without modifications, as long as this notice is preserved. |
1888 | + |
1889 | +# AM_AUTOMAKE_VERSION(VERSION) |
1890 | +# ---------------------------- |
1891 | +# Automake X.Y traces this macro to ensure aclocal.m4 has been |
1892 | +# generated from the m4 files accompanying Automake X.Y. |
1893 | +# (This private macro should not be called outside this file.) |
1894 | +AC_DEFUN([AM_AUTOMAKE_VERSION], |
1895 | +[am__api_version='1.15' |
1896 | +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
1897 | +dnl require some minimum version. Point them to the right macro. |
1898 | +m4_if([$1], [1.15], [], |
1899 | + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
1900 | +]) |
1901 | + |
1902 | +# _AM_AUTOCONF_VERSION(VERSION) |
1903 | +# ----------------------------- |
1904 | +# aclocal traces this macro to find the Autoconf version. |
1905 | +# This is a private macro too. Using m4_define simplifies |
1906 | +# the logic in aclocal, which can simply ignore this definition. |
1907 | +m4_define([_AM_AUTOCONF_VERSION], []) |
1908 | + |
1909 | +# AM_SET_CURRENT_AUTOMAKE_VERSION |
1910 | +# ------------------------------- |
1911 | +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
1912 | +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
1913 | +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
1914 | +[AM_AUTOMAKE_VERSION([1.15])dnl |
1915 | +m4_ifndef([AC_AUTOCONF_VERSION], |
1916 | + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
1917 | +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
1918 | + |
1919 | +# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
1920 | + |
1921 | +# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
1922 | +# |
1923 | +# This file is free software; the Free Software Foundation |
1924 | +# gives unlimited permission to copy and/or distribute it, |
1925 | +# with or without modifications, as long as this notice is preserved. |
1926 | + |
1927 | +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
1928 | +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to |
1929 | +# '$srcdir', '$srcdir/..', or '$srcdir/../..'. |
1930 | +# |
1931 | +# Of course, Automake must honor this variable whenever it calls a |
1932 | +# tool from the auxiliary directory. The problem is that $srcdir (and |
1933 | +# therefore $ac_aux_dir as well) can be either absolute or relative, |
1934 | +# depending on how configure is run. This is pretty annoying, since |
1935 | +# it makes $ac_aux_dir quite unusable in subdirectories: in the top |
1936 | +# source directory, any form will work fine, but in subdirectories a |
1937 | +# relative path needs to be adjusted first. |
1938 | +# |
1939 | +# $ac_aux_dir/missing |
1940 | +# fails when called from a subdirectory if $ac_aux_dir is relative |
1941 | +# $top_srcdir/$ac_aux_dir/missing |
1942 | +# fails if $ac_aux_dir is absolute, |
1943 | +# fails when called from a subdirectory in a VPATH build with |
1944 | +# a relative $ac_aux_dir |
1945 | +# |
1946 | +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
1947 | +# are both prefixed by $srcdir. In an in-source build this is usually |
1948 | +# harmless because $srcdir is '.', but things will broke when you |
1949 | +# start a VPATH build or use an absolute $srcdir. |
1950 | +# |
1951 | +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
1952 | +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: |
1953 | +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` |
1954 | +# and then we would define $MISSING as |
1955 | +# MISSING="\${SHELL} $am_aux_dir/missing" |
1956 | +# This will work as long as MISSING is not called from configure, because |
1957 | +# unfortunately $(top_srcdir) has no meaning in configure. |
1958 | +# However there are other variables, like CC, which are often used in |
1959 | +# configure, and could therefore not use this "fixed" $ac_aux_dir. |
1960 | +# |
1961 | +# Another solution, used here, is to always expand $ac_aux_dir to an |
1962 | +# absolute PATH. The drawback is that using absolute paths prevent a |
1963 | +# configured tree to be moved without reconfiguration. |
1964 | + |
1965 | +AC_DEFUN([AM_AUX_DIR_EXPAND], |
1966 | +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl |
1967 | +# Expand $ac_aux_dir to an absolute path. |
1968 | +am_aux_dir=`cd "$ac_aux_dir" && pwd` |
1969 | +]) |
1970 | + |
1971 | +# AM_CONDITIONAL -*- Autoconf -*- |
1972 | + |
1973 | +# Copyright (C) 1997-2014 Free Software Foundation, Inc. |
1974 | +# |
1975 | +# This file is free software; the Free Software Foundation |
1976 | +# gives unlimited permission to copy and/or distribute it, |
1977 | +# with or without modifications, as long as this notice is preserved. |
1978 | + |
1979 | +# AM_CONDITIONAL(NAME, SHELL-CONDITION) |
1980 | +# ------------------------------------- |
1981 | +# Define a conditional. |
1982 | +AC_DEFUN([AM_CONDITIONAL], |
1983 | +[AC_PREREQ([2.52])dnl |
1984 | + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
1985 | + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
1986 | +AC_SUBST([$1_TRUE])dnl |
1987 | +AC_SUBST([$1_FALSE])dnl |
1988 | +_AM_SUBST_NOTMAKE([$1_TRUE])dnl |
1989 | +_AM_SUBST_NOTMAKE([$1_FALSE])dnl |
1990 | +m4_define([_AM_COND_VALUE_$1], [$2])dnl |
1991 | +if $2; then |
1992 | + $1_TRUE= |
1993 | + $1_FALSE='#' |
1994 | +else |
1995 | + $1_TRUE='#' |
1996 | + $1_FALSE= |
1997 | +fi |
1998 | +AC_CONFIG_COMMANDS_PRE( |
1999 | +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
2000 | + AC_MSG_ERROR([[conditional "$1" was never defined. |
2001 | +Usually this means the macro was only invoked conditionally.]]) |
2002 | +fi])]) |
2003 | + |
2004 | +# Copyright (C) 1999-2014 Free Software Foundation, Inc. |
2005 | +# |
2006 | +# This file is free software; the Free Software Foundation |
2007 | +# gives unlimited permission to copy and/or distribute it, |
2008 | +# with or without modifications, as long as this notice is preserved. |
2009 | + |
2010 | + |
2011 | +# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be |
2012 | +# written in clear, in which case automake, when reading aclocal.m4, |
2013 | +# will think it sees a *use*, and therefore will trigger all it's |
2014 | +# C support machinery. Also note that it means that autoscan, seeing |
2015 | +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... |
2016 | + |
2017 | + |
2018 | +# _AM_DEPENDENCIES(NAME) |
2019 | +# ---------------------- |
2020 | +# See how the compiler implements dependency checking. |
2021 | +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". |
2022 | +# We try a few techniques and use that to set a single cache variable. |
2023 | +# |
2024 | +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
2025 | +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular |
2026 | +# dependency, and given that the user is not expected to run this macro, |
2027 | +# just rely on AC_PROG_CC. |
2028 | +AC_DEFUN([_AM_DEPENDENCIES], |
2029 | +[AC_REQUIRE([AM_SET_DEPDIR])dnl |
2030 | +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |
2031 | +AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
2032 | +AC_REQUIRE([AM_DEP_TRACK])dnl |
2033 | + |
2034 | +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], |
2035 | + [$1], [CXX], [depcc="$CXX" am_compiler_list=], |
2036 | + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
2037 | + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], |
2038 | + [$1], [UPC], [depcc="$UPC" am_compiler_list=], |
2039 | + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
2040 | + [depcc="$$1" am_compiler_list=]) |
2041 | + |
2042 | +AC_CACHE_CHECK([dependency style of $depcc], |
2043 | + [am_cv_$1_dependencies_compiler_type], |
2044 | +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
2045 | + # We make a subdir and do the tests there. Otherwise we can end up |
2046 | + # making bogus files that we don't know about and never remove. For |
2047 | + # instance it was reported that on HP-UX the gcc test will end up |
2048 | + # making a dummy file named 'D' -- because '-MD' means "put the output |
2049 | + # in D". |
2050 | + rm -rf conftest.dir |
2051 | + mkdir conftest.dir |
2052 | + # Copy depcomp to subdir because otherwise we won't find it if we're |
2053 | + # using a relative directory. |
2054 | + cp "$am_depcomp" conftest.dir |
2055 | + cd conftest.dir |
2056 | + # We will build objects and dependencies in a subdirectory because |
2057 | + # it helps to detect inapplicable dependency modes. For instance |
2058 | + # both Tru64's cc and ICC support -MD to output dependencies as a |
2059 | + # side effect of compilation, but ICC will put the dependencies in |
2060 | + # the current directory while Tru64 will put them in the object |
2061 | + # directory. |
2062 | + mkdir sub |
2063 | + |
2064 | + am_cv_$1_dependencies_compiler_type=none |
2065 | + if test "$am_compiler_list" = ""; then |
2066 | + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` |
2067 | + fi |
2068 | + am__universal=false |
2069 | + m4_case([$1], [CC], |
2070 | + [case " $depcc " in #( |
2071 | + *\ -arch\ *\ -arch\ *) am__universal=true ;; |
2072 | + esac], |
2073 | + [CXX], |
2074 | + [case " $depcc " in #( |
2075 | + *\ -arch\ *\ -arch\ *) am__universal=true ;; |
2076 | + esac]) |
2077 | + |
2078 | + for depmode in $am_compiler_list; do |
2079 | + # Setup a source with many dependencies, because some compilers |
2080 | + # like to wrap large dependency lists on column 80 (with \), and |
2081 | + # we should not choose a depcomp mode which is confused by this. |
2082 | + # |
2083 | + # We need to recreate these files for each test, as the compiler may |
2084 | + # overwrite some of them when testing with obscure command lines. |
2085 | + # This happens at least with the AIX C compiler. |
2086 | + : > sub/conftest.c |
2087 | + for i in 1 2 3 4 5 6; do |
2088 | + echo '#include "conftst'$i'.h"' >> sub/conftest.c |
2089 | + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
2090 | + # Solaris 10 /bin/sh. |
2091 | + echo '/* dummy */' > sub/conftst$i.h |
2092 | + done |
2093 | + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
2094 | + |
2095 | + # We check with '-c' and '-o' for the sake of the "dashmstdout" |
2096 | + # mode. It turns out that the SunPro C++ compiler does not properly |
2097 | + # handle '-M -o', and we need to detect this. Also, some Intel |
2098 | + # versions had trouble with output in subdirs. |
2099 | + am__obj=sub/conftest.${OBJEXT-o} |
2100 | + am__minus_obj="-o $am__obj" |
2101 | + case $depmode in |
2102 | + gcc) |
2103 | + # This depmode causes a compiler race in universal mode. |
2104 | + test "$am__universal" = false || continue |
2105 | + ;; |
2106 | + nosideeffect) |
2107 | + # After this tag, mechanisms are not by side-effect, so they'll |
2108 | + # only be used when explicitly requested. |
2109 | + if test "x$enable_dependency_tracking" = xyes; then |
2110 | + continue |
2111 | + else |
2112 | + break |
2113 | + fi |
2114 | + ;; |
2115 | + msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
2116 | + # This compiler won't grok '-c -o', but also, the minuso test has |
2117 | + # not run yet. These depmodes are late enough in the game, and |
2118 | + # so weak that their functioning should not be impacted. |
2119 | + am__obj=conftest.${OBJEXT-o} |
2120 | + am__minus_obj= |
2121 | + ;; |
2122 | + none) break ;; |
2123 | + esac |
2124 | + if depmode=$depmode \ |
2125 | + source=sub/conftest.c object=$am__obj \ |
2126 | + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
2127 | + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
2128 | + >/dev/null 2>conftest.err && |
2129 | + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
2130 | + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
2131 | + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
2132 | + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
2133 | + # icc doesn't choke on unknown options, it will just issue warnings |
2134 | + # or remarks (even with -Werror). So we grep stderr for any message |
2135 | + # that says an option was ignored or not supported. |
2136 | + # When given -MP, icc 7.0 and 7.1 complain thusly: |
2137 | + # icc: Command line warning: ignoring option '-M'; no argument required |
2138 | + # The diagnosis changed in icc 8.0: |
2139 | + # icc: Command line remark: option '-MP' not supported |
2140 | + if (grep 'ignoring option' conftest.err || |
2141 | + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
2142 | + am_cv_$1_dependencies_compiler_type=$depmode |
2143 | + break |
2144 | + fi |
2145 | + fi |
2146 | + done |
2147 | + |
2148 | + cd .. |
2149 | + rm -rf conftest.dir |
2150 | +else |
2151 | + am_cv_$1_dependencies_compiler_type=none |
2152 | +fi |
2153 | +]) |
2154 | +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) |
2155 | +AM_CONDITIONAL([am__fastdep$1], [ |
2156 | + test "x$enable_dependency_tracking" != xno \ |
2157 | + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) |
2158 | +]) |
2159 | + |
2160 | + |
2161 | +# AM_SET_DEPDIR |
2162 | +# ------------- |
2163 | +# Choose a directory name for dependency files. |
2164 | +# This macro is AC_REQUIREd in _AM_DEPENDENCIES. |
2165 | +AC_DEFUN([AM_SET_DEPDIR], |
2166 | +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
2167 | +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
2168 | +]) |
2169 | + |
2170 | + |
2171 | +# AM_DEP_TRACK |
2172 | +# ------------ |
2173 | +AC_DEFUN([AM_DEP_TRACK], |
2174 | +[AC_ARG_ENABLE([dependency-tracking], [dnl |
2175 | +AS_HELP_STRING( |
2176 | + [--enable-dependency-tracking], |
2177 | + [do not reject slow dependency extractors]) |
2178 | +AS_HELP_STRING( |
2179 | + [--disable-dependency-tracking], |
2180 | + [speeds up one-time build])]) |
2181 | +if test "x$enable_dependency_tracking" != xno; then |
2182 | + am_depcomp="$ac_aux_dir/depcomp" |
2183 | + AMDEPBACKSLASH='\' |
2184 | + am__nodep='_no' |
2185 | +fi |
2186 | +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
2187 | +AC_SUBST([AMDEPBACKSLASH])dnl |
2188 | +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
2189 | +AC_SUBST([am__nodep])dnl |
2190 | +_AM_SUBST_NOTMAKE([am__nodep])dnl |
2191 | +]) |
2192 | + |
2193 | +# Generate code to set up dependency tracking. -*- Autoconf -*- |
2194 | + |
2195 | +# Copyright (C) 1999-2014 Free Software Foundation, Inc. |
2196 | +# |
2197 | +# This file is free software; the Free Software Foundation |
2198 | +# gives unlimited permission to copy and/or distribute it, |
2199 | +# with or without modifications, as long as this notice is preserved. |
2200 | + |
2201 | + |
2202 | +# _AM_OUTPUT_DEPENDENCY_COMMANDS |
2203 | +# ------------------------------ |
2204 | +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
2205 | +[{ |
2206 | + # Older Autoconf quotes --file arguments for eval, but not when files |
2207 | + # are listed without --file. Let's play safe and only enable the eval |
2208 | + # if we detect the quoting. |
2209 | + case $CONFIG_FILES in |
2210 | + *\'*) eval set x "$CONFIG_FILES" ;; |
2211 | + *) set x $CONFIG_FILES ;; |
2212 | + esac |
2213 | + shift |
2214 | + for mf |
2215 | + do |
2216 | + # Strip MF so we end up with the name of the file. |
2217 | + mf=`echo "$mf" | sed -e 's/:.*$//'` |
2218 | + # Check whether this is an Automake generated Makefile or not. |
2219 | + # We used to match only the files named 'Makefile.in', but |
2220 | + # some people rename them; so instead we look at the file content. |
2221 | + # Grep'ing the first line is not enough: some people post-process |
2222 | + # each Makefile.in and add a new line on top of each file to say so. |
2223 | + # Grep'ing the whole file is not good either: AIX grep has a line |
2224 | + # limit of 2048, but all sed's we know have understand at least 4000. |
2225 | + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
2226 | + dirpart=`AS_DIRNAME("$mf")` |
2227 | + else |
2228 | + continue |
2229 | + fi |
2230 | + # Extract the definition of DEPDIR, am__include, and am__quote |
2231 | + # from the Makefile without running 'make'. |
2232 | + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
2233 | + test -z "$DEPDIR" && continue |
2234 | + am__include=`sed -n 's/^am__include = //p' < "$mf"` |
2235 | + test -z "$am__include" && continue |
2236 | + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
2237 | + # Find all dependency output files, they are included files with |
2238 | + # $(DEPDIR) in their names. We invoke sed twice because it is the |
2239 | + # simplest approach to changing $(DEPDIR) to its actual value in the |
2240 | + # expansion. |
2241 | + for file in `sed -n " |
2242 | + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
2243 | + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
2244 | + # Make sure the directory exists. |
2245 | + test -f "$dirpart/$file" && continue |
2246 | + fdir=`AS_DIRNAME(["$file"])` |
2247 | + AS_MKDIR_P([$dirpart/$fdir]) |
2248 | + # echo "creating $dirpart/$file" |
2249 | + echo '# dummy' > "$dirpart/$file" |
2250 | + done |
2251 | + done |
2252 | +} |
2253 | +])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
2254 | + |
2255 | + |
2256 | +# AM_OUTPUT_DEPENDENCY_COMMANDS |
2257 | +# ----------------------------- |
2258 | +# This macro should only be invoked once -- use via AC_REQUIRE. |
2259 | +# |
2260 | +# This code is only required when automatic dependency tracking |
2261 | +# is enabled. FIXME. This creates each '.P' file that we will |
2262 | +# need in order to bootstrap the dependency handling code. |
2263 | +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
2264 | +[AC_CONFIG_COMMANDS([depfiles], |
2265 | + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], |
2266 | + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
2267 | +]) |
2268 | + |
2269 | +# Do all the work for Automake. -*- Autoconf -*- |
2270 | + |
2271 | +# Copyright (C) 1996-2014 Free Software Foundation, Inc. |
2272 | +# |
2273 | +# This file is free software; the Free Software Foundation |
2274 | +# gives unlimited permission to copy and/or distribute it, |
2275 | +# with or without modifications, as long as this notice is preserved. |
2276 | + |
2277 | +# This macro actually does too much. Some checks are only needed if |
2278 | +# your package does certain things. But this isn't really a big deal. |
2279 | + |
2280 | +dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. |
2281 | +m4_define([AC_PROG_CC], |
2282 | +m4_defn([AC_PROG_CC]) |
2283 | +[_AM_PROG_CC_C_O |
2284 | +]) |
2285 | + |
2286 | +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
2287 | +# AM_INIT_AUTOMAKE([OPTIONS]) |
2288 | +# ----------------------------------------------- |
2289 | +# The call with PACKAGE and VERSION arguments is the old style |
2290 | +# call (pre autoconf-2.50), which is being phased out. PACKAGE |
2291 | +# and VERSION should now be passed to AC_INIT and removed from |
2292 | +# the call to AM_INIT_AUTOMAKE. |
2293 | +# We support both call styles for the transition. After |
2294 | +# the next Automake release, Autoconf can make the AC_INIT |
2295 | +# arguments mandatory, and then we can depend on a new Autoconf |
2296 | +# release and drop the old call support. |
2297 | +AC_DEFUN([AM_INIT_AUTOMAKE], |
2298 | +[AC_PREREQ([2.65])dnl |
2299 | +dnl Autoconf wants to disallow AM_ names. We explicitly allow |
2300 | +dnl the ones we care about. |
2301 | +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
2302 | +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
2303 | +AC_REQUIRE([AC_PROG_INSTALL])dnl |
2304 | +if test "`cd $srcdir && pwd`" != "`pwd`"; then |
2305 | + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
2306 | + # is not polluted with repeated "-I." |
2307 | + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl |
2308 | + # test to see if srcdir already configured |
2309 | + if test -f $srcdir/config.status; then |
2310 | + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
2311 | + fi |
2312 | +fi |
2313 | + |
2314 | +# test whether we have cygpath |
2315 | +if test -z "$CYGPATH_W"; then |
2316 | + if (cygpath --version) >/dev/null 2>/dev/null; then |
2317 | + CYGPATH_W='cygpath -w' |
2318 | + else |
2319 | + CYGPATH_W=echo |
2320 | + fi |
2321 | +fi |
2322 | +AC_SUBST([CYGPATH_W]) |
2323 | + |
2324 | +# Define the identity of the package. |
2325 | +dnl Distinguish between old-style and new-style calls. |
2326 | +m4_ifval([$2], |
2327 | +[AC_DIAGNOSE([obsolete], |
2328 | + [$0: two- and three-arguments forms are deprecated.]) |
2329 | +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |
2330 | + AC_SUBST([PACKAGE], [$1])dnl |
2331 | + AC_SUBST([VERSION], [$2])], |
2332 | +[_AM_SET_OPTIONS([$1])dnl |
2333 | +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
2334 | +m4_if( |
2335 | + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), |
2336 | + [ok:ok],, |
2337 | + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
2338 | + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
2339 | + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
2340 | + |
2341 | +_AM_IF_OPTION([no-define],, |
2342 | +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) |
2343 | + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl |
2344 | + |
2345 | +# Some tools Automake needs. |
2346 | +AC_REQUIRE([AM_SANITY_CHECK])dnl |
2347 | +AC_REQUIRE([AC_ARG_PROGRAM])dnl |
2348 | +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) |
2349 | +AM_MISSING_PROG([AUTOCONF], [autoconf]) |
2350 | +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) |
2351 | +AM_MISSING_PROG([AUTOHEADER], [autoheader]) |
2352 | +AM_MISSING_PROG([MAKEINFO], [makeinfo]) |
2353 | +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
2354 | +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
2355 | +AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
2356 | +# For better backward compatibility. To be removed once Automake 1.9.x |
2357 | +# dies out for good. For more background, see: |
2358 | +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
2359 | +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
2360 | +AC_SUBST([mkdir_p], ['$(MKDIR_P)']) |
2361 | +# We need awk for the "check" target (and possibly the TAP driver). The |
2362 | +# system "awk" is bad on some platforms. |
2363 | +AC_REQUIRE([AC_PROG_AWK])dnl |
2364 | +AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
2365 | +AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
2366 | +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], |
2367 | + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], |
2368 | + [_AM_PROG_TAR([v7])])]) |
2369 | +_AM_IF_OPTION([no-dependencies],, |
2370 | +[AC_PROVIDE_IFELSE([AC_PROG_CC], |
2371 | + [_AM_DEPENDENCIES([CC])], |
2372 | + [m4_define([AC_PROG_CC], |
2373 | + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl |
2374 | +AC_PROVIDE_IFELSE([AC_PROG_CXX], |
2375 | + [_AM_DEPENDENCIES([CXX])], |
2376 | + [m4_define([AC_PROG_CXX], |
2377 | + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl |
2378 | +AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
2379 | + [_AM_DEPENDENCIES([OBJC])], |
2380 | + [m4_define([AC_PROG_OBJC], |
2381 | + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl |
2382 | +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], |
2383 | + [_AM_DEPENDENCIES([OBJCXX])], |
2384 | + [m4_define([AC_PROG_OBJCXX], |
2385 | + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl |
2386 | +]) |
2387 | +AC_REQUIRE([AM_SILENT_RULES])dnl |
2388 | +dnl The testsuite driver may need to know about EXEEXT, so add the |
2389 | +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This |
2390 | +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. |
2391 | +AC_CONFIG_COMMANDS_PRE(dnl |
2392 | +[m4_provide_if([_AM_COMPILER_EXEEXT], |
2393 | + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
2394 | + |
2395 | +# POSIX will say in a future version that running "rm -f" with no argument |
2396 | +# is OK; and we want to be able to make that assumption in our Makefile |
2397 | +# recipes. So use an aggressive probe to check that the usage we want is |
2398 | +# actually supported "in the wild" to an acceptable degree. |
2399 | +# See automake bug#10828. |
2400 | +# To make any issue more visible, cause the running configure to be aborted |
2401 | +# by default if the 'rm' program in use doesn't match our expectations; the |
2402 | +# user can still override this though. |
2403 | +if rm -f && rm -fr && rm -rf; then : OK; else |
2404 | + cat >&2 <<'END' |
2405 | +Oops! |
2406 | + |
2407 | +Your 'rm' program seems unable to run without file operands specified |
2408 | +on the command line, even when the '-f' option is present. This is contrary |
2409 | +to the behaviour of most rm programs out there, and not conforming with |
2410 | +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
2411 | + |
2412 | +Please tell bug-automake@gnu.org about your system, including the value |
2413 | +of your $PATH and any error possibly output before this message. This |
2414 | +can help us improve future automake versions. |
2415 | + |
2416 | +END |
2417 | + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
2418 | + echo 'Configuration will proceed anyway, since you have set the' >&2 |
2419 | + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
2420 | + echo >&2 |
2421 | + else |
2422 | + cat >&2 <<'END' |
2423 | +Aborting the configuration process, to ensure you take notice of the issue. |
2424 | + |
2425 | +You can download and install GNU coreutils to get an 'rm' implementation |
2426 | +that behaves properly: <http://www.gnu.org/software/coreutils/>. |
2427 | + |
2428 | +If you want to complete the configuration process using your problematic |
2429 | +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
2430 | +to "yes", and re-run configure. |
2431 | + |
2432 | +END |
2433 | + AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) |
2434 | + fi |
2435 | +fi |
2436 | +dnl The trailing newline in this macro's definition is deliberate, for |
2437 | +dnl backward compatibility and to allow trailing 'dnl'-style comments |
2438 | +dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. |
2439 | +]) |
2440 | + |
2441 | +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not |
2442 | +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
2443 | +dnl mangled by Autoconf and run in a shell conditional statement. |
2444 | +m4_define([_AC_COMPILER_EXEEXT], |
2445 | +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
2446 | + |
2447 | +# When config.status generates a header, we must update the stamp-h file. |
2448 | +# This file resides in the same directory as the config header |
2449 | +# that is generated. The stamp files are numbered to have different names. |
2450 | + |
2451 | +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the |
2452 | +# loop where config.status creates the headers, so we can generate |
2453 | +# our stamp files there. |
2454 | +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
2455 | +[# Compute $1's index in $config_headers. |
2456 | +_am_arg=$1 |
2457 | +_am_stamp_count=1 |
2458 | +for _am_header in $config_headers :; do |
2459 | + case $_am_header in |
2460 | + $_am_arg | $_am_arg:* ) |
2461 | + break ;; |
2462 | + * ) |
2463 | + _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
2464 | + esac |
2465 | +done |
2466 | +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
2467 | + |
2468 | +# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
2469 | +# |
2470 | +# This file is free software; the Free Software Foundation |
2471 | +# gives unlimited permission to copy and/or distribute it, |
2472 | +# with or without modifications, as long as this notice is preserved. |
2473 | + |
2474 | +# AM_PROG_INSTALL_SH |
2475 | +# ------------------ |
2476 | +# Define $install_sh. |
2477 | +AC_DEFUN([AM_PROG_INSTALL_SH], |
2478 | +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
2479 | +if test x"${install_sh+set}" != xset; then |
2480 | + case $am_aux_dir in |
2481 | + *\ * | *\ *) |
2482 | + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
2483 | + *) |
2484 | + install_sh="\${SHELL} $am_aux_dir/install-sh" |
2485 | + esac |
2486 | +fi |
2487 | +AC_SUBST([install_sh])]) |
2488 | + |
2489 | +# Copyright (C) 2003-2014 Free Software Foundation, Inc. |
2490 | +# |
2491 | +# This file is free software; the Free Software Foundation |
2492 | +# gives unlimited permission to copy and/or distribute it, |
2493 | +# with or without modifications, as long as this notice is preserved. |
2494 | + |
2495 | +# Check whether the underlying file-system supports filenames |
2496 | +# with a leading dot. For instance MS-DOS doesn't. |
2497 | +AC_DEFUN([AM_SET_LEADING_DOT], |
2498 | +[rm -rf .tst 2>/dev/null |
2499 | +mkdir .tst 2>/dev/null |
2500 | +if test -d .tst; then |
2501 | + am__leading_dot=. |
2502 | +else |
2503 | + am__leading_dot=_ |
2504 | +fi |
2505 | +rmdir .tst 2>/dev/null |
2506 | +AC_SUBST([am__leading_dot])]) |
2507 | + |
2508 | +# Check to see how 'make' treats includes. -*- Autoconf -*- |
2509 | + |
2510 | +# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
2511 | +# |
2512 | +# This file is free software; the Free Software Foundation |
2513 | +# gives unlimited permission to copy and/or distribute it, |
2514 | +# with or without modifications, as long as this notice is preserved. |
2515 | + |
2516 | +# AM_MAKE_INCLUDE() |
2517 | +# ----------------- |
2518 | +# Check to see how make treats includes. |
2519 | +AC_DEFUN([AM_MAKE_INCLUDE], |
2520 | +[am_make=${MAKE-make} |
2521 | +cat > confinc << 'END' |
2522 | +am__doit: |
2523 | + @echo this is the am__doit target |
2524 | +.PHONY: am__doit |
2525 | +END |
2526 | +# If we don't find an include directive, just comment out the code. |
2527 | +AC_MSG_CHECKING([for style of include used by $am_make]) |
2528 | +am__include="#" |
2529 | +am__quote= |
2530 | +_am_result=none |
2531 | +# First try GNU make style include. |
2532 | +echo "include confinc" > confmf |
2533 | +# Ignore all kinds of additional output from 'make'. |
2534 | +case `$am_make -s -f confmf 2> /dev/null` in #( |
2535 | +*the\ am__doit\ target*) |
2536 | + am__include=include |
2537 | + am__quote= |
2538 | + _am_result=GNU |
2539 | + ;; |
2540 | +esac |
2541 | +# Now try BSD make style include. |
2542 | +if test "$am__include" = "#"; then |
2543 | + echo '.include "confinc"' > confmf |
2544 | + case `$am_make -s -f confmf 2> /dev/null` in #( |
2545 | + *the\ am__doit\ target*) |
2546 | + am__include=.include |
2547 | + am__quote="\"" |
2548 | + _am_result=BSD |
2549 | + ;; |
2550 | + esac |
2551 | +fi |
2552 | +AC_SUBST([am__include]) |
2553 | +AC_SUBST([am__quote]) |
2554 | +AC_MSG_RESULT([$_am_result]) |
2555 | +rm -f confinc confmf |
2556 | +]) |
2557 | + |
2558 | +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
2559 | + |
2560 | +# Copyright (C) 1997-2014 Free Software Foundation, Inc. |
2561 | +# |
2562 | +# This file is free software; the Free Software Foundation |
2563 | +# gives unlimited permission to copy and/or distribute it, |
2564 | +# with or without modifications, as long as this notice is preserved. |
2565 | + |
2566 | +# AM_MISSING_PROG(NAME, PROGRAM) |
2567 | +# ------------------------------ |
2568 | +AC_DEFUN([AM_MISSING_PROG], |
2569 | +[AC_REQUIRE([AM_MISSING_HAS_RUN]) |
2570 | +$1=${$1-"${am_missing_run}$2"} |
2571 | +AC_SUBST($1)]) |
2572 | + |
2573 | +# AM_MISSING_HAS_RUN |
2574 | +# ------------------ |
2575 | +# Define MISSING if not defined so far and test if it is modern enough. |
2576 | +# If it is, set am_missing_run to use it, otherwise, to nothing. |
2577 | +AC_DEFUN([AM_MISSING_HAS_RUN], |
2578 | +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
2579 | +AC_REQUIRE_AUX_FILE([missing])dnl |
2580 | +if test x"${MISSING+set}" != xset; then |
2581 | + case $am_aux_dir in |
2582 | + *\ * | *\ *) |
2583 | + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
2584 | + *) |
2585 | + MISSING="\${SHELL} $am_aux_dir/missing" ;; |
2586 | + esac |
2587 | +fi |
2588 | +# Use eval to expand $SHELL |
2589 | +if eval "$MISSING --is-lightweight"; then |
2590 | + am_missing_run="$MISSING " |
2591 | +else |
2592 | + am_missing_run= |
2593 | + AC_MSG_WARN(['missing' script is too old or missing]) |
2594 | +fi |
2595 | +]) |
2596 | + |
2597 | +# Helper functions for option handling. -*- Autoconf -*- |
2598 | + |
2599 | +# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
2600 | +# |
2601 | +# This file is free software; the Free Software Foundation |
2602 | +# gives unlimited permission to copy and/or distribute it, |
2603 | +# with or without modifications, as long as this notice is preserved. |
2604 | + |
2605 | +# _AM_MANGLE_OPTION(NAME) |
2606 | +# ----------------------- |
2607 | +AC_DEFUN([_AM_MANGLE_OPTION], |
2608 | +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
2609 | + |
2610 | +# _AM_SET_OPTION(NAME) |
2611 | +# -------------------- |
2612 | +# Set option NAME. Presently that only means defining a flag for this option. |
2613 | +AC_DEFUN([_AM_SET_OPTION], |
2614 | +[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) |
2615 | + |
2616 | +# _AM_SET_OPTIONS(OPTIONS) |
2617 | +# ------------------------ |
2618 | +# OPTIONS is a space-separated list of Automake options. |
2619 | +AC_DEFUN([_AM_SET_OPTIONS], |
2620 | +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
2621 | + |
2622 | +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) |
2623 | +# ------------------------------------------- |
2624 | +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. |
2625 | +AC_DEFUN([_AM_IF_OPTION], |
2626 | +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
2627 | + |
2628 | +# Copyright (C) 1999-2014 Free Software Foundation, Inc. |
2629 | +# |
2630 | +# This file is free software; the Free Software Foundation |
2631 | +# gives unlimited permission to copy and/or distribute it, |
2632 | +# with or without modifications, as long as this notice is preserved. |
2633 | + |
2634 | +# _AM_PROG_CC_C_O |
2635 | +# --------------- |
2636 | +# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC |
2637 | +# to automatically call this. |
2638 | +AC_DEFUN([_AM_PROG_CC_C_O], |
2639 | +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
2640 | +AC_REQUIRE_AUX_FILE([compile])dnl |
2641 | +AC_LANG_PUSH([C])dnl |
2642 | +AC_CACHE_CHECK( |
2643 | + [whether $CC understands -c and -o together], |
2644 | + [am_cv_prog_cc_c_o], |
2645 | + [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) |
2646 | + # Make sure it works both with $CC and with simple cc. |
2647 | + # Following AC_PROG_CC_C_O, we do the test twice because some |
2648 | + # compilers refuse to overwrite an existing .o file with -o, |
2649 | + # though they will create one. |
2650 | + am_cv_prog_cc_c_o=yes |
2651 | + for am_i in 1 2; do |
2652 | + if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ |
2653 | + && test -f conftest2.$ac_objext; then |
2654 | + : OK |
2655 | + else |
2656 | + am_cv_prog_cc_c_o=no |
2657 | + break |
2658 | + fi |
2659 | + done |
2660 | + rm -f core conftest* |
2661 | + unset am_i]) |
2662 | +if test "$am_cv_prog_cc_c_o" != yes; then |
2663 | + # Losing compiler, so override with the script. |
2664 | + # FIXME: It is wrong to rewrite CC. |
2665 | + # But if we don't then we get into trouble of one sort or another. |
2666 | + # A longer-term fix would be to have automake use am__CC in this case, |
2667 | + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
2668 | + CC="$am_aux_dir/compile $CC" |
2669 | +fi |
2670 | +AC_LANG_POP([C])]) |
2671 | + |
2672 | +# For backward compatibility. |
2673 | +AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) |
2674 | + |
2675 | +# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
2676 | +# |
2677 | +# This file is free software; the Free Software Foundation |
2678 | +# gives unlimited permission to copy and/or distribute it, |
2679 | +# with or without modifications, as long as this notice is preserved. |
2680 | + |
2681 | +# AM_RUN_LOG(COMMAND) |
2682 | +# ------------------- |
2683 | +# Run COMMAND, save the exit status in ac_status, and log it. |
2684 | +# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) |
2685 | +AC_DEFUN([AM_RUN_LOG], |
2686 | +[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD |
2687 | + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD |
2688 | + ac_status=$? |
2689 | + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
2690 | + (exit $ac_status); }]) |
2691 | + |
2692 | +# Check to make sure that the build environment is sane. -*- Autoconf -*- |
2693 | + |
2694 | +# Copyright (C) 1996-2014 Free Software Foundation, Inc. |
2695 | +# |
2696 | +# This file is free software; the Free Software Foundation |
2697 | +# gives unlimited permission to copy and/or distribute it, |
2698 | +# with or without modifications, as long as this notice is preserved. |
2699 | + |
2700 | +# AM_SANITY_CHECK |
2701 | +# --------------- |
2702 | +AC_DEFUN([AM_SANITY_CHECK], |
2703 | +[AC_MSG_CHECKING([whether build environment is sane]) |
2704 | +# Reject unsafe characters in $srcdir or the absolute working directory |
2705 | +# name. Accept space and tab only in the latter. |
2706 | +am_lf=' |
2707 | +' |
2708 | +case `pwd` in |
2709 | + *[[\\\"\#\$\&\'\`$am_lf]]*) |
2710 | + AC_MSG_ERROR([unsafe absolute working directory name]);; |
2711 | +esac |
2712 | +case $srcdir in |
2713 | + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
2714 | + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; |
2715 | +esac |
2716 | + |
2717 | +# Do 'set' in a subshell so we don't clobber the current shell's |
2718 | +# arguments. Must try -L first in case configure is actually a |
2719 | +# symlink; some systems play weird games with the mod time of symlinks |
2720 | +# (eg FreeBSD returns the mod time of the symlink's containing |
2721 | +# directory). |
2722 | +if ( |
2723 | + am_has_slept=no |
2724 | + for am_try in 1 2; do |
2725 | + echo "timestamp, slept: $am_has_slept" > conftest.file |
2726 | + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
2727 | + if test "$[*]" = "X"; then |
2728 | + # -L didn't work. |
2729 | + set X `ls -t "$srcdir/configure" conftest.file` |
2730 | + fi |
2731 | + if test "$[*]" != "X $srcdir/configure conftest.file" \ |
2732 | + && test "$[*]" != "X conftest.file $srcdir/configure"; then |
2733 | + |
2734 | + # If neither matched, then we have a broken ls. This can happen |
2735 | + # if, for instance, CONFIG_SHELL is bash and it inherits a |
2736 | + # broken ls alias from the environment. This has actually |
2737 | + # happened. Such a system could not be considered "sane". |
2738 | + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken |
2739 | + alias in your environment]) |
2740 | + fi |
2741 | + if test "$[2]" = conftest.file || test $am_try -eq 2; then |
2742 | + break |
2743 | + fi |
2744 | + # Just in case. |
2745 | + sleep 1 |
2746 | + am_has_slept=yes |
2747 | + done |
2748 | + test "$[2]" = conftest.file |
2749 | + ) |
2750 | +then |
2751 | + # Ok. |
2752 | + : |
2753 | +else |
2754 | + AC_MSG_ERROR([newly created file is older than distributed files! |
2755 | +Check your system clock]) |
2756 | +fi |
2757 | +AC_MSG_RESULT([yes]) |
2758 | +# If we didn't sleep, we still need to ensure time stamps of config.status and |
2759 | +# generated files are strictly newer. |
2760 | +am_sleep_pid= |
2761 | +if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
2762 | + ( sleep 1 ) & |
2763 | + am_sleep_pid=$! |
2764 | +fi |
2765 | +AC_CONFIG_COMMANDS_PRE( |
2766 | + [AC_MSG_CHECKING([that generated files are newer than configure]) |
2767 | + if test -n "$am_sleep_pid"; then |
2768 | + # Hide warnings about reused PIDs. |
2769 | + wait $am_sleep_pid 2>/dev/null |
2770 | + fi |
2771 | + AC_MSG_RESULT([done])]) |
2772 | +rm -f conftest.file |
2773 | +]) |
2774 | + |
2775 | +# Copyright (C) 2009-2014 Free Software Foundation, Inc. |
2776 | +# |
2777 | +# This file is free software; the Free Software Foundation |
2778 | +# gives unlimited permission to copy and/or distribute it, |
2779 | +# with or without modifications, as long as this notice is preserved. |
2780 | + |
2781 | +# AM_SILENT_RULES([DEFAULT]) |
2782 | +# -------------------------- |
2783 | +# Enable less verbose build rules; with the default set to DEFAULT |
2784 | +# ("yes" being less verbose, "no" or empty being verbose). |
2785 | +AC_DEFUN([AM_SILENT_RULES], |
2786 | +[AC_ARG_ENABLE([silent-rules], [dnl |
2787 | +AS_HELP_STRING( |
2788 | + [--enable-silent-rules], |
2789 | + [less verbose build output (undo: "make V=1")]) |
2790 | +AS_HELP_STRING( |
2791 | + [--disable-silent-rules], |
2792 | + [verbose build output (undo: "make V=0")])dnl |
2793 | +]) |
2794 | +case $enable_silent_rules in @%:@ ((( |
2795 | + yes) AM_DEFAULT_VERBOSITY=0;; |
2796 | + no) AM_DEFAULT_VERBOSITY=1;; |
2797 | + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; |
2798 | +esac |
2799 | +dnl |
2800 | +dnl A few 'make' implementations (e.g., NonStop OS and NextStep) |
2801 | +dnl do not support nested variable expansions. |
2802 | +dnl See automake bug#9928 and bug#10237. |
2803 | +am_make=${MAKE-make} |
2804 | +AC_CACHE_CHECK([whether $am_make supports nested variables], |
2805 | + [am_cv_make_support_nested_variables], |
2806 | + [if AS_ECHO([['TRUE=$(BAR$(V)) |
2807 | +BAR0=false |
2808 | +BAR1=true |
2809 | +V=1 |
2810 | +am__doit: |
2811 | + @$(TRUE) |
2812 | +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then |
2813 | + am_cv_make_support_nested_variables=yes |
2814 | +else |
2815 | + am_cv_make_support_nested_variables=no |
2816 | +fi]) |
2817 | +if test $am_cv_make_support_nested_variables = yes; then |
2818 | + dnl Using '$V' instead of '$(V)' breaks IRIX make. |
2819 | + AM_V='$(V)' |
2820 | + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
2821 | +else |
2822 | + AM_V=$AM_DEFAULT_VERBOSITY |
2823 | + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
2824 | +fi |
2825 | +AC_SUBST([AM_V])dnl |
2826 | +AM_SUBST_NOTMAKE([AM_V])dnl |
2827 | +AC_SUBST([AM_DEFAULT_V])dnl |
2828 | +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl |
2829 | +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl |
2830 | +AM_BACKSLASH='\' |
2831 | +AC_SUBST([AM_BACKSLASH])dnl |
2832 | +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
2833 | +]) |
2834 | + |
2835 | +# Copyright (C) 2001-2014 Free Software Foundation, Inc. |
2836 | +# |
2837 | +# This file is free software; the Free Software Foundation |
2838 | +# gives unlimited permission to copy and/or distribute it, |
2839 | +# with or without modifications, as long as this notice is preserved. |
2840 | + |
2841 | +# AM_PROG_INSTALL_STRIP |
2842 | +# --------------------- |
2843 | +# One issue with vendor 'install' (even GNU) is that you can't |
2844 | +# specify the program used to strip binaries. This is especially |
2845 | +# annoying in cross-compiling environments, where the build's strip |
2846 | +# is unlikely to handle the host's binaries. |
2847 | +# Fortunately install-sh will honor a STRIPPROG variable, so we |
2848 | +# always use install-sh in "make install-strip", and initialize |
2849 | +# STRIPPROG with the value of the STRIP variable (set by the user). |
2850 | +AC_DEFUN([AM_PROG_INSTALL_STRIP], |
2851 | +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
2852 | +# Installed binaries are usually stripped using 'strip' when the user |
2853 | +# run "make install-strip". However 'strip' might not be the right |
2854 | +# tool to use in cross-compilation environments, therefore Automake |
2855 | +# will honor the 'STRIP' environment variable to overrule this program. |
2856 | +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. |
2857 | +if test "$cross_compiling" != no; then |
2858 | + AC_CHECK_TOOL([STRIP], [strip], :) |
2859 | +fi |
2860 | +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
2861 | +AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
2862 | + |
2863 | +# Copyright (C) 2006-2014 Free Software Foundation, Inc. |
2864 | +# |
2865 | +# This file is free software; the Free Software Foundation |
2866 | +# gives unlimited permission to copy and/or distribute it, |
2867 | +# with or without modifications, as long as this notice is preserved. |
2868 | + |
2869 | +# _AM_SUBST_NOTMAKE(VARIABLE) |
2870 | +# --------------------------- |
2871 | +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |
2872 | +# This macro is traced by Automake. |
2873 | +AC_DEFUN([_AM_SUBST_NOTMAKE]) |
2874 | + |
2875 | +# AM_SUBST_NOTMAKE(VARIABLE) |
2876 | +# -------------------------- |
2877 | +# Public sister of _AM_SUBST_NOTMAKE. |
2878 | +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
2879 | + |
2880 | +# Check how to create a tarball. -*- Autoconf -*- |
2881 | + |
2882 | +# Copyright (C) 2004-2014 Free Software Foundation, Inc. |
2883 | +# |
2884 | +# This file is free software; the Free Software Foundation |
2885 | +# gives unlimited permission to copy and/or distribute it, |
2886 | +# with or without modifications, as long as this notice is preserved. |
2887 | + |
2888 | +# _AM_PROG_TAR(FORMAT) |
2889 | +# -------------------- |
2890 | +# Check how to create a tarball in format FORMAT. |
2891 | +# FORMAT should be one of 'v7', 'ustar', or 'pax'. |
2892 | +# |
2893 | +# Substitute a variable $(am__tar) that is a command |
2894 | +# writing to stdout a FORMAT-tarball containing the directory |
2895 | +# $tardir. |
2896 | +# tardir=directory && $(am__tar) > result.tar |
2897 | +# |
2898 | +# Substitute a variable $(am__untar) that extract such |
2899 | +# a tarball read from stdin. |
2900 | +# $(am__untar) < result.tar |
2901 | +# |
2902 | +AC_DEFUN([_AM_PROG_TAR], |
2903 | +[# Always define AMTAR for backward compatibility. Yes, it's still used |
2904 | +# in the wild :-( We should find a proper way to deprecate it ... |
2905 | +AC_SUBST([AMTAR], ['$${TAR-tar}']) |
2906 | + |
2907 | +# We'll loop over all known methods to create a tar archive until one works. |
2908 | +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
2909 | + |
2910 | +m4_if([$1], [v7], |
2911 | + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], |
2912 | + |
2913 | + [m4_case([$1], |
2914 | + [ustar], |
2915 | + [# The POSIX 1988 'ustar' format is defined with fixed-size fields. |
2916 | + # There is notably a 21 bits limit for the UID and the GID. In fact, |
2917 | + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 |
2918 | + # and bug#13588). |
2919 | + am_max_uid=2097151 # 2^21 - 1 |
2920 | + am_max_gid=$am_max_uid |
2921 | + # The $UID and $GID variables are not portable, so we need to resort |
2922 | + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls |
2923 | + # below are definitely unexpected, so allow the users to see them |
2924 | + # (that is, avoid stderr redirection). |
2925 | + am_uid=`id -u || echo unknown` |
2926 | + am_gid=`id -g || echo unknown` |
2927 | + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) |
2928 | + if test $am_uid -le $am_max_uid; then |
2929 | + AC_MSG_RESULT([yes]) |
2930 | + else |
2931 | + AC_MSG_RESULT([no]) |
2932 | + _am_tools=none |
2933 | + fi |
2934 | + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) |
2935 | + if test $am_gid -le $am_max_gid; then |
2936 | + AC_MSG_RESULT([yes]) |
2937 | + else |
2938 | + AC_MSG_RESULT([no]) |
2939 | + _am_tools=none |
2940 | + fi], |
2941 | + |
2942 | + [pax], |
2943 | + [], |
2944 | + |
2945 | + [m4_fatal([Unknown tar format])]) |
2946 | + |
2947 | + AC_MSG_CHECKING([how to create a $1 tar archive]) |
2948 | + |
2949 | + # Go ahead even if we have the value already cached. We do so because we |
2950 | + # need to set the values for the 'am__tar' and 'am__untar' variables. |
2951 | + _am_tools=${am_cv_prog_tar_$1-$_am_tools} |
2952 | + |
2953 | + for _am_tool in $_am_tools; do |
2954 | + case $_am_tool in |
2955 | + gnutar) |
2956 | + for _am_tar in tar gnutar gtar; do |
2957 | + AM_RUN_LOG([$_am_tar --version]) && break |
2958 | + done |
2959 | + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' |
2960 | + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' |
2961 | + am__untar="$_am_tar -xf -" |
2962 | + ;; |
2963 | + plaintar) |
2964 | + # Must skip GNU tar: if it does not support --format= it doesn't create |
2965 | + # ustar tarball either. |
2966 | + (tar --version) >/dev/null 2>&1 && continue |
2967 | + am__tar='tar chf - "$$tardir"' |
2968 | + am__tar_='tar chf - "$tardir"' |
2969 | + am__untar='tar xf -' |
2970 | + ;; |
2971 | + pax) |
2972 | + am__tar='pax -L -x $1 -w "$$tardir"' |
2973 | + am__tar_='pax -L -x $1 -w "$tardir"' |
2974 | + am__untar='pax -r' |
2975 | + ;; |
2976 | + cpio) |
2977 | + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' |
2978 | + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' |
2979 | + am__untar='cpio -i -H $1 -d' |
2980 | + ;; |
2981 | + none) |
2982 | + am__tar=false |
2983 | + am__tar_=false |
2984 | + am__untar=false |
2985 | + ;; |
2986 | + esac |
2987 | + |
2988 | + # If the value was cached, stop now. We just wanted to have am__tar |
2989 | + # and am__untar set. |
2990 | + test -n "${am_cv_prog_tar_$1}" && break |
2991 | + |
2992 | + # tar/untar a dummy directory, and stop if the command works. |
2993 | + rm -rf conftest.dir |
2994 | + mkdir conftest.dir |
2995 | + echo GrepMe > conftest.dir/file |
2996 | + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) |
2997 | + rm -rf conftest.dir |
2998 | + if test -s conftest.tar; then |
2999 | + AM_RUN_LOG([$am__untar <conftest.tar]) |
3000 | + AM_RUN_LOG([cat conftest.dir/file]) |
3001 | + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
3002 | + fi |
3003 | + done |
3004 | + rm -rf conftest.dir |
3005 | + |
3006 | + AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |
3007 | + AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |
3008 | + |
3009 | +AC_SUBST([am__tar]) |
3010 | +AC_SUBST([am__untar]) |
3011 | +]) # _AM_PROG_TAR |
3012 | + |
3013 | diff --git a/src/compile b/src/compile |
3014 | new file mode 100755 |
3015 | index 0000000..a85b723 |
3016 | --- /dev/null |
3017 | +++ b/src/compile |
3018 | @@ -0,0 +1,347 @@ |
3019 | +#! /bin/sh |
3020 | +# Wrapper for compilers which do not understand '-c -o'. |
3021 | + |
3022 | +scriptversion=2012-10-14.11; # UTC |
3023 | + |
3024 | +# Copyright (C) 1999-2014 Free Software Foundation, Inc. |
3025 | +# Written by Tom Tromey <tromey@cygnus.com>. |
3026 | +# |
3027 | +# This program is free software; you can redistribute it and/or modify |
3028 | +# it under the terms of the GNU General Public License as published by |
3029 | +# the Free Software Foundation; either version 2, or (at your option) |
3030 | +# any later version. |
3031 | +# |
3032 | +# This program is distributed in the hope that it will be useful, |
3033 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
3034 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
3035 | +# GNU General Public License for more details. |
3036 | +# |
3037 | +# You should have received a copy of the GNU General Public License |
3038 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
3039 | + |
3040 | +# As a special exception to the GNU General Public License, if you |
3041 | +# distribute this file as part of a program that contains a |
3042 | +# configuration script generated by Autoconf, you may include it under |
3043 | +# the same distribution terms that you use for the rest of that program. |
3044 | + |
3045 | +# This file is maintained in Automake, please report |
3046 | +# bugs to <bug-automake@gnu.org> or send patches to |
3047 | +# <automake-patches@gnu.org>. |
3048 | + |
3049 | +nl=' |
3050 | +' |
3051 | + |
3052 | +# We need space, tab and new line, in precisely that order. Quoting is |
3053 | +# there to prevent tools from complaining about whitespace usage. |
3054 | +IFS=" "" $nl" |
3055 | + |
3056 | +file_conv= |
3057 | + |
3058 | +# func_file_conv build_file lazy |
3059 | +# Convert a $build file to $host form and store it in $file |
3060 | +# Currently only supports Windows hosts. If the determined conversion |
3061 | +# type is listed in (the comma separated) LAZY, no conversion will |
3062 | +# take place. |
3063 | +func_file_conv () |
3064 | +{ |
3065 | + file=$1 |
3066 | + case $file in |
3067 | + / | /[!/]*) # absolute file, and not a UNC file |
3068 | + if test -z "$file_conv"; then |
3069 | + # lazily determine how to convert abs files |
3070 | + case `uname -s` in |
3071 | + MINGW*) |
3072 | + file_conv=mingw |
3073 | + ;; |
3074 | + CYGWIN*) |
3075 | + file_conv=cygwin |
3076 | + ;; |
3077 | + *) |
3078 | + file_conv=wine |
3079 | + ;; |
3080 | + esac |
3081 | + fi |
3082 | + case $file_conv/,$2, in |
3083 | + *,$file_conv,*) |
3084 | + ;; |
3085 | + mingw/*) |
3086 | + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` |
3087 | + ;; |
3088 | + cygwin/*) |
3089 | + file=`cygpath -m "$file" || echo "$file"` |
3090 | + ;; |
3091 | + wine/*) |
3092 | + file=`winepath -w "$file" || echo "$file"` |
3093 | + ;; |
3094 | + esac |
3095 | + ;; |
3096 | + esac |
3097 | +} |
3098 | + |
3099 | +# func_cl_dashL linkdir |
3100 | +# Make cl look for libraries in LINKDIR |
3101 | +func_cl_dashL () |
3102 | +{ |
3103 | + func_file_conv "$1" |
3104 | + if test -z "$lib_path"; then |
3105 | + lib_path=$file |
3106 | + else |
3107 | + lib_path="$lib_path;$file" |
3108 | + fi |
3109 | + linker_opts="$linker_opts -LIBPATH:$file" |
3110 | +} |
3111 | + |
3112 | +# func_cl_dashl library |
3113 | +# Do a library search-path lookup for cl |
3114 | +func_cl_dashl () |
3115 | +{ |
3116 | + lib=$1 |
3117 | + found=no |
3118 | + save_IFS=$IFS |
3119 | + IFS=';' |
3120 | + for dir in $lib_path $LIB |
3121 | + do |
3122 | + IFS=$save_IFS |
3123 | + if $shared && test -f "$dir/$lib.dll.lib"; then |
3124 | + found=yes |
3125 | + lib=$dir/$lib.dll.lib |
3126 | + break |
3127 | + fi |
3128 | + if test -f "$dir/$lib.lib"; then |
3129 | + found=yes |
3130 | + lib=$dir/$lib.lib |
3131 | + break |
3132 | + fi |
3133 | + if test -f "$dir/lib$lib.a"; then |
3134 | + found=yes |
3135 | + lib=$dir/lib$lib.a |
3136 | + break |
3137 | + fi |
3138 | + done |
3139 | + IFS=$save_IFS |
3140 | + |
3141 | + if test "$found" != yes; then |
3142 | + lib=$lib.lib |
3143 | + fi |
3144 | +} |
3145 | + |
3146 | +# func_cl_wrapper cl arg... |
3147 | +# Adjust compile command to suit cl |
3148 | +func_cl_wrapper () |
3149 | +{ |
3150 | + # Assume a capable shell |
3151 | + lib_path= |
3152 | + shared=: |
3153 | + linker_opts= |
3154 | + for arg |
3155 | + do |
3156 | + if test -n "$eat"; then |
3157 | + eat= |
3158 | + else |
3159 | + case $1 in |
3160 | + -o) |
3161 | + # configure might choose to run compile as 'compile cc -o foo foo.c'. |
3162 | + eat=1 |
3163 | + case $2 in |
3164 | + *.o | *.[oO][bB][jJ]) |
3165 | + func_file_conv "$2" |
3166 | + set x "$@" -Fo"$file" |
3167 | + shift |
3168 | + ;; |
3169 | + *) |
3170 | + func_file_conv "$2" |
3171 | + set x "$@" -Fe"$file" |
3172 | + shift |
3173 | + ;; |
3174 | + esac |
3175 | + ;; |
3176 | + -I) |
3177 | + eat=1 |
3178 | + func_file_conv "$2" mingw |
3179 | + set x "$@" -I"$file" |
3180 | + shift |
3181 | + ;; |
3182 | + -I*) |
3183 | + func_file_conv "${1#-I}" mingw |
3184 | + set x "$@" -I"$file" |
3185 | + shift |
3186 | + ;; |
3187 | + -l) |
3188 | + eat=1 |
3189 | + func_cl_dashl "$2" |
3190 | + set x "$@" "$lib" |
3191 | + shift |
3192 | + ;; |
3193 | + -l*) |
3194 | + func_cl_dashl "${1#-l}" |
3195 | + set x "$@" "$lib" |
3196 | + shift |
3197 | + ;; |
3198 | + -L) |
3199 | + eat=1 |
3200 | + func_cl_dashL "$2" |
3201 | + ;; |
3202 | + -L*) |
3203 | + func_cl_dashL "${1#-L}" |
3204 | + ;; |
3205 | + -static) |
3206 | + shared=false |
3207 | + ;; |
3208 | + -Wl,*) |
3209 | + arg=${1#-Wl,} |
3210 | + save_ifs="$IFS"; IFS=',' |
3211 | + for flag in $arg; do |
3212 | + IFS="$save_ifs" |
3213 | + linker_opts="$linker_opts $flag" |
3214 | + done |
3215 | + IFS="$save_ifs" |
3216 | + ;; |
3217 | + -Xlinker) |
3218 | + eat=1 |
3219 | + linker_opts="$linker_opts $2" |
3220 | + ;; |
3221 | + -*) |
3222 | + set x "$@" "$1" |
3223 | + shift |
3224 | + ;; |
3225 | + *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) |
3226 | + func_file_conv "$1" |
3227 | + set x "$@" -Tp"$file" |
3228 | + shift |
3229 | + ;; |
3230 | + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) |
3231 | + func_file_conv "$1" mingw |
3232 | + set x "$@" "$file" |
3233 | + shift |
3234 | + ;; |
3235 | + *) |
3236 | + set x "$@" "$1" |
3237 | + shift |
3238 | + ;; |
3239 | + esac |
3240 | + fi |
3241 | + shift |
3242 | + done |
3243 | + if test -n "$linker_opts"; then |
3244 | + linker_opts="-link$linker_opts" |
3245 | + fi |
3246 | + exec "$@" $linker_opts |
3247 | + exit 1 |
3248 | +} |
3249 | + |
3250 | +eat= |
3251 | + |
3252 | +case $1 in |
3253 | + '') |
3254 | + echo "$0: No command. Try '$0 --help' for more information." 1>&2 |
3255 | + exit 1; |
3256 | + ;; |
3257 | + -h | --h*) |
3258 | + cat <<\EOF |
3259 | +Usage: compile [--help] [--version] PROGRAM [ARGS] |
3260 | + |
3261 | +Wrapper for compilers which do not understand '-c -o'. |
3262 | +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining |
3263 | +arguments, and rename the output as expected. |
3264 | + |
3265 | +If you are trying to build a whole package this is not the |
3266 | +right script to run: please start by reading the file 'INSTALL'. |
3267 | + |
3268 | +Report bugs to <bug-automake@gnu.org>. |
3269 | +EOF |
3270 | + exit $? |
3271 | + ;; |
3272 | + -v | --v*) |
3273 | + echo "compile $scriptversion" |
3274 | + exit $? |
3275 | + ;; |
3276 | + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) |
3277 | + func_cl_wrapper "$@" # Doesn't return... |
3278 | + ;; |
3279 | +esac |
3280 | + |
3281 | +ofile= |
3282 | +cfile= |
3283 | + |
3284 | +for arg |
3285 | +do |
3286 | + if test -n "$eat"; then |
3287 | + eat= |
3288 | + else |
3289 | + case $1 in |
3290 | + -o) |
3291 | + # configure might choose to run compile as 'compile cc -o foo foo.c'. |
3292 | + # So we strip '-o arg' only if arg is an object. |
3293 | + eat=1 |
3294 | + case $2 in |
3295 | + *.o | *.obj) |
3296 | + ofile=$2 |
3297 | + ;; |
3298 | + *) |
3299 | + set x "$@" -o "$2" |
3300 | + shift |
3301 | + ;; |
3302 | + esac |
3303 | + ;; |
3304 | + *.c) |
3305 | + cfile=$1 |
3306 | + set x "$@" "$1" |
3307 | + shift |
3308 | + ;; |
3309 | + *) |
3310 | + set x "$@" "$1" |
3311 | + shift |
3312 | + ;; |
3313 | + esac |
3314 | + fi |
3315 | + shift |
3316 | +done |
3317 | + |
3318 | +if test -z "$ofile" || test -z "$cfile"; then |
3319 | + # If no '-o' option was seen then we might have been invoked from a |
3320 | + # pattern rule where we don't need one. That is ok -- this is a |
3321 | + # normal compilation that the losing compiler can handle. If no |
3322 | + # '.c' file was seen then we are probably linking. That is also |
3323 | + # ok. |
3324 | + exec "$@" |
3325 | +fi |
3326 | + |
3327 | +# Name of file we expect compiler to create. |
3328 | +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` |
3329 | + |
3330 | +# Create the lock directory. |
3331 | +# Note: use '[/\\:.-]' here to ensure that we don't use the same name |
3332 | +# that we are using for the .o file. Also, base the name on the expected |
3333 | +# object file name, since that is what matters with a parallel build. |
3334 | +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d |
3335 | +while true; do |
3336 | + if mkdir "$lockdir" >/dev/null 2>&1; then |
3337 | + break |
3338 | + fi |
3339 | + sleep 1 |
3340 | +done |
3341 | +# FIXME: race condition here if user kills between mkdir and trap. |
3342 | +trap "rmdir '$lockdir'; exit 1" 1 2 15 |
3343 | + |
3344 | +# Run the compile. |
3345 | +"$@" |
3346 | +ret=$? |
3347 | + |
3348 | +if test -f "$cofile"; then |
3349 | + test "$cofile" = "$ofile" || mv "$cofile" "$ofile" |
3350 | +elif test -f "${cofile}bj"; then |
3351 | + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" |
3352 | +fi |
3353 | + |
3354 | +rmdir "$lockdir" |
3355 | +exit $ret |
3356 | + |
3357 | +# Local Variables: |
3358 | +# mode: shell-script |
3359 | +# sh-indentation: 2 |
3360 | +# eval: (add-hook 'write-file-hooks 'time-stamp) |
3361 | +# time-stamp-start: "scriptversion=" |
3362 | +# time-stamp-format: "%:y-%02m-%02d.%02H" |
3363 | +# time-stamp-time-zone: "UTC" |
3364 | +# time-stamp-end: "; # UTC" |
3365 | +# End: |
3366 | diff --git a/src/config.h.in b/src/config.h.in |
3367 | new file mode 100644 |
3368 | index 0000000..83e8c65 |
3369 | --- /dev/null |
3370 | +++ b/src/config.h.in |
3371 | @@ -0,0 +1,76 @@ |
3372 | +/* config.h.in. Generated from configure.ac by autoheader. */ |
3373 | + |
3374 | +/* Define to 1 if you have the <inttypes.h> header file. */ |
3375 | +#undef HAVE_INTTYPES_H |
3376 | + |
3377 | +/* Define to 1 if you have the <memory.h> header file. */ |
3378 | +#undef HAVE_MEMORY_H |
3379 | + |
3380 | +/* Define to 1 if <linux/nl80211.h> defines NL80211_BAND_ATTR_HT_CAPA */ |
3381 | +#undef HAVE_NL80211_BAND_ATTR_HT_CAPA |
3382 | + |
3383 | +/* Define to 1 if <linux/nl80211.h> defines NL80211_BAND_ATTR_VHT_CAPA */ |
3384 | +#undef HAVE_NL80211_BAND_ATTR_VHT_CAPA |
3385 | + |
3386 | +/* Define to 1 if <linux/nl80211.h> defines NL80211_BAND_ATTR_VHT_MCS_SET */ |
3387 | +#undef HAVE_NL80211_BAND_ATTR_VHT_MCS_SET |
3388 | + |
3389 | +/* Define to 1 if you have the <stdint.h> header file. */ |
3390 | +#undef HAVE_STDINT_H |
3391 | + |
3392 | +/* Define to 1 if you have the <stdlib.h> header file. */ |
3393 | +#undef HAVE_STDLIB_H |
3394 | + |
3395 | +/* Define to 1 if you have the `strerror' function. */ |
3396 | +#undef HAVE_STRERROR |
3397 | + |
3398 | +/* Define to 1 if you have the <strings.h> header file. */ |
3399 | +#undef HAVE_STRINGS_H |
3400 | + |
3401 | +/* Define to 1 if you have the <string.h> header file. */ |
3402 | +#undef HAVE_STRING_H |
3403 | + |
3404 | +/* Define to 1 if you have the <sys/stat.h> header file. */ |
3405 | +#undef HAVE_SYS_STAT_H |
3406 | + |
3407 | +/* Define to 1 if you have the <sys/types.h> header file. */ |
3408 | +#undef HAVE_SYS_TYPES_H |
3409 | + |
3410 | +/* Define to 1 if you have the <unistd.h> header file. */ |
3411 | +#undef HAVE_UNISTD_H |
3412 | + |
3413 | +/* Name of package */ |
3414 | +#undef PACKAGE |
3415 | + |
3416 | +/* Define to the address where bug reports for this package should be sent. */ |
3417 | +#undef PACKAGE_BUGREPORT |
3418 | + |
3419 | +/* Define to the full name of this package. */ |
3420 | +#undef PACKAGE_NAME |
3421 | + |
3422 | +/* Define to the full name and version of this package. */ |
3423 | +#undef PACKAGE_STRING |
3424 | + |
3425 | +/* Define to the one symbol short name of this package. */ |
3426 | +#undef PACKAGE_TARNAME |
3427 | + |
3428 | +/* Define to the home page for this package. */ |
3429 | +#undef PACKAGE_URL |
3430 | + |
3431 | +/* Define to the version of this package. */ |
3432 | +#undef PACKAGE_VERSION |
3433 | + |
3434 | +/* Define to 1 if you have the ANSI C header files. */ |
3435 | +#undef STDC_HEADERS |
3436 | + |
3437 | +/* Version number of package */ |
3438 | +#undef VERSION |
3439 | + |
3440 | +/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, |
3441 | + <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the |
3442 | + #define below would cause a syntax error. */ |
3443 | +#undef _UINT32_T |
3444 | + |
3445 | +/* Define to the type of an unsigned integer type of width exactly 32 bits if |
3446 | + such a type exists and the standard includes do not define it. */ |
3447 | +#undef uint32_t |
3448 | diff --git a/src/configure b/src/configure |
3449 | new file mode 100755 |
3450 | index 0000000..84e66c6 |
3451 | --- /dev/null |
3452 | +++ b/src/configure |
3453 | @@ -0,0 +1,6038 @@ |
3454 | +#! /bin/sh |
3455 | +# Guess values for system-dependent variables and create Makefiles. |
3456 | +# Generated by GNU Autoconf 2.69 for plainbox-provider-resource 0.3. |
3457 | +# |
3458 | +# Report bugs to <https://bugs.launchpad.net/plainbox-provider-resource/+filebug>. |
3459 | +# |
3460 | +# |
3461 | +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
3462 | +# |
3463 | +# |
3464 | +# This configure script is free software; the Free Software Foundation |
3465 | +# gives unlimited permission to copy, distribute and modify it. |
3466 | +## -------------------- ## |
3467 | +## M4sh Initialization. ## |
3468 | +## -------------------- ## |
3469 | + |
3470 | +# Be more Bourne compatible |
3471 | +DUALCASE=1; export DUALCASE # for MKS sh |
3472 | +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
3473 | + emulate sh |
3474 | + NULLCMD=: |
3475 | + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
3476 | + # is contrary to our usage. Disable this feature. |
3477 | + alias -g '${1+"$@"}'='"$@"' |
3478 | + setopt NO_GLOB_SUBST |
3479 | +else |
3480 | + case `(set -o) 2>/dev/null` in #( |
3481 | + *posix*) : |
3482 | + set -o posix ;; #( |
3483 | + *) : |
3484 | + ;; |
3485 | +esac |
3486 | +fi |
3487 | + |
3488 | + |
3489 | +as_nl=' |
3490 | +' |
3491 | +export as_nl |
3492 | +# Printing a long string crashes Solaris 7 /usr/bin/printf. |
3493 | +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
3494 | +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
3495 | +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
3496 | +# Prefer a ksh shell builtin over an external printf program on Solaris, |
3497 | +# but without wasting forks for bash or zsh. |
3498 | +if test -z "$BASH_VERSION$ZSH_VERSION" \ |
3499 | + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
3500 | + as_echo='print -r --' |
3501 | + as_echo_n='print -rn --' |
3502 | +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
3503 | + as_echo='printf %s\n' |
3504 | + as_echo_n='printf %s' |
3505 | +else |
3506 | + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
3507 | + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
3508 | + as_echo_n='/usr/ucb/echo -n' |
3509 | + else |
3510 | + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
3511 | + as_echo_n_body='eval |
3512 | + arg=$1; |
3513 | + case $arg in #( |
3514 | + *"$as_nl"*) |
3515 | + expr "X$arg" : "X\\(.*\\)$as_nl"; |
3516 | + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
3517 | + esac; |
3518 | + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
3519 | + ' |
3520 | + export as_echo_n_body |
3521 | + as_echo_n='sh -c $as_echo_n_body as_echo' |
3522 | + fi |
3523 | + export as_echo_body |
3524 | + as_echo='sh -c $as_echo_body as_echo' |
3525 | +fi |
3526 | + |
3527 | +# The user is always right. |
3528 | +if test "${PATH_SEPARATOR+set}" != set; then |
3529 | + PATH_SEPARATOR=: |
3530 | + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
3531 | + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
3532 | + PATH_SEPARATOR=';' |
3533 | + } |
3534 | +fi |
3535 | + |
3536 | + |
3537 | +# IFS |
3538 | +# We need space, tab and new line, in precisely that order. Quoting is |
3539 | +# there to prevent editors from complaining about space-tab. |
3540 | +# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
3541 | +# splitting by setting IFS to empty value.) |
3542 | +IFS=" "" $as_nl" |
3543 | + |
3544 | +# Find who we are. Look in the path if we contain no directory separator. |
3545 | +as_myself= |
3546 | +case $0 in #(( |
3547 | + *[\\/]* ) as_myself=$0 ;; |
3548 | + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3549 | +for as_dir in $PATH |
3550 | +do |
3551 | + IFS=$as_save_IFS |
3552 | + test -z "$as_dir" && as_dir=. |
3553 | + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
3554 | + done |
3555 | +IFS=$as_save_IFS |
3556 | + |
3557 | + ;; |
3558 | +esac |
3559 | +# We did not find ourselves, most probably we were run as `sh COMMAND' |
3560 | +# in which case we are not to be found in the path. |
3561 | +if test "x$as_myself" = x; then |
3562 | + as_myself=$0 |
3563 | +fi |
3564 | +if test ! -f "$as_myself"; then |
3565 | + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
3566 | + exit 1 |
3567 | +fi |
3568 | + |
3569 | +# Unset variables that we do not need and which cause bugs (e.g. in |
3570 | +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
3571 | +# suppresses any "Segmentation fault" message there. '((' could |
3572 | +# trigger a bug in pdksh 5.2.14. |
3573 | +for as_var in BASH_ENV ENV MAIL MAILPATH |
3574 | +do eval test x\${$as_var+set} = xset \ |
3575 | + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
3576 | +done |
3577 | +PS1='$ ' |
3578 | +PS2='> ' |
3579 | +PS4='+ ' |
3580 | + |
3581 | +# NLS nuisances. |
3582 | +LC_ALL=C |
3583 | +export LC_ALL |
3584 | +LANGUAGE=C |
3585 | +export LANGUAGE |
3586 | + |
3587 | +# CDPATH. |
3588 | +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
3589 | + |
3590 | +# Use a proper internal environment variable to ensure we don't fall |
3591 | + # into an infinite loop, continuously re-executing ourselves. |
3592 | + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
3593 | + _as_can_reexec=no; export _as_can_reexec; |
3594 | + # We cannot yet assume a decent shell, so we have to provide a |
3595 | +# neutralization value for shells without unset; and this also |
3596 | +# works around shells that cannot unset nonexistent variables. |
3597 | +# Preserve -v and -x to the replacement shell. |
3598 | +BASH_ENV=/dev/null |
3599 | +ENV=/dev/null |
3600 | +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
3601 | +case $- in # (((( |
3602 | + *v*x* | *x*v* ) as_opts=-vx ;; |
3603 | + *v* ) as_opts=-v ;; |
3604 | + *x* ) as_opts=-x ;; |
3605 | + * ) as_opts= ;; |
3606 | +esac |
3607 | +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
3608 | +# Admittedly, this is quite paranoid, since all the known shells bail |
3609 | +# out after a failed `exec'. |
3610 | +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
3611 | +as_fn_exit 255 |
3612 | + fi |
3613 | + # We don't want this to propagate to other subprocesses. |
3614 | + { _as_can_reexec=; unset _as_can_reexec;} |
3615 | +if test "x$CONFIG_SHELL" = x; then |
3616 | + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
3617 | + emulate sh |
3618 | + NULLCMD=: |
3619 | + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
3620 | + # is contrary to our usage. Disable this feature. |
3621 | + alias -g '\${1+\"\$@\"}'='\"\$@\"' |
3622 | + setopt NO_GLOB_SUBST |
3623 | +else |
3624 | + case \`(set -o) 2>/dev/null\` in #( |
3625 | + *posix*) : |
3626 | + set -o posix ;; #( |
3627 | + *) : |
3628 | + ;; |
3629 | +esac |
3630 | +fi |
3631 | +" |
3632 | + as_required="as_fn_return () { (exit \$1); } |
3633 | +as_fn_success () { as_fn_return 0; } |
3634 | +as_fn_failure () { as_fn_return 1; } |
3635 | +as_fn_ret_success () { return 0; } |
3636 | +as_fn_ret_failure () { return 1; } |
3637 | + |
3638 | +exitcode=0 |
3639 | +as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
3640 | +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
3641 | +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
3642 | +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
3643 | +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
3644 | + |
3645 | +else |
3646 | + exitcode=1; echo positional parameters were not saved. |
3647 | +fi |
3648 | +test x\$exitcode = x0 || exit 1 |
3649 | +test -x / || exit 1" |
3650 | + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
3651 | + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
3652 | + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
3653 | + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
3654 | +test \$(( 1 + 1 )) = 2 || exit 1" |
3655 | + if (eval "$as_required") 2>/dev/null; then : |
3656 | + as_have_required=yes |
3657 | +else |
3658 | + as_have_required=no |
3659 | +fi |
3660 | + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
3661 | + |
3662 | +else |
3663 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3664 | +as_found=false |
3665 | +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
3666 | +do |
3667 | + IFS=$as_save_IFS |
3668 | + test -z "$as_dir" && as_dir=. |
3669 | + as_found=: |
3670 | + case $as_dir in #( |
3671 | + /*) |
3672 | + for as_base in sh bash ksh sh5; do |
3673 | + # Try only shells that exist, to save several forks. |
3674 | + as_shell=$as_dir/$as_base |
3675 | + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
3676 | + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
3677 | + CONFIG_SHELL=$as_shell as_have_required=yes |
3678 | + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
3679 | + break 2 |
3680 | +fi |
3681 | +fi |
3682 | + done;; |
3683 | + esac |
3684 | + as_found=false |
3685 | +done |
3686 | +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
3687 | + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
3688 | + CONFIG_SHELL=$SHELL as_have_required=yes |
3689 | +fi; } |
3690 | +IFS=$as_save_IFS |
3691 | + |
3692 | + |
3693 | + if test "x$CONFIG_SHELL" != x; then : |
3694 | + export CONFIG_SHELL |
3695 | + # We cannot yet assume a decent shell, so we have to provide a |
3696 | +# neutralization value for shells without unset; and this also |
3697 | +# works around shells that cannot unset nonexistent variables. |
3698 | +# Preserve -v and -x to the replacement shell. |
3699 | +BASH_ENV=/dev/null |
3700 | +ENV=/dev/null |
3701 | +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
3702 | +case $- in # (((( |
3703 | + *v*x* | *x*v* ) as_opts=-vx ;; |
3704 | + *v* ) as_opts=-v ;; |
3705 | + *x* ) as_opts=-x ;; |
3706 | + * ) as_opts= ;; |
3707 | +esac |
3708 | +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
3709 | +# Admittedly, this is quite paranoid, since all the known shells bail |
3710 | +# out after a failed `exec'. |
3711 | +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
3712 | +exit 255 |
3713 | +fi |
3714 | + |
3715 | + if test x$as_have_required = xno; then : |
3716 | + $as_echo "$0: This script requires a shell more modern than all" |
3717 | + $as_echo "$0: the shells that I found on your system." |
3718 | + if test x${ZSH_VERSION+set} = xset ; then |
3719 | + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
3720 | + $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
3721 | + else |
3722 | + $as_echo "$0: Please tell bug-autoconf@gnu.org and |
3723 | +$0: https://bugs.launchpad.net/plainbox-provider-resource/+filebug |
3724 | +$0: about your system, including any error possibly output |
3725 | +$0: before this message. Then install a modern shell, or |
3726 | +$0: manually run the script under such a shell if you do |
3727 | +$0: have one." |
3728 | + fi |
3729 | + exit 1 |
3730 | +fi |
3731 | +fi |
3732 | +fi |
3733 | +SHELL=${CONFIG_SHELL-/bin/sh} |
3734 | +export SHELL |
3735 | +# Unset more variables known to interfere with behavior of common tools. |
3736 | +CLICOLOR_FORCE= GREP_OPTIONS= |
3737 | +unset CLICOLOR_FORCE GREP_OPTIONS |
3738 | + |
3739 | +## --------------------- ## |
3740 | +## M4sh Shell Functions. ## |
3741 | +## --------------------- ## |
3742 | +# as_fn_unset VAR |
3743 | +# --------------- |
3744 | +# Portably unset VAR. |
3745 | +as_fn_unset () |
3746 | +{ |
3747 | + { eval $1=; unset $1;} |
3748 | +} |
3749 | +as_unset=as_fn_unset |
3750 | + |
3751 | +# as_fn_set_status STATUS |
3752 | +# ----------------------- |
3753 | +# Set $? to STATUS, without forking. |
3754 | +as_fn_set_status () |
3755 | +{ |
3756 | + return $1 |
3757 | +} # as_fn_set_status |
3758 | + |
3759 | +# as_fn_exit STATUS |
3760 | +# ----------------- |
3761 | +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
3762 | +as_fn_exit () |
3763 | +{ |
3764 | + set +e |
3765 | + as_fn_set_status $1 |
3766 | + exit $1 |
3767 | +} # as_fn_exit |
3768 | + |
3769 | +# as_fn_mkdir_p |
3770 | +# ------------- |
3771 | +# Create "$as_dir" as a directory, including parents if necessary. |
3772 | +as_fn_mkdir_p () |
3773 | +{ |
3774 | + |
3775 | + case $as_dir in #( |
3776 | + -*) as_dir=./$as_dir;; |
3777 | + esac |
3778 | + test -d "$as_dir" || eval $as_mkdir_p || { |
3779 | + as_dirs= |
3780 | + while :; do |
3781 | + case $as_dir in #( |
3782 | + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
3783 | + *) as_qdir=$as_dir;; |
3784 | + esac |
3785 | + as_dirs="'$as_qdir' $as_dirs" |
3786 | + as_dir=`$as_dirname -- "$as_dir" || |
3787 | +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
3788 | + X"$as_dir" : 'X\(//\)[^/]' \| \ |
3789 | + X"$as_dir" : 'X\(//\)$' \| \ |
3790 | + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
3791 | +$as_echo X"$as_dir" | |
3792 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
3793 | + s//\1/ |
3794 | + q |
3795 | + } |
3796 | + /^X\(\/\/\)[^/].*/{ |
3797 | + s//\1/ |
3798 | + q |
3799 | + } |
3800 | + /^X\(\/\/\)$/{ |
3801 | + s//\1/ |
3802 | + q |
3803 | + } |
3804 | + /^X\(\/\).*/{ |
3805 | + s//\1/ |
3806 | + q |
3807 | + } |
3808 | + s/.*/./; q'` |
3809 | + test -d "$as_dir" && break |
3810 | + done |
3811 | + test -z "$as_dirs" || eval "mkdir $as_dirs" |
3812 | + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
3813 | + |
3814 | + |
3815 | +} # as_fn_mkdir_p |
3816 | + |
3817 | +# as_fn_executable_p FILE |
3818 | +# ----------------------- |
3819 | +# Test if FILE is an executable regular file. |
3820 | +as_fn_executable_p () |
3821 | +{ |
3822 | + test -f "$1" && test -x "$1" |
3823 | +} # as_fn_executable_p |
3824 | +# as_fn_append VAR VALUE |
3825 | +# ---------------------- |
3826 | +# Append the text in VALUE to the end of the definition contained in VAR. Take |
3827 | +# advantage of any shell optimizations that allow amortized linear growth over |
3828 | +# repeated appends, instead of the typical quadratic growth present in naive |
3829 | +# implementations. |
3830 | +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
3831 | + eval 'as_fn_append () |
3832 | + { |
3833 | + eval $1+=\$2 |
3834 | + }' |
3835 | +else |
3836 | + as_fn_append () |
3837 | + { |
3838 | + eval $1=\$$1\$2 |
3839 | + } |
3840 | +fi # as_fn_append |
3841 | + |
3842 | +# as_fn_arith ARG... |
3843 | +# ------------------ |
3844 | +# Perform arithmetic evaluation on the ARGs, and store the result in the |
3845 | +# global $as_val. Take advantage of shells that can avoid forks. The arguments |
3846 | +# must be portable across $(()) and expr. |
3847 | +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
3848 | + eval 'as_fn_arith () |
3849 | + { |
3850 | + as_val=$(( $* )) |
3851 | + }' |
3852 | +else |
3853 | + as_fn_arith () |
3854 | + { |
3855 | + as_val=`expr "$@" || test $? -eq 1` |
3856 | + } |
3857 | +fi # as_fn_arith |
3858 | + |
3859 | + |
3860 | +# as_fn_error STATUS ERROR [LINENO LOG_FD] |
3861 | +# ---------------------------------------- |
3862 | +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
3863 | +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
3864 | +# script with STATUS, using 1 if that was 0. |
3865 | +as_fn_error () |
3866 | +{ |
3867 | + as_status=$1; test $as_status -eq 0 && as_status=1 |
3868 | + if test "$4"; then |
3869 | + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
3870 | + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
3871 | + fi |
3872 | + $as_echo "$as_me: error: $2" >&2 |
3873 | + as_fn_exit $as_status |
3874 | +} # as_fn_error |
3875 | + |
3876 | +if expr a : '\(a\)' >/dev/null 2>&1 && |
3877 | + test "X`expr 00001 : '.*\(...\)'`" = X001; then |
3878 | + as_expr=expr |
3879 | +else |
3880 | + as_expr=false |
3881 | +fi |
3882 | + |
3883 | +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
3884 | + as_basename=basename |
3885 | +else |
3886 | + as_basename=false |
3887 | +fi |
3888 | + |
3889 | +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
3890 | + as_dirname=dirname |
3891 | +else |
3892 | + as_dirname=false |
3893 | +fi |
3894 | + |
3895 | +as_me=`$as_basename -- "$0" || |
3896 | +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
3897 | + X"$0" : 'X\(//\)$' \| \ |
3898 | + X"$0" : 'X\(/\)' \| . 2>/dev/null || |
3899 | +$as_echo X/"$0" | |
3900 | + sed '/^.*\/\([^/][^/]*\)\/*$/{ |
3901 | + s//\1/ |
3902 | + q |
3903 | + } |
3904 | + /^X\/\(\/\/\)$/{ |
3905 | + s//\1/ |
3906 | + q |
3907 | + } |
3908 | + /^X\/\(\/\).*/{ |
3909 | + s//\1/ |
3910 | + q |
3911 | + } |
3912 | + s/.*/./; q'` |
3913 | + |
3914 | +# Avoid depending upon Character Ranges. |
3915 | +as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
3916 | +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
3917 | +as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
3918 | +as_cr_digits='0123456789' |
3919 | +as_cr_alnum=$as_cr_Letters$as_cr_digits |
3920 | + |
3921 | + |
3922 | + as_lineno_1=$LINENO as_lineno_1a=$LINENO |
3923 | + as_lineno_2=$LINENO as_lineno_2a=$LINENO |
3924 | + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
3925 | + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
3926 | + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
3927 | + sed -n ' |
3928 | + p |
3929 | + /[$]LINENO/= |
3930 | + ' <$as_myself | |
3931 | + sed ' |
3932 | + s/[$]LINENO.*/&-/ |
3933 | + t lineno |
3934 | + b |
3935 | + :lineno |
3936 | + N |
3937 | + :loop |
3938 | + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
3939 | + t loop |
3940 | + s/-\n.*// |
3941 | + ' >$as_me.lineno && |
3942 | + chmod +x "$as_me.lineno" || |
3943 | + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
3944 | + |
3945 | + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
3946 | + # already done that, so ensure we don't try to do so again and fall |
3947 | + # in an infinite loop. This has already happened in practice. |
3948 | + _as_can_reexec=no; export _as_can_reexec |
3949 | + # Don't try to exec as it changes $[0], causing all sort of problems |
3950 | + # (the dirname of $[0] is not the place where we might find the |
3951 | + # original and so on. Autoconf is especially sensitive to this). |
3952 | + . "./$as_me.lineno" |
3953 | + # Exit status is that of the last command. |
3954 | + exit |
3955 | +} |
3956 | + |
3957 | +ECHO_C= ECHO_N= ECHO_T= |
3958 | +case `echo -n x` in #((((( |
3959 | +-n*) |
3960 | + case `echo 'xy\c'` in |
3961 | + *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
3962 | + xy) ECHO_C='\c';; |
3963 | + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
3964 | + ECHO_T=' ';; |
3965 | + esac;; |
3966 | +*) |
3967 | + ECHO_N='-n';; |
3968 | +esac |
3969 | + |
3970 | +rm -f conf$$ conf$$.exe conf$$.file |
3971 | +if test -d conf$$.dir; then |
3972 | + rm -f conf$$.dir/conf$$.file |
3973 | +else |
3974 | + rm -f conf$$.dir |
3975 | + mkdir conf$$.dir 2>/dev/null |
3976 | +fi |
3977 | +if (echo >conf$$.file) 2>/dev/null; then |
3978 | + if ln -s conf$$.file conf$$ 2>/dev/null; then |
3979 | + as_ln_s='ln -s' |
3980 | + # ... but there are two gotchas: |
3981 | + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
3982 | + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
3983 | + # In both cases, we have to default to `cp -pR'. |
3984 | + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
3985 | + as_ln_s='cp -pR' |
3986 | + elif ln conf$$.file conf$$ 2>/dev/null; then |
3987 | + as_ln_s=ln |
3988 | + else |
3989 | + as_ln_s='cp -pR' |
3990 | + fi |
3991 | +else |
3992 | + as_ln_s='cp -pR' |
3993 | +fi |
3994 | +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
3995 | +rmdir conf$$.dir 2>/dev/null |
3996 | + |
3997 | +if mkdir -p . 2>/dev/null; then |
3998 | + as_mkdir_p='mkdir -p "$as_dir"' |
3999 | +else |
4000 | + test -d ./-p && rmdir ./-p |
4001 | + as_mkdir_p=false |
4002 | +fi |
4003 | + |
4004 | +as_test_x='test -x' |
4005 | +as_executable_p=as_fn_executable_p |
4006 | + |
4007 | +# Sed expression to map a string onto a valid CPP name. |
4008 | +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
4009 | + |
4010 | +# Sed expression to map a string onto a valid variable name. |
4011 | +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
4012 | + |
4013 | + |
4014 | +test -n "$DJDIR" || exec 7<&0 </dev/null |
4015 | +exec 6>&1 |
4016 | + |
4017 | +# Name of the host. |
4018 | +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
4019 | +# so uname gets run too. |
4020 | +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
4021 | + |
4022 | +# |
4023 | +# Initializations. |
4024 | +# |
4025 | +ac_default_prefix=/usr/local |
4026 | +ac_clean_files= |
4027 | +ac_config_libobj_dir=. |
4028 | +LIBOBJS= |
4029 | +cross_compiling=no |
4030 | +subdirs= |
4031 | +MFLAGS= |
4032 | +MAKEFLAGS= |
4033 | + |
4034 | +# Identity of this package. |
4035 | +PACKAGE_NAME='plainbox-provider-resource' |
4036 | +PACKAGE_TARNAME='plainbox-provider-resource' |
4037 | +PACKAGE_VERSION='0.3' |
4038 | +PACKAGE_STRING='plainbox-provider-resource 0.3' |
4039 | +PACKAGE_BUGREPORT='https://bugs.launchpad.net/plainbox-provider-resource/+filebug' |
4040 | +PACKAGE_URL='' |
4041 | + |
4042 | +ac_unique_file="80211_resource.c" |
4043 | +# Factoring default headers for most tests. |
4044 | +ac_includes_default="\ |
4045 | +#include <stdio.h> |
4046 | +#ifdef HAVE_SYS_TYPES_H |
4047 | +# include <sys/types.h> |
4048 | +#endif |
4049 | +#ifdef HAVE_SYS_STAT_H |
4050 | +# include <sys/stat.h> |
4051 | +#endif |
4052 | +#ifdef STDC_HEADERS |
4053 | +# include <stdlib.h> |
4054 | +# include <stddef.h> |
4055 | +#else |
4056 | +# ifdef HAVE_STDLIB_H |
4057 | +# include <stdlib.h> |
4058 | +# endif |
4059 | +#endif |
4060 | +#ifdef HAVE_STRING_H |
4061 | +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
4062 | +# include <memory.h> |
4063 | +# endif |
4064 | +# include <string.h> |
4065 | +#endif |
4066 | +#ifdef HAVE_STRINGS_H |
4067 | +# include <strings.h> |
4068 | +#endif |
4069 | +#ifdef HAVE_INTTYPES_H |
4070 | +# include <inttypes.h> |
4071 | +#endif |
4072 | +#ifdef HAVE_STDINT_H |
4073 | +# include <stdint.h> |
4074 | +#endif |
4075 | +#ifdef HAVE_UNISTD_H |
4076 | +# include <unistd.h> |
4077 | +#endif" |
4078 | + |
4079 | +ac_subst_vars='am__EXEEXT_FALSE |
4080 | +am__EXEEXT_TRUE |
4081 | +LTLIBOBJS |
4082 | +LIBOBJS |
4083 | +EGREP |
4084 | +GREP |
4085 | +CPP |
4086 | +LIBNL_LIBS |
4087 | +LIBNL_CFLAGS |
4088 | +PKG_CONFIG_LIBDIR |
4089 | +PKG_CONFIG_PATH |
4090 | +PKG_CONFIG |
4091 | +am__fastdepCC_FALSE |
4092 | +am__fastdepCC_TRUE |
4093 | +CCDEPMODE |
4094 | +am__nodep |
4095 | +AMDEPBACKSLASH |
4096 | +AMDEP_FALSE |
4097 | +AMDEP_TRUE |
4098 | +am__quote |
4099 | +am__include |
4100 | +DEPDIR |
4101 | +OBJEXT |
4102 | +EXEEXT |
4103 | +ac_ct_CC |
4104 | +CPPFLAGS |
4105 | +LDFLAGS |
4106 | +CFLAGS |
4107 | +CC |
4108 | +AM_BACKSLASH |
4109 | +AM_DEFAULT_VERBOSITY |
4110 | +AM_DEFAULT_V |
4111 | +AM_V |
4112 | +am__untar |
4113 | +am__tar |
4114 | +AMTAR |
4115 | +am__leading_dot |
4116 | +SET_MAKE |
4117 | +AWK |
4118 | +mkdir_p |
4119 | +MKDIR_P |
4120 | +INSTALL_STRIP_PROGRAM |
4121 | +STRIP |
4122 | +install_sh |
4123 | +MAKEINFO |
4124 | +AUTOHEADER |
4125 | +AUTOMAKE |
4126 | +AUTOCONF |
4127 | +ACLOCAL |
4128 | +VERSION |
4129 | +PACKAGE |
4130 | +CYGPATH_W |
4131 | +am__isrc |
4132 | +INSTALL_DATA |
4133 | +INSTALL_SCRIPT |
4134 | +INSTALL_PROGRAM |
4135 | +target_alias |
4136 | +host_alias |
4137 | +build_alias |
4138 | +LIBS |
4139 | +ECHO_T |
4140 | +ECHO_N |
4141 | +ECHO_C |
4142 | +DEFS |
4143 | +mandir |
4144 | +localedir |
4145 | +libdir |
4146 | +psdir |
4147 | +pdfdir |
4148 | +dvidir |
4149 | +htmldir |
4150 | +infodir |
4151 | +docdir |
4152 | +oldincludedir |
4153 | +includedir |
4154 | +runstatedir |
4155 | +localstatedir |
4156 | +sharedstatedir |
4157 | +sysconfdir |
4158 | +datadir |
4159 | +datarootdir |
4160 | +libexecdir |
4161 | +sbindir |
4162 | +bindir |
4163 | +program_transform_name |
4164 | +prefix |
4165 | +exec_prefix |
4166 | +PACKAGE_URL |
4167 | +PACKAGE_BUGREPORT |
4168 | +PACKAGE_STRING |
4169 | +PACKAGE_VERSION |
4170 | +PACKAGE_TARNAME |
4171 | +PACKAGE_NAME |
4172 | +PATH_SEPARATOR |
4173 | +SHELL' |
4174 | +ac_subst_files='' |
4175 | +ac_user_opts=' |
4176 | +enable_option_checking |
4177 | +enable_silent_rules |
4178 | +enable_dependency_tracking |
4179 | +' |
4180 | + ac_precious_vars='build_alias |
4181 | +host_alias |
4182 | +target_alias |
4183 | +CC |
4184 | +CFLAGS |
4185 | +LDFLAGS |
4186 | +LIBS |
4187 | +CPPFLAGS |
4188 | +PKG_CONFIG |
4189 | +PKG_CONFIG_PATH |
4190 | +PKG_CONFIG_LIBDIR |
4191 | +LIBNL_CFLAGS |
4192 | +LIBNL_LIBS |
4193 | +CPP' |
4194 | + |
4195 | + |
4196 | +# Initialize some variables set by options. |
4197 | +ac_init_help= |
4198 | +ac_init_version=false |
4199 | +ac_unrecognized_opts= |
4200 | +ac_unrecognized_sep= |
4201 | +# The variables have the same names as the options, with |
4202 | +# dashes changed to underlines. |
4203 | +cache_file=/dev/null |
4204 | +exec_prefix=NONE |
4205 | +no_create= |
4206 | +no_recursion= |
4207 | +prefix=NONE |
4208 | +program_prefix=NONE |
4209 | +program_suffix=NONE |
4210 | +program_transform_name=s,x,x, |
4211 | +silent= |
4212 | +site= |
4213 | +srcdir= |
4214 | +verbose= |
4215 | +x_includes=NONE |
4216 | +x_libraries=NONE |
4217 | + |
4218 | +# Installation directory options. |
4219 | +# These are left unexpanded so users can "make install exec_prefix=/foo" |
4220 | +# and all the variables that are supposed to be based on exec_prefix |
4221 | +# by default will actually change. |
4222 | +# Use braces instead of parens because sh, perl, etc. also accept them. |
4223 | +# (The list follows the same order as the GNU Coding Standards.) |
4224 | +bindir='${exec_prefix}/bin' |
4225 | +sbindir='${exec_prefix}/sbin' |
4226 | +libexecdir='${exec_prefix}/libexec' |
4227 | +datarootdir='${prefix}/share' |
4228 | +datadir='${datarootdir}' |
4229 | +sysconfdir='${prefix}/etc' |
4230 | +sharedstatedir='${prefix}/com' |
4231 | +localstatedir='${prefix}/var' |
4232 | +runstatedir='${localstatedir}/run' |
4233 | +includedir='${prefix}/include' |
4234 | +oldincludedir='/usr/include' |
4235 | +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
4236 | +infodir='${datarootdir}/info' |
4237 | +htmldir='${docdir}' |
4238 | +dvidir='${docdir}' |
4239 | +pdfdir='${docdir}' |
4240 | +psdir='${docdir}' |
4241 | +libdir='${exec_prefix}/lib' |
4242 | +localedir='${datarootdir}/locale' |
4243 | +mandir='${datarootdir}/man' |
4244 | + |
4245 | +ac_prev= |
4246 | +ac_dashdash= |
4247 | +for ac_option |
4248 | +do |
4249 | + # If the previous option needs an argument, assign it. |
4250 | + if test -n "$ac_prev"; then |
4251 | + eval $ac_prev=\$ac_option |
4252 | + ac_prev= |
4253 | + continue |
4254 | + fi |
4255 | + |
4256 | + case $ac_option in |
4257 | + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
4258 | + *=) ac_optarg= ;; |
4259 | + *) ac_optarg=yes ;; |
4260 | + esac |
4261 | + |
4262 | + # Accept the important Cygnus configure options, so we can diagnose typos. |
4263 | + |
4264 | + case $ac_dashdash$ac_option in |
4265 | + --) |
4266 | + ac_dashdash=yes ;; |
4267 | + |
4268 | + -bindir | --bindir | --bindi | --bind | --bin | --bi) |
4269 | + ac_prev=bindir ;; |
4270 | + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
4271 | + bindir=$ac_optarg ;; |
4272 | + |
4273 | + -build | --build | --buil | --bui | --bu) |
4274 | + ac_prev=build_alias ;; |
4275 | + -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
4276 | + build_alias=$ac_optarg ;; |
4277 | + |
4278 | + -cache-file | --cache-file | --cache-fil | --cache-fi \ |
4279 | + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
4280 | + ac_prev=cache_file ;; |
4281 | + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
4282 | + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
4283 | + cache_file=$ac_optarg ;; |
4284 | + |
4285 | + --config-cache | -C) |
4286 | + cache_file=config.cache ;; |
4287 | + |
4288 | + -datadir | --datadir | --datadi | --datad) |
4289 | + ac_prev=datadir ;; |
4290 | + -datadir=* | --datadir=* | --datadi=* | --datad=*) |
4291 | + datadir=$ac_optarg ;; |
4292 | + |
4293 | + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
4294 | + | --dataroo | --dataro | --datar) |
4295 | + ac_prev=datarootdir ;; |
4296 | + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
4297 | + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
4298 | + datarootdir=$ac_optarg ;; |
4299 | + |
4300 | + -disable-* | --disable-*) |
4301 | + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
4302 | + # Reject names that are not valid shell variable names. |
4303 | + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
4304 | + as_fn_error $? "invalid feature name: $ac_useropt" |
4305 | + ac_useropt_orig=$ac_useropt |
4306 | + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
4307 | + case $ac_user_opts in |
4308 | + *" |
4309 | +"enable_$ac_useropt" |
4310 | +"*) ;; |
4311 | + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
4312 | + ac_unrecognized_sep=', ';; |
4313 | + esac |
4314 | + eval enable_$ac_useropt=no ;; |
4315 | + |
4316 | + -docdir | --docdir | --docdi | --doc | --do) |
4317 | + ac_prev=docdir ;; |
4318 | + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
4319 | + docdir=$ac_optarg ;; |
4320 | + |
4321 | + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
4322 | + ac_prev=dvidir ;; |
4323 | + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
4324 | + dvidir=$ac_optarg ;; |
4325 | + |
4326 | + -enable-* | --enable-*) |
4327 | + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
4328 | + # Reject names that are not valid shell variable names. |
4329 | + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
4330 | + as_fn_error $? "invalid feature name: $ac_useropt" |
4331 | + ac_useropt_orig=$ac_useropt |
4332 | + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
4333 | + case $ac_user_opts in |
4334 | + *" |
4335 | +"enable_$ac_useropt" |
4336 | +"*) ;; |
4337 | + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
4338 | + ac_unrecognized_sep=', ';; |
4339 | + esac |
4340 | + eval enable_$ac_useropt=\$ac_optarg ;; |
4341 | + |
4342 | + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
4343 | + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
4344 | + | --exec | --exe | --ex) |
4345 | + ac_prev=exec_prefix ;; |
4346 | + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
4347 | + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
4348 | + | --exec=* | --exe=* | --ex=*) |
4349 | + exec_prefix=$ac_optarg ;; |
4350 | + |
4351 | + -gas | --gas | --ga | --g) |
4352 | + # Obsolete; use --with-gas. |
4353 | + with_gas=yes ;; |
4354 | + |
4355 | + -help | --help | --hel | --he | -h) |
4356 | + ac_init_help=long ;; |
4357 | + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
4358 | + ac_init_help=recursive ;; |
4359 | + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
4360 | + ac_init_help=short ;; |
4361 | + |
4362 | + -host | --host | --hos | --ho) |
4363 | + ac_prev=host_alias ;; |
4364 | + -host=* | --host=* | --hos=* | --ho=*) |
4365 | + host_alias=$ac_optarg ;; |
4366 | + |
4367 | + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
4368 | + ac_prev=htmldir ;; |
4369 | + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
4370 | + | --ht=*) |
4371 | + htmldir=$ac_optarg ;; |
4372 | + |
4373 | + -includedir | --includedir | --includedi | --included | --include \ |
4374 | + | --includ | --inclu | --incl | --inc) |
4375 | + ac_prev=includedir ;; |
4376 | + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
4377 | + | --includ=* | --inclu=* | --incl=* | --inc=*) |
4378 | + includedir=$ac_optarg ;; |
4379 | + |
4380 | + -infodir | --infodir | --infodi | --infod | --info | --inf) |
4381 | + ac_prev=infodir ;; |
4382 | + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
4383 | + infodir=$ac_optarg ;; |
4384 | + |
4385 | + -libdir | --libdir | --libdi | --libd) |
4386 | + ac_prev=libdir ;; |
4387 | + -libdir=* | --libdir=* | --libdi=* | --libd=*) |
4388 | + libdir=$ac_optarg ;; |
4389 | + |
4390 | + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
4391 | + | --libexe | --libex | --libe) |
4392 | + ac_prev=libexecdir ;; |
4393 | + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
4394 | + | --libexe=* | --libex=* | --libe=*) |
4395 | + libexecdir=$ac_optarg ;; |
4396 | + |
4397 | + -localedir | --localedir | --localedi | --localed | --locale) |
4398 | + ac_prev=localedir ;; |
4399 | + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
4400 | + localedir=$ac_optarg ;; |
4401 | + |
4402 | + -localstatedir | --localstatedir | --localstatedi | --localstated \ |
4403 | + | --localstate | --localstat | --localsta | --localst | --locals) |
4404 | + ac_prev=localstatedir ;; |
4405 | + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
4406 | + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
4407 | + localstatedir=$ac_optarg ;; |
4408 | + |
4409 | + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
4410 | + ac_prev=mandir ;; |
4411 | + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
4412 | + mandir=$ac_optarg ;; |
4413 | + |
4414 | + -nfp | --nfp | --nf) |
4415 | + # Obsolete; use --without-fp. |
4416 | + with_fp=no ;; |
4417 | + |
4418 | + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
4419 | + | --no-cr | --no-c | -n) |
4420 | + no_create=yes ;; |
4421 | + |
4422 | + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
4423 | + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
4424 | + no_recursion=yes ;; |
4425 | + |
4426 | + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
4427 | + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
4428 | + | --oldin | --oldi | --old | --ol | --o) |
4429 | + ac_prev=oldincludedir ;; |
4430 | + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
4431 | + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
4432 | + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
4433 | + oldincludedir=$ac_optarg ;; |
4434 | + |
4435 | + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
4436 | + ac_prev=prefix ;; |
4437 | + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
4438 | + prefix=$ac_optarg ;; |
4439 | + |
4440 | + -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
4441 | + | --program-pre | --program-pr | --program-p) |
4442 | + ac_prev=program_prefix ;; |
4443 | + -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
4444 | + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
4445 | + program_prefix=$ac_optarg ;; |
4446 | + |
4447 | + -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
4448 | + | --program-suf | --program-su | --program-s) |
4449 | + ac_prev=program_suffix ;; |
4450 | + -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
4451 | + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
4452 | + program_suffix=$ac_optarg ;; |
4453 | + |
4454 | + -program-transform-name | --program-transform-name \ |
4455 | + | --program-transform-nam | --program-transform-na \ |
4456 | + | --program-transform-n | --program-transform- \ |
4457 | + | --program-transform | --program-transfor \ |
4458 | + | --program-transfo | --program-transf \ |
4459 | + | --program-trans | --program-tran \ |
4460 | + | --progr-tra | --program-tr | --program-t) |
4461 | + ac_prev=program_transform_name ;; |
4462 | + -program-transform-name=* | --program-transform-name=* \ |
4463 | + | --program-transform-nam=* | --program-transform-na=* \ |
4464 | + | --program-transform-n=* | --program-transform-=* \ |
4465 | + | --program-transform=* | --program-transfor=* \ |
4466 | + | --program-transfo=* | --program-transf=* \ |
4467 | + | --program-trans=* | --program-tran=* \ |
4468 | + | --progr-tra=* | --program-tr=* | --program-t=*) |
4469 | + program_transform_name=$ac_optarg ;; |
4470 | + |
4471 | + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
4472 | + ac_prev=pdfdir ;; |
4473 | + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
4474 | + pdfdir=$ac_optarg ;; |
4475 | + |
4476 | + -psdir | --psdir | --psdi | --psd | --ps) |
4477 | + ac_prev=psdir ;; |
4478 | + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
4479 | + psdir=$ac_optarg ;; |
4480 | + |
4481 | + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
4482 | + | -silent | --silent | --silen | --sile | --sil) |
4483 | + silent=yes ;; |
4484 | + |
4485 | + -runstatedir | --runstatedir | --runstatedi | --runstated \ |
4486 | + | --runstate | --runstat | --runsta | --runst | --runs \ |
4487 | + | --run | --ru | --r) |
4488 | + ac_prev=runstatedir ;; |
4489 | + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
4490 | + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
4491 | + | --run=* | --ru=* | --r=*) |
4492 | + runstatedir=$ac_optarg ;; |
4493 | + |
4494 | + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
4495 | + ac_prev=sbindir ;; |
4496 | + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
4497 | + | --sbi=* | --sb=*) |
4498 | + sbindir=$ac_optarg ;; |
4499 | + |
4500 | + -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
4501 | + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
4502 | + | --sharedst | --shareds | --shared | --share | --shar \ |
4503 | + | --sha | --sh) |
4504 | + ac_prev=sharedstatedir ;; |
4505 | + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
4506 | + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
4507 | + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
4508 | + | --sha=* | --sh=*) |
4509 | + sharedstatedir=$ac_optarg ;; |
4510 | + |
4511 | + -site | --site | --sit) |
4512 | + ac_prev=site ;; |
4513 | + -site=* | --site=* | --sit=*) |
4514 | + site=$ac_optarg ;; |
4515 | + |
4516 | + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
4517 | + ac_prev=srcdir ;; |
4518 | + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
4519 | + srcdir=$ac_optarg ;; |
4520 | + |
4521 | + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
4522 | + | --syscon | --sysco | --sysc | --sys | --sy) |
4523 | + ac_prev=sysconfdir ;; |
4524 | + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
4525 | + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
4526 | + sysconfdir=$ac_optarg ;; |
4527 | + |
4528 | + -target | --target | --targe | --targ | --tar | --ta | --t) |
4529 | + ac_prev=target_alias ;; |
4530 | + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
4531 | + target_alias=$ac_optarg ;; |
4532 | + |
4533 | + -v | -verbose | --verbose | --verbos | --verbo | --verb) |
4534 | + verbose=yes ;; |
4535 | + |
4536 | + -version | --version | --versio | --versi | --vers | -V) |
4537 | + ac_init_version=: ;; |
4538 | + |
4539 | + -with-* | --with-*) |
4540 | + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
4541 | + # Reject names that are not valid shell variable names. |
4542 | + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
4543 | + as_fn_error $? "invalid package name: $ac_useropt" |
4544 | + ac_useropt_orig=$ac_useropt |
4545 | + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
4546 | + case $ac_user_opts in |
4547 | + *" |
4548 | +"with_$ac_useropt" |
4549 | +"*) ;; |
4550 | + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
4551 | + ac_unrecognized_sep=', ';; |
4552 | + esac |
4553 | + eval with_$ac_useropt=\$ac_optarg ;; |
4554 | + |
4555 | + -without-* | --without-*) |
4556 | + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
4557 | + # Reject names that are not valid shell variable names. |
4558 | + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
4559 | + as_fn_error $? "invalid package name: $ac_useropt" |
4560 | + ac_useropt_orig=$ac_useropt |
4561 | + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
4562 | + case $ac_user_opts in |
4563 | + *" |
4564 | +"with_$ac_useropt" |
4565 | +"*) ;; |
4566 | + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
4567 | + ac_unrecognized_sep=', ';; |
4568 | + esac |
4569 | + eval with_$ac_useropt=no ;; |
4570 | + |
4571 | + --x) |
4572 | + # Obsolete; use --with-x. |
4573 | + with_x=yes ;; |
4574 | + |
4575 | + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
4576 | + | --x-incl | --x-inc | --x-in | --x-i) |
4577 | + ac_prev=x_includes ;; |
4578 | + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
4579 | + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
4580 | + x_includes=$ac_optarg ;; |
4581 | + |
4582 | + -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
4583 | + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
4584 | + ac_prev=x_libraries ;; |
4585 | + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
4586 | + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
4587 | + x_libraries=$ac_optarg ;; |
4588 | + |
4589 | + -*) as_fn_error $? "unrecognized option: \`$ac_option' |
4590 | +Try \`$0 --help' for more information" |
4591 | + ;; |
4592 | + |
4593 | + *=*) |
4594 | + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
4595 | + # Reject names that are not valid shell variable names. |
4596 | + case $ac_envvar in #( |
4597 | + '' | [0-9]* | *[!_$as_cr_alnum]* ) |
4598 | + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
4599 | + esac |
4600 | + eval $ac_envvar=\$ac_optarg |
4601 | + export $ac_envvar ;; |
4602 | + |
4603 | + *) |
4604 | + # FIXME: should be removed in autoconf 3.0. |
4605 | + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
4606 | + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
4607 | + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
4608 | + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
4609 | + ;; |
4610 | + |
4611 | + esac |
4612 | +done |
4613 | + |
4614 | +if test -n "$ac_prev"; then |
4615 | + ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
4616 | + as_fn_error $? "missing argument to $ac_option" |
4617 | +fi |
4618 | + |
4619 | +if test -n "$ac_unrecognized_opts"; then |
4620 | + case $enable_option_checking in |
4621 | + no) ;; |
4622 | + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
4623 | + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
4624 | + esac |
4625 | +fi |
4626 | + |
4627 | +# Check all directory arguments for consistency. |
4628 | +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
4629 | + datadir sysconfdir sharedstatedir localstatedir includedir \ |
4630 | + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
4631 | + libdir localedir mandir runstatedir |
4632 | +do |
4633 | + eval ac_val=\$$ac_var |
4634 | + # Remove trailing slashes. |
4635 | + case $ac_val in |
4636 | + */ ) |
4637 | + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
4638 | + eval $ac_var=\$ac_val;; |
4639 | + esac |
4640 | + # Be sure to have absolute directory names. |
4641 | + case $ac_val in |
4642 | + [\\/$]* | ?:[\\/]* ) continue;; |
4643 | + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
4644 | + esac |
4645 | + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
4646 | +done |
4647 | + |
4648 | +# There might be people who depend on the old broken behavior: `$host' |
4649 | +# used to hold the argument of --host etc. |
4650 | +# FIXME: To remove some day. |
4651 | +build=$build_alias |
4652 | +host=$host_alias |
4653 | +target=$target_alias |
4654 | + |
4655 | +# FIXME: To remove some day. |
4656 | +if test "x$host_alias" != x; then |
4657 | + if test "x$build_alias" = x; then |
4658 | + cross_compiling=maybe |
4659 | + elif test "x$build_alias" != "x$host_alias"; then |
4660 | + cross_compiling=yes |
4661 | + fi |
4662 | +fi |
4663 | + |
4664 | +ac_tool_prefix= |
4665 | +test -n "$host_alias" && ac_tool_prefix=$host_alias- |
4666 | + |
4667 | +test "$silent" = yes && exec 6>/dev/null |
4668 | + |
4669 | + |
4670 | +ac_pwd=`pwd` && test -n "$ac_pwd" && |
4671 | +ac_ls_di=`ls -di .` && |
4672 | +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
4673 | + as_fn_error $? "working directory cannot be determined" |
4674 | +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
4675 | + as_fn_error $? "pwd does not report name of working directory" |
4676 | + |
4677 | + |
4678 | +# Find the source files, if location was not specified. |
4679 | +if test -z "$srcdir"; then |
4680 | + ac_srcdir_defaulted=yes |
4681 | + # Try the directory containing this script, then the parent directory. |
4682 | + ac_confdir=`$as_dirname -- "$as_myself" || |
4683 | +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
4684 | + X"$as_myself" : 'X\(//\)[^/]' \| \ |
4685 | + X"$as_myself" : 'X\(//\)$' \| \ |
4686 | + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
4687 | +$as_echo X"$as_myself" | |
4688 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
4689 | + s//\1/ |
4690 | + q |
4691 | + } |
4692 | + /^X\(\/\/\)[^/].*/{ |
4693 | + s//\1/ |
4694 | + q |
4695 | + } |
4696 | + /^X\(\/\/\)$/{ |
4697 | + s//\1/ |
4698 | + q |
4699 | + } |
4700 | + /^X\(\/\).*/{ |
4701 | + s//\1/ |
4702 | + q |
4703 | + } |
4704 | + s/.*/./; q'` |
4705 | + srcdir=$ac_confdir |
4706 | + if test ! -r "$srcdir/$ac_unique_file"; then |
4707 | + srcdir=.. |
4708 | + fi |
4709 | +else |
4710 | + ac_srcdir_defaulted=no |
4711 | +fi |
4712 | +if test ! -r "$srcdir/$ac_unique_file"; then |
4713 | + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
4714 | + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
4715 | +fi |
4716 | +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
4717 | +ac_abs_confdir=`( |
4718 | + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
4719 | + pwd)` |
4720 | +# When building in place, set srcdir=. |
4721 | +if test "$ac_abs_confdir" = "$ac_pwd"; then |
4722 | + srcdir=. |
4723 | +fi |
4724 | +# Remove unnecessary trailing slashes from srcdir. |
4725 | +# Double slashes in file names in object file debugging info |
4726 | +# mess up M-x gdb in Emacs. |
4727 | +case $srcdir in |
4728 | +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
4729 | +esac |
4730 | +for ac_var in $ac_precious_vars; do |
4731 | + eval ac_env_${ac_var}_set=\${${ac_var}+set} |
4732 | + eval ac_env_${ac_var}_value=\$${ac_var} |
4733 | + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
4734 | + eval ac_cv_env_${ac_var}_value=\$${ac_var} |
4735 | +done |
4736 | + |
4737 | +# |
4738 | +# Report the --help message. |
4739 | +# |
4740 | +if test "$ac_init_help" = "long"; then |
4741 | + # Omit some internal or obsolete options to make the list less imposing. |
4742 | + # This message is too long to be a string in the A/UX 3.1 sh. |
4743 | + cat <<_ACEOF |
4744 | +\`configure' configures plainbox-provider-resource 0.3 to adapt to many kinds of systems. |
4745 | + |
4746 | +Usage: $0 [OPTION]... [VAR=VALUE]... |
4747 | + |
4748 | +To assign environment variables (e.g., CC, CFLAGS...), specify them as |
4749 | +VAR=VALUE. See below for descriptions of some of the useful variables. |
4750 | + |
4751 | +Defaults for the options are specified in brackets. |
4752 | + |
4753 | +Configuration: |
4754 | + -h, --help display this help and exit |
4755 | + --help=short display options specific to this package |
4756 | + --help=recursive display the short help of all the included packages |
4757 | + -V, --version display version information and exit |
4758 | + -q, --quiet, --silent do not print \`checking ...' messages |
4759 | + --cache-file=FILE cache test results in FILE [disabled] |
4760 | + -C, --config-cache alias for \`--cache-file=config.cache' |
4761 | + -n, --no-create do not create output files |
4762 | + --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
4763 | + |
4764 | +Installation directories: |
4765 | + --prefix=PREFIX install architecture-independent files in PREFIX |
4766 | + [$ac_default_prefix] |
4767 | + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
4768 | + [PREFIX] |
4769 | + |
4770 | +By default, \`make install' will install all the files in |
4771 | +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
4772 | +an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
4773 | +for instance \`--prefix=\$HOME'. |
4774 | + |
4775 | +For better control, use the options below. |
4776 | + |
4777 | +Fine tuning of the installation directories: |
4778 | + --bindir=DIR user executables [EPREFIX/bin] |
4779 | + --sbindir=DIR system admin executables [EPREFIX/sbin] |
4780 | + --libexecdir=DIR program executables [EPREFIX/libexec] |
4781 | + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
4782 | + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
4783 | + --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
4784 | + --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
4785 | + --libdir=DIR object code libraries [EPREFIX/lib] |
4786 | + --includedir=DIR C header files [PREFIX/include] |
4787 | + --oldincludedir=DIR C header files for non-gcc [/usr/include] |
4788 | + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
4789 | + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
4790 | + --infodir=DIR info documentation [DATAROOTDIR/info] |
4791 | + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
4792 | + --mandir=DIR man documentation [DATAROOTDIR/man] |
4793 | + --docdir=DIR documentation root |
4794 | + [DATAROOTDIR/doc/plainbox-provider-resource] |
4795 | + --htmldir=DIR html documentation [DOCDIR] |
4796 | + --dvidir=DIR dvi documentation [DOCDIR] |
4797 | + --pdfdir=DIR pdf documentation [DOCDIR] |
4798 | + --psdir=DIR ps documentation [DOCDIR] |
4799 | +_ACEOF |
4800 | + |
4801 | + cat <<\_ACEOF |
4802 | + |
4803 | +Program names: |
4804 | + --program-prefix=PREFIX prepend PREFIX to installed program names |
4805 | + --program-suffix=SUFFIX append SUFFIX to installed program names |
4806 | + --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
4807 | +_ACEOF |
4808 | +fi |
4809 | + |
4810 | +if test -n "$ac_init_help"; then |
4811 | + case $ac_init_help in |
4812 | + short | recursive ) echo "Configuration of plainbox-provider-resource 0.3:";; |
4813 | + esac |
4814 | + cat <<\_ACEOF |
4815 | + |
4816 | +Optional Features: |
4817 | + --disable-option-checking ignore unrecognized --enable/--with options |
4818 | + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
4819 | + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
4820 | + --enable-silent-rules less verbose build output (undo: "make V=1") |
4821 | + --disable-silent-rules verbose build output (undo: "make V=0") |
4822 | + --enable-dependency-tracking |
4823 | + do not reject slow dependency extractors |
4824 | + --disable-dependency-tracking |
4825 | + speeds up one-time build |
4826 | + |
4827 | +Some influential environment variables: |
4828 | + CC C compiler command |
4829 | + CFLAGS C compiler flags |
4830 | + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
4831 | + nonstandard directory <lib dir> |
4832 | + LIBS libraries to pass to the linker, e.g. -l<library> |
4833 | + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
4834 | + you have headers in a nonstandard directory <include dir> |
4835 | + PKG_CONFIG path to pkg-config utility |
4836 | + PKG_CONFIG_PATH |
4837 | + directories to add to pkg-config's search path |
4838 | + PKG_CONFIG_LIBDIR |
4839 | + path overriding pkg-config's built-in search path |
4840 | + LIBNL_CFLAGS |
4841 | + C compiler flags for LIBNL, overriding pkg-config |
4842 | + LIBNL_LIBS linker flags for LIBNL, overriding pkg-config |
4843 | + CPP C preprocessor |
4844 | + |
4845 | +Use these variables to override the choices made by `configure' or to help |
4846 | +it to find libraries and programs with nonstandard names/locations. |
4847 | + |
4848 | +Report bugs to <https://bugs.launchpad.net/plainbox-provider-resource/+filebug>. |
4849 | +_ACEOF |
4850 | +ac_status=$? |
4851 | +fi |
4852 | + |
4853 | +if test "$ac_init_help" = "recursive"; then |
4854 | + # If there are subdirs, report their specific --help. |
4855 | + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
4856 | + test -d "$ac_dir" || |
4857 | + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
4858 | + continue |
4859 | + ac_builddir=. |
4860 | + |
4861 | +case "$ac_dir" in |
4862 | +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
4863 | +*) |
4864 | + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
4865 | + # A ".." for each directory in $ac_dir_suffix. |
4866 | + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
4867 | + case $ac_top_builddir_sub in |
4868 | + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
4869 | + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
4870 | + esac ;; |
4871 | +esac |
4872 | +ac_abs_top_builddir=$ac_pwd |
4873 | +ac_abs_builddir=$ac_pwd$ac_dir_suffix |
4874 | +# for backward compatibility: |
4875 | +ac_top_builddir=$ac_top_build_prefix |
4876 | + |
4877 | +case $srcdir in |
4878 | + .) # We are building in place. |
4879 | + ac_srcdir=. |
4880 | + ac_top_srcdir=$ac_top_builddir_sub |
4881 | + ac_abs_top_srcdir=$ac_pwd ;; |
4882 | + [\\/]* | ?:[\\/]* ) # Absolute name. |
4883 | + ac_srcdir=$srcdir$ac_dir_suffix; |
4884 | + ac_top_srcdir=$srcdir |
4885 | + ac_abs_top_srcdir=$srcdir ;; |
4886 | + *) # Relative name. |
4887 | + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
4888 | + ac_top_srcdir=$ac_top_build_prefix$srcdir |
4889 | + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
4890 | +esac |
4891 | +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
4892 | + |
4893 | + cd "$ac_dir" || { ac_status=$?; continue; } |
4894 | + # Check for guested configure. |
4895 | + if test -f "$ac_srcdir/configure.gnu"; then |
4896 | + echo && |
4897 | + $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
4898 | + elif test -f "$ac_srcdir/configure"; then |
4899 | + echo && |
4900 | + $SHELL "$ac_srcdir/configure" --help=recursive |
4901 | + else |
4902 | + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
4903 | + fi || ac_status=$? |
4904 | + cd "$ac_pwd" || { ac_status=$?; break; } |
4905 | + done |
4906 | +fi |
4907 | + |
4908 | +test -n "$ac_init_help" && exit $ac_status |
4909 | +if $ac_init_version; then |
4910 | + cat <<\_ACEOF |
4911 | +plainbox-provider-resource configure 0.3 |
4912 | +generated by GNU Autoconf 2.69 |
4913 | + |
4914 | +Copyright (C) 2012 Free Software Foundation, Inc. |
4915 | +This configure script is free software; the Free Software Foundation |
4916 | +gives unlimited permission to copy, distribute and modify it. |
4917 | +_ACEOF |
4918 | + exit |
4919 | +fi |
4920 | + |
4921 | +## ------------------------ ## |
4922 | +## Autoconf initialization. ## |
4923 | +## ------------------------ ## |
4924 | + |
4925 | +# ac_fn_c_try_compile LINENO |
4926 | +# -------------------------- |
4927 | +# Try to compile conftest.$ac_ext, and return whether this succeeded. |
4928 | +ac_fn_c_try_compile () |
4929 | +{ |
4930 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
4931 | + rm -f conftest.$ac_objext |
4932 | + if { { ac_try="$ac_compile" |
4933 | +case "(($ac_try" in |
4934 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4935 | + *) ac_try_echo=$ac_try;; |
4936 | +esac |
4937 | +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4938 | +$as_echo "$ac_try_echo"; } >&5 |
4939 | + (eval "$ac_compile") 2>conftest.err |
4940 | + ac_status=$? |
4941 | + if test -s conftest.err; then |
4942 | + grep -v '^ *+' conftest.err >conftest.er1 |
4943 | + cat conftest.er1 >&5 |
4944 | + mv -f conftest.er1 conftest.err |
4945 | + fi |
4946 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4947 | + test $ac_status = 0; } && { |
4948 | + test -z "$ac_c_werror_flag" || |
4949 | + test ! -s conftest.err |
4950 | + } && test -s conftest.$ac_objext; then : |
4951 | + ac_retval=0 |
4952 | +else |
4953 | + $as_echo "$as_me: failed program was:" >&5 |
4954 | +sed 's/^/| /' conftest.$ac_ext >&5 |
4955 | + |
4956 | + ac_retval=1 |
4957 | +fi |
4958 | + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
4959 | + as_fn_set_status $ac_retval |
4960 | + |
4961 | +} # ac_fn_c_try_compile |
4962 | + |
4963 | +# ac_fn_c_try_cpp LINENO |
4964 | +# ---------------------- |
4965 | +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
4966 | +ac_fn_c_try_cpp () |
4967 | +{ |
4968 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
4969 | + if { { ac_try="$ac_cpp conftest.$ac_ext" |
4970 | +case "(($ac_try" in |
4971 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4972 | + *) ac_try_echo=$ac_try;; |
4973 | +esac |
4974 | +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4975 | +$as_echo "$ac_try_echo"; } >&5 |
4976 | + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
4977 | + ac_status=$? |
4978 | + if test -s conftest.err; then |
4979 | + grep -v '^ *+' conftest.err >conftest.er1 |
4980 | + cat conftest.er1 >&5 |
4981 | + mv -f conftest.er1 conftest.err |
4982 | + fi |
4983 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4984 | + test $ac_status = 0; } > conftest.i && { |
4985 | + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
4986 | + test ! -s conftest.err |
4987 | + }; then : |
4988 | + ac_retval=0 |
4989 | +else |
4990 | + $as_echo "$as_me: failed program was:" >&5 |
4991 | +sed 's/^/| /' conftest.$ac_ext >&5 |
4992 | + |
4993 | + ac_retval=1 |
4994 | +fi |
4995 | + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
4996 | + as_fn_set_status $ac_retval |
4997 | + |
4998 | +} # ac_fn_c_try_cpp |
4999 | + |
5000 | +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |