Codebase list heroes-data / upstream/1.5
Imported Upstream version 1.5 Stephen Kitt 8 years ago
176 changed file(s) with 5685 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 I am pleased to announce the release of Heroes-data 1.5
1
2 This package contains the data (levels, pictures) used by the game
3 Heroes. The source for the game itself is in a separate package, and
4 the sound-tracks and sound-effects in two other packages.
5
6 You are invited to visit the following links:
7 home page: http://heroes.sourceforge.net/
8 screenshots: http://heroes.sourceforge.net/screenshots.html
9 download: http://heroes.sourceforge.net/download.html
10
11 This release fixes a minor bug in 11 levels.
0 * Alexandre Duret-Lutz (Pollux) <duret_g@epita.fr>
1 http://www.epita.fr/~duret_g/
2
3 Wrote the original source code, ported it to GNU/Linux
4 and created a few levels.
5
6 * Romual Genevois (Guen) <rgenevois@besancon.net>
7 http://www.realtech.scene.org/romualdgenevois
8
9 Had the idea of that game, designed most of it,
10 drew the graphics, created most of the levels.
11
12 * Alexandre Liverneaux (Alexel) <alex.livernaux@wanadoo.fr>
13 http://alexel.planet-d.net/
14
15 Composed the soundtracks.
16
17 * Philippe Meisburger (TNK) <philmeis@mail.dotcom.fr>
18 http://perso.club-internet.fr/philmeis/
19
20 Composed the soundtracks and created some levels.
21
22
0 GNU GENERAL PUBLIC LICENSE
1 Version 2, June 1991
2
3 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
4 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
5 Everyone is permitted to copy and distribute verbatim copies
6 of this license document, but changing it is not allowed.
7
8 Preamble
9
10 The licenses for most software are designed to take away your
11 freedom to share and change it. By contrast, the GNU General Public
12 License is intended to guarantee your freedom to share and change free
13 software--to make sure the software is free for all its users. This
14 General Public License applies to most of the Free Software
15 Foundation's software and to any other program whose authors commit to
16 using it. (Some other Free Software Foundation software is covered by
17 the GNU Library General Public License instead.) You can apply it to
18 your programs, too.
19
20 When we speak of free software, we are referring to freedom, not
21 price. Our General Public Licenses are designed to make sure that you
22 have the freedom to distribute copies of free software (and charge for
23 this service if you wish), that you receive source code or can get it
24 if you want it, that you can change the software or use pieces of it
25 in new free programs; and that you know you can do these things.
26
27 To protect your rights, we need to make restrictions that forbid
28 anyone to deny you these rights or to ask you to surrender the rights.
29 These restrictions translate to certain responsibilities for you if you
30 distribute copies of the software, or if you modify it.
31
32 For example, if you distribute copies of such a program, whether
33 gratis or for a fee, you must give the recipients all the rights that
34 you have. You must make sure that they, too, receive or can get the
35 source code. And you must show them these terms so they know their
36 rights.
37
38 We protect your rights with two steps: (1) copyright the software, and
39 (2) offer you this license which gives you legal permission to copy,
40 distribute and/or modify the software.
41
42 Also, for each author's protection and ours, we want to make certain
43 that everyone understands that there is no warranty for this free
44 software. If the software is modified by someone else and passed on, we
45 want its recipients to know that what they have is not the original, so
46 that any problems introduced by others will not reflect on the original
47 authors' reputations.
48
49 Finally, any free program is threatened constantly by software
50 patents. We wish to avoid the danger that redistributors of a free
51 program will individually obtain patent licenses, in effect making the
52 program proprietary. To prevent this, we have made it clear that any
53 patent must be licensed for everyone's free use or not licensed at all.
54
55 The precise terms and conditions for copying, distribution and
56 modification follow.
57
58 GNU GENERAL PUBLIC LICENSE
59 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
60
61 0. This License applies to any program or other work which contains
62 a notice placed by the copyright holder saying it may be distributed
63 under the terms of this General Public License. The "Program", below,
64 refers to any such program or work, and a "work based on the Program"
65 means either the Program or any derivative work under copyright law:
66 that is to say, a work containing the Program or a portion of it,
67 either verbatim or with modifications and/or translated into another
68 language. (Hereinafter, translation is included without limitation in
69 the term "modification".) Each licensee is addressed as "you".
70
71 Activities other than copying, distribution and modification are not
72 covered by this License; they are outside its scope. The act of
73 running the Program is not restricted, and the output from the Program
74 is covered only if its contents constitute a work based on the
75 Program (independent of having been made by running the Program).
76 Whether that is true depends on what the Program does.
77
78 1. You may copy and distribute verbatim copies of the Program's
79 source code as you receive it, in any medium, provided that you
80 conspicuously and appropriately publish on each copy an appropriate
81 copyright notice and disclaimer of warranty; keep intact all the
82 notices that refer to this License and to the absence of any warranty;
83 and give any other recipients of the Program a copy of this License
84 along with the Program.
85
86 You may charge a fee for the physical act of transferring a copy, and
87 you may at your option offer warranty protection in exchange for a fee.
88
89 2. You may modify your copy or copies of the Program or any portion
90 of it, thus forming a work based on the Program, and copy and
91 distribute such modifications or work under the terms of Section 1
92 above, provided that you also meet all of these conditions:
93
94 a) You must cause the modified files to carry prominent notices
95 stating that you changed the files and the date of any change.
96
97 b) You must cause any work that you distribute or publish, that in
98 whole or in part contains or is derived from the Program or any
99 part thereof, to be licensed as a whole at no charge to all third
100 parties under the terms of this License.
101
102 c) If the modified program normally reads commands interactively
103 when run, you must cause it, when started running for such
104 interactive use in the most ordinary way, to print or display an
105 announcement including an appropriate copyright notice and a
106 notice that there is no warranty (or else, saying that you provide
107 a warranty) and that users may redistribute the program under
108 these conditions, and telling the user how to view a copy of this
109 License. (Exception: if the Program itself is interactive but
110 does not normally print such an announcement, your work based on
111 the Program is not required to print an announcement.)
112
113 These requirements apply to the modified work as a whole. If
114 identifiable sections of that work are not derived from the Program,
115 and can be reasonably considered independent and separate works in
116 themselves, then this License, and its terms, do not apply to those
117 sections when you distribute them as separate works. But when you
118 distribute the same sections as part of a whole which is a work based
119 on the Program, the distribution of the whole must be on the terms of
120 this License, whose permissions for other licensees extend to the
121 entire whole, and thus to each and every part regardless of who wrote it.
122
123 Thus, it is not the intent of this section to claim rights or contest
124 your rights to work written entirely by you; rather, the intent is to
125 exercise the right to control the distribution of derivative or
126 collective works based on the Program.
127
128 In addition, mere aggregation of another work not based on the Program
129 with the Program (or with a work based on the Program) on a volume of
130 a storage or distribution medium does not bring the other work under
131 the scope of this License.
132
133 3. You may copy and distribute the Program (or a work based on it,
134 under Section 2) in object code or executable form under the terms of
135 Sections 1 and 2 above provided that you also do one of the following:
136
137 a) Accompany it with the complete corresponding machine-readable
138 source code, which must be distributed under the terms of Sections
139 1 and 2 above on a medium customarily used for software interchange; or,
140
141 b) Accompany it with a written offer, valid for at least three
142 years, to give any third party, for a charge no more than your
143 cost of physically performing source distribution, a complete
144 machine-readable copy of the corresponding source code, to be
145 distributed under the terms of Sections 1 and 2 above on a medium
146 customarily used for software interchange; or,
147
148 c) Accompany it with the information you received as to the offer
149 to distribute corresponding source code. (This alternative is
150 allowed only for noncommercial distribution and only if you
151 received the program in object code or executable form with such
152 an offer, in accord with Subsection b above.)
153
154 The source code for a work means the preferred form of the work for
155 making modifications to it. For an executable work, complete source
156 code means all the source code for all modules it contains, plus any
157 associated interface definition files, plus the scripts used to
158 control compilation and installation of the executable. However, as a
159 special exception, the source code distributed need not include
160 anything that is normally distributed (in either source or binary
161 form) with the major components (compiler, kernel, and so on) of the
162 operating system on which the executable runs, unless that component
163 itself accompanies the executable.
164
165 If distribution of executable or object code is made by offering
166 access to copy from a designated place, then offering equivalent
167 access to copy the source code from the same place counts as
168 distribution of the source code, even though third parties are not
169 compelled to copy the source along with the object code.
170
171 4. You may not copy, modify, sublicense, or distribute the Program
172 except as expressly provided under this License. Any attempt
173 otherwise to copy, modify, sublicense or distribute the Program is
174 void, and will automatically terminate your rights under this License.
175 However, parties who have received copies, or rights, from you under
176 this License will not have their licenses terminated so long as such
177 parties remain in full compliance.
178
179 5. You are not required to accept this License, since you have not
180 signed it. However, nothing else grants you permission to modify or
181 distribute the Program or its derivative works. These actions are
182 prohibited by law if you do not accept this License. Therefore, by
183 modifying or distributing the Program (or any work based on the
184 Program), you indicate your acceptance of this License to do so, and
185 all its terms and conditions for copying, distributing or modifying
186 the Program or works based on it.
187
188 6. Each time you redistribute the Program (or any work based on the
189 Program), the recipient automatically receives a license from the
190 original licensor to copy, distribute or modify the Program subject to
191 these terms and conditions. You may not impose any further
192 restrictions on the recipients' exercise of the rights granted herein.
193 You are not responsible for enforcing compliance by third parties to
194 this License.
195
196 7. If, as a consequence of a court judgment or allegation of patent
197 infringement or for any other reason (not limited to patent issues),
198 conditions are imposed on you (whether by court order, agreement or
199 otherwise) that contradict the conditions of this License, they do not
200 excuse you from the conditions of this License. If you cannot
201 distribute so as to satisfy simultaneously your obligations under this
202 License and any other pertinent obligations, then as a consequence you
203 may not distribute the Program at all. For example, if a patent
204 license would not permit royalty-free redistribution of the Program by
205 all those who receive copies directly or indirectly through you, then
206 the only way you could satisfy both it and this License would be to
207 refrain entirely from distribution of the Program.
208
209 If any portion of this section is held invalid or unenforceable under
210 any particular circumstance, the balance of the section is intended to
211 apply and the section as a whole is intended to apply in other
212 circumstances.
213
214 It is not the purpose of this section to induce you to infringe any
215 patents or other property right claims or to contest validity of any
216 such claims; this section has the sole purpose of protecting the
217 integrity of the free software distribution system, which is
218 implemented by public license practices. Many people have made
219 generous contributions to the wide range of software distributed
220 through that system in reliance on consistent application of that
221 system; it is up to the author/donor to decide if he or she is willing
222 to distribute software through any other system and a licensee cannot
223 impose that choice.
224
225 This section is intended to make thoroughly clear what is believed to
226 be a consequence of the rest of this License.
227
228 8. If the distribution and/or use of the Program is restricted in
229 certain countries either by patents or by copyrighted interfaces, the
230 original copyright holder who places the Program under this License
231 may add an explicit geographical distribution limitation excluding
232 those countries, so that distribution is permitted only in or among
233 countries not thus excluded. In such case, this License incorporates
234 the limitation as if written in the body of this License.
235
236 9. The Free Software Foundation may publish revised and/or new versions
237 of the General Public License from time to time. Such new versions will
238 be similar in spirit to the present version, but may differ in detail to
239 address new problems or concerns.
240
241 Each version is given a distinguishing version number. If the Program
242 specifies a version number of this License which applies to it and "any
243 later version", you have the option of following the terms and conditions
244 either of that version or of any later version published by the Free
245 Software Foundation. If the Program does not specify a version number of
246 this License, you may choose any version ever published by the Free Software
247 Foundation.
248
249 10. If you wish to incorporate parts of the Program into other free
250 programs whose distribution conditions are different, write to the author
251 to ask for permission. For software which is copyrighted by the Free
252 Software Foundation, write to the Free Software Foundation; we sometimes
253 make exceptions for this. Our decision will be guided by the two goals
254 of preserving the free status of all derivatives of our free software and
255 of promoting the sharing and reuse of software generally.
256
257 NO WARRANTY
258
259 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
260 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
261 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
262 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
263 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
264 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
265 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
266 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
267 REPAIR OR CORRECTION.
268
269 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
270 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
271 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
272 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
273 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
274 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
275 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
276 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
277 POSSIBILITY OF SUCH DAMAGES.
278
279 END OF TERMS AND CONDITIONS
280
281 How to Apply These Terms to Your New Programs
282
283 If you develop a new program, and you want it to be of the greatest
284 possible use to the public, the best way to achieve this is to make it
285 free software which everyone can redistribute and change under these terms.
286
287 To do so, attach the following notices to the program. It is safest
288 to attach them to the start of each source file to most effectively
289 convey the exclusion of warranty; and each file should have at least
290 the "copyright" line and a pointer to where the full notice is found.
291
292 <one line to give the program's name and a brief idea of what it does.>
293 Copyright (C) <year> <name of author>
294
295 This program is free software; you can redistribute it and/or modify
296 it under the terms of the GNU General Public License as published by
297 the Free Software Foundation; either version 2 of the License, or
298 (at your option) any later version.
299
300 This program is distributed in the hope that it will be useful,
301 but WITHOUT ANY WARRANTY; without even the implied warranty of
302 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
303 GNU General Public License for more details.
304
305 You should have received a copy of the GNU General Public License
306 along with this program; if not, write to the Free Software
307 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
308
309
310 Also add information on how to contact you by electronic and paper mail.
311
312 If the program is interactive, make it output a short notice like this
313 when it starts in an interactive mode:
314
315 Gnomovision version 69, Copyright (C) year name of author
316 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317 This is free software, and you are welcome to redistribute it
318 under certain conditions; type `show c' for details.
319
320 The hypothetical commands `show w' and `show c' should show the appropriate
321 parts of the General Public License. Of course, the commands you use may
322 be called something other than `show w' and `show c'; they could even be
323 mouse-clicks or menu items--whatever suits your program.
324
325 You should also get your employer (if you work as a programmer) or your
326 school, if any, to sign a "copyright disclaimer" for the program, if
327 necessary. Here is a sample; alter the names:
328
329 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330 `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
332 <signature of Ty Coon>, 1 April 1989
333 Ty Coon, President of Vice
334
335 This General Public License does not permit incorporating your program into
336 proprietary programs. If your program is a subroutine library, you may
337 consider it more useful to permit linking proprietary applications with the
338 library. If this is what you want to do, use the GNU Library General
339 Public License instead of this License.
0 2002-03-11 Alexandre Duret-Lutz <duret_g@epita.fr>
1
2 * configure.ac: Bump version to 1.5.
3 * Makefile.am (AUTOMAKE_OPTIONS): Require Automake 1.6.
4 * NEWS, ANNOUNCE: Update.
5
6 2002-02-08 Alexandre Duret-Lutz <duret_g@epita.fr>
7
8 * tilesets/level01.pie, tilesets/level04.pie,
9 tilesets/level09.pie: Fix the definition of tile 9x3,
10 it should be a T_SPEED.
11 * levels/niv010.lvl, levels/niv013.lvl, levels/niv018.lvl,
12 levels/niv040.lvl, levels/niv042.lvl, levels/niv046.lvl,
13 levels/niv047.lvl, levels/niv048.lvl, levels/niv049.lvl,
14 levels/niv092.lvl, levels/niv097.lvl: Adjust.
15 Reported by Ingo van Lil.
16
17 2002-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
18
19 * tools/mingwzip.sh: New file.
20 * Makefile.am (EXTRA_DIST): Add it.
21
22 2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
23
24 * configure.ac: Bump version to 1.4.
25 * ANNOUNCE, NEWS: Update.
26
27 2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
28
29 * pics/fontread.pcx: Insert an empty row between ascii and latin1
30 characters to account for the 128-159 character range.
31
32 2001-12-11 Alexandre Duret-Lutz <duret_g@epita.fr>
33
34 * pics/Makefile.inc (pics_DATA): Add pics/fontbig.pcx.
35 * pics/fontbig.pcx: New file, extracted from pics/fontem.pcx and
36 merged with additional characters from Ingo van Lil <inguin@gmx.de>.
37
38 2001-12-11 Alexandre Duret-Lutz <duret_g@epita.fr>
39
40 * pics/fontread.pcx: Add Latin-1 characters.
41 From Ingo van Lil <inguin@gmx.de>.
42
43 2001-07-26 Alexandre Duret-Lutz <duret_g@epita.fr>
44
45 * configure.ac: Bump version to 1.3.
46 * ANNOUNCE: Update.
47 * NEWS: Aupdate.
48
49 2001-07-26 Alexandre Duret-Lutz <duret_g@epita.fr>
50
51 * levels/niv106.lvl: Set starting positions; they used to be the
52 default positions (everybody on tile #0) which unfortunately
53 happens to restrict players to a two-square-width vertical zone.
54 Reported by Jean Delvare <delvare@ensicaen.ismra.fr> and completed
55 by William Black <psychopheles@users.sourceforge.net>.
56
57 2001-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
58
59 * configure.ac: Bump version to 1.2. Don't create subdirectory
60 Makefiles. Use AC_CONFIG_AUX_DIR.
61 * Makefile.am (SUBDIRS): Remove.
62 (EXTRA_DIRS): Add pics/Makefile.inc, levels/Makefile.inc,
63 tilesets/Makefile.inc, and ANNOUNCE.
64 Include them.
65 * levels/Makefile.am: Delete.
66 * levels/Makefile.inc: New file.
67 * pics/Makefile.am: Delete.
68 * pics/Makefile.inc: New file.
69 * tilesets/Makefile.am: Delete.
70 * tilesets/Makefile.inc: New file.
71 * ANNOUNCE: New file.
72
73 2001-07-24 Alexandre Duret-Lutz <duret_g@epita.fr>
74
75 The empty tiles that look like this:
76 +-------+
77 | |
78 +-------+
79 | |
80 +-------+
81 used to be confifured as speed tiles (directed to the left).
82 This is obviously an error.
83
84 * levels/niv010.lvl: Configure those tiles as T_OUTWAY.
85 * levels/niv013.lvl: Likewise.
86 * levels/niv014.lvl: Likewise.
87 * levels/niv017.lvl: Likewise.
88 * levels/niv018.lvl: Likewise.
89 * levels/niv042.lvl: Likewise.
90 * tilesets/level01.pie: Likewise.
91 * tilesets/level04.pie: Likewise.
92 * tilesets/level09.pie: Likewise.
93
94 2001-06-17 Alexandre Duret-Lutz <duret_g@epita.fr>
95
96 * levels/niv042.lvl: Recompute out-of-the-way tiles.
97 Reported by Jean.
98
99 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
100
101 * configure.in: Move to ...
102 * configure.ac: ... here. Bump version to 1.1.
103
104 2001-05-08 Alexandre Duret-Lutz <duret_g@epita.fr>
105
106 * configure.in: Bump to version 1.0a,
107 and use newer autoconf and automake.
108 * NEWS: Update.
109 * AUTHORS: Copy from Heroes 0.10.
110 * THANKS: Likewise.
111 * README: Update links.
112
113 * Makefile.in: Remove from CVS.
114 * install-sh: Likewise.
115 * missing: Likewise.
116 * mkinstalldirs: Likewise.
117
118 2001-05-08 Alexandre Duret-Lutz <duret_g@epita.fr>
119
120 * pics/arrow.pcx: New file.
121 * pics/arrow.fig: New file.
122 * pics/Makefile.am (install_DATA): Add arrow.pcx.
123 (EXTRA_DIST): Add arrow.fig.
124
125 2001-05-07 Alexandre Duret-Lutz <duret_g@epita.fr>
126
127 * pics/helpics.pcx: Unlabel the joypad and board pictures.
128
129 2000-10-20 Alexandre Duret-Lutz <duret_g@epita.fr>
130
131 Copyright pedantry, follow the FSF guidelines.
132
133 * Makefile.am: Remove the `(C)' glyph which has no legal meaning.
134 * configure.in: Likewise.
135 * levels/Makefile.am: Likewise.
136 * pics/Makefile.am: Likewise.
137 * tilesets/Makefile.am: Likewise.
138
139 2000-09-01 Alexandre Duret-Lutz <duret_g@epita.fr>
140
141 * configure.in: Set version to 1.0.
142 * NEWS: Update.
143 * THANKS: New file.
144 * Makefile.am (EXTRA_DIST): Add ChangeLog and THANKS.
145 * install-sh: Update from Autoconf 2.49a.
146 * missing: Likewise.
147 * mkinstalldirs: Likewise.
148 * INSTALL: Likewise.
149
150 2000-08-19 Alexandre Duret-Lutz <duret_g@epita.fr>
151
152 Fix a bug reported by Benjamin Preidecker <bpreidecker@gmx.de>.
153 There was an half stop-sign.
154
155 * levels/niv090.lvl: Update.
156
157 2000-07-30 Alexandre Duret-Lutz <duret_g@epita.fr>
158
159 Initial revision (prior versions belonged to the heroes tree).
0 Copyright 1994, 1995, 1996, 1999, 2000, 2001 Free Software Foundation,
1 Inc.
2
3 This file is free documentation; the Free Software Foundation gives
4 unlimited permission to copy, distribute and modify it.
5
6 Basic Installation
7 ==================
8
9 These are generic installation instructions.
10
11 The `configure' shell script attempts to guess correct values for
12 various system-dependent variables used during compilation. It uses
13 those values to create a `Makefile' in each directory of the package.
14 It may also create one or more `.h' files containing system-dependent
15 definitions. Finally, it creates a shell script `config.status' that
16 you can run in the future to recreate the current configuration, and a
17 file `config.log' containing compiler output (useful mainly for
18 debugging `configure').
19
20 It can also use an optional file (typically called `config.cache'
21 and enabled with `--cache-file=config.cache' or simply `-C') that saves
22 the results of its tests to speed up reconfiguring. (Caching is
23 disabled by default to prevent problems with accidental use of stale
24 cache files.)
25
26 If you need to do unusual things to compile the package, please try
27 to figure out how `configure' could check whether to do them, and mail
28 diffs or instructions to the address given in the `README' so they can
29 be considered for the next release. If you are using the cache, and at
30 some point `config.cache' contains results you don't want to keep, you
31 may remove or edit it.
32
33 The file `configure.ac' (or `configure.in') is used to create
34 `configure' by a program called `autoconf'. You only need
35 `configure.ac' if you want to change it or regenerate `configure' using
36 a newer version of `autoconf'.
37
38 The simplest way to compile this package is:
39
40 1. `cd' to the directory containing the package's source code and type
41 `./configure' to configure the package for your system. If you're
42 using `csh' on an old version of System V, you might need to type
43 `sh ./configure' instead to prevent `csh' from trying to execute
44 `configure' itself.
45
46 Running `configure' takes awhile. While running, it prints some
47 messages telling which features it is checking for.
48
49 2. Type `make' to compile the package.
50
51 3. Optionally, type `make check' to run any self-tests that come with
52 the package.
53
54 4. Type `make install' to install the programs and any data files and
55 documentation.
56
57 5. You can remove the program binaries and object files from the
58 source code directory by typing `make clean'. To also remove the
59 files that `configure' created (so you can compile the package for
60 a different kind of computer), type `make distclean'. There is
61 also a `make maintainer-clean' target, but that is intended mainly
62 for the package's developers. If you use it, you may have to get
63 all sorts of other programs in order to regenerate files that came
64 with the distribution.
65
66 Compilers and Options
67 =====================
68
69 Some systems require unusual options for compilation or linking that
70 the `configure' script does not know about. Run `./configure --help'
71 for details on some of the pertinent environment variables.
72
73 You can give `configure' initial values for variables by setting
74 them in the environment. You can do that on the command line like this:
75
76 ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
77
78 *Note Defining Variables::, for more details.
79
80 Compiling For Multiple Architectures
81 ====================================
82
83 You can compile the package for more than one kind of computer at the
84 same time, by placing the object files for each architecture in their
85 own directory. To do this, you must use a version of `make' that
86 supports the `VPATH' variable, such as GNU `make'. `cd' to the
87 directory where you want the object files and executables to go and run
88 the `configure' script. `configure' automatically checks for the
89 source code in the directory that `configure' is in and in `..'.
90
91 If you have to use a `make' that does not support the `VPATH'
92 variable, you have to compile the package for one architecture at a
93 time in the source code directory. After you have installed the
94 package for one architecture, use `make distclean' before reconfiguring
95 for another architecture.
96
97 Installation Names
98 ==================
99
100 By default, `make install' will install the package's files in
101 `/usr/local/bin', `/usr/local/man', etc. You can specify an
102 installation prefix other than `/usr/local' by giving `configure' the
103 option `--prefix=PATH'.
104
105 You can specify separate installation prefixes for
106 architecture-specific files and architecture-independent files. If you
107 give `configure' the option `--exec-prefix=PATH', the package will use
108 PATH as the prefix for installing programs and libraries.
109 Documentation and other data files will still use the regular prefix.
110
111 In addition, if you use an unusual directory layout you can give
112 options like `--bindir=PATH' to specify different values for particular
113 kinds of files. Run `configure --help' for a list of the directories
114 you can set and what kinds of files go in them.
115
116 If the package supports it, you can cause programs to be installed
117 with an extra prefix or suffix on their names by giving `configure' the
118 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
119
120 Optional Features
121 =================
122
123 Some packages pay attention to `--enable-FEATURE' options to
124 `configure', where FEATURE indicates an optional part of the package.
125 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
126 is something like `gnu-as' or `x' (for the X Window System). The
127 `README' should mention any `--enable-' and `--with-' options that the
128 package recognizes.
129
130 For packages that use the X Window System, `configure' can usually
131 find the X include and library files automatically, but if it doesn't,
132 you can use the `configure' options `--x-includes=DIR' and
133 `--x-libraries=DIR' to specify their locations.
134
135 Specifying the System Type
136 ==========================
137
138 There may be some features `configure' cannot figure out
139 automatically, but needs to determine by the type of host the package
140 will run on. Usually `configure' can figure that out, but if it prints
141 a message saying it cannot guess the host type, give it the
142 `--build=TYPE' option. TYPE can either be a short name for the system
143 type, such as `sun4', or a canonical name which has the form:
144
145 CPU-COMPANY-SYSTEM
146
147 where SYSTEM can have one of these forms:
148
149 OS KERNEL-OS
150
151 See the file `config.sub' for the possible values of each field. If
152 `config.sub' isn't included in this package, then this package doesn't
153 need to know the host type.
154
155 If you are _building_ compiler tools for cross-compiling, you should
156 use the `--target=TYPE' option to select the type of system they will
157 produce code for.
158
159 If you want to _use_ a cross compiler, that generates code for a
160 platform different from the build platform, you should specify the host
161 platform (i.e., that on which the generated programs will eventually be
162 run) with `--host=TYPE'. In this case, you should also specify the
163 build platform with `--build=TYPE', because, in this case, it may not
164 be possible to guess the build platform (it sometimes involves
165 compiling and running simple test programs, and this can't be done if
166 the compiler is a cross compiler).
167
168 Sharing Defaults
169 ================
170
171 If you want to set default values for `configure' scripts to share,
172 you can create a site shell script called `config.site' that gives
173 default values for variables like `CC', `cache_file', and `prefix'.
174 `configure' looks for `PREFIX/share/config.site' if it exists, then
175 `PREFIX/etc/config.site' if it exists. Or, you can set the
176 `CONFIG_SITE' environment variable to the location of the site script.
177 A warning: not all `configure' scripts look for a site script.
178
179 Defining Variables
180 ==================
181
182 Variables not defined in a site shell script can be set in the
183 environment passed to `configure'. However, some packages may run
184 configure again during the build, and the customized values of these
185 variables may be lost. In order to avoid this problem, you should set
186 them in the `configure' command line, using `VAR=value'. For example:
187
188 ./configure CC=/usr/local2/bin/gcc
189
190 will cause the specified gcc to be used as the C compiler (unless it is
191 overridden in the site shell script).
192
193 `configure' Invocation
194 ======================
195
196 `configure' recognizes the following options to control how it
197 operates.
198
199 `--help'
200 `-h'
201 Print a summary of the options to `configure', and exit.
202
203 `--version'
204 `-V'
205 Print the version of Autoconf used to generate the `configure'
206 script, and exit.
207
208 `--cache-file=FILE'
209 Enable the cache: use and save the results of the tests in FILE,
210 traditionally `config.cache'. FILE defaults to `/dev/null' to
211 disable caching.
212
213 `--config-cache'
214 `-C'
215 Alias for `--cache-file=config.cache'.
216
217 `--quiet'
218 `--silent'
219 `-q'
220 Do not print messages saying which checks are being made. To
221 suppress all normal output, redirect it to `/dev/null' (any error
222 messages will still be shown).
223
224 `--srcdir=DIR'
225 Look for the package's source code in directory DIR. Usually
226 `configure' can determine that directory automatically.
227
228 `configure' also accepts some other, not widely useful, options. Run
229 `configure --help' for more details.
230
0 # Copyright 2000 Alexandre Duret-Lutz <duret_g@epita.fr>
1 #
2 # This file is part of Heroes.
3 #
4 # Heroes is free software; you can redistribute it and/or modify it under
5 # the terms of the GNU General Public License as published by the Free
6 # Software Foundation; either version 2 of the License, or (at your
7 # option) any later version.
8 #
9 # Heroes is distributed in the hope that it will be useful, but WITHOUT
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 # for more details.
13 #
14 # You should have received a copy of the GNU General Public License along
15 # with this program; if not, write to the Free Software Foundation, Inc.,
16 # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
18 AUTOMAKE_OPTIONS = 1.6 gnits dist-bzip2
19
20 all:
21 @echo "There is nothing to build. Run \`make install'."
22
23 EXTRA_DIST = ANNOUNCE \
24 tools/mingwzip.sh \
25 levels/Makefile.inc \
26 pics/Makefile.inc \
27 tilesets/Makefile.inc
28
29 include levels/Makefile.inc
30 include pics/Makefile.inc
31 include tilesets/Makefile.inc
0 # Makefile.in generated by automake 1.6 from Makefile.am.
1 # @configure_input@
2
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
4 # Free Software Foundation, Inc.
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 # Copyright 2000 Alexandre Duret-Lutz <duret_g@epita.fr>
17 #
18 # This file is part of Heroes.
19 #
20 # Heroes is free software; you can redistribute it and/or modify it under
21 # the terms of the GNU General Public License as published by the Free
22 # Software Foundation; either version 2 of the License, or (at your
23 # option) any later version.
24 #
25 # Heroes is distributed in the hope that it will be useful, but WITHOUT
26 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
27 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
28 # for more details.
29 #
30 # You should have received a copy of the GNU General Public License along
31 # with this program; if not, write to the Free Software Foundation, Inc.,
32 # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
33 SHELL = @SHELL@
34
35 srcdir = @srcdir@
36 top_srcdir = @top_srcdir@
37 VPATH = @srcdir@
38 prefix = @prefix@
39 exec_prefix = @exec_prefix@
40
41 bindir = @bindir@
42 sbindir = @sbindir@
43 libexecdir = @libexecdir@
44 datadir = @datadir@
45 sysconfdir = @sysconfdir@
46 sharedstatedir = @sharedstatedir@
47 localstatedir = @localstatedir@
48 libdir = @libdir@
49 infodir = @infodir@
50 mandir = @mandir@
51 includedir = @includedir@
52 oldincludedir = /usr/include
53 pkgdatadir = $(datadir)/@PACKAGE@
54 pkglibdir = $(libdir)/@PACKAGE@
55 pkgincludedir = $(includedir)/@PACKAGE@
56 top_builddir = .
57
58 ACLOCAL = @ACLOCAL@
59 AUTOCONF = @AUTOCONF@
60 AUTOMAKE = @AUTOMAKE@
61 AUTOHEADER = @AUTOHEADER@
62
63 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
64 INSTALL = @INSTALL@
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_DATA = @INSTALL_DATA@
67 install_sh_DATA = $(install_sh) -c -m 644
68 install_sh_PROGRAM = $(install_sh) -c
69 INSTALL_SCRIPT = @INSTALL_SCRIPT@
70 INSTALL_HEADER = $(INSTALL_DATA)
71 transform = @program_transform_name@
72 NORMAL_INSTALL = :
73 PRE_INSTALL = :
74 POST_INSTALL = :
75 NORMAL_UNINSTALL = :
76 PRE_UNINSTALL = :
77 POST_UNINSTALL = :
78
79 EXEEXT = @EXEEXT@
80 OBJEXT = @OBJEXT@
81 PATH_SEPARATOR = @PATH_SEPARATOR@
82 AMTAR = @AMTAR@
83 AWK = @AWK@
84 DEPDIR = @DEPDIR@
85 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
86 PACKAGE = @PACKAGE@
87 STRIP = @STRIP@
88 VERSION = @VERSION@
89 am__include = @am__include@
90 am__quote = @am__quote@
91 install_sh = @install_sh@
92
93 AUTOMAKE_OPTIONS = 1.6 gnits dist-bzip2
94
95 EXTRA_DIST = ANNOUNCE \
96 tools/mingwzip.sh \
97 levels/Makefile.inc \
98 pics/Makefile.inc \
99 tilesets/Makefile.inc\
100 $(levels_DATA) $(pics_DATA) pics/arrow.fig $(tilesets_DATA)
101
102 levelsdir = $(datadir)/heroes/levels
103
104 levels_DATA = \
105 levels/level.lst \
106 levels/niv010.lvl \
107 levels/niv011.lvl \
108 levels/niv012.lvl \
109 levels/niv013.lvl \
110 levels/niv014.lvl \
111 levels/niv015.lvl \
112 levels/niv016.lvl \
113 levels/niv017.lvl \
114 levels/niv018.lvl \
115 levels/niv019.lvl \
116 levels/niv020.lvl \
117 levels/niv021.lvl \
118 levels/niv022.lvl \
119 levels/niv023.lvl \
120 levels/niv024.lvl \
121 levels/niv025.lvl \
122 levels/niv026.lvl \
123 levels/niv027.lvl \
124 levels/niv028.lvl \
125 levels/niv029.lvl \
126 levels/niv030.lvl \
127 levels/niv031.lvl \
128 levels/niv032.lvl \
129 levels/niv033.lvl \
130 levels/niv034.lvl \
131 levels/niv035.lvl \
132 levels/niv036.lvl \
133 levels/niv037.lvl \
134 levels/niv038.lvl \
135 levels/niv039.lvl \
136 levels/niv040.lvl \
137 levels/niv041.lvl \
138 levels/niv042.lvl \
139 levels/niv043.lvl \
140 levels/niv044.lvl \
141 levels/niv045.lvl \
142 levels/niv046.lvl \
143 levels/niv047.lvl \
144 levels/niv048.lvl \
145 levels/niv049.lvl \
146 levels/niv050.lvl \
147 levels/niv051.lvl \
148 levels/niv052.lvl \
149 levels/niv053.lvl \
150 levels/niv054.lvl \
151 levels/niv055.lvl \
152 levels/niv056.lvl \
153 levels/niv057.lvl \
154 levels/niv058.lvl \
155 levels/niv059.lvl \
156 levels/niv060.lvl \
157 levels/niv061.lvl \
158 levels/niv062.lvl \
159 levels/niv063.lvl \
160 levels/niv064.lvl \
161 levels/niv065.lvl \
162 levels/niv066.lvl \
163 levels/niv067.lvl \
164 levels/niv068.lvl \
165 levels/niv070.lvl \
166 levels/niv071.lvl \
167 levels/niv072.lvl \
168 levels/niv073.lvl \
169 levels/niv074.lvl \
170 levels/niv075.lvl \
171 levels/niv076.lvl \
172 levels/niv077.lvl \
173 levels/niv078.lvl \
174 levels/niv080.lvl \
175 levels/niv081.lvl \
176 levels/niv082.lvl \
177 levels/niv083.lvl \
178 levels/niv084.lvl \
179 levels/niv085.lvl \
180 levels/niv086.lvl \
181 levels/niv087.lvl \
182 levels/niv088.lvl \
183 levels/niv090.lvl \
184 levels/niv091.lvl \
185 levels/niv092.lvl \
186 levels/niv093.lvl \
187 levels/niv094.lvl \
188 levels/niv095.lvl \
189 levels/niv096.lvl \
190 levels/niv097.lvl \
191 levels/niv100.lvl \
192 levels/niv101.lvl \
193 levels/niv102.lvl \
194 levels/niv103.lvl \
195 levels/niv104.lvl \
196 levels/niv105.lvl \
197 levels/niv106.lvl \
198 levels/niv107.lvl \
199 levels/niv108.lvl
200
201
202 picsdir = $(datadir)/heroes/pics
203
204 pics_DATA = pics/arrow.pcx \
205 pics/background.pcx \
206 pics/bonusa.pcx \
207 pics/bonusb.pcx \
208 pics/edit.pcx \
209 pics/editp01.pcx \
210 pics/editp02.pcx \
211 pics/editp03.pcx \
212 pics/editp04.pcx \
213 pics/editp05.pcx \
214 pics/editp06.pcx \
215 pics/editp07.pcx \
216 pics/editp08.pcx \
217 pics/editp09.pcx \
218 pics/editp10.pcx \
219 pics/erase.pcx \
220 pics/fontbig.pcx \
221 pics/fontdeck.pcx \
222 pics/fontem.pcx \
223 pics/fontem2.pcx \
224 pics/fontread.pcx \
225 pics/helpics.pcx \
226 pics/heroes.pcx \
227 pics/intro.pcx \
228 pics/jukebox.pcx \
229 pics/newlevel.pcx \
230 pics/olympus.pcx \
231 pics/trail.pcx \
232 pics/typonus.pcx \
233 pics/vehic.pcx
234
235
236 tilesetsdir = $(datadir)/heroes/tilesets
237
238 tilesets_DATA = tilesets/level01.glz \
239 tilesets/level01.pcx \
240 tilesets/level01.pie \
241 tilesets/level02.glz \
242 tilesets/level02.pcx \
243 tilesets/level02.pie \
244 tilesets/level03.glz \
245 tilesets/level03.pcx \
246 tilesets/level03.pie \
247 tilesets/level04.glz \
248 tilesets/level04.pcx \
249 tilesets/level04.pie \
250 tilesets/level05.glz \
251 tilesets/level05.pcx \
252 tilesets/level05.pie \
253 tilesets/level06.glz \
254 tilesets/level06.pcx \
255 tilesets/level06.pie \
256 tilesets/level07.glz \
257 tilesets/level07.pcx \
258 tilesets/level07.pie \
259 tilesets/level08.glz \
260 tilesets/level08.pcx \
261 tilesets/level08.pie \
262 tilesets/level09.glz \
263 tilesets/level09.pcx \
264 tilesets/level09.pie \
265 tilesets/level10.glz \
266 tilesets/level10.pcx \
267 tilesets/level10.pie
268
269 subdir = .
270 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
271 mkinstalldirs = $(SHELL) $(top_srcdir)/tools/mkinstalldirs
272 CONFIG_CLEAN_FILES =
273 DIST_SOURCES =
274 DATA = $(levels_DATA) $(pics_DATA) $(tilesets_DATA)
275
276 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
277 Makefile.in NEWS THANKS aclocal.m4 configure configure.ac \
278 tools/install-sh tools/missing tools/mkinstalldirs
279 all: all-am
280
281 .SUFFIXES:
282 $(srcdir)/Makefile.in: Makefile.am $(srcdir)/levels/Makefile.inc $(srcdir)/pics/Makefile.inc $(srcdir)/tilesets/Makefile.inc $(top_srcdir)/configure.ac $(ACLOCAL_M4)
283 cd $(top_srcdir) && \
284 $(AUTOMAKE) --gnits Makefile
285 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
286 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
287
288 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
289 $(SHELL) ./config.status --recheck
290 $(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
291 cd $(srcdir) && $(AUTOCONF)
292
293 $(ACLOCAL_M4): configure.ac
294 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
295 uninstall-info-am:
296 levelsDATA_INSTALL = $(INSTALL_DATA)
297 install-levelsDATA: $(levels_DATA)
298 @$(NORMAL_INSTALL)
299 $(mkinstalldirs) $(DESTDIR)$(levelsdir)
300 @list='$(levels_DATA)'; for p in $$list; do \
301 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
302 f="`echo $$p | sed -e 's|^.*/||'`"; \
303 echo " $(levelsDATA_INSTALL) $$d$$p $(DESTDIR)$(levelsdir)/$$f"; \
304 $(levelsDATA_INSTALL) $$d$$p $(DESTDIR)$(levelsdir)/$$f; \
305 done
306
307 uninstall-levelsDATA:
308 @$(NORMAL_UNINSTALL)
309 @list='$(levels_DATA)'; for p in $$list; do \
310 f="`echo $$p | sed -e 's|^.*/||'`"; \
311 echo " rm -f $(DESTDIR)$(levelsdir)/$$f"; \
312 rm -f $(DESTDIR)$(levelsdir)/$$f; \
313 done
314 picsDATA_INSTALL = $(INSTALL_DATA)
315 install-picsDATA: $(pics_DATA)
316 @$(NORMAL_INSTALL)
317 $(mkinstalldirs) $(DESTDIR)$(picsdir)
318 @list='$(pics_DATA)'; for p in $$list; do \
319 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
320 f="`echo $$p | sed -e 's|^.*/||'`"; \
321 echo " $(picsDATA_INSTALL) $$d$$p $(DESTDIR)$(picsdir)/$$f"; \
322 $(picsDATA_INSTALL) $$d$$p $(DESTDIR)$(picsdir)/$$f; \
323 done
324
325 uninstall-picsDATA:
326 @$(NORMAL_UNINSTALL)
327 @list='$(pics_DATA)'; for p in $$list; do \
328 f="`echo $$p | sed -e 's|^.*/||'`"; \
329 echo " rm -f $(DESTDIR)$(picsdir)/$$f"; \
330 rm -f $(DESTDIR)$(picsdir)/$$f; \
331 done
332 tilesetsDATA_INSTALL = $(INSTALL_DATA)
333 install-tilesetsDATA: $(tilesets_DATA)
334 @$(NORMAL_INSTALL)
335 $(mkinstalldirs) $(DESTDIR)$(tilesetsdir)
336 @list='$(tilesets_DATA)'; for p in $$list; do \
337 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
338 f="`echo $$p | sed -e 's|^.*/||'`"; \
339 echo " $(tilesetsDATA_INSTALL) $$d$$p $(DESTDIR)$(tilesetsdir)/$$f"; \
340 $(tilesetsDATA_INSTALL) $$d$$p $(DESTDIR)$(tilesetsdir)/$$f; \
341 done
342
343 uninstall-tilesetsDATA:
344 @$(NORMAL_UNINSTALL)
345 @list='$(tilesets_DATA)'; for p in $$list; do \
346 f="`echo $$p | sed -e 's|^.*/||'`"; \
347 echo " rm -f $(DESTDIR)$(tilesetsdir)/$$f"; \
348 rm -f $(DESTDIR)$(tilesetsdir)/$$f; \
349 done
350 tags: TAGS
351 TAGS:
352
353 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
354
355 top_distdir = .
356 distdir = $(PACKAGE)-$(VERSION)
357
358 am__remove_distdir = \
359 { test ! -d $(distdir) \
360 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
361 && rm -fr $(distdir); }; }
362
363 GZIP_ENV = --best
364 distcleancheck_listfiles = find . -type f -print
365
366 distdir: $(DISTFILES)
367 @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" >/dev/null; \
368 then :; else \
369 echo "NEWS not updated; not releasing" 1>&2; \
370 exit 1; \
371 fi
372 $(am__remove_distdir)
373 mkdir $(distdir)
374 $(mkinstalldirs) $(distdir)/levels $(distdir)/pics $(distdir)/tilesets $(distdir)/tools
375 @for file in $(DISTFILES); do \
376 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
377 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
378 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
379 dir="/$$dir"; \
380 $(mkinstalldirs) "$(distdir)$$dir"; \
381 else \
382 dir=''; \
383 fi; \
384 if test -d $$d/$$file; then \
385 cp -pR $$d/$$file $(distdir)$$dir \
386 || exit 1; \
387 else \
388 test -f $(distdir)/$$file \
389 || cp -p $$d/$$file $(distdir)/$$file \
390 || exit 1; \
391 fi; \
392 done
393 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
394 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
395 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
396 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
397 || chmod -R a+r $(distdir)
398 dist-gzip: distdir
399 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
400 $(am__remove_distdir)
401
402 dist-bzip2: distdir
403 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
404 $(am__remove_distdir)
405
406 dist dist-all: distdir
407 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
408 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
409 $(am__remove_distdir)
410
411 # This target untars the dist file and tries a VPATH configuration. Then
412 # it guarantees that the distribution is self-contained by making another
413 # tarfile.
414 distcheck: dist
415 $(am__remove_distdir)
416 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
417 chmod -R a-w $(distdir); chmod a+w $(distdir)
418 mkdir $(distdir)/=build
419 mkdir $(distdir)/=inst
420 chmod a-w $(distdir)
421 dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
422 && cd $(distdir)/=build \
423 && ../configure --srcdir=.. --prefix=$$dc_install_base \
424 $(DISTCHECK_CONFIGURE_FLAGS) \
425 && $(MAKE) $(AM_MAKEFLAGS) \
426 && $(MAKE) $(AM_MAKEFLAGS) dvi \
427 && $(MAKE) $(AM_MAKEFLAGS) check \
428 && $(MAKE) $(AM_MAKEFLAGS) install \
429 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
430 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
431 && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
432 || { echo "ERROR: files left after uninstall:" ; \
433 find $$dc_install_base -type f -print ; \
434 exit 1; } >&2 ) \
435 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
436 && rm -f $(distdir).tar.gz \
437 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
438 $(am__remove_distdir)
439 @echo "$(distdir).tar.gz is ready for distribution" | \
440 sed 'h;s/./=/g;p;x;p;x'
441 distcleancheck: distclean
442 if test '$(srcdir)' = . ; then \
443 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
444 exit 1 ; \
445 fi
446 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
447 || { echo "ERROR: files left after distclean:" ; \
448 $(distcleancheck_listfiles) ; \
449 exit 1; } >&2
450 check-am: all-am
451 check: check-am
452 all-am: Makefile $(DATA)
453
454 installdirs:
455 $(mkinstalldirs) $(DESTDIR)$(levelsdir) $(DESTDIR)$(picsdir) $(DESTDIR)$(tilesetsdir)
456
457 install: install-am
458 install-exec: install-exec-am
459 install-data: install-data-am
460 uninstall: uninstall-am
461
462 install-am: all-am
463 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
464
465 installcheck: installcheck-am
466 install-strip:
467 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
468 INSTALL_STRIP_FLAG=-s \
469 `test -z '$(STRIP)' || \
470 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
471 mostlyclean-generic:
472
473 clean-generic:
474
475 distclean-generic:
476 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
477
478 maintainer-clean-generic:
479 @echo "This command is intended for maintainers to use"
480 @echo "it deletes files that may require special tools to rebuild."
481 clean: clean-am
482
483 clean-am: clean-generic mostlyclean-am
484
485 distclean: distclean-am
486 -rm -f config.status config.cache config.log
487 distclean-am: clean-am distclean-generic
488
489 dvi: dvi-am
490
491 dvi-am:
492
493 info: info-am
494
495 info-am:
496
497 install-data-am: install-levelsDATA install-picsDATA \
498 install-tilesetsDATA
499
500 install-exec-am:
501
502 install-info: install-info-am
503
504 install-man:
505
506 installcheck-am:
507
508 maintainer-clean: maintainer-clean-am
509
510 maintainer-clean-am: distclean-am maintainer-clean-generic
511
512 mostlyclean: mostlyclean-am
513
514 mostlyclean-am: mostlyclean-generic
515
516 uninstall-am: uninstall-info-am uninstall-levelsDATA uninstall-picsDATA \
517 uninstall-tilesetsDATA
518
519 .PHONY: all all-am check check-am clean clean-generic dist dist-all \
520 dist-bzip2 dist-gzip distcheck distclean distclean-generic \
521 distcleancheck distdir dvi dvi-am info info-am install \
522 install-am install-data install-data-am install-exec \
523 install-exec-am install-info install-info-am install-levelsDATA \
524 install-man install-picsDATA install-strip install-tilesetsDATA \
525 installcheck installcheck-am installdirs maintainer-clean \
526 maintainer-clean-generic mostlyclean mostlyclean-generic \
527 uninstall uninstall-am uninstall-info-am uninstall-levelsDATA \
528 uninstall-picsDATA uninstall-tilesetsDATA
529
530
531 all:
532 @echo "There is nothing to build. Run \`make install'."
533 # Tell versions [3.59,3.63) of GNU make to not export all variables.
534 # Otherwise a system limit (for SysV at least) may be exceeded.
535 .NOEXPORT:
0 Heroes-data 1.5 March 11, 2002
1
2 * Bug fix in 11 levels (a ramp was misconfigured, and vehicle
3 would not speed up or slow down when running over it).
4
5 Heroes-data 1.4 December 12, 2001
6
7 * Support Latin-1 characters in `help reader' and `big' fonts.
8
9 Heroes-data 1.3 July 26, 2001
10
11 * Bug fix:
12 - Fix starting positions of level #70 (niv106.lvl).
13
14 Heroes-data 1.2 July 25, 2001
15
16 * Bug fixes:
17 - 6 levels had empty tiles configured as speed tiles.
18 - one of them had a few unaccessible place not marked so,
19 resulting in lemming being droped in unreachable places.
20 * Packaging cosmetics.
21
22 Heroes-data 1.1 May 23, 2001
23
24 * No changes, just bumped the version number for public release.
25
26 Heroes-data 1.0a May 8, 2001
27
28 * Unlabel the joypad and board pictures to allow
29 internationalization of the labels.
30 * Add a new arrow to replace the tutorial arrow.
31
32 Heroes-data 1.0 September 2, 2000
33
34 * First release.
35
36 Local Variables:
37 mode: indented-text
38 End:
0 Description
1 ===========
2
3 This package contains the data used by Heroes. It can be installed
4 separately.
5
6
7 License
8 =======
9
10 These files are distributed under the terms of the GNU General
11 Public License. See the file `COPYING' for details.
12
13
14 Latest version
15 ==============
16
17 New versions of this package will be available at SourceForge.
18 See the home page of Heroes: http://heroes.sourceforge.net/
19
20
21 Installation
22 ============
23
24 This package use autoconf and automake. See the file `INSTALL' for
25 generic instructions. To have these data integrated in Heroes, use
26 the same --prefix and --datadir options when configuring both
27 packages.
28
29
30 Bug reports, feed-back
31 ======================
32
33 Two mailing-lists of interest:
34
35 heroes-discuss@lists.sourceforge.net
36 heroes-bugs@lists.sourceforge.net
37
38 See http://heroes.sourceforge.net/lists.html for details.
0 This file records people who contributed to Heroes by reporting
1 problems, suggesting various improvements or submitting actual code.
2 More details about the contributions can be found in the manual
3 or the ChangeLog. If your name has been left out, if you'd rather
4 not be listed, or if you'd prefer a different address be used, please
5 send a note to <heroes-bugs@lists.sourceforge.net>.
6
7 Todd Allendorf toddal@alumni.caltech.edu
8 Pierre Baillet octplane@via.ecp.fr
9 William Black psychopheles@users.sourceforge.net
10 Hermann J. Beackers beckers@st-oneline.de
11 Jos Boersema joshb@xs4all.nl
12 Daniel Burrows Daniel_Burrows@brown.edu
13 Beiad Ian Q. Dalton idalton@ferret.phonewave.net
14 Jean Delvare delvare@ensicaen.ismra.fr
15 Stéphane Denis S.Denis@darkworks.com
16 Alessandro Dotti alessandro.dotti@libero.it
17 Laurent Duperval lduperval@microcelli5.com
18 Christoph Egger Christoph_Egger@t-online.de
19 Mattias Engdegård f91-men@nada.kth.se
20 Gregory Giannoni gianno_g@epita.fr
21 Uwe Hermann uh1763@bingo-ev.de
22 Janos Holanyi csani@lme.linux.hu
23 Wolfgang Holzinger wholzi@gmx.at
24 Jesper Kjolsrud jeppe@dneg.com
25 Eugenia Loli-Queru eloli@hotmail.com
26 David Olofson david.olofson@reologica.se
27 Benjamin Preidecker bpreidecker@gmx.de
28 Pascal Rigaux pixel@mandrakesoft.com
29 Maxim Sobolev sobomax@FreeBSD.org
30 Christian T. Steigies cts@debian.org
31 Eero Tamminen oak@welho.com
32 Ingo van Lil inguin@gmx.de
33
0 # aclocal.m4 generated automatically by aclocal 1.6 -*- Autoconf -*-
1
2 # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
3 # Free Software Foundation, Inc.
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13 # Do all the work for Automake. -*- Autoconf -*-
14
15 # This macro actually does too much some checks are only needed if
16 # your package does certain things. But this isn't really a big deal.
17
18 # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
19 # Free Software Foundation, Inc.
20
21 # This program is free software; you can redistribute it and/or modify
22 # it under the terms of the GNU General Public License as published by
23 # the Free Software Foundation; either version 2, or (at your option)
24 # any later version.
25
26 # This program is distributed in the hope that it will be useful,
27 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 # GNU General Public License for more details.
30
31 # You should have received a copy of the GNU General Public License
32 # along with this program; if not, write to the Free Software
33 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
34 # 02111-1307, USA.
35
36 # serial 8
37
38 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
39 # written in clear, in which case automake, when reading aclocal.m4,
40 # will think it sees a *use*, and therefore will trigger all it's
41 # C support machinery. Also note that it means that autoscan, seeing
42 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
43
44
45 AC_PREREQ([2.52])
46
47 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
48 # the ones we care about.
49 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
50
51 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
52 # AM_INIT_AUTOMAKE([OPTIONS])
53 # -----------------------------------------------
54 # The call with PACKAGE and VERSION arguments is the old style
55 # call (pre autoconf-2.50), which is being phased out. PACKAGE
56 # and VERSION should now be passed to AC_INIT and removed from
57 # the call to AM_INIT_AUTOMAKE.
58 # We support both call styles for the transition. After
59 # the next Automake release, Autoconf can make the AC_INIT
60 # arguments mandatory, and then we can depend on a new Autoconf
61 # release and drop the old call support.
62 AC_DEFUN([AM_INIT_AUTOMAKE],
63 [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
64 AC_REQUIRE([AC_PROG_INSTALL])dnl
65 # test to see if srcdir already configured
66 if test "`cd $srcdir && pwd`" != "`pwd`" &&
67 test -f $srcdir/config.status; then
68 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
69 fi
70
71 # Define the identity of the package.
72 dnl Distinguish between old-style and new-style calls.
73 m4_ifval([$2],
74 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
75 AC_SUBST([PACKAGE], [$1])dnl
76 AC_SUBST([VERSION], [$2])],
77 [_AM_SET_OPTIONS([$1])dnl
78 AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl
79 AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl
80
81 _AM_IF_OPTION([no-define],,
82 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
83 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
84
85 # Some tools Automake needs.
86 AC_REQUIRE([AM_SANITY_CHECK])dnl
87 AC_REQUIRE([AC_ARG_PROGRAM])dnl
88 AM_MISSING_PROG(ACLOCAL, "aclocal-${am__api_version}")
89 AM_MISSING_PROG(AUTOCONF, autoconf)
90 AM_MISSING_PROG(AUTOMAKE, "automake-${am__api_version}")
91 AM_MISSING_PROG(AUTOHEADER, autoheader)
92 AM_MISSING_PROG(MAKEINFO, makeinfo)
93 AM_MISSING_PROG(AMTAR, tar)
94 AM_PROG_INSTALL_SH
95 AM_PROG_INSTALL_STRIP
96 # We need awk for the "check" target. The system "awk" is bad on
97 # some platforms.
98 AC_REQUIRE([AC_PROG_AWK])dnl
99 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
100
101 _AM_IF_OPTION([no-dependencies],,
102 [AC_PROVIDE_IFELSE([AC_PROG_][CC],
103 [_AM_DEPENDENCIES(CC)],
104 [define([AC_PROG_][CC],
105 defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
106 AC_PROVIDE_IFELSE([AC_PROG_][CXX],
107 [_AM_DEPENDENCIES(CXX)],
108 [define([AC_PROG_][CXX],
109 defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
110 ])
111 ])
112
113 # Copyright 2002 Free Software Foundation, Inc.
114
115 # This program is free software; you can redistribute it and/or modify
116 # it under the terms of the GNU General Public License as published by
117 # the Free Software Foundation; either version 2, or (at your option)
118 # any later version.
119
120 # This program is distributed in the hope that it will be useful,
121 # but WITHOUT ANY WARRANTY; without even the implied warranty of
122 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
123 # GNU General Public License for more details.
124
125 # You should have received a copy of the GNU General Public License
126 # along with this program; if not, write to the Free Software
127 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
128
129 # AM_AUTOMAKE_VERSION(VERSION)
130 # ----------------------------
131 # Automake X.Y traces this macro to ensure aclocal.m4 has been
132 # generated from the m4 files accompanying Automake X.Y.
133 AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.6"])
134
135 # AM_SET_CURRENT_AUTOMAKE_VERSION
136 # -------------------------------
137 # Call AM_AUTOMAKE_VERSION so it can be traced.
138 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
139 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
140 [AM_AUTOMAKE_VERSION([1.6])])
141
142 # Helper functions for option handling. -*- Autoconf -*-
143
144 # Copyright 2001, 2002 Free Software Foundation, Inc.
145
146 # This program is free software; you can redistribute it and/or modify
147 # it under the terms of the GNU General Public License as published by
148 # the Free Software Foundation; either version 2, or (at your option)
149 # any later version.
150
151 # This program is distributed in the hope that it will be useful,
152 # but WITHOUT ANY WARRANTY; without even the implied warranty of
153 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
154 # GNU General Public License for more details.
155
156 # You should have received a copy of the GNU General Public License
157 # along with this program; if not, write to the Free Software
158 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
159 # 02111-1307, USA.
160
161 # serial 2
162
163 # _AM_MANGLE_OPTION(NAME)
164 # -----------------------
165 AC_DEFUN([_AM_MANGLE_OPTION],
166 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
167
168 # _AM_SET_OPTION(NAME)
169 # ------------------------------
170 # Set option NAME. Presently that only means defining a flag for this option.
171 AC_DEFUN([_AM_SET_OPTION],
172 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
173
174 # _AM_SET_OPTIONS(OPTIONS)
175 # ----------------------------------
176 # OPTIONS is a space-separated list of Automake options.
177 AC_DEFUN([_AM_SET_OPTIONS],
178 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
179
180 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
181 # -------------------------------------------
182 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
183 AC_DEFUN([_AM_IF_OPTION],
184 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
185
186 #
187 # Check to make sure that the build environment is sane.
188 #
189
190 # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
191
192 # This program is free software; you can redistribute it and/or modify
193 # it under the terms of the GNU General Public License as published by
194 # the Free Software Foundation; either version 2, or (at your option)
195 # any later version.
196
197 # This program is distributed in the hope that it will be useful,
198 # but WITHOUT ANY WARRANTY; without even the implied warranty of
199 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
200 # GNU General Public License for more details.
201
202 # You should have received a copy of the GNU General Public License
203 # along with this program; if not, write to the Free Software
204 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
205 # 02111-1307, USA.
206
207 # serial 3
208
209 # AM_SANITY_CHECK
210 # ---------------
211 AC_DEFUN([AM_SANITY_CHECK],
212 [AC_MSG_CHECKING([whether build environment is sane])
213 # Just in case
214 sleep 1
215 echo timestamp > conftest.file
216 # Do `set' in a subshell so we don't clobber the current shell's
217 # arguments. Must try -L first in case configure is actually a
218 # symlink; some systems play weird games with the mod time of symlinks
219 # (eg FreeBSD returns the mod time of the symlink's containing
220 # directory).
221 if (
222 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
223 if test "$[*]" = "X"; then
224 # -L didn't work.
225 set X `ls -t $srcdir/configure conftest.file`
226 fi
227 rm -f conftest.file
228 if test "$[*]" != "X $srcdir/configure conftest.file" \
229 && test "$[*]" != "X conftest.file $srcdir/configure"; then
230
231 # If neither matched, then we have a broken ls. This can happen
232 # if, for instance, CONFIG_SHELL is bash and it inherits a
233 # broken ls alias from the environment. This has actually
234 # happened. Such a system could not be considered "sane".
235 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
236 alias in your environment])
237 fi
238
239 test "$[2]" = conftest.file
240 )
241 then
242 # Ok.
243 :
244 else
245 AC_MSG_ERROR([newly created file is older than distributed files!
246 Check your system clock])
247 fi
248 AC_MSG_RESULT(yes)])
249
250 # -*- Autoconf -*-
251
252
253 # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
254
255 # This program is free software; you can redistribute it and/or modify
256 # it under the terms of the GNU General Public License as published by
257 # the Free Software Foundation; either version 2, or (at your option)
258 # any later version.
259
260 # This program is distributed in the hope that it will be useful,
261 # but WITHOUT ANY WARRANTY; without even the implied warranty of
262 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
263 # GNU General Public License for more details.
264
265 # You should have received a copy of the GNU General Public License
266 # along with this program; if not, write to the Free Software
267 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
268 # 02111-1307, USA.
269
270 # serial 3
271
272 # AM_MISSING_PROG(NAME, PROGRAM)
273 # ------------------------------
274 AC_DEFUN([AM_MISSING_PROG],
275 [AC_REQUIRE([AM_MISSING_HAS_RUN])
276 $1=${$1-"${am_missing_run}$2"}
277 AC_SUBST($1)])
278
279
280 # AM_MISSING_HAS_RUN
281 # ------------------
282 # Define MISSING if not defined so far and test if it supports --run.
283 # If it does, set am_missing_run to use it, otherwise, to nothing.
284 AC_DEFUN([AM_MISSING_HAS_RUN],
285 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
286 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
287 # Use eval to expand $SHELL
288 if eval "$MISSING --run true"; then
289 am_missing_run="$MISSING --run "
290 else
291 am_missing_run=
292 AC_MSG_WARN([`missing' script is too old or missing])
293 fi
294 ])
295
296 # AM_AUX_DIR_EXPAND
297
298 # Copyright 2001 Free Software Foundation, Inc.
299
300 # This program is free software; you can redistribute it and/or modify
301 # it under the terms of the GNU General Public License as published by
302 # the Free Software Foundation; either version 2, or (at your option)
303 # any later version.
304
305 # This program is distributed in the hope that it will be useful,
306 # but WITHOUT ANY WARRANTY; without even the implied warranty of
307 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
308 # GNU General Public License for more details.
309
310 # You should have received a copy of the GNU General Public License
311 # along with this program; if not, write to the Free Software
312 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
313 # 02111-1307, USA.
314
315 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
316 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
317 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
318 #
319 # Of course, Automake must honor this variable whenever it calls a
320 # tool from the auxiliary directory. The problem is that $srcdir (and
321 # therefore $ac_aux_dir as well) can be either absolute or relative,
322 # depending on how configure is run. This is pretty annoying, since
323 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
324 # source directory, any form will work fine, but in subdirectories a
325 # relative path needs to be adjusted first.
326 #
327 # $ac_aux_dir/missing
328 # fails when called from a subdirectory if $ac_aux_dir is relative
329 # $top_srcdir/$ac_aux_dir/missing
330 # fails if $ac_aux_dir is absolute,
331 # fails when called from a subdirectory in a VPATH build with
332 # a relative $ac_aux_dir
333 #
334 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
335 # are both prefixed by $srcdir. In an in-source build this is usually
336 # harmless because $srcdir is `.', but things will broke when you
337 # start a VPATH build or use an absolute $srcdir.
338 #
339 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
340 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
341 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
342 # and then we would define $MISSING as
343 # MISSING="\${SHELL} $am_aux_dir/missing"
344 # This will work as long as MISSING is not called from configure, because
345 # unfortunately $(top_srcdir) has no meaning in configure.
346 # However there are other variables, like CC, which are often used in
347 # configure, and could therefore not use this "fixed" $ac_aux_dir.
348 #
349 # Another solution, used here, is to always expand $ac_aux_dir to an
350 # absolute PATH. The drawback is that using absolute paths prevent a
351 # configured tree to be moved without reconfiguration.
352
353 # Rely on autoconf to set up CDPATH properly.
354 AC_PREREQ([2.50])
355
356 AC_DEFUN([AM_AUX_DIR_EXPAND], [
357 # expand $ac_aux_dir to an absolute path
358 am_aux_dir=`cd $ac_aux_dir && pwd`
359 ])
360
361 # AM_PROG_INSTALL_SH
362 # ------------------
363 # Define $install_sh.
364
365 # Copyright 2001 Free Software Foundation, Inc.
366
367 # This program is free software; you can redistribute it and/or modify
368 # it under the terms of the GNU General Public License as published by
369 # the Free Software Foundation; either version 2, or (at your option)
370 # any later version.
371
372 # This program is distributed in the hope that it will be useful,
373 # but WITHOUT ANY WARRANTY; without even the implied warranty of
374 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
375 # GNU General Public License for more details.
376
377 # You should have received a copy of the GNU General Public License
378 # along with this program; if not, write to the Free Software
379 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
380 # 02111-1307, USA.
381
382 AC_DEFUN([AM_PROG_INSTALL_SH],
383 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
384 install_sh=${install_sh-"$am_aux_dir/install-sh"}
385 AC_SUBST(install_sh)])
386
387 # AM_PROG_INSTALL_STRIP
388
389 # Copyright 2001 Free Software Foundation, Inc.
390
391 # This program is free software; you can redistribute it and/or modify
392 # it under the terms of the GNU General Public License as published by
393 # the Free Software Foundation; either version 2, or (at your option)
394 # any later version.
395
396 # This program is distributed in the hope that it will be useful,
397 # but WITHOUT ANY WARRANTY; without even the implied warranty of
398 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
399 # GNU General Public License for more details.
400
401 # You should have received a copy of the GNU General Public License
402 # along with this program; if not, write to the Free Software
403 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
404 # 02111-1307, USA.
405
406 # One issue with vendor `install' (even GNU) is that you can't
407 # specify the program used to strip binaries. This is especially
408 # annoying in cross-compiling environments, where the build's strip
409 # is unlikely to handle the host's binaries.
410 # Fortunately install-sh will honor a STRIPPROG variable, so we
411 # always use install-sh in `make install-strip', and initialize
412 # STRIPPROG with the value of the STRIP variable (set by the user).
413 AC_DEFUN([AM_PROG_INSTALL_STRIP],
414 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
415 # Installed binaries are usually stripped using `strip' when the user
416 # run `make install-strip'. However `strip' might not be the right
417 # tool to use in cross-compilation environments, therefore Automake
418 # will honor the `STRIP' environment variable to overrule this program.
419 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
420 if test "$cross_compiling" != no; then
421 AC_CHECK_TOOL([STRIP], [strip], :)
422 fi
423 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
424 AC_SUBST([INSTALL_STRIP_PROGRAM])])
425
426 # serial 4 -*- Autoconf -*-
427
428 # Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
429
430 # This program is free software; you can redistribute it and/or modify
431 # it under the terms of the GNU General Public License as published by
432 # the Free Software Foundation; either version 2, or (at your option)
433 # any later version.
434
435 # This program is distributed in the hope that it will be useful,
436 # but WITHOUT ANY WARRANTY; without even the implied warranty of
437 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
438 # GNU General Public License for more details.
439
440 # You should have received a copy of the GNU General Public License
441 # along with this program; if not, write to the Free Software
442 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
443 # 02111-1307, USA.
444
445
446 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
447 # written in clear, in which case automake, when reading aclocal.m4,
448 # will think it sees a *use*, and therefore will trigger all it's
449 # C support machinery. Also note that it means that autoscan, seeing
450 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
451
452
453
454 # _AM_DEPENDENCIES(NAME)
455 # ----------------------
456 # See how the compiler implements dependency checking.
457 # NAME is "CC", "CXX", "GCJ", or "OBJC".
458 # We try a few techniques and use that to set a single cache variable.
459 #
460 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
461 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
462 # dependency, and given that the user is not expected to run this macro,
463 # just rely on AC_PROG_CC.
464 AC_DEFUN([_AM_DEPENDENCIES],
465 [AC_REQUIRE([AM_SET_DEPDIR])dnl
466 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
467 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
468 AC_REQUIRE([AM_DEP_TRACK])dnl
469
470 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
471 [$1], CXX, [depcc="$CXX" am_compiler_list=],
472 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc']
473 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
474 [depcc="$$1" am_compiler_list=])
475
476 AC_CACHE_CHECK([dependency style of $depcc],
477 [am_cv_$1_dependencies_compiler_type],
478 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
479 # We make a subdir and do the tests there. Otherwise we can end up
480 # making bogus files that we don't know about and never remove. For
481 # instance it was reported that on HP-UX the gcc test will end up
482 # making a dummy file named `D' -- because `-MD' means `put the output
483 # in D'.
484 mkdir conftest.dir
485 # Copy depcomp to subdir because otherwise we won't find it if we're
486 # using a relative directory.
487 cp "$am_depcomp" conftest.dir
488 cd conftest.dir
489
490 am_cv_$1_dependencies_compiler_type=none
491 if test "$am_compiler_list" = ""; then
492 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
493 fi
494 for depmode in $am_compiler_list; do
495 # We need to recreate these files for each test, as the compiler may
496 # overwrite some of them when testing with obscure command lines.
497 # This happens at least with the AIX C compiler.
498 echo '#include "conftest.h"' > conftest.c
499 echo 'int i;' > conftest.h
500 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
501
502 case $depmode in
503 nosideeffect)
504 # after this tag, mechanisms are not by side-effect, so they'll
505 # only be used when explicitly requested
506 if test "x$enable_dependency_tracking" = xyes; then
507 continue
508 else
509 break
510 fi
511 ;;
512 none) break ;;
513 esac
514 # We check with `-c' and `-o' for the sake of the "dashmstdout"
515 # mode. It turns out that the SunPro C++ compiler does not properly
516 # handle `-M -o', and we need to detect this.
517 if depmode=$depmode \
518 source=conftest.c object=conftest.o \
519 depfile=conftest.Po tmpdepfile=conftest.TPo \
520 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
521 grep conftest.h conftest.Po > /dev/null 2>&1 &&
522 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
523 am_cv_$1_dependencies_compiler_type=$depmode
524 break
525 fi
526 done
527
528 cd ..
529 rm -rf conftest.dir
530 else
531 am_cv_$1_dependencies_compiler_type=none
532 fi
533 ])
534 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
535 ])
536
537
538 # AM_SET_DEPDIR
539 # -------------
540 # Choose a directory name for dependency files.
541 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
542 AC_DEFUN([AM_SET_DEPDIR],
543 [rm -f .deps 2>/dev/null
544 mkdir .deps 2>/dev/null
545 if test -d .deps; then
546 DEPDIR=.deps
547 else
548 # MS-DOS does not allow filenames that begin with a dot.
549 DEPDIR=_deps
550 fi
551 rmdir .deps 2>/dev/null
552 AC_SUBST([DEPDIR])
553 ])
554
555
556 # AM_DEP_TRACK
557 # ------------
558 AC_DEFUN([AM_DEP_TRACK],
559 [AC_ARG_ENABLE(dependency-tracking,
560 [ --disable-dependency-tracking Speeds up one-time builds
561 --enable-dependency-tracking Do not reject slow dependency extractors])
562 if test "x$enable_dependency_tracking" != xno; then
563 am_depcomp="$ac_aux_dir/depcomp"
564 AMDEPBACKSLASH='\'
565 fi
566 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
567 AC_SUBST([AMDEPBACKSLASH])
568 ])
569
570 # Generate code to set up dependency tracking. -*- Autoconf -*-
571
572 # Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
573
574 # This program is free software; you can redistribute it and/or modify
575 # it under the terms of the GNU General Public License as published by
576 # the Free Software Foundation; either version 2, or (at your option)
577 # any later version.
578
579 # This program is distributed in the hope that it will be useful,
580 # but WITHOUT ANY WARRANTY; without even the implied warranty of
581 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
582 # GNU General Public License for more details.
583
584 # You should have received a copy of the GNU General Public License
585 # along with this program; if not, write to the Free Software
586 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
587 # 02111-1307, USA.
588
589 #serial 2
590
591 # _AM_OUTPUT_DEPENDENCY_COMMANDS
592 # ------------------------------
593 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
594 [for mf in $CONFIG_FILES; do
595 # Strip MF so we end up with the name of the file.
596 mf=`echo "$mf" | sed -e 's/:.*$//'`
597 if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
598 dirpart=`AS_DIRNAME("$mf")`
599 else
600 continue
601 fi
602 grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
603 # Extract the definition of DEP_FILES from the Makefile without
604 # running `make'.
605 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
606 test -z "$DEPDIR" && continue
607 # When using ansi2knr, U may be empty or an underscore; expand it
608 U=`sed -n -e '/^U = / s///p' < "$mf"`
609 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
610 # We invoke sed twice because it is the simplest approach to
611 # changing $(DEPDIR) to its actual value in the expansion.
612 for file in `sed -n -e '
613 /^DEP_FILES = .*\\\\$/ {
614 s/^DEP_FILES = //
615 :loop
616 s/\\\\$//
617 p
618 n
619 /\\\\$/ b loop
620 p
621 }
622 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
623 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
624 # Make sure the directory exists.
625 test -f "$dirpart/$file" && continue
626 fdir=`AS_DIRNAME(["$file"])`
627 AS_MKDIR_P([$dirpart/$fdir])
628 # echo "creating $dirpart/$file"
629 echo '# dummy' > "$dirpart/$file"
630 done
631 done
632 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
633
634
635 # AM_OUTPUT_DEPENDENCY_COMMANDS
636 # -----------------------------
637 # This macro should only be invoked once -- use via AC_REQUIRE.
638 #
639 # This code is only required when automatic dependency tracking
640 # is enabled. FIXME. This creates each `.P' file that we will
641 # need in order to bootstrap the dependency handling code.
642 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
643 [AC_CONFIG_COMMANDS([depfiles],
644 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
645 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
646 ])
647
648 # Copyright 2001 Free Software Foundation, Inc. -*- Autoconf -*-
649
650 # This program is free software; you can redistribute it and/or modify
651 # it under the terms of the GNU General Public License as published by
652 # the Free Software Foundation; either version 2, or (at your option)
653 # any later version.
654
655 # This program is distributed in the hope that it will be useful,
656 # but WITHOUT ANY WARRANTY; without even the implied warranty of
657 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
658 # GNU General Public License for more details.
659
660 # You should have received a copy of the GNU General Public License
661 # along with this program; if not, write to the Free Software
662 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
663 # 02111-1307, USA.
664
665 # serial 2
666
667 # AM_MAKE_INCLUDE()
668 # -----------------
669 # Check to see how make treats includes.
670 AC_DEFUN([AM_MAKE_INCLUDE],
671 [am_make=${MAKE-make}
672 cat > confinc << 'END'
673 doit:
674 @echo done
675 END
676 # If we don't find an include directive, just comment out the code.
677 AC_MSG_CHECKING([for style of include used by $am_make])
678 am__include="#"
679 am__quote=
680 _am_result=none
681 # First try GNU make style include.
682 echo "include confinc" > confmf
683 # We grep out `Entering directory' and `Leaving directory'
684 # messages which can occur if `w' ends up in MAKEFLAGS.
685 # In particular we don't look at `^make:' because GNU make might
686 # be invoked under some other name (usually "gmake"), in which
687 # case it prints its new name instead of `make'.
688 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
689 am__include=include
690 am__quote=
691 _am_result=GNU
692 fi
693 # Now try BSD make style include.
694 if test "$am__include" = "#"; then
695 echo '.include "confinc"' > confmf
696 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
697 am__include=.include
698 am__quote="\""
699 _am_result=BSD
700 fi
701 fi
702 AC_SUBST(am__include)
703 AC_SUBST(am__quote)
704 AC_MSG_RESULT($_am_result)
705 rm -f confinc confmf
706 ])
707
708 # AM_CONDITIONAL -*- Autoconf -*-
709
710 # Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
711
712 # This program is free software; you can redistribute it and/or modify
713 # it under the terms of the GNU General Public License as published by
714 # the Free Software Foundation; either version 2, or (at your option)
715 # any later version.
716
717 # This program is distributed in the hope that it will be useful,
718 # but WITHOUT ANY WARRANTY; without even the implied warranty of
719 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
720 # GNU General Public License for more details.
721
722 # You should have received a copy of the GNU General Public License
723 # along with this program; if not, write to the Free Software
724 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
725 # 02111-1307, USA.
726
727 # serial 5
728
729 AC_PREREQ(2.52)
730
731 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
732 # -------------------------------------
733 # Define a conditional.
734 AC_DEFUN([AM_CONDITIONAL],
735 [ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
736 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
737 AC_SUBST([$1_TRUE])
738 AC_SUBST([$1_FALSE])
739 if $2; then
740 $1_TRUE=
741 $1_FALSE='#'
742 else
743 $1_TRUE='#'
744 $1_FALSE=
745 fi
746 AC_CONFIG_COMMANDS_PRE(
747 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
748 AC_MSG_ERROR([conditional \"$1\" was never defined.
749 Usually this means the macro was only invoked conditionally.])
750 fi])])
751
0 #! /bin/sh
1 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.53 for heroes-data 1.5.
3 #
4 # Report bugs to <heroes-bugs@lists.sourceforge.net>.
5 #
6 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
7 # Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 #
11 # Copyright 2000, 2001, 2002 Alexandre Duret-Lutz
12
13 if expr a : '\(a\)' >/dev/null 2>&1; then
14 as_expr=expr
15 else
16 as_expr=false
17 fi
18
19
20 ## --------------------- ##
21 ## M4sh Initialization. ##
22 ## --------------------- ##
23
24 # Be Bourne compatible
25 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26 emulate sh
27 NULLCMD=:
28 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
29 set -o posix
30 fi
31
32 # NLS nuisances.
33 # Support unset when possible.
34 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35 as_unset=unset
36 else
37 as_unset=false
38 fi
39
40 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
41 { $as_unset LANG || test "${LANG+set}" != set; } ||
42 { LANG=C; export LANG; }
43 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
44 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
45 { LC_ALL=C; export LC_ALL; }
46 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
47 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
48 { LC_TIME=C; export LC_TIME; }
49 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
50 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
51 { LC_CTYPE=C; export LC_CTYPE; }
52 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
53 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
54 { LANGUAGE=C; export LANGUAGE; }
55 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
56 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
57 { LC_COLLATE=C; export LC_COLLATE; }
58 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
59 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
60 { LC_NUMERIC=C; export LC_NUMERIC; }
61 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
62 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
63 { LC_MESSAGES=C; export LC_MESSAGES; }
64
65
66 # Name of the executable.
67 as_me=`(basename "$0") 2>/dev/null ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
72 echo X/"$0" |
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
76 s/.*/./; q'`
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conftest.sh
89 echo "exit 0" >>conftest.sh
90 chmod +x conftest.sh
91 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rm -f conftest.sh
97 fi
98
99
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117 ;;
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
123 fi
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 CONFIG_SHELL=$as_dir/$as_base
145 export CONFIG_SHELL
146 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
147 fi;;
148 esac
149 done
150 done
151 ;;
152 esac
153
154 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
155 # uniformly replaced by the line number. The first 'sed' inserts a
156 # line-number line before each line; the second 'sed' does the real
157 # work. The second script uses 'N' to pair each line-number line
158 # with the numbered line, and appends trailing '-' during
159 # substitution so that $LINENO is not a special case at line end.
160 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
161 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
162 sed '=' <$as_myself |
163 sed '
164 N
165 s,$,-,
166 : loop
167 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
168 t loop
169 s,-$,,
170 s,^['$as_cr_digits']*\n,,
171 ' >$as_me.lineno &&
172 chmod +x $as_me.lineno ||
173 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
174 { (exit 1); exit 1; }; }
175
176 # Don't try to exec as it changes $[0], causing all sort of problems
177 # (the dirname of $[0] is not the place where we might find the
178 # original and so on. Autoconf is especially sensible to this).
179 . ./$as_me.lineno
180 # Exit status is that of the last command.
181 exit
182 }
183
184
185 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
186 *c*,-n*) ECHO_N= ECHO_C='
187 ' ECHO_T=' ' ;;
188 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
189 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
190 esac
191
192 if expr a : '\(a\)' >/dev/null 2>&1; then
193 as_expr=expr
194 else
195 as_expr=false
196 fi
197
198 rm -f conf$$ conf$$.exe conf$$.file
199 echo >conf$$.file
200 if ln -s conf$$.file conf$$ 2>/dev/null; then
201 # We could just check for DJGPP; but this test a) works b) is more generic
202 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
203 if test -f conf$$.exe; then
204 # Don't use ln at all; we don't have any links
205 as_ln_s='cp -p'
206 else
207 as_ln_s='ln -s'
208 fi
209 elif ln conf$$.file conf$$ 2>/dev/null; then
210 as_ln_s=ln
211 else
212 as_ln_s='cp -p'
213 fi
214 rm -f conf$$ conf$$.exe conf$$.file
215
216 as_executable_p="test -f"
217
218 # Sed expression to map a string onto a valid CPP name.
219 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
220
221 # Sed expression to map a string onto a valid variable name.
222 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
223
224
225 # IFS
226 # We need space, tab and new line, in precisely that order.
227 as_nl='
228 '
229 IFS=" $as_nl"
230
231 # CDPATH.
232 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
233
234
235 # Name of the host.
236 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
237 # so uname gets run too.
238 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
239
240 exec 6>&1
241
242 #
243 # Initializations.
244 #
245 ac_default_prefix=/usr/local
246 cross_compiling=no
247 subdirs=
248 MFLAGS=
249 MAKEFLAGS=
250 SHELL=${CONFIG_SHELL-/bin/sh}
251
252 # Maximum number of lines to put in a shell here document.
253 # This variable seems obsolete. It should probably be removed, and
254 # only ac_max_sed_lines should be used.
255 : ${ac_max_here_lines=38}
256
257 # Identity of this package.
258 PACKAGE_NAME='heroes-data'
259 PACKAGE_TARNAME='heroes-data'
260 PACKAGE_VERSION='1.5'
261 PACKAGE_STRING='heroes-data 1.5'
262 PACKAGE_BUGREPORT='heroes-bugs@lists.sourceforge.net'
263
264 ac_unique_file="pics/heroes.pcx"
265
266 # Initialize some variables set by options.
267 ac_init_help=
268 ac_init_version=false
269 # The variables have the same names as the options, with
270 # dashes changed to underlines.
271 cache_file=/dev/null
272 exec_prefix=NONE
273 no_create=
274 no_recursion=
275 prefix=NONE
276 program_prefix=NONE
277 program_suffix=NONE
278 program_transform_name=s,x,x,
279 silent=
280 site=
281 srcdir=
282 verbose=
283 x_includes=NONE
284 x_libraries=NONE
285
286 # Installation directory options.
287 # These are left unexpanded so users can "make install exec_prefix=/foo"
288 # and all the variables that are supposed to be based on exec_prefix
289 # by default will actually change.
290 # Use braces instead of parens because sh, perl, etc. also accept them.
291 bindir='${exec_prefix}/bin'
292 sbindir='${exec_prefix}/sbin'
293 libexecdir='${exec_prefix}/libexec'
294 datadir='${prefix}/share'
295 sysconfdir='${prefix}/etc'
296 sharedstatedir='${prefix}/com'
297 localstatedir='${prefix}/var'
298 libdir='${exec_prefix}/lib'
299 includedir='${prefix}/include'
300 oldincludedir='/usr/include'
301 infodir='${prefix}/info'
302 mandir='${prefix}/man'
303
304 ac_prev=
305 for ac_option
306 do
307 # If the previous option needs an argument, assign it.
308 if test -n "$ac_prev"; then
309 eval "$ac_prev=\$ac_option"
310 ac_prev=
311 continue
312 fi
313
314 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
315
316 # Accept the important Cygnus configure options, so we can diagnose typos.
317
318 case $ac_option in
319
320 -bindir | --bindir | --bindi | --bind | --bin | --bi)
321 ac_prev=bindir ;;
322 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
323 bindir=$ac_optarg ;;
324
325 -build | --build | --buil | --bui | --bu)
326 ac_prev=build_alias ;;
327 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
328 build_alias=$ac_optarg ;;
329
330 -cache-file | --cache-file | --cache-fil | --cache-fi \
331 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
332 ac_prev=cache_file ;;
333 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
334 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
335 cache_file=$ac_optarg ;;
336
337 --config-cache | -C)
338 cache_file=config.cache ;;
339
340 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
341 ac_prev=datadir ;;
342 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
343 | --da=*)
344 datadir=$ac_optarg ;;
345
346 -disable-* | --disable-*)
347 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
348 # Reject names that are not valid shell variable names.
349 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
350 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
351 { (exit 1); exit 1; }; }
352 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
353 eval "enable_$ac_feature=no" ;;
354
355 -enable-* | --enable-*)
356 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
357 # Reject names that are not valid shell variable names.
358 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
359 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
360 { (exit 1); exit 1; }; }
361 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
362 case $ac_option in
363 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
364 *) ac_optarg=yes ;;
365 esac
366 eval "enable_$ac_feature='$ac_optarg'" ;;
367
368 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
369 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
370 | --exec | --exe | --ex)
371 ac_prev=exec_prefix ;;
372 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
373 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
374 | --exec=* | --exe=* | --ex=*)
375 exec_prefix=$ac_optarg ;;
376
377 -gas | --gas | --ga | --g)
378 # Obsolete; use --with-gas.
379 with_gas=yes ;;
380
381 -help | --help | --hel | --he | -h)
382 ac_init_help=long ;;
383 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
384 ac_init_help=recursive ;;
385 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
386 ac_init_help=short ;;
387
388 -host | --host | --hos | --ho)
389 ac_prev=host_alias ;;
390 -host=* | --host=* | --hos=* | --ho=*)
391 host_alias=$ac_optarg ;;
392
393 -includedir | --includedir | --includedi | --included | --include \
394 | --includ | --inclu | --incl | --inc)
395 ac_prev=includedir ;;
396 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
397 | --includ=* | --inclu=* | --incl=* | --inc=*)
398 includedir=$ac_optarg ;;
399
400 -infodir | --infodir | --infodi | --infod | --info | --inf)
401 ac_prev=infodir ;;
402 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
403 infodir=$ac_optarg ;;
404
405 -libdir | --libdir | --libdi | --libd)
406 ac_prev=libdir ;;
407 -libdir=* | --libdir=* | --libdi=* | --libd=*)
408 libdir=$ac_optarg ;;
409
410 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
411 | --libexe | --libex | --libe)
412 ac_prev=libexecdir ;;
413 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
414 | --libexe=* | --libex=* | --libe=*)
415 libexecdir=$ac_optarg ;;
416
417 -localstatedir | --localstatedir | --localstatedi | --localstated \
418 | --localstate | --localstat | --localsta | --localst \
419 | --locals | --local | --loca | --loc | --lo)
420 ac_prev=localstatedir ;;
421 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
422 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
423 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
424 localstatedir=$ac_optarg ;;
425
426 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
427 ac_prev=mandir ;;
428 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
429 mandir=$ac_optarg ;;
430
431 -nfp | --nfp | --nf)
432 # Obsolete; use --without-fp.
433 with_fp=no ;;
434
435 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
436 | --no-cr | --no-c | -n)
437 no_create=yes ;;
438
439 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
440 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
441 no_recursion=yes ;;
442
443 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
444 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
445 | --oldin | --oldi | --old | --ol | --o)
446 ac_prev=oldincludedir ;;
447 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
448 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
449 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
450 oldincludedir=$ac_optarg ;;
451
452 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
453 ac_prev=prefix ;;
454 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
455 prefix=$ac_optarg ;;
456
457 -program-prefix | --program-prefix | --program-prefi | --program-pref \
458 | --program-pre | --program-pr | --program-p)
459 ac_prev=program_prefix ;;
460 -program-prefix=* | --program-prefix=* | --program-prefi=* \
461 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
462 program_prefix=$ac_optarg ;;
463
464 -program-suffix | --program-suffix | --program-suffi | --program-suff \
465 | --program-suf | --program-su | --program-s)
466 ac_prev=program_suffix ;;
467 -program-suffix=* | --program-suffix=* | --program-suffi=* \
468 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
469 program_suffix=$ac_optarg ;;
470
471 -program-transform-name | --program-transform-name \
472 | --program-transform-nam | --program-transform-na \
473 | --program-transform-n | --program-transform- \
474 | --program-transform | --program-transfor \
475 | --program-transfo | --program-transf \
476 | --program-trans | --program-tran \
477 | --progr-tra | --program-tr | --program-t)
478 ac_prev=program_transform_name ;;
479 -program-transform-name=* | --program-transform-name=* \
480 | --program-transform-nam=* | --program-transform-na=* \
481 | --program-transform-n=* | --program-transform-=* \
482 | --program-transform=* | --program-transfor=* \
483 | --program-transfo=* | --program-transf=* \
484 | --program-trans=* | --program-tran=* \
485 | --progr-tra=* | --program-tr=* | --program-t=*)
486 program_transform_name=$ac_optarg ;;
487
488 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
489 | -silent | --silent | --silen | --sile | --sil)
490 silent=yes ;;
491
492 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
493 ac_prev=sbindir ;;
494 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
495 | --sbi=* | --sb=*)
496 sbindir=$ac_optarg ;;
497
498 -sharedstatedir | --sharedstatedir | --sharedstatedi \
499 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
500 | --sharedst | --shareds | --shared | --share | --shar \
501 | --sha | --sh)
502 ac_prev=sharedstatedir ;;
503 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
504 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
505 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
506 | --sha=* | --sh=*)
507 sharedstatedir=$ac_optarg ;;
508
509 -site | --site | --sit)
510 ac_prev=site ;;
511 -site=* | --site=* | --sit=*)
512 site=$ac_optarg ;;
513
514 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
515 ac_prev=srcdir ;;
516 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
517 srcdir=$ac_optarg ;;
518
519 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
520 | --syscon | --sysco | --sysc | --sys | --sy)
521 ac_prev=sysconfdir ;;
522 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
523 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
524 sysconfdir=$ac_optarg ;;
525
526 -target | --target | --targe | --targ | --tar | --ta | --t)
527 ac_prev=target_alias ;;
528 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
529 target_alias=$ac_optarg ;;
530
531 -v | -verbose | --verbose | --verbos | --verbo | --verb)
532 verbose=yes ;;
533
534 -version | --version | --versio | --versi | --vers | -V)
535 ac_init_version=: ;;
536
537 -with-* | --with-*)
538 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
539 # Reject names that are not valid shell variable names.
540 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
541 { echo "$as_me: error: invalid package name: $ac_package" >&2
542 { (exit 1); exit 1; }; }
543 ac_package=`echo $ac_package| sed 's/-/_/g'`
544 case $ac_option in
545 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
546 *) ac_optarg=yes ;;
547 esac
548 eval "with_$ac_package='$ac_optarg'" ;;
549
550 -without-* | --without-*)
551 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package=`echo $ac_package | sed 's/-/_/g'`
557 eval "with_$ac_package=no" ;;
558
559 --x)
560 # Obsolete; use --with-x.
561 with_x=yes ;;
562
563 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
564 | --x-incl | --x-inc | --x-in | --x-i)
565 ac_prev=x_includes ;;
566 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
567 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
568 x_includes=$ac_optarg ;;
569
570 -x-libraries | --x-libraries | --x-librarie | --x-librari \
571 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
572 ac_prev=x_libraries ;;
573 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
574 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
575 x_libraries=$ac_optarg ;;
576
577 -*) { echo "$as_me: error: unrecognized option: $ac_option
578 Try \`$0 --help' for more information." >&2
579 { (exit 1); exit 1; }; }
580 ;;
581
582 *=*)
583 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
584 # Reject names that are not valid shell variable names.
585 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
586 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
587 { (exit 1); exit 1; }; }
588 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
589 eval "$ac_envvar='$ac_optarg'"
590 export $ac_envvar ;;
591
592 *)
593 # FIXME: should be removed in autoconf 3.0.
594 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
595 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
596 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
597 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
598 ;;
599
600 esac
601 done
602
603 if test -n "$ac_prev"; then
604 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
605 { echo "$as_me: error: missing argument to $ac_option" >&2
606 { (exit 1); exit 1; }; }
607 fi
608
609 # Be sure to have absolute paths.
610 for ac_var in exec_prefix prefix
611 do
612 eval ac_val=$`echo $ac_var`
613 case $ac_val in
614 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
615 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
616 { (exit 1); exit 1; }; };;
617 esac
618 done
619
620 # Be sure to have absolute paths.
621 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
622 localstatedir libdir includedir oldincludedir infodir mandir
623 do
624 eval ac_val=$`echo $ac_var`
625 case $ac_val in
626 [\\/$]* | ?:[\\/]* ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
629 esac
630 done
631
632 # There might be people who depend on the old broken behavior: `$host'
633 # used to hold the argument of --host etc.
634 # FIXME: To remove some day.
635 build=$build_alias
636 host=$host_alias
637 target=$target_alias
638
639 # FIXME: To remove some day.
640 if test "x$host_alias" != x; then
641 if test "x$build_alias" = x; then
642 cross_compiling=maybe
643 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
644 If a cross compiler is detected then cross compile mode will be used." >&2
645 elif test "x$build_alias" != "x$host_alias"; then
646 cross_compiling=yes
647 fi
648 fi
649
650 ac_tool_prefix=
651 test -n "$host_alias" && ac_tool_prefix=$host_alias-
652
653 test "$silent" = yes && exec 6>/dev/null
654
655
656 # Find the source files, if location was not specified.
657 if test -z "$srcdir"; then
658 ac_srcdir_defaulted=yes
659 # Try the directory containing this script, then its parent.
660 ac_confdir=`(dirname "$0") 2>/dev/null ||
661 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
662 X"$0" : 'X\(//\)[^/]' \| \
663 X"$0" : 'X\(//\)$' \| \
664 X"$0" : 'X\(/\)' \| \
665 . : '\(.\)' 2>/dev/null ||
666 echo X"$0" |
667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
668 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
669 /^X\(\/\/\)$/{ s//\1/; q; }
670 /^X\(\/\).*/{ s//\1/; q; }
671 s/.*/./; q'`
672 srcdir=$ac_confdir
673 if test ! -r $srcdir/$ac_unique_file; then
674 srcdir=..
675 fi
676 else
677 ac_srcdir_defaulted=no
678 fi
679 if test ! -r $srcdir/$ac_unique_file; then
680 if test "$ac_srcdir_defaulted" = yes; then
681 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
682 { (exit 1); exit 1; }; }
683 else
684 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
685 { (exit 1); exit 1; }; }
686 fi
687 fi
688 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
689 ac_env_build_alias_set=${build_alias+set}
690 ac_env_build_alias_value=$build_alias
691 ac_cv_env_build_alias_set=${build_alias+set}
692 ac_cv_env_build_alias_value=$build_alias
693 ac_env_host_alias_set=${host_alias+set}
694 ac_env_host_alias_value=$host_alias
695 ac_cv_env_host_alias_set=${host_alias+set}
696 ac_cv_env_host_alias_value=$host_alias
697 ac_env_target_alias_set=${target_alias+set}
698 ac_env_target_alias_value=$target_alias
699 ac_cv_env_target_alias_set=${target_alias+set}
700 ac_cv_env_target_alias_value=$target_alias
701
702 #
703 # Report the --help message.
704 #
705 if test "$ac_init_help" = "long"; then
706 # Omit some internal or obsolete options to make the list less imposing.
707 # This message is too long to be a string in the A/UX 3.1 sh.
708 cat <<_ACEOF
709 \`configure' configures heroes-data 1.5 to adapt to many kinds of systems.
710
711 Usage: $0 [OPTION]... [VAR=VALUE]...
712
713 To assign environment variables (e.g., CC, CFLAGS...), specify them as
714 VAR=VALUE. See below for descriptions of some of the useful variables.
715
716 Defaults for the options are specified in brackets.
717
718 Configuration:
719 -h, --help display this help and exit
720 --help=short display options specific to this package
721 --help=recursive display the short help of all the included packages
722 -V, --version display version information and exit
723 -q, --quiet, --silent do not print \`checking...' messages
724 --cache-file=FILE cache test results in FILE [disabled]
725 -C, --config-cache alias for \`--cache-file=config.cache'
726 -n, --no-create do not create output files
727 --srcdir=DIR find the sources in DIR [configure dir or \`..']
728
729 _ACEOF
730
731 cat <<_ACEOF
732 Installation directories:
733 --prefix=PREFIX install architecture-independent files in PREFIX
734 [$ac_default_prefix]
735 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
736 [PREFIX]
737
738 By default, \`make install' will install all the files in
739 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
740 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
741 for instance \`--prefix=\$HOME'.
742
743 For better control, use the options below.
744
745 Fine tuning of the installation directories:
746 --bindir=DIR user executables [EPREFIX/bin]
747 --sbindir=DIR system admin executables [EPREFIX/sbin]
748 --libexecdir=DIR program executables [EPREFIX/libexec]
749 --datadir=DIR read-only architecture-independent data [PREFIX/share]
750 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
751 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
752 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
753 --libdir=DIR object code libraries [EPREFIX/lib]
754 --includedir=DIR C header files [PREFIX/include]
755 --oldincludedir=DIR C header files for non-gcc [/usr/include]
756 --infodir=DIR info documentation [PREFIX/info]
757 --mandir=DIR man documentation [PREFIX/man]
758 _ACEOF
759
760 cat <<\_ACEOF
761
762 Program names:
763 --program-prefix=PREFIX prepend PREFIX to installed program names
764 --program-suffix=SUFFIX append SUFFIX to installed program names
765 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
766 _ACEOF
767 fi
768
769 if test -n "$ac_init_help"; then
770 case $ac_init_help in
771 short | recursive ) echo "Configuration of heroes-data 1.5:";;
772 esac
773 cat <<\_ACEOF
774
775 Report bugs to <heroes-bugs@lists.sourceforge.net>.
776 _ACEOF
777 fi
778
779 if test "$ac_init_help" = "recursive"; then
780 # If there are subdirs, report their specific --help.
781 ac_popdir=`pwd`
782 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
783 test -d $ac_dir || continue
784 ac_builddir=.
785
786 if test "$ac_dir" != .; then
787 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
788 # A "../" for each directory in $ac_dir_suffix.
789 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
790 else
791 ac_dir_suffix= ac_top_builddir=
792 fi
793
794 case $srcdir in
795 .) # No --srcdir option. We are building in place.
796 ac_srcdir=.
797 if test -z "$ac_top_builddir"; then
798 ac_top_srcdir=.
799 else
800 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
801 fi ;;
802 [\\/]* | ?:[\\/]* ) # Absolute path.
803 ac_srcdir=$srcdir$ac_dir_suffix;
804 ac_top_srcdir=$srcdir ;;
805 *) # Relative path.
806 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
807 ac_top_srcdir=$ac_top_builddir$srcdir ;;
808 esac
809 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
810 # absolute.
811 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
812 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
813 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
814 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
815
816 cd $ac_dir
817 # Check for guested configure; otherwise get Cygnus style configure.
818 if test -f $ac_srcdir/configure.gnu; then
819 echo
820 $SHELL $ac_srcdir/configure.gnu --help=recursive
821 elif test -f $ac_srcdir/configure; then
822 echo
823 $SHELL $ac_srcdir/configure --help=recursive
824 elif test -f $ac_srcdir/configure.ac ||
825 test -f $ac_srcdir/configure.in; then
826 echo
827 $ac_configure --help
828 else
829 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
830 fi
831 cd $ac_popdir
832 done
833 fi
834
835 test -n "$ac_init_help" && exit 0
836 if $ac_init_version; then
837 cat <<\_ACEOF
838 heroes-data configure 1.5
839 generated by GNU Autoconf 2.53
840
841 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
842 Free Software Foundation, Inc.
843 This configure script is free software; the Free Software Foundation
844 gives unlimited permission to copy, distribute and modify it.
845
846 Copyright 2000, 2001, 2002 Alexandre Duret-Lutz
847 _ACEOF
848 exit 0
849 fi
850 exec 5>config.log
851 cat >&5 <<_ACEOF
852 This file contains any messages produced by compilers while
853 running configure, to aid debugging if configure makes a mistake.
854
855 It was created by heroes-data $as_me 1.5, which was
856 generated by GNU Autoconf 2.53. Invocation command line was
857
858 $ $0 $@
859
860 _ACEOF
861 {
862 cat <<_ASUNAME
863 ## --------- ##
864 ## Platform. ##
865 ## --------- ##
866
867 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
868 uname -m = `(uname -m) 2>/dev/null || echo unknown`
869 uname -r = `(uname -r) 2>/dev/null || echo unknown`
870 uname -s = `(uname -s) 2>/dev/null || echo unknown`
871 uname -v = `(uname -v) 2>/dev/null || echo unknown`
872
873 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
874 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
875
876 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
877 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
878 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
879 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
880 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
881 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
882 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
883
884 _ASUNAME
885
886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
887 for as_dir in $PATH
888 do
889 IFS=$as_save_IFS
890 test -z "$as_dir" && as_dir=.
891 echo "PATH: $as_dir"
892 done
893
894 } >&5
895
896 cat >&5 <<_ACEOF
897
898
899 ## ----------- ##
900 ## Core tests. ##
901 ## ----------- ##
902
903 _ACEOF
904
905
906 # Keep a trace of the command line.
907 # Strip out --no-create and --no-recursion so they do not pile up.
908 # Also quote any args containing shell meta-characters.
909 ac_configure_args=
910 ac_sep=
911 for ac_arg
912 do
913 case $ac_arg in
914 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
915 | --no-cr | --no-c | -n ) continue ;;
916 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
917 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
918 continue ;;
919 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
920 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
921 esac
922 case " $ac_configure_args " in
923 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
924 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
925 ac_sep=" " ;;
926 esac
927 # Get rid of the leading space.
928 done
929
930 # When interrupted or exit'd, cleanup temporary files, and complete
931 # config.log. We remove comments because anyway the quotes in there
932 # would cause problems or look ugly.
933 # WARNING: Be sure not to use single quotes in there, as some shells,
934 # such as our DU 5.0 friend, will then `close' the trap.
935 trap 'exit_status=$?
936 # Save into config.log some information that might help in debugging.
937 {
938 echo
939 cat <<\_ASBOX
940 ## ---------------- ##
941 ## Cache variables. ##
942 ## ---------------- ##
943 _ASBOX
944 echo
945 # The following way of writing the cache mishandles newlines in values,
946 {
947 (set) 2>&1 |
948 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
949 *ac_space=\ *)
950 sed -n \
951 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
952 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
953 ;;
954 *)
955 sed -n \
956 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
957 ;;
958 esac;
959 }
960 echo
961 if test -s confdefs.h; then
962 cat <<\_ASBOX
963 ## ----------- ##
964 ## confdefs.h. ##
965 ## ----------- ##
966 _ASBOX
967 echo
968 sed "/^$/d" confdefs.h
969 echo
970 fi
971 test "$ac_signal" != 0 &&
972 echo "$as_me: caught signal $ac_signal"
973 echo "$as_me: exit $exit_status"
974 } >&5
975 rm -f core core.* *.core &&
976 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
977 exit $exit_status
978 ' 0
979 for ac_signal in 1 2 13 15; do
980 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
981 done
982 ac_signal=0
983
984 # confdefs.h avoids OS command line length limits that DEFS can exceed.
985 rm -rf conftest* confdefs.h
986 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
987 echo >confdefs.h
988
989 # Predefined preprocessor variables.
990
991 cat >>confdefs.h <<_ACEOF
992 #define PACKAGE_NAME "$PACKAGE_NAME"
993 _ACEOF
994
995
996 cat >>confdefs.h <<_ACEOF
997 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
998 _ACEOF
999
1000
1001 cat >>confdefs.h <<_ACEOF
1002 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1003 _ACEOF
1004
1005
1006 cat >>confdefs.h <<_ACEOF
1007 #define PACKAGE_STRING "$PACKAGE_STRING"
1008 _ACEOF
1009
1010
1011 cat >>confdefs.h <<_ACEOF
1012 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1013 _ACEOF
1014
1015
1016 # Let the site file select an alternate cache file if it wants to.
1017 # Prefer explicitly selected file to automatically selected ones.
1018 if test -z "$CONFIG_SITE"; then
1019 if test "x$prefix" != xNONE; then
1020 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1021 else
1022 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1023 fi
1024 fi
1025 for ac_site_file in $CONFIG_SITE; do
1026 if test -r "$ac_site_file"; then
1027 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1028 echo "$as_me: loading site script $ac_site_file" >&6;}
1029 sed 's/^/| /' "$ac_site_file" >&5
1030 . "$ac_site_file"
1031 fi
1032 done
1033
1034 if test -r "$cache_file"; then
1035 # Some versions of bash will fail to source /dev/null (special
1036 # files actually), so we avoid doing that.
1037 if test -f "$cache_file"; then
1038 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1039 echo "$as_me: loading cache $cache_file" >&6;}
1040 case $cache_file in
1041 [\\/]* | ?:[\\/]* ) . $cache_file;;
1042 *) . ./$cache_file;;
1043 esac
1044 fi
1045 else
1046 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1047 echo "$as_me: creating cache $cache_file" >&6;}
1048 >$cache_file
1049 fi
1050
1051 # Check that the precious variables saved in the cache have kept the same
1052 # value.
1053 ac_cache_corrupted=false
1054 for ac_var in `(set) 2>&1 |
1055 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1056 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1057 eval ac_new_set=\$ac_env_${ac_var}_set
1058 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1059 eval ac_new_val="\$ac_env_${ac_var}_value"
1060 case $ac_old_set,$ac_new_set in
1061 set,)
1062 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1063 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1064 ac_cache_corrupted=: ;;
1065 ,set)
1066 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1067 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1068 ac_cache_corrupted=: ;;
1069 ,);;
1070 *)
1071 if test "x$ac_old_val" != "x$ac_new_val"; then
1072 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1073 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1074 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1075 echo "$as_me: former value: $ac_old_val" >&2;}
1076 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1077 echo "$as_me: current value: $ac_new_val" >&2;}
1078 ac_cache_corrupted=:
1079 fi;;
1080 esac
1081 # Pass precious variables to config.status.
1082 if test "$ac_new_set" = set; then
1083 case $ac_new_val in
1084 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1085 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1086 *) ac_arg=$ac_var=$ac_new_val ;;
1087 esac
1088 case " $ac_configure_args " in
1089 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1090 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1091 esac
1092 fi
1093 done
1094 if $ac_cache_corrupted; then
1095 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1096 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1097 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1098 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1099 { (exit 1); exit 1; }; }
1100 fi
1101
1102 ac_ext=c
1103 ac_cpp='$CPP $CPPFLAGS'
1104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133 ac_aux_dir=
1134 for ac_dir in tools $srcdir/tools; do
1135 if test -f $ac_dir/install-sh; then
1136 ac_aux_dir=$ac_dir
1137 ac_install_sh="$ac_aux_dir/install-sh -c"
1138 break
1139 elif test -f $ac_dir/install.sh; then
1140 ac_aux_dir=$ac_dir
1141 ac_install_sh="$ac_aux_dir/install.sh -c"
1142 break
1143 elif test -f $ac_dir/shtool; then
1144 ac_aux_dir=$ac_dir
1145 ac_install_sh="$ac_aux_dir/shtool install -c"
1146 break
1147 fi
1148 done
1149 if test -z "$ac_aux_dir"; then
1150 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1151 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1152 { (exit 1); exit 1; }; }
1153 fi
1154 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1155 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1156 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1157
1158
1159 am__api_version="1.6"
1160 # Find a good install program. We prefer a C program (faster),
1161 # so one script is as good as another. But avoid the broken or
1162 # incompatible versions:
1163 # SysV /etc/install, /usr/sbin/install
1164 # SunOS /usr/etc/install
1165 # IRIX /sbin/install
1166 # AIX /bin/install
1167 # AmigaOS /C/install, which installs bootblocks on floppy discs
1168 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1169 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1170 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1171 # ./install, which can be erroneously created by make from ./install.sh.
1172 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1173 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1174 if test -z "$INSTALL"; then
1175 if test "${ac_cv_path_install+set}" = set; then
1176 echo $ECHO_N "(cached) $ECHO_C" >&6
1177 else
1178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1179 for as_dir in $PATH
1180 do
1181 IFS=$as_save_IFS
1182 test -z "$as_dir" && as_dir=.
1183 # Account for people who put trailing slashes in PATH elements.
1184 case $as_dir/ in
1185 ./ | .// | /cC/* | \
1186 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1187 /usr/ucb/* ) ;;
1188 *)
1189 # OSF1 and SCO ODT 3.0 have their own names for install.
1190 # Don't use installbsd from OSF since it installs stuff as root
1191 # by default.
1192 for ac_prog in ginstall scoinst install; do
1193 for ac_exec_ext in '' $ac_executable_extensions; do
1194 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1195 if test $ac_prog = install &&
1196 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1197 # AIX install. It has an incompatible calling convention.
1198 :
1199 elif test $ac_prog = install &&
1200 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1201 # program-specific install script used by HP pwplus--don't use.
1202 :
1203 else
1204 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1205 break 3
1206 fi
1207 fi
1208 done
1209 done
1210 ;;
1211 esac
1212 done
1213
1214
1215 fi
1216 if test "${ac_cv_path_install+set}" = set; then
1217 INSTALL=$ac_cv_path_install
1218 else
1219 # As a last resort, use the slow shell script. We don't cache a
1220 # path for INSTALL within a source directory, because that will
1221 # break other packages using the cache if that directory is
1222 # removed, or if the path is relative.
1223 INSTALL=$ac_install_sh
1224 fi
1225 fi
1226 echo "$as_me:$LINENO: result: $INSTALL" >&5
1227 echo "${ECHO_T}$INSTALL" >&6
1228
1229 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1230 # It thinks the first close brace ends the variable substitution.
1231 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1232
1233 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1234
1235 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1236
1237 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1238 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1239 # Just in case
1240 sleep 1
1241 echo timestamp > conftest.file
1242 # Do `set' in a subshell so we don't clobber the current shell's
1243 # arguments. Must try -L first in case configure is actually a
1244 # symlink; some systems play weird games with the mod time of symlinks
1245 # (eg FreeBSD returns the mod time of the symlink's containing
1246 # directory).
1247 if (
1248 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1249 if test "$*" = "X"; then
1250 # -L didn't work.
1251 set X `ls -t $srcdir/configure conftest.file`
1252 fi
1253 rm -f conftest.file
1254 if test "$*" != "X $srcdir/configure conftest.file" \
1255 && test "$*" != "X conftest.file $srcdir/configure"; then
1256
1257 # If neither matched, then we have a broken ls. This can happen
1258 # if, for instance, CONFIG_SHELL is bash and it inherits a
1259 # broken ls alias from the environment. This has actually
1260 # happened. Such a system could not be considered "sane".
1261 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1262 alias in your environment" >&5
1263 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1264 alias in your environment" >&2;}
1265 { (exit 1); exit 1; }; }
1266 fi
1267
1268 test "$2" = conftest.file
1269 )
1270 then
1271 # Ok.
1272 :
1273 else
1274 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1275 Check your system clock" >&5
1276 echo "$as_me: error: newly created file is older than distributed files!
1277 Check your system clock" >&2;}
1278 { (exit 1); exit 1; }; }
1279 fi
1280 echo "$as_me:$LINENO: result: yes" >&5
1281 echo "${ECHO_T}yes" >&6
1282 test "$program_prefix" != NONE &&
1283 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1284 # Use a double $ so make ignores it.
1285 test "$program_suffix" != NONE &&
1286 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1287 # Double any \ or $. echo might interpret backslashes.
1288 # By default was `s,x,x', remove it if useless.
1289 cat <<\_ACEOF >conftest.sed
1290 s/[\\$]/&&/g;s/;s,x,x,$//
1291 _ACEOF
1292 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1293 rm conftest.sed
1294
1295
1296 # expand $ac_aux_dir to an absolute path
1297 am_aux_dir=`cd $ac_aux_dir && pwd`
1298
1299 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1300 # Use eval to expand $SHELL
1301 if eval "$MISSING --run true"; then
1302 am_missing_run="$MISSING --run "
1303 else
1304 am_missing_run=
1305 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1306 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1307 fi
1308
1309 for ac_prog in gawk mawk nawk awk
1310 do
1311 # Extract the first word of "$ac_prog", so it can be a program name with args.
1312 set dummy $ac_prog; ac_word=$2
1313 echo "$as_me:$LINENO: checking for $ac_word" >&5
1314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1315 if test "${ac_cv_prog_AWK+set}" = set; then
1316 echo $ECHO_N "(cached) $ECHO_C" >&6
1317 else
1318 if test -n "$AWK"; then
1319 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1320 else
1321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1322 for as_dir in $PATH
1323 do
1324 IFS=$as_save_IFS
1325 test -z "$as_dir" && as_dir=.
1326 for ac_exec_ext in '' $ac_executable_extensions; do
1327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1328 ac_cv_prog_AWK="$ac_prog"
1329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1330 break 2
1331 fi
1332 done
1333 done
1334
1335 fi
1336 fi
1337 AWK=$ac_cv_prog_AWK
1338 if test -n "$AWK"; then
1339 echo "$as_me:$LINENO: result: $AWK" >&5
1340 echo "${ECHO_T}$AWK" >&6
1341 else
1342 echo "$as_me:$LINENO: result: no" >&5
1343 echo "${ECHO_T}no" >&6
1344 fi
1345
1346 test -n "$AWK" && break
1347 done
1348
1349 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1350 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1351 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1352 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1353 echo $ECHO_N "(cached) $ECHO_C" >&6
1354 else
1355 cat >conftest.make <<\_ACEOF
1356 all:
1357 @echo 'ac_maketemp="${MAKE}"'
1358 _ACEOF
1359 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1360 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1361 if test -n "$ac_maketemp"; then
1362 eval ac_cv_prog_make_${ac_make}_set=yes
1363 else
1364 eval ac_cv_prog_make_${ac_make}_set=no
1365 fi
1366 rm -f conftest.make
1367 fi
1368 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1369 echo "$as_me:$LINENO: result: yes" >&5
1370 echo "${ECHO_T}yes" >&6
1371 SET_MAKE=
1372 else
1373 echo "$as_me:$LINENO: result: no" >&5
1374 echo "${ECHO_T}no" >&6
1375 SET_MAKE="MAKE=${MAKE-make}"
1376 fi
1377
1378 # test to see if srcdir already configured
1379 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1380 test -f $srcdir/config.status; then
1381 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1382 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1383 { (exit 1); exit 1; }; }
1384 fi
1385
1386 # Define the identity of the package.
1387 PACKAGE=heroes-data
1388 VERSION=1.5
1389
1390
1391 cat >>confdefs.h <<_ACEOF
1392 #define PACKAGE "$PACKAGE"
1393 _ACEOF
1394
1395
1396 cat >>confdefs.h <<_ACEOF
1397 #define VERSION "$VERSION"
1398 _ACEOF
1399
1400 # Some tools Automake needs.
1401
1402 ACLOCAL=${ACLOCAL-"${am_missing_run}"aclocal-${am__api_version}""}
1403
1404
1405 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1406
1407
1408 AUTOMAKE=${AUTOMAKE-"${am_missing_run}"automake-${am__api_version}""}
1409
1410
1411 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1412
1413
1414 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1415
1416
1417 AMTAR=${AMTAR-"${am_missing_run}tar"}
1418
1419 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1420
1421 # Installed binaries are usually stripped using `strip' when the user
1422 # run `make install-strip'. However `strip' might not be the right
1423 # tool to use in cross-compilation environments, therefore Automake
1424 # will honor the `STRIP' environment variable to overrule this program.
1425 if test "$cross_compiling" != no; then
1426 if test -n "$ac_tool_prefix"; then
1427 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1428 set dummy ${ac_tool_prefix}strip; ac_word=$2
1429 echo "$as_me:$LINENO: checking for $ac_word" >&5
1430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1431 if test "${ac_cv_prog_STRIP+set}" = set; then
1432 echo $ECHO_N "(cached) $ECHO_C" >&6
1433 else
1434 if test -n "$STRIP"; then
1435 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1436 else
1437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1438 for as_dir in $PATH
1439 do
1440 IFS=$as_save_IFS
1441 test -z "$as_dir" && as_dir=.
1442 for ac_exec_ext in '' $ac_executable_extensions; do
1443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1444 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1446 break 2
1447 fi
1448 done
1449 done
1450
1451 fi
1452 fi
1453 STRIP=$ac_cv_prog_STRIP
1454 if test -n "$STRIP"; then
1455 echo "$as_me:$LINENO: result: $STRIP" >&5
1456 echo "${ECHO_T}$STRIP" >&6
1457 else
1458 echo "$as_me:$LINENO: result: no" >&5
1459 echo "${ECHO_T}no" >&6
1460 fi
1461
1462 fi
1463 if test -z "$ac_cv_prog_STRIP"; then
1464 ac_ct_STRIP=$STRIP
1465 # Extract the first word of "strip", so it can be a program name with args.
1466 set dummy strip; ac_word=$2
1467 echo "$as_me:$LINENO: checking for $ac_word" >&5
1468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1469 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1470 echo $ECHO_N "(cached) $ECHO_C" >&6
1471 else
1472 if test -n "$ac_ct_STRIP"; then
1473 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1474 else
1475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1476 for as_dir in $PATH
1477 do
1478 IFS=$as_save_IFS
1479 test -z "$as_dir" && as_dir=.
1480 for ac_exec_ext in '' $ac_executable_extensions; do
1481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1482 ac_cv_prog_ac_ct_STRIP="strip"
1483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1484 break 2
1485 fi
1486 done
1487 done
1488
1489 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1490 fi
1491 fi
1492 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1493 if test -n "$ac_ct_STRIP"; then
1494 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1495 echo "${ECHO_T}$ac_ct_STRIP" >&6
1496 else
1497 echo "$as_me:$LINENO: result: no" >&5
1498 echo "${ECHO_T}no" >&6
1499 fi
1500
1501 STRIP=$ac_ct_STRIP
1502 else
1503 STRIP="$ac_cv_prog_STRIP"
1504 fi
1505
1506 fi
1507 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1508
1509 # We need awk for the "check" target. The system "awk" is bad on
1510 # some platforms.
1511
1512
1513
1514
1515 ac_config_files="$ac_config_files Makefile"
1516 cat >confcache <<\_ACEOF
1517 # This file is a shell script that caches the results of configure
1518 # tests run on this system so they can be shared between configure
1519 # scripts and configure runs, see configure's option --config-cache.
1520 # It is not useful on other systems. If it contains results you don't
1521 # want to keep, you may remove or edit it.
1522 #
1523 # config.status only pays attention to the cache file if you give it
1524 # the --recheck option to rerun configure.
1525 #
1526 # `ac_cv_env_foo' variables (set or unset) will be overriden when
1527 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1528 # following values.
1529
1530 _ACEOF
1531
1532 # The following way of writing the cache mishandles newlines in values,
1533 # but we know of no workaround that is simple, portable, and efficient.
1534 # So, don't put newlines in cache variables' values.
1535 # Ultrix sh set writes to stderr and can't be redirected directly,
1536 # and sets the high bit in the cache file unless we assign to the vars.
1537 {
1538 (set) 2>&1 |
1539 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1540 *ac_space=\ *)
1541 # `set' does not quote correctly, so add quotes (double-quote
1542 # substitution turns \\\\ into \\, and sed turns \\ into \).
1543 sed -n \
1544 "s/'/'\\\\''/g;
1545 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1546 ;;
1547 *)
1548 # `set' quotes correctly as required by POSIX, so do not add quotes.
1549 sed -n \
1550 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1551 ;;
1552 esac;
1553 } |
1554 sed '
1555 t clear
1556 : clear
1557 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1558 t end
1559 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1560 : end' >>confcache
1561 if cmp -s $cache_file confcache; then :; else
1562 if test -w $cache_file; then
1563 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1564 cat confcache >$cache_file
1565 else
1566 echo "not updating unwritable cache $cache_file"
1567 fi
1568 fi
1569 rm -f confcache
1570
1571 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1572 # Let make expand exec_prefix.
1573 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1574
1575 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1576 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1577 # trailing colons and then remove the whole line if VPATH becomes empty
1578 # (actually we leave an empty line to preserve line numbers).
1579 if test "x$srcdir" = x.; then
1580 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1581 s/:*\$(srcdir):*/:/;
1582 s/:*\${srcdir}:*/:/;
1583 s/:*@srcdir@:*/:/;
1584 s/^\([^=]*=[ ]*\):*/\1/;
1585 s/:*$//;
1586 s/^[^=]*=[ ]*$//;
1587 }'
1588 fi
1589
1590 # Transform confdefs.h into DEFS.
1591 # Protect against shell expansion while executing Makefile rules.
1592 # Protect against Makefile macro expansion.
1593 #
1594 # If the first sed substitution is executed (which looks for macros that
1595 # take arguments), then we branch to the quote section. Otherwise,
1596 # look for a macro that doesn't take arguments.
1597 cat >confdef2opt.sed <<\_ACEOF
1598 t clear
1599 : clear
1600 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1601 t quote
1602 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1603 t quote
1604 d
1605 : quote
1606 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1607 s,\[,\\&,g
1608 s,\],\\&,g
1609 s,\$,$$,g
1610 p
1611 _ACEOF
1612 # We use echo to avoid assuming a particular line-breaking character.
1613 # The extra dot is to prevent the shell from consuming trailing
1614 # line-breaks from the sub-command output. A line-break within
1615 # single-quotes doesn't work because, if this script is created in a
1616 # platform that uses two characters for line-breaks (e.g., DOS), tr
1617 # would break.
1618 ac_LF_and_DOT=`echo; echo .`
1619 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1620 rm -f confdef2opt.sed
1621
1622
1623
1624 : ${CONFIG_STATUS=./config.status}
1625 ac_clean_files_save=$ac_clean_files
1626 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1627 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1628 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1629 cat >$CONFIG_STATUS <<_ACEOF
1630 #! $SHELL
1631 # Generated by $as_me.
1632 # Run this file to recreate the current configuration.
1633 # Compiler output produced by configure, useful for debugging
1634 # configure, is in config.log if it exists.
1635
1636 debug=false
1637 SHELL=\${CONFIG_SHELL-$SHELL}
1638 _ACEOF
1639
1640 cat >>$CONFIG_STATUS <<\_ACEOF
1641
1642 ## --------------------- ##
1643 ## M4sh Initialization. ##
1644 ## --------------------- ##
1645
1646 # Be Bourne compatible
1647 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1648 emulate sh
1649 NULLCMD=:
1650 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1651 set -o posix
1652 fi
1653
1654 # NLS nuisances.
1655 # Support unset when possible.
1656 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1657 as_unset=unset
1658 else
1659 as_unset=false
1660 fi
1661
1662 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
1663 { $as_unset LANG || test "${LANG+set}" != set; } ||
1664 { LANG=C; export LANG; }
1665 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
1666 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
1667 { LC_ALL=C; export LC_ALL; }
1668 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
1669 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
1670 { LC_TIME=C; export LC_TIME; }
1671 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
1672 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
1673 { LC_CTYPE=C; export LC_CTYPE; }
1674 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
1675 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
1676 { LANGUAGE=C; export LANGUAGE; }
1677 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
1678 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
1679 { LC_COLLATE=C; export LC_COLLATE; }
1680 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
1681 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
1682 { LC_NUMERIC=C; export LC_NUMERIC; }
1683 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
1684 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
1685 { LC_MESSAGES=C; export LC_MESSAGES; }
1686
1687
1688 # Name of the executable.
1689 as_me=`(basename "$0") 2>/dev/null ||
1690 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1691 X"$0" : 'X\(//\)$' \| \
1692 X"$0" : 'X\(/\)$' \| \
1693 . : '\(.\)' 2>/dev/null ||
1694 echo X/"$0" |
1695 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1696 /^X\/\(\/\/\)$/{ s//\1/; q; }
1697 /^X\/\(\/\).*/{ s//\1/; q; }
1698 s/.*/./; q'`
1699
1700 # PATH needs CR, and LINENO needs CR and PATH.
1701 # Avoid depending upon Character Ranges.
1702 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1703 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1704 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1705 as_cr_digits='0123456789'
1706 as_cr_alnum=$as_cr_Letters$as_cr_digits
1707
1708 # The user is always right.
1709 if test "${PATH_SEPARATOR+set}" != set; then
1710 echo "#! /bin/sh" >conftest.sh
1711 echo "exit 0" >>conftest.sh
1712 chmod +x conftest.sh
1713 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
1714 PATH_SEPARATOR=';'
1715 else
1716 PATH_SEPARATOR=:
1717 fi
1718 rm -f conftest.sh
1719 fi
1720
1721
1722 as_lineno_1=$LINENO
1723 as_lineno_2=$LINENO
1724 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1725 test "x$as_lineno_1" != "x$as_lineno_2" &&
1726 test "x$as_lineno_3" = "x$as_lineno_2" || {
1727 # Find who we are. Look in the path if we contain no path at all
1728 # relative or not.
1729 case $0 in
1730 *[\\/]* ) as_myself=$0 ;;
1731 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1732 for as_dir in $PATH
1733 do
1734 IFS=$as_save_IFS
1735 test -z "$as_dir" && as_dir=.
1736 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1737 done
1738
1739 ;;
1740 esac
1741 # We did not find ourselves, most probably we were run as `sh COMMAND'
1742 # in which case we are not to be found in the path.
1743 if test "x$as_myself" = x; then
1744 as_myself=$0
1745 fi
1746 if test ! -f "$as_myself"; then
1747 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1748 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1749 { (exit 1); exit 1; }; }
1750 fi
1751 case $CONFIG_SHELL in
1752 '')
1753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1754 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1755 do
1756 IFS=$as_save_IFS
1757 test -z "$as_dir" && as_dir=.
1758 for as_base in sh bash ksh sh5; do
1759 case $as_dir in
1760 /*)
1761 if ("$as_dir/$as_base" -c '
1762 as_lineno_1=$LINENO
1763 as_lineno_2=$LINENO
1764 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1765 test "x$as_lineno_1" != "x$as_lineno_2" &&
1766 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1767 CONFIG_SHELL=$as_dir/$as_base
1768 export CONFIG_SHELL
1769 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1770 fi;;
1771 esac
1772 done
1773 done
1774 ;;
1775 esac
1776
1777 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1778 # uniformly replaced by the line number. The first 'sed' inserts a
1779 # line-number line before each line; the second 'sed' does the real
1780 # work. The second script uses 'N' to pair each line-number line
1781 # with the numbered line, and appends trailing '-' during
1782 # substitution so that $LINENO is not a special case at line end.
1783 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1784 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1785 sed '=' <$as_myself |
1786 sed '
1787 N
1788 s,$,-,
1789 : loop
1790 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1791 t loop
1792 s,-$,,
1793 s,^['$as_cr_digits']*\n,,
1794 ' >$as_me.lineno &&
1795 chmod +x $as_me.lineno ||
1796 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1797 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1798 { (exit 1); exit 1; }; }
1799
1800 # Don't try to exec as it changes $[0], causing all sort of problems
1801 # (the dirname of $[0] is not the place where we might find the
1802 # original and so on. Autoconf is especially sensible to this).
1803 . ./$as_me.lineno
1804 # Exit status is that of the last command.
1805 exit
1806 }
1807
1808
1809 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1810 *c*,-n*) ECHO_N= ECHO_C='
1811 ' ECHO_T=' ' ;;
1812 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1813 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1814 esac
1815
1816 if expr a : '\(a\)' >/dev/null 2>&1; then
1817 as_expr=expr
1818 else
1819 as_expr=false
1820 fi
1821
1822 rm -f conf$$ conf$$.exe conf$$.file
1823 echo >conf$$.file
1824 if ln -s conf$$.file conf$$ 2>/dev/null; then
1825 # We could just check for DJGPP; but this test a) works b) is more generic
1826 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1827 if test -f conf$$.exe; then
1828 # Don't use ln at all; we don't have any links
1829 as_ln_s='cp -p'
1830 else
1831 as_ln_s='ln -s'
1832 fi
1833 elif ln conf$$.file conf$$ 2>/dev/null; then
1834 as_ln_s=ln
1835 else
1836 as_ln_s='cp -p'
1837 fi
1838 rm -f conf$$ conf$$.exe conf$$.file
1839
1840 as_executable_p="test -f"
1841
1842 # Sed expression to map a string onto a valid CPP name.
1843 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
1844
1845 # Sed expression to map a string onto a valid variable name.
1846 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
1847
1848
1849 # IFS
1850 # We need space, tab and new line, in precisely that order.
1851 as_nl='
1852 '
1853 IFS=" $as_nl"
1854
1855 # CDPATH.
1856 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
1857
1858 exec 6>&1
1859
1860 # Open the log real soon, to keep \$[0] and so on meaningful, and to
1861 # report actual input values of CONFIG_FILES etc. instead of their
1862 # values after options handling. Logging --version etc. is OK.
1863 exec 5>>config.log
1864 {
1865 echo
1866 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1867 ## Running $as_me. ##
1868 _ASBOX
1869 } >&5
1870 cat >&5 <<_CSEOF
1871
1872 This file was extended by heroes-data $as_me 1.5, which was
1873 generated by GNU Autoconf 2.53. Invocation command line was
1874
1875 CONFIG_FILES = $CONFIG_FILES
1876 CONFIG_HEADERS = $CONFIG_HEADERS
1877 CONFIG_LINKS = $CONFIG_LINKS
1878 CONFIG_COMMANDS = $CONFIG_COMMANDS
1879 $ $0 $@
1880
1881 _CSEOF
1882 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1883 echo >&5
1884 _ACEOF
1885
1886 # Files that config.status was made for.
1887 if test -n "$ac_config_files"; then
1888 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1889 fi
1890
1891 if test -n "$ac_config_headers"; then
1892 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1893 fi
1894
1895 if test -n "$ac_config_links"; then
1896 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1897 fi
1898
1899 if test -n "$ac_config_commands"; then
1900 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1901 fi
1902
1903 cat >>$CONFIG_STATUS <<\_ACEOF
1904
1905 ac_cs_usage="\
1906 \`$as_me' instantiates files from templates according to the
1907 current configuration.
1908
1909 Usage: $0 [OPTIONS] [FILE]...
1910
1911 -h, --help print this help, then exit
1912 -V, --version print version number, then exit
1913 -d, --debug don't remove temporary files
1914 --recheck update $as_me by reconfiguring in the same conditions
1915 --file=FILE[:TEMPLATE]
1916 instantiate the configuration file FILE
1917
1918 Configuration files:
1919 $config_files
1920
1921 Report bugs to <bug-autoconf@gnu.org>."
1922 _ACEOF
1923
1924 cat >>$CONFIG_STATUS <<_ACEOF
1925 ac_cs_version="\\
1926 heroes-data config.status 1.5
1927 configured by $0, generated by GNU Autoconf 2.53,
1928 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1929
1930 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
1931 Free Software Foundation, Inc.
1932 This config.status script is free software; the Free Software Foundation
1933 gives unlimited permission to copy, distribute and modify it."
1934 srcdir=$srcdir
1935 INSTALL="$INSTALL"
1936 _ACEOF
1937
1938 cat >>$CONFIG_STATUS <<\_ACEOF
1939 # If no file are specified by the user, then we need to provide default
1940 # value. By we need to know if files were specified by the user.
1941 ac_need_defaults=:
1942 while test $# != 0
1943 do
1944 case $1 in
1945 --*=*)
1946 ac_option=`expr "x$1" : 'x\([^=]*\)='`
1947 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1948 shift
1949 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
1950 shift
1951 ;;
1952 -*);;
1953 *) # This is not an option, so the user has probably given explicit
1954 # arguments.
1955 ac_need_defaults=false;;
1956 esac
1957
1958 case $1 in
1959 # Handling of the options.
1960 _ACEOF
1961 cat >>$CONFIG_STATUS <<_ACEOF
1962 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1963 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
1964 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
1965 _ACEOF
1966 cat >>$CONFIG_STATUS <<\_ACEOF
1967 --version | --vers* | -V )
1968 echo "$ac_cs_version"; exit 0 ;;
1969 --he | --h)
1970 # Conflict between --help and --header
1971 { { echo "$as_me:$LINENO: error: ambiguous option: $1
1972 Try \`$0 --help' for more information." >&5
1973 echo "$as_me: error: ambiguous option: $1
1974 Try \`$0 --help' for more information." >&2;}
1975 { (exit 1); exit 1; }; };;
1976 --help | --hel | -h )
1977 echo "$ac_cs_usage"; exit 0 ;;
1978 --debug | --d* | -d )
1979 debug=: ;;
1980 --file | --fil | --fi | --f )
1981 shift
1982 CONFIG_FILES="$CONFIG_FILES $1"
1983 ac_need_defaults=false;;
1984 --header | --heade | --head | --hea )
1985 shift
1986 CONFIG_HEADERS="$CONFIG_HEADERS $1"
1987 ac_need_defaults=false;;
1988
1989 # This is an error.
1990 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
1991 Try \`$0 --help' for more information." >&5
1992 echo "$as_me: error: unrecognized option: $1
1993 Try \`$0 --help' for more information." >&2;}
1994 { (exit 1); exit 1; }; } ;;
1995
1996 *) ac_config_targets="$ac_config_targets $1" ;;
1997
1998 esac
1999 shift
2000 done
2001
2002 _ACEOF
2003
2004
2005
2006
2007
2008 cat >>$CONFIG_STATUS <<\_ACEOF
2009 for ac_config_target in $ac_config_targets
2010 do
2011 case "$ac_config_target" in
2012 # Handling of arguments.
2013 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2014 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2015 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2016 { (exit 1); exit 1; }; };;
2017 esac
2018 done
2019
2020 # If the user did not use the arguments to specify the items to instantiate,
2021 # then the envvar interface is used. Set only those that are not.
2022 # We use the long form for the default assignment because of an extremely
2023 # bizarre bug on SunOS 4.1.3.
2024 if $ac_need_defaults; then
2025 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2026 fi
2027
2028 # Create a temporary directory, and hook for its removal unless debugging.
2029 $debug ||
2030 {
2031 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2032 trap '{ (exit 1); exit 1; }' 1 2 13 15
2033 }
2034
2035 # Create a (secure) tmp directory for tmp files.
2036 : ${TMPDIR=/tmp}
2037 {
2038 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2039 test -n "$tmp" && test -d "$tmp"
2040 } ||
2041 {
2042 tmp=$TMPDIR/cs$$-$RANDOM
2043 (umask 077 && mkdir $tmp)
2044 } ||
2045 {
2046 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2047 { (exit 1); exit 1; }
2048 }
2049
2050 _ACEOF
2051
2052 cat >>$CONFIG_STATUS <<_ACEOF
2053
2054 #
2055 # CONFIG_FILES section.
2056 #
2057
2058 # No need to generate the scripts if there are no CONFIG_FILES.
2059 # This happens for instance when ./config.status config.h
2060 if test -n "\$CONFIG_FILES"; then
2061 # Protect against being on the right side of a sed subst in config.status.
2062 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2063 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2064 s,@SHELL@,$SHELL,;t t
2065 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2066 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2067 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2068 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2069 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2070 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2071 s,@exec_prefix@,$exec_prefix,;t t
2072 s,@prefix@,$prefix,;t t
2073 s,@program_transform_name@,$program_transform_name,;t t
2074 s,@bindir@,$bindir,;t t
2075 s,@sbindir@,$sbindir,;t t
2076 s,@libexecdir@,$libexecdir,;t t
2077 s,@datadir@,$datadir,;t t
2078 s,@sysconfdir@,$sysconfdir,;t t
2079 s,@sharedstatedir@,$sharedstatedir,;t t
2080 s,@localstatedir@,$localstatedir,;t t
2081 s,@libdir@,$libdir,;t t
2082 s,@includedir@,$includedir,;t t
2083 s,@oldincludedir@,$oldincludedir,;t t
2084 s,@infodir@,$infodir,;t t
2085 s,@mandir@,$mandir,;t t
2086 s,@build_alias@,$build_alias,;t t
2087 s,@host_alias@,$host_alias,;t t
2088 s,@target_alias@,$target_alias,;t t
2089 s,@DEFS@,$DEFS,;t t
2090 s,@ECHO_C@,$ECHO_C,;t t
2091 s,@ECHO_N@,$ECHO_N,;t t
2092 s,@ECHO_T@,$ECHO_T,;t t
2093 s,@LIBS@,$LIBS,;t t
2094 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2095 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2096 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2097 s,@PACKAGE@,$PACKAGE,;t t
2098 s,@VERSION@,$VERSION,;t t
2099 s,@ACLOCAL@,$ACLOCAL,;t t
2100 s,@AUTOCONF@,$AUTOCONF,;t t
2101 s,@AUTOMAKE@,$AUTOMAKE,;t t
2102 s,@AUTOHEADER@,$AUTOHEADER,;t t
2103 s,@MAKEINFO@,$MAKEINFO,;t t
2104 s,@AMTAR@,$AMTAR,;t t
2105 s,@install_sh@,$install_sh,;t t
2106 s,@STRIP@,$STRIP,;t t
2107 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2108 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2109 s,@AWK@,$AWK,;t t
2110 s,@SET_MAKE@,$SET_MAKE,;t t
2111 CEOF
2112
2113 _ACEOF
2114
2115 cat >>$CONFIG_STATUS <<\_ACEOF
2116 # Split the substitutions into bite-sized pieces for seds with
2117 # small command number limits, like on Digital OSF/1 and HP-UX.
2118 ac_max_sed_lines=48
2119 ac_sed_frag=1 # Number of current file.
2120 ac_beg=1 # First line for current file.
2121 ac_end=$ac_max_sed_lines # Line after last line for current file.
2122 ac_more_lines=:
2123 ac_sed_cmds=
2124 while $ac_more_lines; do
2125 if test $ac_beg -gt 1; then
2126 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2127 else
2128 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2129 fi
2130 if test ! -s $tmp/subs.frag; then
2131 ac_more_lines=false
2132 else
2133 # The purpose of the label and of the branching condition is to
2134 # speed up the sed processing (if there are no `@' at all, there
2135 # is no need to browse any of the substitutions).
2136 # These are the two extra sed commands mentioned above.
2137 (echo ':t
2138 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2139 if test -z "$ac_sed_cmds"; then
2140 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2141 else
2142 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2143 fi
2144 ac_sed_frag=`expr $ac_sed_frag + 1`
2145 ac_beg=$ac_end
2146 ac_end=`expr $ac_end + $ac_max_sed_lines`
2147 fi
2148 done
2149 if test -z "$ac_sed_cmds"; then
2150 ac_sed_cmds=cat
2151 fi
2152 fi # test -n "$CONFIG_FILES"
2153
2154 _ACEOF
2155 cat >>$CONFIG_STATUS <<\_ACEOF
2156 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2157 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2158 case $ac_file in
2159 - | *:- | *:-:* ) # input from stdin
2160 cat >$tmp/stdin
2161 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2162 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2163 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2164 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2165 * ) ac_file_in=$ac_file.in ;;
2166 esac
2167
2168 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2169 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2170 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2171 X"$ac_file" : 'X\(//\)[^/]' \| \
2172 X"$ac_file" : 'X\(//\)$' \| \
2173 X"$ac_file" : 'X\(/\)' \| \
2174 . : '\(.\)' 2>/dev/null ||
2175 echo X"$ac_file" |
2176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2177 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2178 /^X\(\/\/\)$/{ s//\1/; q; }
2179 /^X\(\/\).*/{ s//\1/; q; }
2180 s/.*/./; q'`
2181 { case "$ac_dir" in
2182 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2183 *) as_incr_dir=.;;
2184 esac
2185 as_dummy="$ac_dir"
2186 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2187 case $as_mkdir_dir in
2188 # Skip DOS drivespec
2189 ?:) as_incr_dir=$as_mkdir_dir ;;
2190 *)
2191 as_incr_dir=$as_incr_dir/$as_mkdir_dir
2192 test -d "$as_incr_dir" ||
2193 mkdir "$as_incr_dir" ||
2194 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
2195 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
2196 { (exit 1); exit 1; }; }
2197 ;;
2198 esac
2199 done; }
2200
2201 ac_builddir=.
2202
2203 if test "$ac_dir" != .; then
2204 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2205 # A "../" for each directory in $ac_dir_suffix.
2206 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2207 else
2208 ac_dir_suffix= ac_top_builddir=
2209 fi
2210
2211 case $srcdir in
2212 .) # No --srcdir option. We are building in place.
2213 ac_srcdir=.
2214 if test -z "$ac_top_builddir"; then
2215 ac_top_srcdir=.
2216 else
2217 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2218 fi ;;
2219 [\\/]* | ?:[\\/]* ) # Absolute path.
2220 ac_srcdir=$srcdir$ac_dir_suffix;
2221 ac_top_srcdir=$srcdir ;;
2222 *) # Relative path.
2223 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2224 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2225 esac
2226 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2227 # absolute.
2228 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2229 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
2230 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2231 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2232
2233
2234 case $INSTALL in
2235 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2236 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2237 esac
2238
2239 if test x"$ac_file" != x-; then
2240 { echo "$as_me:$LINENO: creating $ac_file" >&5
2241 echo "$as_me: creating $ac_file" >&6;}
2242 rm -f "$ac_file"
2243 fi
2244 # Let's still pretend it is `configure' which instantiates (i.e., don't
2245 # use $as_me), people would be surprised to read:
2246 # /* config.h. Generated by config.status. */
2247 if test x"$ac_file" = x-; then
2248 configure_input=
2249 else
2250 configure_input="$ac_file. "
2251 fi
2252 configure_input=$configure_input"Generated from `echo $ac_file_in |
2253 sed 's,.*/,,'` by configure."
2254
2255 # First look for the input files in the build tree, otherwise in the
2256 # src tree.
2257 ac_file_inputs=`IFS=:
2258 for f in $ac_file_in; do
2259 case $f in
2260 -) echo $tmp/stdin ;;
2261 [\\/$]*)
2262 # Absolute (can't be DOS-style, as IFS=:)
2263 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2264 echo "$as_me: error: cannot find input file: $f" >&2;}
2265 { (exit 1); exit 1; }; }
2266 echo $f;;
2267 *) # Relative
2268 if test -f "$f"; then
2269 # Build tree
2270 echo $f
2271 elif test -f "$srcdir/$f"; then
2272 # Source tree
2273 echo $srcdir/$f
2274 else
2275 # /dev/null tree
2276 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2277 echo "$as_me: error: cannot find input file: $f" >&2;}
2278 { (exit 1); exit 1; }; }
2279 fi;;
2280 esac
2281 done` || { (exit 1); exit 1; }
2282 _ACEOF
2283 cat >>$CONFIG_STATUS <<_ACEOF
2284 sed "$ac_vpsub
2285 $extrasub
2286 _ACEOF
2287 cat >>$CONFIG_STATUS <<\_ACEOF
2288 :t
2289 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2290 s,@configure_input@,$configure_input,;t t
2291 s,@srcdir@,$ac_srcdir,;t t
2292 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2293 s,@top_srcdir@,$ac_top_srcdir,;t t
2294 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2295 s,@builddir@,$ac_builddir,;t t
2296 s,@abs_builddir@,$ac_abs_builddir,;t t
2297 s,@top_builddir@,$ac_top_builddir,;t t
2298 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2299 s,@INSTALL@,$ac_INSTALL,;t t
2300 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2301 rm -f $tmp/stdin
2302 if test x"$ac_file" != x-; then
2303 mv $tmp/out $ac_file
2304 else
2305 cat $tmp/out
2306 rm -f $tmp/out
2307 fi
2308
2309 done
2310 _ACEOF
2311
2312 cat >>$CONFIG_STATUS <<\_ACEOF
2313
2314 { (exit 0); exit 0; }
2315 _ACEOF
2316 chmod +x $CONFIG_STATUS
2317 ac_clean_files=$ac_clean_files_save
2318
2319
2320 # configure is writing to config.log, and then calls config.status.
2321 # config.status does its own redirection, appending to config.log.
2322 # Unfortunately, on DOS this fails, as config.log is still kept open
2323 # by configure, so config.status won't be able to write to it; its
2324 # output is simply discarded. So we exec the FD to /dev/null,
2325 # effectively closing config.log, so it can be properly (re)opened and
2326 # appended to by config.status. When coming back to configure, we
2327 # need to make the FD available again.
2328 if test "$no_create" != yes; then
2329 ac_cs_success=:
2330 exec 5>/dev/null
2331 $SHELL $CONFIG_STATUS || ac_cs_success=false
2332 exec 5>>config.log
2333 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2334 # would make configure fail if this is the last instruction.
2335 $ac_cs_success || { (exit 1); exit 1; }
2336 fi
2337
2338
2339 eval datadir=$datadir
2340
2341 echo "
2342 Heroes data configuration
2343 -------------------------
2344 heroes-data version : $VERSION
2345 data install path : ${datadir}/heroes"
0 dnl Copyright 2000, 2001 Alexandre Duret-Lutz <duret_g@epita.fr>
1 dnl
2 dnl This file is part of Heroes.
3 dnl
4 dnl Heroes is free software; you can redistribute it and/or modify it under
5 dnl the terms of the GNU General Public License as published by the Free
6 dnl Software Foundation; either version 2 of the License, or (at your
7 dnl option) any later version.
8 dnl
9 dnl Heroes is distributed in the hope that it will be useful, but WITHOUT
10 dnl ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 dnl FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 dnl for more details.
13 dnl
14 dnl You should have received a copy of the GNU General Public License along
15 dnl with this program; if not, write to the Free Software Foundation, Inc.,
16 dnl 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 dnl
18
19 AC_PREREQ(2.50)
20 AC_INIT([heroes-data], [1.5], [heroes-bugs@lists.sourceforge.net])
21 AC_CONFIG_AUX_DIR(tools)
22 AC_CONFIG_SRCDIR([pics/heroes.pcx])
23 AM_INIT_AUTOMAKE
24 AC_COPYRIGHT([Copyright 2000, 2001, 2002 Alexandre Duret-Lutz])
25 AC_OUTPUT([Makefile])
26
27 eval datadir=$datadir
28
29 echo "
30 Heroes data configuration
31 -------------------------
32 heroes-data version : $VERSION
33 data install path : ${datadir}/heroes"
0 ## Copyright 2000, 2001 Alexandre Duret-Lutz <duret_g@epita.fr>
1 ##
2 ## This file is part of Heroes.
3 ##
4 ## Heroes is free software; you can redistribute it and/or modify it under
5 ## the terms of the GNU General Public License as published by the Free
6 ## Software Foundation; either version 2 of the License, or (at your
7 ## option) any later version.
8 ##
9 ## Heroes is distributed in the hope that it will be useful, but WITHOUT
10 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 ## for more details.
13 ##
14 ## You should have received a copy of the GNU General Public License along
15 ## with this program; if not, write to the Free Software Foundation, Inc.,
16 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
18 levelsdir = $(datadir)/heroes/levels
19
20 levels_DATA = \
21 levels/level.lst \
22 levels/niv010.lvl \
23 levels/niv011.lvl \
24 levels/niv012.lvl \
25 levels/niv013.lvl \
26 levels/niv014.lvl \
27 levels/niv015.lvl \
28 levels/niv016.lvl \
29 levels/niv017.lvl \
30 levels/niv018.lvl \
31 levels/niv019.lvl \
32 levels/niv020.lvl \
33 levels/niv021.lvl \
34 levels/niv022.lvl \
35 levels/niv023.lvl \
36 levels/niv024.lvl \
37 levels/niv025.lvl \
38 levels/niv026.lvl \
39 levels/niv027.lvl \
40 levels/niv028.lvl \
41 levels/niv029.lvl \
42 levels/niv030.lvl \
43 levels/niv031.lvl \
44 levels/niv032.lvl \
45 levels/niv033.lvl \
46 levels/niv034.lvl \
47 levels/niv035.lvl \
48 levels/niv036.lvl \
49 levels/niv037.lvl \
50 levels/niv038.lvl \
51 levels/niv039.lvl \
52 levels/niv040.lvl \
53 levels/niv041.lvl \
54 levels/niv042.lvl \
55 levels/niv043.lvl \
56 levels/niv044.lvl \
57 levels/niv045.lvl \
58 levels/niv046.lvl \
59 levels/niv047.lvl \
60 levels/niv048.lvl \
61 levels/niv049.lvl \
62 levels/niv050.lvl \
63 levels/niv051.lvl \
64 levels/niv052.lvl \
65 levels/niv053.lvl \
66 levels/niv054.lvl \
67 levels/niv055.lvl \
68 levels/niv056.lvl \
69 levels/niv057.lvl \
70 levels/niv058.lvl \
71 levels/niv059.lvl \
72 levels/niv060.lvl \
73 levels/niv061.lvl \
74 levels/niv062.lvl \
75 levels/niv063.lvl \
76 levels/niv064.lvl \
77 levels/niv065.lvl \
78 levels/niv066.lvl \
79 levels/niv067.lvl \
80 levels/niv068.lvl \
81 levels/niv070.lvl \
82 levels/niv071.lvl \
83 levels/niv072.lvl \
84 levels/niv073.lvl \
85 levels/niv074.lvl \
86 levels/niv075.lvl \
87 levels/niv076.lvl \
88 levels/niv077.lvl \
89 levels/niv078.lvl \
90 levels/niv080.lvl \
91 levels/niv081.lvl \
92 levels/niv082.lvl \
93 levels/niv083.lvl \
94 levels/niv084.lvl \
95 levels/niv085.lvl \
96 levels/niv086.lvl \
97 levels/niv087.lvl \
98 levels/niv088.lvl \
99 levels/niv090.lvl \
100 levels/niv091.lvl \
101 levels/niv092.lvl \
102 levels/niv093.lvl \
103 levels/niv094.lvl \
104 levels/niv095.lvl \
105 levels/niv096.lvl \
106 levels/niv097.lvl \
107 levels/niv100.lvl \
108 levels/niv101.lvl \
109 levels/niv102.lvl \
110 levels/niv103.lvl \
111 levels/niv104.lvl \
112 levels/niv105.lvl \
113 levels/niv106.lvl \
114 levels/niv107.lvl \
115 levels/niv108.lvl
116
117 EXTRA_DIST += $(levels_DATA)
0 >niv010.lvl
1 >niv020.lvl
2 >niv030.lvl
3 >niv040.lvl
4 >niv050.lvl
5 >niv060.lvl
6 >niv070.lvl
7 >niv080.lvl
8 >niv090.lvl
9 niv100.lvl
10 niv011.lvl
11 >niv021.lvl
12 niv031.lvl
13 >niv041.lvl
14 >niv051.lvl
15 >niv061.lvl
16 niv071.lvl
17 >niv081.lvl
18 >niv091.lvl
19 >niv101.lvl
20 >niv012.lvl
21 >niv022.lvl
22 niv032.lvl
23 niv042.lvl
24 >niv052.lvl
25 niv062.lvl
26 >niv072.lvl
27 niv082.lvl
28 niv092.lvl
29 >niv102.lvl
30 niv013.lvl
31 niv023.lvl
32 niv033.lvl
33 >niv043.lvl
34 >niv053.lvl
35 niv063.lvl
36 >niv073.lvl
37 niv083.lvl
38 niv093.lvl
39 >niv103.lvl
40 niv014.lvl
41 niv024.lvl
42 niv034.lvl
43 >niv044.lvl
44 niv054.lvl
45 >niv064.lvl
46 niv074.lvl
47 niv084.lvl
48 niv094.lvl
49 >niv104.lvl
50 niv015.lvl
51 >niv025.lvl
52 >niv035.lvl
53 >niv045.lvl
54 niv055.lvl
55 >niv065.lvl
56 >niv075.lvl
57 >niv085.lvl
58 >niv095.lvl
59 niv105.lvl
60 >niv016.lvl
61 niv026.lvl
62 niv036.lvl
63 niv046.lvl
64 >niv056.lvl
65 >niv066.lvl
66 >niv076.lvl
67 >niv086.lvl
68 >niv096.lvl
69 niv106.lvl
70 >niv017.lvl
71 niv027.lvl
72 >niv037.lvl
73 niv047.lvl
74 >niv057.lvl
75 niv067.lvl
76 niv077.lvl
77 niv087.lvl
78 niv097.lvl
79 >niv107.lvl
80 niv018.lvl
81 niv028.lvl
82 niv038.lvl
83 niv048.lvl
84 >niv058.lvl
85 >niv068.lvl
86 >niv078.lvl
87 >niv088.lvl
88 niv108.lvl
89 >niv019.lvl
90 >niv029.lvl
91 niv039.lvl
92 niv049.lvl
93 niv059.lvl
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
0 ## Copyright 2000, 2001 Alexandre Duret-Lutz <duret_g@epita.fr>
1 ##
2 ## This file is part of Heroes.
3 ##
4 ## Heroes is free software; you can redistribute it and/or modify it under
5 ## the terms of the GNU General Public License as published by the Free
6 ## Software Foundation; either version 2 of the License, or (at your
7 ## option) any later version.
8 ##
9 ## Heroes is distributed in the hope that it will be useful, but WITHOUT
10 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 ## for more details.
13 ##
14 ## You should have received a copy of the GNU General Public License along
15 ## with this program; if not, write to the Free Software Foundation, Inc.,
16 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
18 picsdir = $(datadir)/heroes/pics
19
20 pics_DATA = pics/arrow.pcx \
21 pics/background.pcx \
22 pics/bonusa.pcx \
23 pics/bonusb.pcx \
24 pics/edit.pcx \
25 pics/editp01.pcx \
26 pics/editp02.pcx \
27 pics/editp03.pcx \
28 pics/editp04.pcx \
29 pics/editp05.pcx \
30 pics/editp06.pcx \
31 pics/editp07.pcx \
32 pics/editp08.pcx \
33 pics/editp09.pcx \
34 pics/editp10.pcx \
35 pics/erase.pcx \
36 pics/fontbig.pcx \
37 pics/fontdeck.pcx \
38 pics/fontem.pcx \
39 pics/fontem2.pcx \
40 pics/fontread.pcx \
41 pics/helpics.pcx \
42 pics/heroes.pcx \
43 pics/intro.pcx \
44 pics/jukebox.pcx \
45 pics/newlevel.pcx \
46 pics/olympus.pcx \
47 pics/trail.pcx \
48 pics/typonus.pcx \
49 pics/vehic.pcx
50
51 EXTRA_DIST += $(pics_DATA) pics/arrow.fig
0 #FIG 3.2
1 Landscape
2 Center
3 Metric
4 A4
5 100.00
6 Single
7 -2
8 1200 2
9 6 4500 900 8100 4500
10 2 1 0 1 7 0 50 0 20 0.000 0 0 -1 0 0 5
11 5400 2700 7200 900 7200 1800 8100 1800 6300 3600
12 2 1 0 1 0 0 50 0 20 0.000 0 0 7 0 0 4
13 4500 4500 4500 1350 7650 4500 4500 4500
14 -6
15 6 13500 1350 18000 6300
16 2 1 0 1 7 0 50 0 20 0.000 0 0 -1 0 0 5
17 15179 3391 17638 2732 17188 3512 17968 3962 15509 4621
18 2 1 0 1 0 0 50 0 20 0.000 0 0 7 0 0 4
19 13500 4500 15075 1772 16228 6075 13500 4500
20 -6
21 6 22500 2700 27000 7650
22 2 1 0 1 7 0 50 0 20 0.000 0 0 -1 0 0 5
23 24509 4379 26968 5038 26188 5488 26638 6268 24179 5609
24 2 1 0 1 0 0 50 0 20 0.000 0 0 7 0 0 4
25 22500 4500 25228 2925 24075 7228 22500 4500
26 -6
27 6 31500 4500 35100 8100
28 2 1 0 1 7 0 50 0 20 0.000 0 0 -1 0 0 5
29 33300 5400 35100 7200 34200 7200 34200 8100 32400 6300
30 2 1 0 1 0 0 50 0 20 0.000 0 0 7 0 0 4
31 31500 4500 34650 4500 31500 7650 31500 4500
32 -6
33 6 2700 13500 7650 18000
34 2 1 0 1 7 0 50 0 20 0.000 0 0 -1 0 0 5
35 5609 15179 6268 17638 5488 17188 5038 17968 4379 15509
36 2 1 0 1 0 0 50 0 20 0.000 0 0 7 0 0 4
37 4500 13500 7228 15075 2925 16228 4500 13500
38 -6
39 6 10350 13500 15300 18000
40 2 1 0 1 7 0 50 0 20 0.000 0 0 -1 0 0 5
41 13621 15509 12962 17968 12512 17188 11732 17638 12391 15179
42 2 1 0 1 0 0 50 0 20 0.000 0 0 7 0 0 4
43 13500 13500 15075 16228 10772 15075 13500 13500
44 -6
45 6 18900 13500 22500 17100
46 2 1 0 1 7 0 50 0 20 0.000 0 0 -1 0 0 5
47 21600 15300 19800 17100 19800 16200 18900 16200 20700 14400
48 2 1 0 1 0 0 50 0 20 0.000 0 0 7 0 0 4
49 22500 13500 22500 16650 19350 13500 22500 13500
50 -6
51 6 27000 11700 31500 16650
52 2 1 0 1 7 0 50 0 20 0.000 0 0 -1 0 0 5
53 29821 14609 27362 15268 27812 14488 27032 14038 29491 13379
54 2 1 0 1 0 0 50 0 20 0.000 0 0 7 0 0 4
55 31500 13500 29925 16228 28772 11925 31500 13500
56 -6
57 6 0 19350 4500 24300
58 2 1 0 1 7 0 50 0 20 0.000 0 0 -1 0 0 5
59 2491 22621 32 21962 812 21512 362 20732 2821 21391
60 2 1 0 1 0 0 50 0 20 0.000 0 0 7 0 0 4
61 4500 22500 1772 24075 2925 19772 4500 22500
62 -6
63 6 9900 18900 13500 22500
64 2 1 0 1 7 0 50 0 20 0.000 0 0 -1 0 0 5
65 11700 21600 9900 19800 10800 19800 10800 18900 12600 20700
66 2 1 0 1 0 0 50 0 20 0.000 0 0 7 0 0 4
67 13500 22500 10350 22500 13500 19350 13500 22500
68 -6
69 6 19350 18000 24300 22500
70 2 1 0 1 7 0 50 0 20 0.000 0 0 -1 0 0 5
71 21391 20821 20732 18362 21512 18812 21962 18032 22621 20491
72 2 1 0 1 0 0 50 0 20 0.000 0 0 7 0 0 4
73 22500 22500 19772 20925 24075 19772 22500 22500
74 -6
75 6 29700 18000 34650 22500
76 2 1 0 1 7 0 50 0 20 0.000 0 0 -1 0 0 5
77 31379 20491 32038 18032 32488 18812 33268 18362 32609 20821
78 2 1 0 1 0 0 50 0 20 0.000 0 0 7 0 0 4
79 31500 22500 29925 19772 34228 20925 31500 22500
80 -6
81 2 2 0 1 7 7 50 0 20 0.000 0 0 -1 0 0 5
82 0 0 450 0 450 450 0 450 0 0
83 2 2 0 1 7 7 50 0 20 0.000 0 0 -1 0 0 5
84 0 26550 450 26550 450 27000 0 27000 0 26550
85 2 2 0 1 7 7 50 0 20 0.000 0 0 -1 0 0 5
86 35550 26550 36000 26550 36000 27000 35550 27000 35550 26550
87 2 2 0 1 7 7 50 0 20 0.000 0 0 -1 0 0 5
88 35100 0 35550 0 35550 450 35100 450 35100 0
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
0 ## Copyright 2000, 2001 Alexandre Duret-Lutz <duret_g@epita.fr>
1 ##
2 ## This file is part of Heroes.
3 ##
4 ## Heroes is free software; you can redistribute it and/or modify it under
5 ## the terms of the GNU General Public License as published by the Free
6 ## Software Foundation; either version 2 of the License, or (at your
7 ## option) any later version.
8 ##
9 ## Heroes is distributed in the hope that it will be useful, but WITHOUT
10 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 ## for more details.
13 ##
14 ## You should have received a copy of the GNU General Public License along
15 ## with this program; if not, write to the Free Software Foundation, Inc.,
16 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
18 tilesetsdir = $(datadir)/heroes/tilesets
19
20 tilesets_DATA = tilesets/level01.glz \
21 tilesets/level01.pcx \
22 tilesets/level01.pie \
23 tilesets/level02.glz \
24 tilesets/level02.pcx \
25 tilesets/level02.pie \
26 tilesets/level03.glz \
27 tilesets/level03.pcx \
28 tilesets/level03.pie \
29 tilesets/level04.glz \
30 tilesets/level04.pcx \
31 tilesets/level04.pie \
32 tilesets/level05.glz \
33 tilesets/level05.pcx \
34 tilesets/level05.pie \
35 tilesets/level06.glz \
36 tilesets/level06.pcx \
37 tilesets/level06.pie \
38 tilesets/level07.glz \
39 tilesets/level07.pcx \
40 tilesets/level07.pie \
41 tilesets/level08.glz \
42 tilesets/level08.pcx \
43 tilesets/level08.pie \
44 tilesets/level09.glz \
45 tilesets/level09.pcx \
46 tilesets/level09.pie \
47 tilesets/level10.glz \
48 tilesets/level10.pcx \
49 tilesets/level10.pie
50
51 EXTRA_DIST += $(tilesets_DATA)
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
0 #!/bin/sh
1 #
2 # install - install a program, script, or datafile
3 # This comes from X11R5 (mit/util/scripts/install.sh).
4 #
5 # Copyright 1991 by the Massachusetts Institute of Technology
6 #
7 # Permission to use, copy, modify, distribute, and sell this software and its
8 # documentation for any purpose is hereby granted without fee, provided that
9 # the above copyright notice appear in all copies and that both that
10 # copyright notice and this permission notice appear in supporting
11 # documentation, and that the name of M.I.T. not be used in advertising or
12 # publicity pertaining to distribution of the software without specific,
13 # written prior permission. M.I.T. makes no representations about the
14 # suitability of this software for any purpose. It is provided "as is"
15 # without express or implied warranty.
16 #
17 # Calling this script install-sh is preferred over install.sh, to prevent
18 # `make' implicit rules from creating a file called install from it
19 # when there is no Makefile.
20 #
21 # This script is compatible with the BSD install script, but was written
22 # from scratch. It can only install one file at a time, a restriction
23 # shared with many OS's install programs.
24
25
26 # set DOITPROG to echo to test this script
27
28 # Don't use :- since 4.3BSD and earlier shells don't like it.
29 doit="${DOITPROG-}"
30
31
32 # put in absolute paths if you don't have them in your path; or use env. vars.
33
34 mvprog="${MVPROG-mv}"
35 cpprog="${CPPROG-cp}"
36 chmodprog="${CHMODPROG-chmod}"
37 chownprog="${CHOWNPROG-chown}"
38 chgrpprog="${CHGRPPROG-chgrp}"
39 stripprog="${STRIPPROG-strip}"
40 rmprog="${RMPROG-rm}"
41 mkdirprog="${MKDIRPROG-mkdir}"
42
43 transformbasename=""
44 transform_arg=""
45 instcmd="$mvprog"
46 chmodcmd="$chmodprog 0755"
47 chowncmd=""
48 chgrpcmd=""
49 stripcmd=""
50 rmcmd="$rmprog -f"
51 mvcmd="$mvprog"
52 src=""
53 dst=""
54 dir_arg=""
55
56 while [ x"$1" != x ]; do
57 case $1 in
58 -c) instcmd="$cpprog"
59 shift
60 continue;;
61
62 -d) dir_arg=true
63 shift
64 continue;;
65
66 -m) chmodcmd="$chmodprog $2"
67 shift
68 shift
69 continue;;
70
71 -o) chowncmd="$chownprog $2"
72 shift
73 shift
74 continue;;
75
76 -g) chgrpcmd="$chgrpprog $2"
77 shift
78 shift
79 continue;;
80
81 -s) stripcmd="$stripprog"
82 shift
83 continue;;
84
85 -t=*) transformarg=`echo $1 | sed 's/-t=//'`
86 shift
87 continue;;
88
89 -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
90 shift
91 continue;;
92
93 *) if [ x"$src" = x ]
94 then
95 src=$1
96 else
97 # this colon is to work around a 386BSD /bin/sh bug
98 :
99 dst=$1
100 fi
101 shift
102 continue;;
103 esac
104 done
105
106 if [ x"$src" = x ]
107 then
108 echo "install: no input file specified"
109 exit 1
110 else
111 :
112 fi
113
114 if [ x"$dir_arg" != x ]; then
115 dst=$src
116 src=""
117
118 if [ -d $dst ]; then
119 instcmd=:
120 chmodcmd=""
121 else
122 instcmd=$mkdirprog
123 fi
124 else
125
126 # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
127 # might cause directories to be created, which would be especially bad
128 # if $src (and thus $dsttmp) contains '*'.
129
130 if [ -f $src -o -d $src ]
131 then
132 :
133 else
134 echo "install: $src does not exist"
135 exit 1
136 fi
137
138 if [ x"$dst" = x ]
139 then
140 echo "install: no destination specified"
141 exit 1
142 else
143 :
144 fi
145
146 # If destination is a directory, append the input filename; if your system
147 # does not like double slashes in filenames, you may need to add some logic
148
149 if [ -d $dst ]
150 then
151 dst="$dst"/`basename $src`
152 else
153 :
154 fi
155 fi
156
157 ## this sed command emulates the dirname command
158 dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
159
160 # Make sure that the destination directory exists.
161 # this part is taken from Noah Friedman's mkinstalldirs script
162
163 # Skip lots of stat calls in the usual case.
164 if [ ! -d "$dstdir" ]; then
165 defaultIFS='
166 '
167 IFS="${IFS-${defaultIFS}}"
168
169 oIFS="${IFS}"
170 # Some sh's can't handle IFS=/ for some reason.
171 IFS='%'
172 set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
173 IFS="${oIFS}"
174
175 pathcomp=''
176
177 while [ $# -ne 0 ] ; do
178 pathcomp="${pathcomp}${1}"
179 shift
180
181 if [ ! -d "${pathcomp}" ] ;
182 then
183 $mkdirprog "${pathcomp}"
184 else
185 :
186 fi
187
188 pathcomp="${pathcomp}/"
189 done
190 fi
191
192 if [ x"$dir_arg" != x ]
193 then
194 $doit $instcmd $dst &&
195
196 if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else : ; fi &&
197 if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else : ; fi &&
198 if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else : ; fi &&
199 if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else : ; fi
200 else
201
202 # If we're going to rename the final executable, determine the name now.
203
204 if [ x"$transformarg" = x ]
205 then
206 dstfile=`basename $dst`
207 else
208 dstfile=`basename $dst $transformbasename |
209 sed $transformarg`$transformbasename
210 fi
211
212 # don't allow the sed command to completely eliminate the filename
213
214 if [ x"$dstfile" = x ]
215 then
216 dstfile=`basename $dst`
217 else
218 :
219 fi
220
221 # Make a temp file name in the proper directory.
222
223 dsttmp=$dstdir/#inst.$$#
224
225 # Move or copy the file name to the temp name
226
227 $doit $instcmd $src $dsttmp &&
228
229 trap "rm -f ${dsttmp}" 0 &&
230
231 # and set any options; do chmod last to preserve setuid bits
232
233 # If any of these fail, we abort the whole thing. If we want to
234 # ignore errors from any of these, just make sure not to ignore
235 # errors from the above "$doit $instcmd $src $dsttmp" command.
236
237 if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else :;fi &&
238 if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else :;fi &&
239 if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else :;fi &&
240 if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else :;fi &&
241
242 # Now rename the file to the real destination.
243
244 $doit $rmcmd -f $dstdir/$dstfile &&
245 $doit $mvcmd $dsttmp $dstdir/$dstfile
246
247 fi &&
248
249
250 exit 0
0 #! /bin/sh
1
2 # package name and version
3 eval `autoconf --trace 'AC_INIT:VERSION=$2;PACKAGE=$1'`
4 # zip file to create
5 ZIPFILE="`pwd`/$PACKAGE-$VERSION-XXX.mingw32.zip"
6
7 # Install the data in ./=build/heroes
8 ./configure --prefix /heroes
9 make
10 make DESTDIR=`pwd`/=build install
11
12 # Build the zip file
13 cd ./=build && zip -9 -r $ZIPFILE heroes
0 #! /bin/sh
1 # Common stub for a few missing GNU programs while installing.
2 # Copyright 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
3 # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
8 # any later version.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18 # 02111-1307, USA.
19
20 # As a special exception to the GNU General Public License, if you
21 # distribute this file as part of a program that contains a
22 # configuration script generated by Autoconf, you may include it under
23 # the same distribution terms that you use for the rest of that program.
24
25 if test $# -eq 0; then
26 echo 1>&2 "Try \`$0 --help' for more information"
27 exit 1
28 fi
29
30 run=:
31
32 # In the cases where this matters, `missing' is being run in the
33 # srcdir already.
34 if test -f configure.ac; then
35 configure_ac=configure.ac
36 else
37 configure_ac=configure.in
38 fi
39
40 case "$1" in
41 --run)
42 # Try to run requested program, and just exit if it succeeds.
43 run=
44 shift
45 "$@" && exit 0
46 ;;
47 esac
48
49 # If it does not exist, or fails to run (possibly an outdated version),
50 # try to emulate it.
51 case "$1" in
52
53 -h|--h|--he|--hel|--help)
54 echo "\
55 $0 [OPTION]... PROGRAM [ARGUMENT]...
56
57 Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
58 error status if there is no known handling for PROGRAM.
59
60 Options:
61 -h, --help display this help and exit
62 -v, --version output version information and exit
63 --run try to run the given command, and emulate it if it fails
64
65 Supported PROGRAM values:
66 aclocal touch file \`aclocal.m4'
67 autoconf touch file \`configure'
68 autoheader touch file \`config.h.in'
69 automake touch all \`Makefile.in' files
70 bison create \`y.tab.[ch]', if possible, from existing .[ch]
71 flex create \`lex.yy.c', if possible, from existing .c
72 help2man touch the output file
73 lex create \`lex.yy.c', if possible, from existing .c
74 makeinfo touch the output file
75 tar try tar, gnutar, gtar, then tar without non-portable flags
76 yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
77 ;;
78
79 -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
80 echo "missing 0.4 - GNU automake"
81 ;;
82
83 -*)
84 echo 1>&2 "$0: Unknown \`$1' option"
85 echo 1>&2 "Try \`$0 --help' for more information"
86 exit 1
87 ;;
88
89 aclocal*)
90 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
91 # We have it, but it failed.
92 exit 1
93 fi
94
95 echo 1>&2 "\
96 WARNING: \`$1' is missing on your system. You should only need it if
97 you modified \`acinclude.m4' or \`${configure_ac}'. You might want
98 to install the \`Automake' and \`Perl' packages. Grab them from
99 any GNU archive site."
100 touch aclocal.m4
101 ;;
102
103 autoconf)
104 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
105 # We have it, but it failed.
106 exit 1
107 fi
108
109 echo 1>&2 "\
110 WARNING: \`$1' is missing on your system. You should only need it if
111 you modified \`${configure_ac}'. You might want to install the
112 \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
113 archive site."
114 touch configure
115 ;;
116
117 autoheader)
118 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
119 # We have it, but it failed.
120 exit 1
121 fi
122
123 echo 1>&2 "\
124 WARNING: \`$1' is missing on your system. You should only need it if
125 you modified \`acconfig.h' or \`${configure_ac}'. You might want
126 to install the \`Autoconf' and \`GNU m4' packages. Grab them
127 from any GNU archive site."
128 files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
129 test -z "$files" && files="config.h"
130 touch_files=
131 for f in $files; do
132 case "$f" in
133 *:*) touch_files="$touch_files "`echo "$f" |
134 sed -e 's/^[^:]*://' -e 's/:.*//'`;;
135 *) touch_files="$touch_files $f.in";;
136 esac
137 done
138 touch $touch_files
139 ;;
140
141 automake*)
142 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
143 # We have it, but it failed.
144 exit 1
145 fi
146
147 echo 1>&2 "\
148 WARNING: \`$1' is missing on your system. You should only need it if
149 you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
150 You might want to install the \`Automake' and \`Perl' packages.
151 Grab them from any GNU archive site."
152 find . -type f -name Makefile.am -print |
153 sed 's/\.am$/.in/' |
154 while read f; do touch "$f"; done
155 ;;
156
157 autom4te)
158 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
159 # We have it, but it failed.
160 exit 1
161 fi
162
163 echo 1>&2 "\
164 WARNING: \`$1' is needed, and you do not seem to have it handy on your
165 system. You might have modified some files without having the
166 proper tools for further handling them.
167 You can get \`$1Help2man' as part of \`Autoconf' from any GNU
168 archive site."
169
170 file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
171 test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
172 if test -f "$file"; then
173 touch $file
174 else
175 test -z "$file" || exec >$file
176 echo "#! /bin/sh"
177 echo "# Created by GNU Automake missing as a replacement of"
178 echo "# $ $@"
179 echo "exit 0"
180 chmod +x $file
181 exit 1
182 fi
183 ;;
184
185 bison|yacc)
186 echo 1>&2 "\
187 WARNING: \`$1' is missing on your system. You should only need it if
188 you modified a \`.y' file. You may need the \`Bison' package
189 in order for those modifications to take effect. You can get
190 \`Bison' from any GNU archive site."
191 rm -f y.tab.c y.tab.h
192 if [ $# -ne 1 ]; then
193 eval LASTARG="\${$#}"
194 case "$LASTARG" in
195 *.y)
196 SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
197 if [ -f "$SRCFILE" ]; then
198 cp "$SRCFILE" y.tab.c
199 fi
200 SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
201 if [ -f "$SRCFILE" ]; then
202 cp "$SRCFILE" y.tab.h
203 fi
204 ;;
205 esac
206 fi
207 if [ ! -f y.tab.h ]; then
208 echo >y.tab.h
209 fi
210 if [ ! -f y.tab.c ]; then
211 echo 'main() { return 0; }' >y.tab.c
212 fi
213 ;;
214
215 lex|flex)
216 echo 1>&2 "\
217 WARNING: \`$1' is missing on your system. You should only need it if
218 you modified a \`.l' file. You may need the \`Flex' package
219 in order for those modifications to take effect. You can get
220 \`Flex' from any GNU archive site."
221 rm -f lex.yy.c
222 if [ $# -ne 1 ]; then
223 eval LASTARG="\${$#}"
224 case "$LASTARG" in
225 *.l)
226 SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
227 if [ -f "$SRCFILE" ]; then
228 cp "$SRCFILE" lex.yy.c
229 fi
230 ;;
231 esac
232 fi
233 if [ ! -f lex.yy.c ]; then
234 echo 'main() { return 0; }' >lex.yy.c
235 fi
236 ;;
237
238 help2man)
239 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
240 # We have it, but it failed.
241 exit 1
242 fi
243
244 echo 1>&2 "\
245 WARNING: \`$1' is missing on your system. You should only need it if
246 you modified a dependency of a manual page. You may need the
247 \`Help2man' package in order for those modifications to take
248 effect. You can get \`Help2man' from any GNU archive site."
249
250 file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
251 if test -z "$file"; then
252 file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
253 fi
254 if [ -f "$file" ]; then
255 touch $file
256 else
257 test -z "$file" || exec >$file
258 echo ".ab help2man is required to generate this page"
259 exit 1
260 fi
261 ;;
262
263 makeinfo)
264 if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
265 # We have makeinfo, but it failed.
266 exit 1
267 fi
268
269 echo 1>&2 "\
270 WARNING: \`$1' is missing on your system. You should only need it if
271 you modified a \`.texi' or \`.texinfo' file, or any other file
272 indirectly affecting the aspect of the manual. The spurious
273 call might also be the consequence of using a buggy \`make' (AIX,
274 DU, IRIX). You might want to install the \`Texinfo' package or
275 the \`GNU make' package. Grab either from any GNU archive site."
276 file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
277 if test -z "$file"; then
278 file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
279 file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
280 fi
281 touch $file
282 ;;
283
284 tar)
285 shift
286 if test -n "$run"; then
287 echo 1>&2 "ERROR: \`tar' requires --run"
288 exit 1
289 fi
290
291 # We have already tried tar in the generic part.
292 # Look for gnutar/gtar before invocation to avoid ugly error
293 # messages.
294 if (gnutar --version > /dev/null 2>&1); then
295 gnutar ${1+"$@"} && exit 0
296 fi
297 if (gtar --version > /dev/null 2>&1); then
298 gtar ${1+"$@"} && exit 0
299 fi
300 firstarg="$1"
301 if shift; then
302 case "$firstarg" in
303 *o*)
304 firstarg=`echo "$firstarg" | sed s/o//`
305 tar "$firstarg" ${1+"$@"} && exit 0
306 ;;
307 esac
308 case "$firstarg" in
309 *h*)
310 firstarg=`echo "$firstarg" | sed s/h//`
311 tar "$firstarg" ${1+"$@"} && exit 0
312 ;;
313 esac
314 fi
315
316 echo 1>&2 "\
317 WARNING: I can't seem to be able to run \`tar' with the given arguments.
318 You may want to install GNU tar or Free paxutils, or check the
319 command line arguments."
320 exit 1
321 ;;
322
323 *)
324 echo 1>&2 "\
325 WARNING: \`$1' is needed, and you do not seem to have it handy on your
326 system. You might have modified some files without having the
327 proper tools for further handling them. Check the \`README' file,
328 it often tells you about the needed prerequirements for installing
329 this package. You may also peek at any GNU archive site, in case
330 some other package would contain this missing \`$1' program."
331 exit 1
332 ;;
333 esac
334
335 exit 0
0 #! /bin/sh
1 # mkinstalldirs --- make directory hierarchy
2 # Author: Noah Friedman <friedman@prep.ai.mit.edu>
3 # Created: 1993-05-16
4 # Public domain
5
6 # $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $
7
8 errstatus=0
9 dirmode=""
10
11 usage="\
12 Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
13
14 # process command line arguments
15 while test $# -gt 0 ; do
16 case "${1}" in
17 -h | --help | --h* ) # -h for help
18 echo "${usage}" 1>&2; exit 0 ;;
19 -m ) # -m PERM arg
20 shift
21 test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
22 dirmode="${1}"
23 shift ;;
24 -- ) shift; break ;; # stop option processing
25 -* ) echo "${usage}" 1>&2; exit 1 ;; # unknown option
26 * ) break ;; # first non-opt arg
27 esac
28 done
29
30 for file
31 do
32 if test -d "$file"; then
33 shift
34 else
35 break
36 fi
37 done
38
39 case $# in
40 0) exit 0 ;;
41 esac
42
43 case $dirmode in
44 '')
45 if mkdir -p -- . 2>/dev/null; then
46 echo "mkdir -p -- $*"
47 exec mkdir -p -- "$@"
48 fi ;;
49 *)
50 if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
51 echo "mkdir -m $dirmode -p -- $*"
52 exec mkdir -m "$dirmode" -p -- "$@"
53 fi ;;
54 esac
55
56 for file
57 do
58 set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
59 shift
60
61 pathcomp=
62 for d
63 do
64 pathcomp="$pathcomp$d"
65 case "$pathcomp" in
66 -* ) pathcomp=./$pathcomp ;;
67 esac
68
69 if test ! -d "$pathcomp"; then
70 echo "mkdir $pathcomp"
71
72 mkdir "$pathcomp" || lasterr=$?
73
74 if test ! -d "$pathcomp"; then
75 errstatus=$lasterr
76 else
77 if test ! -z "$dirmode"; then
78 echo "chmod $dirmode $pathcomp"
79
80 lasterr=""
81 chmod "$dirmode" "$pathcomp" || lasterr=$?
82
83 if test ! -z "$lasterr"; then
84 errstatus=$lasterr
85 fi
86 fi
87 fi
88 fi
89
90 pathcomp="$pathcomp/"
91 done
92 done
93
94 exit $errstatus
95
96 # Local Variables:
97 # mode: shell-script
98 # sh-indentation: 3
99 # End:
100 # mkinstalldirs ends here