Imported Upstream version 1.10
Bas Couwenberg
8 years ago
0 | 0 | ############################################################################# |
1 | 1 | |
2 | 2 | The h5utils package is |
3 | Copyright (c) 1999, 2000, 2001, 2002 by the Massachusetts Institute of Technology | |
3 | Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005 | |
4 | by the Massachusetts Institute of Technology | |
4 | 5 | |
5 | 6 | ############################################################################# |
6 | 7 | The following license applies to all files in the |
0 | 2004-08-05 Steven G. Johnson <stevenj@ab-initio> | |
1 | ||
2 | * NEWS, configure.ac: version bump | |
3 | ||
4 | 2004-08-03 Steven G. Johnson <stevenj@ab-initio> | |
5 | ||
6 | * h5topng.c: don't mix declarations with code (thanks to Maarten | |
7 | van Reeuwijk for the bug report) | |
8 | ||
9 | 2004-07-13 Steven G. Johnson <stevenj@ab-initio> | |
10 | ||
11 | * NEWS: updated NEWS for 1.9 | |
12 | ||
13 | * configure.ac, h5math.c: update for latest libmatheval | |
14 | ||
15 | 2004-06-05 Steven G. Johnson <stevenj@ab-initio> | |
16 | ||
17 | * arrayh5.c, arrayh5.h, h5topng.1.in, h5topng.c, writepng.c, | |
18 | writepng.h: support Matlab-like notation for slices, tiling | |
19 | overlay/contour to cover data | |
20 | ||
21 | 2004-05-24 Steven G. Johnson <stevenj@ab-initio> | |
22 | ||
23 | * NEWS, configure.ac: version bump | |
24 | ||
25 | * h5math.1, h5math.c: added h5math man page etc. | |
26 | ||
27 | * h5tov5d.1: whoops | |
28 | ||
29 | * h5math.c: wrapping | |
30 | ||
31 | * h5fromh4.1, h5fromtxt.1, h5topng.1.in, h5totxt.1, h5tov5d.1, | |
32 | h5tovtk.1: fixed copyright dates in man pages | |
33 | ||
34 | * h5math.c: whoops | |
35 | ||
36 | * h5math.c: make "t" variable the same as the last dimension, | |
37 | consistent with slice convention | |
38 | ||
39 | * Makefile.am, configure.ac, h5math.c: added h5math utility (still | |
40 | needs man page) | |
41 | ||
42 | * h5fromh4.c, h5fromitxt.c, h5fromtxt.c, h5topng.c, h5totxt.c, | |
43 | h5tov5d.c, h5tovtk.c, h5utils.c, h5utils.h: use my_strdup | |
44 | everywhere, get rid of some compiler warnings | |
45 | ||
46 | 2004-05-22 Steven G. Johnson <stevenj@ab-initio> | |
47 | ||
48 | * Makefile.am: vpath build | |
49 | ||
50 | * h5topng.1.in: fixed some formatting problems | |
51 | ||
52 | * Makefile.am: make sure EXTRA_MANS is distributed | |
53 | ||
54 | * NEWS: planned release date | |
55 | ||
56 | * h5tovtk.c: whoops, missing '0' | |
57 | ||
58 | * NEWS: note more digits | |
59 | ||
60 | * arrayh5.c, h5totxt.c: whoops, screwed up slices | |
61 | ||
62 | * NEWS: don't know release date yet | |
63 | ||
64 | * NEWS, configure.ac: new version | |
65 | ||
66 | * mkdist.sh: mkdist script | |
67 | ||
68 | * ChangeLog: generate automatically | |
69 | ||
70 | * Makefile.am: add latest colormaps | |
71 | ||
72 | * h5topng.c: check for -8 with -A | |
73 | ||
74 | * h5topng.1.in, h5topng.c, writepng.c, writepng.h: default to | |
75 | 24-bit output, -8 for old behavior | |
76 | ||
77 | 2004-05-21 Steven G. Johnson <stevenj@ab-initio> | |
78 | ||
79 | * h5topng.1.in, h5totxt.1, h5tov5d.1, h5tovtk.1: updated man pages | |
80 | ||
81 | * arrayh4.c, arrayh5.c, colormaps/bluered, colormaps/gray, | |
82 | colormaps/green, colormaps/yarg, colormaps/yellow, copyright.h, | |
83 | h5fromh4.c, h5fromitxt.c, h5fromtxt.c, h5topng.c, h5totxt.c, | |
84 | h5tov5d.c, h5tovtk.c, h5utils.c, writepng.c, writepng.h: added | |
85 | translucent overlay option | |
86 | ||
87 | * h5topng.c: make nx = cols by default in h5topng | |
88 | ||
89 | * INSTALL: INSTALL is supplied by automake --add-missing | |
90 | ||
91 | * INSTALL, Makefile.am, arrayh5.c, arrayh5.h, configure.ac, | |
92 | h5fromitxt.c, h5read.cc, h5topng.c, h5totxt.c, h5tov5d.c, | |
93 | h5tovtk.c, install-sh: support multiple slice dimensions | |
94 | ||
95 | 2004-03-02 Steven G. Johnson <stevenj@ab-initio> | |
96 | ||
97 | * Makefile.am, h5fromitxt.c: added h5fromitxt | |
98 | ||
99 | 2002-07-15 Steven G. Johnson <stevenj@ab-initio> | |
100 | ||
101 | * NEWS, configure.in: bumped version | |
102 | ||
103 | * h5read.cc: C++ fix for g++ 3.x, from Josselin Mouette | |
104 | ||
105 | 2002-06-14 Steven G. Johnson <stevenj@ab-initio> | |
106 | ||
107 | * writepng.c: follow gd lib in initializing alpha before palette | |
108 | (don't know if it matters) | |
109 | ||
110 | * h5topng.c: don't use colormap dir for ./<colormap> or | |
111 | /<colormap> | |
112 | ||
113 | 2002-05-30 Steven G. Johnson <stevenj@ab-initio> | |
114 | ||
115 | * h5totxt.1, h5totxt.c: added -a and -. flags | |
116 | ||
117 | 2002-03-16 Steven G. Johnson <stevenj@ab-initio> | |
118 | ||
119 | * NEWS: added 1.7.1 notes | |
120 | ||
121 | * Makefile.in: export branch for make dist | |
122 | ||
123 | * NEWS, configure.in: bumped version | |
124 | ||
125 | * ChangeLog: updated | |
126 | ||
127 | * README: added URL | |
128 | ||
129 | * writepng.c: fixed array overrun causing floating-point | |
130 | exceptions on Alpha (thanks to Marin Soljacic for the bug report) | |
131 | ||
132 | * Makefile.am, configure.ac: fixed h5fromh4 and make dist | |
133 | ||
134 | * writepng.c: fixed array overrun causing floating-point | |
135 | exceptions on Alpha (thanks to Marin Soljacic for the bug report) | |
136 | ||
137 | 2002-03-14 Steven G. Johnson <stevenj@ab-initio> | |
138 | ||
139 | * Makefile.am, Makefile.in, configure.ac, configure.in, | |
140 | h5fromh4.c, h5fromtxt.c, h5topng.c, h5totxt.c, h5tov5d.c, | |
141 | h5tovtk.c: use automake | |
142 | ||
143 | 2002-03-13 Steven G. Johnson <stevenj@ab-initio> | |
144 | ||
145 | * Makefile.in: use mandir | |
146 | ||
147 | 2002-03-11 Steven G. Johnson <stevenj@ab-initio> | |
148 | ||
149 | * README: added URL | |
150 | ||
151 | 2002-03-09 Steven G. Johnson <stevenj@ab-initio> | |
152 | ||
153 | * h5topng.c: print warning for -c <h5file> | |
154 | ||
155 | * Makefile.in: whoops | |
156 | ||
157 | * h5fromh4.1, h5fromtxt.1, h5totxt.1, h5tov5d.1, NEWS, | |
158 | h5topng.1.in, h5tovtk.1: updated dates | |
159 | ||
160 | * INSTALL, README, README-h5utils.html: made more GNU-ly correct | |
161 | ||
162 | * AUTHORS: added AUTHORS file to be GNU-ly correct | |
163 | ||
164 | 2002-03-05 Steven G. Johnson <stevenj@ab-initio> | |
165 | ||
166 | * Makefile.in, h5fromh4.c, h5fromtxt.c, h5topng.c, h5totxt.c, | |
167 | h5tov5d.c, h5tovtk.c, h5utils.c, h5utils.h: eliminated code | |
168 | duplication | |
169 | ||
170 | * NEWS, writepng.c: finally fixed garbage pixels bug in h5topng | |
171 | ||
172 | * NEWS, arrayh5.c, arrayh5.h, h5read.cc, h5topng.1.in, h5topng.c, | |
173 | h5totxt.1, h5totxt.c, h5tov5d.c, h5tovtk.c: added -0 option | |
174 | ||
175 | * NEWS, h5topng.1.in, h5topng.c: added -R option | |
176 | ||
177 | * colormaps/autumn, colormaps/bluered, colormaps/bone, | |
178 | colormaps/colorcube, colormaps/cool, colormaps/copper, | |
179 | colormaps/flag, colormaps/gray, colormaps/hot, colormaps/hsv, | |
180 | colormaps/jet, colormaps/lines, colormaps/pink, colormaps/prism, | |
181 | colormaps/spring, colormaps/summer, colormaps/vga, | |
182 | colormaps/winter, h5topng.1.in, h5topng.c, writepng.c, writepng.h: | |
183 | added alpha channel support to color maps | |
184 | ||
185 | * h5topng.c: better error message for -c (catches common mistake) | |
186 | ||
187 | * h5topng.1.in: slight improvements | |
188 | ||
189 | * h5topng.c: have built-in gray colormap fallback | |
190 | ||
191 | 2002-03-04 Steven G. Johnson <stevenj@ab-initio> | |
192 | ||
193 | * h5topng.1.in: minor improvements; noted hsv | |
194 | ||
195 | * h5topng.1.in: linewrapped | |
196 | ||
197 | * h5topng.1: whoops | |
198 | ||
199 | * h5topng.1: linewrapped | |
200 | ||
201 | * NEWS: updated for 1.7 | |
202 | ||
203 | * ChangeLog: added | |
204 | ||
205 | * COPYING, README-h5utils.html, arrayh4.c, arrayh4.h, arrayh5.c, | |
206 | arrayh5.h, copyright.h, h5fromh4.1, h5fromh4.c, h5fromtxt.1, | |
207 | h5fromtxt.c, h5read.cc, h5topng.1.in, h5topng.c, h5totxt.1, | |
208 | h5totxt.c, h5tov5d.1, h5tov5d.c, writepng.c, writepng.h: 2002 | |
209 | copyright year update | |
210 | ||
211 | * h5tovtk.1, h5tovtk.c: fixed h5tovtk man page | |
212 | ||
213 | 2002-03-01 Steven G. Johnson <stevenj@ab-initio> | |
214 | ||
215 | * h5topng.c: noted location of colormap files | |
216 | ||
217 | * Makefile.in, configure.in, h5topng.1, h5topng.1.in, h5topng.c, | |
218 | writepng.c, writepng.h: added variable colormap support | |
219 | ||
220 | * h5read.cc: synced with latest arrayh5 | |
221 | ||
222 | * colormaps/autumn, colormaps/bluered, colormaps/bone, | |
223 | colormaps/colorcube, colormaps/cool, colormaps/copper, | |
224 | colormaps/flag, colormaps/gray, colormaps/hot, colormaps/hsv, | |
225 | colormaps/jet, colormaps/lines, colormaps/pink, colormaps/prism, | |
226 | colormaps/spring, colormaps/summer, colormaps/vga, | |
227 | colormaps/winter: added some color map files | |
228 | ||
229 | 2002-01-05 Steven G. Johnson <stevenj@ab-initio> | |
230 | ||
231 | * Makefile.in, arrayh5.c, arrayh5.h, configure.in, h5topng.c, | |
232 | h5totxt.c, h5tov5d.c, h5tovtk.1, h5tovtk.c: added preliminary | |
233 | h5tovtk | |
234 | ||
235 | 2001-10-16 Steven G. Johnson <stevenj@ab-initio> | |
236 | ||
237 | * Makefile.in: Use CPPFLAGS and LDFLAGS when calling mkoctfile! | |
238 | Thanks to Max Colice for the bug report. | |
239 | ||
240 | 2001-10-02 Steven G. Johnson <stevenj@ab-initio> | |
241 | ||
242 | * h5tov5d.c: whoops, fixed datatype in -T mode | |
243 | ||
244 | 2001-09-22 Steven G. Johnson <stevenj@ab-initio> | |
245 | ||
246 | * h5tov5d.c: slight bug fix in -T (?) | |
247 | ||
248 | * NEWS, h5tov5d.1, h5tov5d.c: added -T option to h5tov5d | |
249 | ||
250 | 2001-03-18 Steven G. Johnson <stevenj@ab-initio> | |
251 | ||
252 | * Makefile.in: whoops, fixed problem when --without-h5tov5d and | |
253 | --without-h5fromh4 are used. Thanks to Nikola Ivanov Nikolov for | |
254 | the fix. | |
255 | ||
256 | 2001-02-14 Steven G. Johnson <stevenj@ab-initio> | |
257 | ||
258 | * h5fromtxt.1: minor fix | |
259 | ||
260 | 2001-01-17 Steven G. Johnson <stevenj@ab-initio> | |
261 | ||
262 | * COPYING, NEWS, README-h5utils.html, arrayh4.c, arrayh4.h, | |
263 | arrayh5.c, arrayh5.h, configure.in, copyright.h, h5fromh4.1, | |
264 | h5fromh4.c, h5fromtxt.1, h5fromtxt.c, h5read.cc, h5topng.1, | |
265 | h5topng.c, h5totxt.1, h5totxt.c, h5tov5d.1, h5tov5d.c, writepng.c, | |
266 | writepng.h: Don't build h5fromh4 if h4toh5 is present. Bumped | |
267 | version and copyright year. | |
268 | ||
269 | 2000-12-09 Steven G. Johnson <stevenj@ab-initio> | |
270 | ||
271 | * Makefile.in: 'make dist' should call autoheader | |
272 | ||
273 | * NEWS, configure.in: bumped version number | |
274 | ||
275 | * Makefile.in, arrayh4.h, config.h.in, configure.in, h5tov5d.c: | |
276 | Support disabling Octave plugin manually, in case of C++ | |
277 | craziness. Support Vis5d+ header file locations. Support Debian | |
278 | HDF header file locations. Use autoheader. | |
279 | ||
280 | 2000-07-28 Steven G. Johnson <stevenj@ab-initio> | |
281 | ||
282 | * writepng.c: fixed bug in contour plotting | |
283 | ||
284 | 2000-07-10 Steven G. Johnson <stevenj@ab-initio> | |
285 | ||
286 | * NEWS: updated | |
287 | ||
288 | 2000-07-09 Steven G. Johnson <stevenj@ab-initio> | |
289 | ||
290 | * README-h5utils.html: Note that HDF4 libraries are required for | |
291 | h5fromh4. | |
292 | ||
293 | * README-h5utils.html: documented h5fromh4 | |
294 | ||
295 | 2000-05-30 Steven G. Johnson <stevenj@ab-initio> | |
296 | ||
297 | * NEWS, h5topng.1, h5topng.c: Added -S <s> option to h5topng as a | |
298 | shortcut for -X <s> -Y <s>. | |
299 | ||
300 | 2000-05-29 Steven G. Johnson <stevenj@ab-initio> | |
301 | ||
302 | * NEWS, configure.in: bumped version | |
303 | ||
304 | * h5fromh4.1: slight fixes | |
305 | ||
306 | * h5fromh4.1: added h5fromh4 man page | |
307 | ||
308 | * Makefile.in, arrayh4.c, arrayh4.h, configure.in, h5fromh4.c: | |
309 | added h5fromh4 | |
310 | ||
311 | * h5fromtxt.c: got rid of spurious "sep" variable | |
312 | ||
313 | 2000-05-28 Steven G. Johnson <stevenj@ab-initio> | |
314 | ||
315 | * h5fromtxt.c, h5topng.c, h5totxt.c, h5tov5d.c, Makefile.in, NEWS, | |
316 | README-h5utils.html, arrayh5.c, arrayh5.h, configure.in, | |
317 | h5fromtxt.1: added h5fromtxt | |
318 | ||
319 | 2000-02-01 Steven G. Johnson <stevenj@ab-initio> | |
320 | ||
321 | * h5topng.1: slight correction | |
322 | ||
323 | * h5topng.c: fix so it works without -C! | |
324 | ||
325 | * NEWS, configure.in: bumped version | |
326 | ||
327 | * h5topng.c, writepng.c, writepng.h, h5topng.1: improved crude | |
328 | contour feature | |
329 | ||
330 | * h5topng.1: Fixed display bug; thanks to Christoph Becher for the | |
331 | correction. | |
332 | ||
333 | 2000-01-30 Steven G. Johnson <stevenj@ab-initio> | |
334 | ||
335 | * NEWS: credited 1.3.3 bug report | |
336 | ||
337 | * configure.in: bumped version | |
338 | ||
339 | * NEWS, arrayh5.c: got rid of compiler warning | |
340 | ||
341 | * writepng.c: bug fix (uninitialized var) | |
342 | ||
343 | 2000-01-29 Steven G. Johnson <stevenj@ab-initio> | |
344 | ||
345 | * NEWS, h5topng.1, h5topng.c: added -Z option | |
346 | ||
347 | 2000-01-28 Steven G. Johnson <stevenj@ab-initio> | |
348 | ||
349 | * h5topng.c: fixed typo | |
350 | ||
351 | * configure.in, h5topng.1, h5topng.c, NEWS: now support h5topng -C | |
352 | filename:dataset | |
353 | ||
354 | * NEWS, configure.in: bumped version | |
355 | ||
356 | * h5tov5d.c: fixed bug in joining hdf5 files | |
357 | ||
358 | 2000-01-27 Steven G. Johnson <stevenj@ab-initio> | |
359 | ||
360 | * h5topng.c, h5totxt.c: fixed handling of -d option so that it | |
361 | doesn't get overriden if only a single file specifies a dataset | |
362 | via fname:dataset. | |
363 | ||
364 | 2000-01-21 Steven G. Johnson <stevenj@ab-initio> | |
365 | ||
366 | * README-h5utils.html, NEWS: documented changes | |
367 | ||
368 | * configure.in, h5tov5d.c, Makefile.in, config.h.in: detect -lv5d | |
369 | library | |
370 | ||
371 | * h5totxt.1, h5totxt.c, h5tov5d.1, h5tov5d.c, arrayh5.c, | |
372 | arrayh5.h, configure.in, h5topng.1, h5topng.c: added | |
373 | filename:dataset syntax | |
374 | ||
375 | * NEWS, configure.in: bumped version | |
376 | ||
377 | * h5totxt.c: fixed help message | |
378 | ||
379 | 2000-01-13 Steven G. Johnson <stevenj@ab-initio> | |
380 | ||
381 | * Makefile.in, NEWS, configure.in: use CPPFLAGS when compiling | |
382 | ||
383 | 2000-01-01 Steven G. Johnson <stevenj@ab-initio> | |
384 | ||
385 | * h5topng.1, h5topng.c, h5totxt.1, h5totxt.c, h5tov5d.1, | |
386 | h5tov5d.c, writepng.c, writepng.h, COPYING, NEWS, | |
387 | README-h5utils.html, arrayh5.c, arrayh5.h, configure.in, | |
388 | copyright.h, h5read.cc: h5tov5d -o now joins; bumped copyright | |
389 | year | |
390 | ||
391 | * NEWS: noted changes | |
392 | ||
393 | * configure.in: bumped version | |
394 | ||
395 | * README-h5utils.html: noted man page | |
396 | ||
397 | * README-h5utils.html: updated license | |
398 | ||
399 | * h5topng.c, h5totxt.c, h5tov5d.1, h5tov5d.c, Makefile.in, | |
400 | README-h5utils.html, configure.in, copyright.h, COPYING: added | |
401 | h5tov5d | |
402 | ||
403 | 1999-12-31 Steven G. Johnson <stevenj@ab-initio> | |
404 | ||
405 | * configure.in: some cleanup | |
406 | ||
407 | * README-h5utils.html: Better documentation of (revised) | |
408 | installation. | |
409 | ||
410 | * Makefile.in, configure.in: install h5read.oct in right place | |
411 | ||
412 | * Makefile.in: fixed install/uninstall rules so that they ignore | |
413 | things that aren't built | |
414 | ||
415 | 1999-12-06 Steven G. Johnson <stevenj@ab-initio> | |
416 | ||
417 | * README-h5utils.html: small fixes | |
418 | ||
419 | * configure.in, h5totxt.1, h5totxt.c, Makefile.in, NEWS, | |
420 | README-h5utils.html: added h5totxt | |
421 | ||
422 | 1999-11-22 Steven G. Johnson <stevenj@ab-initio> | |
423 | ||
424 | * Makefile.in: don't strip (-s) man page!! | |
425 | ||
426 | * README, README-h5utils.html: changed README to HTML | |
427 | ||
428 | * Makefile.in, README, h5topng.1: added man page | |
429 | ||
430 | * .png: got rid of garbage file | |
431 | ||
432 | * Makefile.in: made sure 'make clean' gets rid of h5read.o | |
433 | ||
434 | * configure.in, h5topng.c, config.h.in: various fixes | |
435 | ||
436 | * COPYING: comment-ized license | |
437 | ||
438 | * writepng.c, writepng.h, arrayh5.h, h5read.cc, h5topng.c, | |
439 | arrayh5.c: added copyright notices | |
440 | ||
441 | * Makefile.in: fixed clean targets | |
442 | ||
443 | * COPYING: added MIT license | |
444 | ||
445 | * configure.in, install-sh, Makefile, Makefile.in, config.h.in: | |
446 | autoconfiscated | |
447 | ||
448 | * README.writepng, .indent.pro: deleted extraneous files | |
449 | ||
450 | * README: added README | |
451 | ||
452 | * .indent.pro, .png, Makefile, README.writepng, arrayh5.c, | |
453 | arrayh5.h, h5read.cc, h5topng.c, writepng.c, writepng.h: New file. | |
454 | ||
455 | * .indent.pro, .png, Makefile, README.writepng, arrayh5.c, | |
456 | arrayh5.h, h5read.cc, h5topng.c, writepng.c, writepng.h: created | |
457 | h5utils repository | |
458 | ||
0 | Generated by mkdist.sh |
0 | Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software | |
1 | Foundation, Inc. | |
2 | ||
3 | This file is free documentation; the Free Software Foundation gives | |
0 | Installation Instructions | |
1 | ************************* | |
2 | ||
3 | Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free | |
4 | Software Foundation, Inc. | |
5 | ||
6 | This file is free documentation; the Free Software Foundation gives | |
4 | 7 | unlimited permission to copy, distribute and modify it. |
5 | 8 | |
6 | 9 | Basic Installation |
7 | 10 | ================== |
8 | 11 | |
9 | These are generic installation instructions. | |
12 | These are generic installation instructions. | |
10 | 13 | |
11 | 14 | The `configure' shell script attempts to guess correct values for |
12 | 15 | various system-dependent variables used during compilation. It uses |
66 | 69 | Compilers and Options |
67 | 70 | ===================== |
68 | 71 | |
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 | Some systems require unusual options for compilation or linking that the | |
73 | `configure' script does not know about. Run `./configure --help' for | |
74 | details on some of the pertinent environment variables. | |
72 | 75 | |
73 | 76 | You can give `configure' initial values for configuration parameters |
74 | 77 | by setting variables in the command line or in the environment. Here |
81 | 84 | Compiling For Multiple Architectures |
82 | 85 | ==================================== |
83 | 86 | |
84 | You can compile the package for more than one kind of computer at the | |
87 | You can compile the package for more than one kind of computer at the | |
85 | 88 | same time, by placing the object files for each architecture in their |
86 | 89 | own directory. To do this, you must use a version of `make' that |
87 | 90 | supports the `VPATH' variable, such as GNU `make'. `cd' to the |
98 | 101 | Installation Names |
99 | 102 | ================== |
100 | 103 | |
101 | By default, `make install' will install the package's files in | |
104 | By default, `make install' will install the package's files in | |
102 | 105 | `/usr/local/bin', `/usr/local/man', etc. You can specify an |
103 | 106 | installation prefix other than `/usr/local' by giving `configure' the |
104 | option `--prefix=PATH'. | |
107 | option `--prefix=PREFIX'. | |
105 | 108 | |
106 | 109 | You can specify separate installation prefixes for |
107 | 110 | architecture-specific files and architecture-independent files. If you |
108 | give `configure' the option `--exec-prefix=PATH', the package will use | |
109 | PATH as the prefix for installing programs and libraries. | |
111 | give `configure' the option `--exec-prefix=PREFIX', the package will | |
112 | use PREFIX as the prefix for installing programs and libraries. | |
110 | 113 | Documentation and other data files will still use the regular prefix. |
111 | 114 | |
112 | 115 | In addition, if you use an unusual directory layout you can give |
113 | options like `--bindir=PATH' to specify different values for particular | |
116 | options like `--bindir=DIR' to specify different values for particular | |
114 | 117 | kinds of files. Run `configure --help' for a list of the directories |
115 | 118 | you can set and what kinds of files go in them. |
116 | 119 | |
121 | 124 | Optional Features |
122 | 125 | ================= |
123 | 126 | |
124 | Some packages pay attention to `--enable-FEATURE' options to | |
127 | Some packages pay attention to `--enable-FEATURE' options to | |
125 | 128 | `configure', where FEATURE indicates an optional part of the package. |
126 | 129 | They may also pay attention to `--with-PACKAGE' options, where PACKAGE |
127 | 130 | is something like `gnu-as' or `x' (for the X Window System). The |
136 | 139 | Specifying the System Type |
137 | 140 | ========================== |
138 | 141 | |
139 | There may be some features `configure' cannot figure out | |
140 | automatically, but needs to determine by the type of machine the package | |
141 | will run on. Usually, assuming the package is built to be run on the | |
142 | _same_ architectures, `configure' can figure that out, but if it prints | |
143 | a message saying it cannot guess the machine type, give it the | |
142 | There may be some features `configure' cannot figure out automatically, | |
143 | but needs to determine by the type of machine the package will run on. | |
144 | Usually, assuming the package is built to be run on the _same_ | |
145 | architectures, `configure' can figure that out, but if it prints a | |
146 | message saying it cannot guess the machine type, give it the | |
144 | 147 | `--build=TYPE' option. TYPE can either be a short name for the system |
145 | 148 | type, such as `sun4', or a canonical name which has the form: |
146 | 149 | |
166 | 169 | Sharing Defaults |
167 | 170 | ================ |
168 | 171 | |
169 | If you want to set default values for `configure' scripts to share, | |
170 | you can create a site shell script called `config.site' that gives | |
171 | default values for variables like `CC', `cache_file', and `prefix'. | |
172 | If you want to set default values for `configure' scripts to share, you | |
173 | can create a site shell script called `config.site' that gives default | |
174 | values for variables like `CC', `cache_file', and `prefix'. | |
172 | 175 | `configure' looks for `PREFIX/share/config.site' if it exists, then |
173 | 176 | `PREFIX/etc/config.site' if it exists. Or, you can set the |
174 | 177 | `CONFIG_SITE' environment variable to the location of the site script. |
177 | 180 | Defining Variables |
178 | 181 | ================== |
179 | 182 | |
180 | Variables not defined in a site shell script can be set in the | |
183 | Variables not defined in a site shell script can be set in the | |
181 | 184 | environment passed to `configure'. However, some packages may run |
182 | 185 | configure again during the build, and the customized values of these |
183 | 186 | variables may be lost. In order to avoid this problem, you should set |
185 | 188 | |
186 | 189 | ./configure CC=/usr/local2/bin/gcc |
187 | 190 | |
188 | will cause the specified gcc to be used as the C compiler (unless it is | |
189 | overridden in the site shell script). | |
191 | causes the specified `gcc' to be used as the C compiler (unless it is | |
192 | overridden in the site shell script). Here is a another example: | |
193 | ||
194 | /bin/bash ./configure CONFIG_SHELL=/bin/bash | |
195 | ||
196 | Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent | |
197 | configuration-related scripts to be executed by `/bin/bash'. | |
190 | 198 | |
191 | 199 | `configure' Invocation |
192 | 200 | ====================== |
193 | 201 | |
194 | `configure' recognizes the following options to control how it | |
195 | operates. | |
202 | `configure' recognizes the following options to control how it operates. | |
196 | 203 | |
197 | 204 | `--help' |
198 | 205 | `-h' |
2 | 2 | colormaps/gray colormaps/green colormaps/hot colormaps/hsv \ |
3 | 3 | colormaps/jet colormaps/lines colormaps/pink colormaps/prism \ |
4 | 4 | colormaps/spring colormaps/summer colormaps/vga colormaps/winter \ |
5 | colormaps/yarg colormaps/yellow | |
5 | colormaps/yarg colormaps/yellow colormaps/dkbluered | |
6 | 6 | |
7 | 7 | EXTRA_MANS = h5topng.1.in h5tov5d.1 h5fromh4.1 h5math.1 |
8 | 8 | EXTRA_DIST = h5read.cc copyright.h $(COLORMAPS) $(EXTRA_MANS) |
9 | 9 | |
10 | 10 | noinst_PROGRAMS = h5fromitxt # quick hack, not really supported |
11 | 11 | bin_PROGRAMS = h5totxt h5fromtxt h5tovtk @MORE_H5UTILS@ |
12 | EXTRA_PROGRAMS = h5topng h5tov5d h5fromh4 h5math | |
12 | EXTRA_PROGRAMS = h5topng h5tov5d h5fromh4 h4fromh5 h5math | |
13 | 13 | |
14 | 14 | dist_man_MANS = h5totxt.1 h5fromtxt.1 h5tovtk.1 @MORE_H5UTILS_MANS@ |
15 | 15 | nodist_man_MANS = @H5TOPNG_MAN@ |
31 | 31 | h5fromh4_SOURCES = h5fromh4.c arrayh4.c arrayh4.h $(COMMON_SRC) |
32 | 32 | h5fromh4_LDADD = @H4_LIBS@ |
33 | 33 | |
34 | h4fromh5_SOURCES = h4fromh5.c arrayh4.c arrayh4.h $(COMMON_SRC) | |
35 | h4fromh5_LDADD = @H4_LIBS@ | |
36 | ||
34 | 37 | h5math_SOURCES = h5math.c $(COMMON_SRC) |
35 | 38 | h5math_LDADD = -lmatheval |
36 | 39 |
0 | # Makefile.in generated by automake 1.8.4 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.9.5 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | 3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
4 | # 2003, 2004 Free Software Foundation, Inc. | |
4 | # 2003, 2004, 2005 Free Software Foundation, Inc. | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
7 | 7 | # with or without modifications, as long as this notice is preserved. |
14 | 14 | @SET_MAKE@ |
15 | 15 | |
16 | 16 | |
17 | SOURCES = $(h5fromh4_SOURCES) $(h5fromitxt_SOURCES) $(h5fromtxt_SOURCES) $(h5math_SOURCES) $(h5topng_SOURCES) $(h5totxt_SOURCES) $(h5tov5d_SOURCES) $(h5tovtk_SOURCES) | |
17 | SOURCES = $(h4fromh5_SOURCES) $(h5fromh4_SOURCES) $(h5fromitxt_SOURCES) $(h5fromtxt_SOURCES) $(h5math_SOURCES) $(h5topng_SOURCES) $(h5totxt_SOURCES) $(h5tov5d_SOURCES) $(h5tovtk_SOURCES) | |
18 | 18 | |
19 | 19 | srcdir = @srcdir@ |
20 | 20 | top_srcdir = @top_srcdir@ |
40 | 40 | bin_PROGRAMS = h5totxt$(EXEEXT) h5fromtxt$(EXEEXT) h5tovtk$(EXEEXT) \ |
41 | 41 | @MORE_H5UTILS@ $(am__empty) |
42 | 42 | EXTRA_PROGRAMS = h5topng$(EXEEXT) h5tov5d$(EXEEXT) h5fromh4$(EXEEXT) \ |
43 | h5math$(EXEEXT) | |
43 | h4fromh5$(EXEEXT) h5math$(EXEEXT) | |
44 | 44 | subdir = . |
45 | 45 | DIST_COMMON = README $(am__configure_deps) $(dist_man_MANS) \ |
46 | 46 | $(nobase_dist_pkgdata_DATA) $(srcdir)/Makefile.am \ |
47 | 47 | $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
48 | 48 | $(srcdir)/h5topng.1.in $(top_srcdir)/configure AUTHORS COPYING \ |
49 | ChangeLog INSTALL NEWS compile depcomp install-sh missing \ | |
50 | mkinstalldirs | |
49 | ChangeLog INSTALL NEWS compile depcomp install-sh missing | |
51 | 50 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
52 | 51 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
53 | 52 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
54 | 53 | $(ACLOCAL_M4) |
55 | 54 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
56 | 55 | configure.lineno configure.status.lineno |
57 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | |
56 | mkinstalldirs = $(install_sh) -d | |
58 | 57 | CONFIG_HEADER = config.h |
59 | 58 | CONFIG_CLEAN_FILES = h5topng.1 |
60 | am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(octdir)" | |
59 | am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \ | |
60 | "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(octdir)" | |
61 | 61 | binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) |
62 | 62 | PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) |
63 | 63 | am__objects_1 = arrayh5.$(OBJEXT) h5utils.$(OBJEXT) |
64 | am_h4fromh5_OBJECTS = h4fromh5.$(OBJEXT) arrayh4.$(OBJEXT) \ | |
65 | $(am__objects_1) | |
66 | h4fromh5_OBJECTS = $(am_h4fromh5_OBJECTS) | |
67 | h4fromh5_DEPENDENCIES = | |
64 | 68 | am_h5fromh4_OBJECTS = h5fromh4.$(OBJEXT) arrayh4.$(OBJEXT) \ |
65 | 69 | $(am__objects_1) |
66 | 70 | h5fromh4_OBJECTS = $(am_h5fromh4_OBJECTS) |
91 | 95 | DEFAULT_INCLUDES = -I. -I$(srcdir) -I. |
92 | 96 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
93 | 97 | am__depfiles_maybe = depfiles |
94 | @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/arrayh4.Po ./$(DEPDIR)/arrayh5.Po \ | |
95 | @AMDEP_TRUE@ ./$(DEPDIR)/h5fromh4.Po ./$(DEPDIR)/h5fromitxt.Po \ | |
96 | @AMDEP_TRUE@ ./$(DEPDIR)/h5fromtxt.Po ./$(DEPDIR)/h5math.Po \ | |
97 | @AMDEP_TRUE@ ./$(DEPDIR)/h5topng.Po ./$(DEPDIR)/h5totxt.Po \ | |
98 | @AMDEP_TRUE@ ./$(DEPDIR)/h5tov5d-arrayh5.Po \ | |
99 | @AMDEP_TRUE@ ./$(DEPDIR)/h5tov5d-h5tov5d.Po \ | |
100 | @AMDEP_TRUE@ ./$(DEPDIR)/h5tov5d-h5utils.Po \ | |
101 | @AMDEP_TRUE@ ./$(DEPDIR)/h5tovtk.Po ./$(DEPDIR)/h5utils.Po \ | |
102 | @AMDEP_TRUE@ ./$(DEPDIR)/writepng.Po | |
103 | 98 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
104 | 99 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
105 | 100 | CCLD = $(CC) |
106 | 101 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
107 | SOURCES = $(h5fromh4_SOURCES) $(h5fromitxt_SOURCES) \ | |
108 | $(h5fromtxt_SOURCES) $(h5math_SOURCES) $(h5topng_SOURCES) \ | |
109 | $(h5totxt_SOURCES) $(h5tov5d_SOURCES) $(h5tovtk_SOURCES) | |
110 | DIST_SOURCES = $(h5fromh4_SOURCES) $(h5fromitxt_SOURCES) \ | |
111 | $(h5fromtxt_SOURCES) $(h5math_SOURCES) $(h5topng_SOURCES) \ | |
112 | $(h5totxt_SOURCES) $(h5tov5d_SOURCES) $(h5tovtk_SOURCES) | |
102 | SOURCES = $(h4fromh5_SOURCES) $(h5fromh4_SOURCES) \ | |
103 | $(h5fromitxt_SOURCES) $(h5fromtxt_SOURCES) $(h5math_SOURCES) \ | |
104 | $(h5topng_SOURCES) $(h5totxt_SOURCES) $(h5tov5d_SOURCES) \ | |
105 | $(h5tovtk_SOURCES) | |
106 | DIST_SOURCES = $(h4fromh5_SOURCES) $(h5fromh4_SOURCES) \ | |
107 | $(h5fromitxt_SOURCES) $(h5fromtxt_SOURCES) $(h5math_SOURCES) \ | |
108 | $(h5topng_SOURCES) $(h5totxt_SOURCES) $(h5tov5d_SOURCES) \ | |
109 | $(h5tovtk_SOURCES) | |
113 | 110 | man1dir = $(mandir)/man1 |
114 | 111 | NROFF = nroff |
115 | 112 | MANS = $(dist_man_MANS) $(nodist_man_MANS) |
113 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | |
114 | am__vpath_adj = case $$p in \ | |
115 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | |
116 | *) f=$$p;; \ | |
117 | esac; | |
118 | am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; | |
116 | 119 | nobase_dist_pkgdataDATA_INSTALL = $(install_sh_DATA) |
117 | 120 | octDATA_INSTALL = $(INSTALL_DATA) |
118 | 121 | DATA = $(nobase_dist_pkgdata_DATA) $(oct_DATA) |
153 | 156 | H4TOH5 = @H4TOH5@ |
154 | 157 | H4_LIBS = @H4_LIBS@ |
155 | 158 | H5READ = @H5READ@ |
159 | H5TOH4 = @H5TOH4@ | |
156 | 160 | H5TOPNG_MAN = @H5TOPNG_MAN@ |
157 | 161 | INSTALL_DATA = @INSTALL_DATA@ |
158 | 162 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
193 | 197 | am__include = @am__include@ |
194 | 198 | am__leading_dot = @am__leading_dot@ |
195 | 199 | am__quote = @am__quote@ |
200 | am__tar = @am__tar@ | |
201 | am__untar = @am__untar@ | |
196 | 202 | bindir = @bindir@ |
197 | 203 | build_alias = @build_alias@ |
198 | 204 | datadir = @datadir@ |
219 | 225 | colormaps/gray colormaps/green colormaps/hot colormaps/hsv \ |
220 | 226 | colormaps/jet colormaps/lines colormaps/pink colormaps/prism \ |
221 | 227 | colormaps/spring colormaps/summer colormaps/vga colormaps/winter \ |
222 | colormaps/yarg colormaps/yellow | |
228 | colormaps/yarg colormaps/yellow colormaps/dkbluered | |
223 | 229 | |
224 | 230 | EXTRA_MANS = h5topng.1.in h5tov5d.1 h5fromh4.1 h5math.1 |
225 | 231 | EXTRA_DIST = h5read.cc copyright.h $(COLORMAPS) $(EXTRA_MANS) |
237 | 243 | h5tov5d_LDADD = @V5D_FILES@ |
238 | 244 | h5fromh4_SOURCES = h5fromh4.c arrayh4.c arrayh4.h $(COMMON_SRC) |
239 | 245 | h5fromh4_LDADD = @H4_LIBS@ |
246 | h4fromh5_SOURCES = h4fromh5.c arrayh4.c arrayh4.h $(COMMON_SRC) | |
247 | h4fromh5_LDADD = @H4_LIBS@ | |
240 | 248 | h5math_SOURCES = h5math.c $(COMMON_SRC) |
241 | 249 | h5math_LDADD = -lmatheval |
242 | 250 | octdir = @OCT_INSTALL_DIR@ |
325 | 333 | |
326 | 334 | clean-noinstPROGRAMS: |
327 | 335 | -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) |
336 | h4fromh5$(EXEEXT): $(h4fromh5_OBJECTS) $(h4fromh5_DEPENDENCIES) | |
337 | @rm -f h4fromh5$(EXEEXT) | |
338 | $(LINK) $(h4fromh5_LDFLAGS) $(h4fromh5_OBJECTS) $(h4fromh5_LDADD) $(LIBS) | |
328 | 339 | h5fromh4$(EXEEXT): $(h5fromh4_OBJECTS) $(h5fromh4_DEPENDENCIES) |
329 | 340 | @rm -f h5fromh4$(EXEEXT) |
330 | 341 | $(LINK) $(h5fromh4_LDFLAGS) $(h5fromh4_OBJECTS) $(h5fromh4_LDADD) $(LIBS) |
358 | 369 | |
359 | 370 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arrayh4.Po@am__quote@ |
360 | 371 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arrayh5.Po@am__quote@ |
372 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/h4fromh5.Po@am__quote@ | |
361 | 373 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/h5fromh4.Po@am__quote@ |
362 | 374 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/h5fromitxt.Po@am__quote@ |
363 | 375 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/h5fromtxt.Po@am__quote@ |
375 | 387 | @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ |
376 | 388 | @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi |
377 | 389 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
378 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ | |
379 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
390 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
380 | 391 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< |
381 | 392 | |
382 | 393 | .c.obj: |
383 | 394 | @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ |
384 | 395 | @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi |
385 | 396 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
386 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ | |
387 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
397 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
388 | 398 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` |
389 | 399 | |
390 | 400 | h5tov5d-h5tov5d.o: h5tov5d.c |
391 | 401 | @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(h5tov5d_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT h5tov5d-h5tov5d.o -MD -MP -MF "$(DEPDIR)/h5tov5d-h5tov5d.Tpo" -c -o h5tov5d-h5tov5d.o `test -f 'h5tov5d.c' || echo '$(srcdir)/'`h5tov5d.c; \ |
392 | 402 | @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/h5tov5d-h5tov5d.Tpo" "$(DEPDIR)/h5tov5d-h5tov5d.Po"; else rm -f "$(DEPDIR)/h5tov5d-h5tov5d.Tpo"; exit 1; fi |
393 | 403 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='h5tov5d.c' object='h5tov5d-h5tov5d.o' libtool=no @AMDEPBACKSLASH@ |
394 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/h5tov5d-h5tov5d.Po' tmpdepfile='$(DEPDIR)/h5tov5d-h5tov5d.TPo' @AMDEPBACKSLASH@ | |
395 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
404 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
396 | 405 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(h5tov5d_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o h5tov5d-h5tov5d.o `test -f 'h5tov5d.c' || echo '$(srcdir)/'`h5tov5d.c |
397 | 406 | |
398 | 407 | h5tov5d-h5tov5d.obj: h5tov5d.c |
399 | 408 | @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(h5tov5d_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT h5tov5d-h5tov5d.obj -MD -MP -MF "$(DEPDIR)/h5tov5d-h5tov5d.Tpo" -c -o h5tov5d-h5tov5d.obj `if test -f 'h5tov5d.c'; then $(CYGPATH_W) 'h5tov5d.c'; else $(CYGPATH_W) '$(srcdir)/h5tov5d.c'; fi`; \ |
400 | 409 | @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/h5tov5d-h5tov5d.Tpo" "$(DEPDIR)/h5tov5d-h5tov5d.Po"; else rm -f "$(DEPDIR)/h5tov5d-h5tov5d.Tpo"; exit 1; fi |
401 | 410 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='h5tov5d.c' object='h5tov5d-h5tov5d.obj' libtool=no @AMDEPBACKSLASH@ |
402 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/h5tov5d-h5tov5d.Po' tmpdepfile='$(DEPDIR)/h5tov5d-h5tov5d.TPo' @AMDEPBACKSLASH@ | |
403 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
411 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
404 | 412 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(h5tov5d_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o h5tov5d-h5tov5d.obj `if test -f 'h5tov5d.c'; then $(CYGPATH_W) 'h5tov5d.c'; else $(CYGPATH_W) '$(srcdir)/h5tov5d.c'; fi` |
405 | 413 | |
406 | 414 | h5tov5d-arrayh5.o: arrayh5.c |
407 | 415 | @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(h5tov5d_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT h5tov5d-arrayh5.o -MD -MP -MF "$(DEPDIR)/h5tov5d-arrayh5.Tpo" -c -o h5tov5d-arrayh5.o `test -f 'arrayh5.c' || echo '$(srcdir)/'`arrayh5.c; \ |
408 | 416 | @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/h5tov5d-arrayh5.Tpo" "$(DEPDIR)/h5tov5d-arrayh5.Po"; else rm -f "$(DEPDIR)/h5tov5d-arrayh5.Tpo"; exit 1; fi |
409 | 417 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='arrayh5.c' object='h5tov5d-arrayh5.o' libtool=no @AMDEPBACKSLASH@ |
410 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/h5tov5d-arrayh5.Po' tmpdepfile='$(DEPDIR)/h5tov5d-arrayh5.TPo' @AMDEPBACKSLASH@ | |
411 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
418 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
412 | 419 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(h5tov5d_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o h5tov5d-arrayh5.o `test -f 'arrayh5.c' || echo '$(srcdir)/'`arrayh5.c |
413 | 420 | |
414 | 421 | h5tov5d-arrayh5.obj: arrayh5.c |
415 | 422 | @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(h5tov5d_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT h5tov5d-arrayh5.obj -MD -MP -MF "$(DEPDIR)/h5tov5d-arrayh5.Tpo" -c -o h5tov5d-arrayh5.obj `if test -f 'arrayh5.c'; then $(CYGPATH_W) 'arrayh5.c'; else $(CYGPATH_W) '$(srcdir)/arrayh5.c'; fi`; \ |
416 | 423 | @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/h5tov5d-arrayh5.Tpo" "$(DEPDIR)/h5tov5d-arrayh5.Po"; else rm -f "$(DEPDIR)/h5tov5d-arrayh5.Tpo"; exit 1; fi |
417 | 424 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='arrayh5.c' object='h5tov5d-arrayh5.obj' libtool=no @AMDEPBACKSLASH@ |
418 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/h5tov5d-arrayh5.Po' tmpdepfile='$(DEPDIR)/h5tov5d-arrayh5.TPo' @AMDEPBACKSLASH@ | |
419 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
425 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
420 | 426 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(h5tov5d_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o h5tov5d-arrayh5.obj `if test -f 'arrayh5.c'; then $(CYGPATH_W) 'arrayh5.c'; else $(CYGPATH_W) '$(srcdir)/arrayh5.c'; fi` |
421 | 427 | |
422 | 428 | h5tov5d-h5utils.o: h5utils.c |
423 | 429 | @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(h5tov5d_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT h5tov5d-h5utils.o -MD -MP -MF "$(DEPDIR)/h5tov5d-h5utils.Tpo" -c -o h5tov5d-h5utils.o `test -f 'h5utils.c' || echo '$(srcdir)/'`h5utils.c; \ |
424 | 430 | @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/h5tov5d-h5utils.Tpo" "$(DEPDIR)/h5tov5d-h5utils.Po"; else rm -f "$(DEPDIR)/h5tov5d-h5utils.Tpo"; exit 1; fi |
425 | 431 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='h5utils.c' object='h5tov5d-h5utils.o' libtool=no @AMDEPBACKSLASH@ |
426 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/h5tov5d-h5utils.Po' tmpdepfile='$(DEPDIR)/h5tov5d-h5utils.TPo' @AMDEPBACKSLASH@ | |
427 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
432 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
428 | 433 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(h5tov5d_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o h5tov5d-h5utils.o `test -f 'h5utils.c' || echo '$(srcdir)/'`h5utils.c |
429 | 434 | |
430 | 435 | h5tov5d-h5utils.obj: h5utils.c |
431 | 436 | @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(h5tov5d_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT h5tov5d-h5utils.obj -MD -MP -MF "$(DEPDIR)/h5tov5d-h5utils.Tpo" -c -o h5tov5d-h5utils.obj `if test -f 'h5utils.c'; then $(CYGPATH_W) 'h5utils.c'; else $(CYGPATH_W) '$(srcdir)/h5utils.c'; fi`; \ |
432 | 437 | @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/h5tov5d-h5utils.Tpo" "$(DEPDIR)/h5tov5d-h5utils.Po"; else rm -f "$(DEPDIR)/h5tov5d-h5utils.Tpo"; exit 1; fi |
433 | 438 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='h5utils.c' object='h5tov5d-h5utils.obj' libtool=no @AMDEPBACKSLASH@ |
434 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/h5tov5d-h5utils.Po' tmpdepfile='$(DEPDIR)/h5tov5d-h5utils.TPo' @AMDEPBACKSLASH@ | |
435 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
439 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
436 | 440 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(h5tov5d_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o h5tov5d-h5utils.obj `if test -f 'h5utils.c'; then $(CYGPATH_W) 'h5utils.c'; else $(CYGPATH_W) '$(srcdir)/h5utils.c'; fi` |
437 | 441 | uninstall-info-am: |
438 | 442 | install-man1: $(man1_MANS) $(man_MANS) |
483 | 487 | install-nobase_dist_pkgdataDATA: $(nobase_dist_pkgdata_DATA) |
484 | 488 | @$(NORMAL_INSTALL) |
485 | 489 | test -z "$(pkgdatadir)" || $(mkdir_p) "$(DESTDIR)$(pkgdatadir)" |
486 | @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ | |
490 | @$(am__vpath_adj_setup) \ | |
487 | 491 | list='$(nobase_dist_pkgdata_DATA)'; for p in $$list; do \ |
488 | 492 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
489 | case $$p in \ | |
490 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | |
491 | *) f=$$p;; \ | |
492 | esac; \ | |
493 | $(am__vpath_adj) \ | |
493 | 494 | echo " $(nobase_dist_pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \ |
494 | 495 | $(nobase_dist_pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \ |
495 | 496 | done |
496 | 497 | |
497 | 498 | uninstall-nobase_dist_pkgdataDATA: |
498 | 499 | @$(NORMAL_UNINSTALL) |
499 | @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ | |
500 | @$(am__vpath_adj_setup) \ | |
500 | 501 | list='$(nobase_dist_pkgdata_DATA)'; for p in $$list; do \ |
501 | case $$p in \ | |
502 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | |
503 | *) f=$$p;; \ | |
504 | esac; \ | |
502 | $(am__vpath_adj) \ | |
505 | 503 | echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \ |
506 | 504 | rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \ |
507 | 505 | done |
510 | 508 | test -z "$(octdir)" || $(mkdir_p) "$(DESTDIR)$(octdir)" |
511 | 509 | @list='$(oct_DATA)'; for p in $$list; do \ |
512 | 510 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
513 | f="`echo $$p | sed -e 's|^.*/||'`"; \ | |
511 | f=$(am__strip_dir) \ | |
514 | 512 | echo " $(octDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(octdir)/$$f'"; \ |
515 | 513 | $(octDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(octdir)/$$f"; \ |
516 | 514 | done |
518 | 516 | uninstall-octDATA: |
519 | 517 | @$(NORMAL_UNINSTALL) |
520 | 518 | @list='$(oct_DATA)'; for p in $$list; do \ |
521 | f="`echo $$p | sed -e 's|^.*/||'`"; \ | |
519 | f=$(am__strip_dir) \ | |
522 | 520 | echo " rm -f '$(DESTDIR)$(octdir)/$$f'"; \ |
523 | 521 | rm -f "$(DESTDIR)$(octdir)/$$f"; \ |
524 | 522 | done |
544 | 542 | $(AWK) ' { files[$$0] = 1; } \ |
545 | 543 | END { for (i in files) print i; }'`; \ |
546 | 544 | if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ |
547 | test -z "$$unique" && unique=$$empty_fix; \ | |
545 | test -n "$$unique" || unique=$$empty_fix; \ | |
548 | 546 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
549 | 547 | $$tags $$unique; \ |
550 | 548 | fi |
607 | 605 | ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ |
608 | 606 | || chmod -R a+r $(distdir) |
609 | 607 | dist-gzip: distdir |
610 | $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
608 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
611 | 609 | $(am__remove_distdir) |
612 | 610 | |
613 | 611 | dist-bzip2: distdir |
614 | $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 | |
612 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 | |
615 | 613 | $(am__remove_distdir) |
616 | 614 | |
617 | 615 | dist-tarZ: distdir |
618 | $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z | |
616 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z | |
619 | 617 | $(am__remove_distdir) |
620 | 618 | |
621 | 619 | dist-shar: distdir |
628 | 626 | $(am__remove_distdir) |
629 | 627 | |
630 | 628 | dist dist-all: distdir |
631 | $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
629 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
632 | 630 | $(am__remove_distdir) |
633 | 631 | |
634 | 632 | # This target untars the dist file and tries a VPATH configuration. Then |
637 | 635 | distcheck: dist |
638 | 636 | case '$(DIST_ARCHIVES)' in \ |
639 | 637 | *.tar.gz*) \ |
640 | GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\ | |
638 | GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ | |
641 | 639 | *.tar.bz2*) \ |
642 | bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\ | |
640 | bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ | |
643 | 641 | *.tar.Z*) \ |
644 | uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\ | |
642 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ | |
645 | 643 | *.shar.gz*) \ |
646 | 644 | GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ |
647 | 645 | *.zip*) \ |
724 | 722 | clean-generic: |
725 | 723 | |
726 | 724 | distclean-generic: |
727 | -rm -f $(CONFIG_CLEAN_FILES) | |
725 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
728 | 726 | |
729 | 727 | maintainer-clean-generic: |
730 | 728 | @echo "This command is intended for maintainers to use" |
0 | h5utils 1.10 (9/2/05) | |
1 | ||
2 | * Added h4fromh5 utility. (NCSA seems to be no longer shipping | |
3 | the HDF5/HDF4 conversion tools with the latest HDF5 release.) | |
4 | ||
5 | * Added dkbluered color map, which is similar to bluered but | |
6 | uses a somewhat wider range of colors. | |
7 | ||
0 | 8 | h5utils 1.9.1 (8/5/04) |
1 | 9 | |
2 | 10 | * Fix h5topng compilation failure with some non-C99 compilers; |
0 | # generated automatically by aclocal 1.8.4 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 | |
3 | # Free Software Foundation, Inc. | |
0 | # generated automatically by aclocal 1.9.5 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
3 | # 2005 Free Software Foundation, Inc. | |
4 | 4 | # This file is free software; the Free Software Foundation |
5 | 5 | # gives unlimited permission to copy and/or distribute it, |
6 | 6 | # with or without modifications, as long as this notice is preserved. |
10 | 10 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
11 | 11 | # PARTICULAR PURPOSE. |
12 | 12 | |
13 | # -*- Autoconf -*- | |
14 | # Copyright (C) 2002, 2003 Free Software Foundation, Inc. | |
15 | # Generated from amversion.in; do not edit by hand. | |
16 | ||
17 | # This program is free software; you can redistribute it and/or modify | |
18 | # it under the terms of the GNU General Public License as published by | |
19 | # the Free Software Foundation; either version 2, or (at your option) | |
20 | # any later version. | |
21 | ||
22 | # This program is distributed in the hope that it will be useful, | |
23 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
24 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
25 | # GNU General Public License for more details. | |
26 | ||
27 | # You should have received a copy of the GNU General Public License | |
28 | # along with this program; if not, write to the Free Software | |
29 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
13 | # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. | |
14 | # | |
15 | # This file is free software; the Free Software Foundation | |
16 | # gives unlimited permission to copy and/or distribute it, | |
17 | # with or without modifications, as long as this notice is preserved. | |
30 | 18 | |
31 | 19 | # AM_AUTOMAKE_VERSION(VERSION) |
32 | 20 | # ---------------------------- |
33 | 21 | # Automake X.Y traces this macro to ensure aclocal.m4 has been |
34 | 22 | # generated from the m4 files accompanying Automake X.Y. |
35 | AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"]) | |
23 | AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) | |
36 | 24 | |
37 | 25 | # AM_SET_CURRENT_AUTOMAKE_VERSION |
38 | 26 | # ------------------------------- |
39 | 27 | # Call AM_AUTOMAKE_VERSION so it can be traced. |
40 | 28 | # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
41 | 29 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
42 | [AM_AUTOMAKE_VERSION([1.8.4])]) | |
43 | ||
44 | # AM_AUX_DIR_EXPAND | |
45 | ||
46 | # Copyright (C) 2001, 2003 Free Software Foundation, Inc. | |
47 | ||
48 | # This program is free software; you can redistribute it and/or modify | |
49 | # it under the terms of the GNU General Public License as published by | |
50 | # the Free Software Foundation; either version 2, or (at your option) | |
51 | # any later version. | |
52 | ||
53 | # This program is distributed in the hope that it will be useful, | |
54 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
55 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
56 | # GNU General Public License for more details. | |
57 | ||
58 | # You should have received a copy of the GNU General Public License | |
59 | # along with this program; if not, write to the Free Software | |
60 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
61 | # 02111-1307, USA. | |
30 | [AM_AUTOMAKE_VERSION([1.9.5])]) | |
31 | ||
32 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- | |
33 | ||
34 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
35 | # | |
36 | # This file is free software; the Free Software Foundation | |
37 | # gives unlimited permission to copy and/or distribute it, | |
38 | # with or without modifications, as long as this notice is preserved. | |
62 | 39 | |
63 | 40 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
64 | 41 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to |
105 | 82 | am_aux_dir=`cd $ac_aux_dir && pwd` |
106 | 83 | ]) |
107 | 84 | |
108 | # AM_CONDITIONAL -*- Autoconf -*- | |
109 | ||
110 | # Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc. | |
111 | ||
112 | # This program is free software; you can redistribute it and/or modify | |
113 | # it under the terms of the GNU General Public License as published by | |
114 | # the Free Software Foundation; either version 2, or (at your option) | |
115 | # any later version. | |
116 | ||
117 | # This program is distributed in the hope that it will be useful, | |
118 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
119 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
120 | # GNU General Public License for more details. | |
121 | ||
122 | # You should have received a copy of the GNU General Public License | |
123 | # along with this program; if not, write to the Free Software | |
124 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
125 | # 02111-1307, USA. | |
126 | ||
127 | # serial 6 | |
85 | # AM_CONDITIONAL -*- Autoconf -*- | |
86 | ||
87 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 | |
88 | # Free Software Foundation, Inc. | |
89 | # | |
90 | # This file is free software; the Free Software Foundation | |
91 | # gives unlimited permission to copy and/or distribute it, | |
92 | # with or without modifications, as long as this notice is preserved. | |
93 | ||
94 | # serial 7 | |
128 | 95 | |
129 | 96 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
130 | 97 | # ------------------------------------- |
144 | 111 | fi |
145 | 112 | AC_CONFIG_COMMANDS_PRE( |
146 | 113 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
147 | AC_MSG_ERROR([conditional "$1" was never defined. | |
148 | Usually this means the macro was only invoked conditionally.]) | |
114 | AC_MSG_ERROR([[conditional "$1" was never defined. | |
115 | Usually this means the macro was only invoked conditionally.]]) | |
149 | 116 | fi])]) |
150 | 117 | |
151 | # serial 7 -*- Autoconf -*- | |
152 | ||
153 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 | |
118 | ||
119 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 | |
154 | 120 | # Free Software Foundation, Inc. |
155 | ||
156 | # This program is free software; you can redistribute it and/or modify | |
157 | # it under the terms of the GNU General Public License as published by | |
158 | # the Free Software Foundation; either version 2, or (at your option) | |
159 | # any later version. | |
160 | ||
161 | # This program is distributed in the hope that it will be useful, | |
162 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
163 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
164 | # GNU General Public License for more details. | |
165 | ||
166 | # You should have received a copy of the GNU General Public License | |
167 | # along with this program; if not, write to the Free Software | |
168 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
169 | # 02111-1307, USA. | |
170 | ||
121 | # | |
122 | # This file is free software; the Free Software Foundation | |
123 | # gives unlimited permission to copy and/or distribute it, | |
124 | # with or without modifications, as long as this notice is preserved. | |
125 | ||
126 | # serial 8 | |
171 | 127 | |
172 | 128 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |
173 | 129 | # written in clear, in which case automake, when reading aclocal.m4, |
174 | 130 | # will think it sees a *use*, and therefore will trigger all it's |
175 | 131 | # C support machinery. Also note that it means that autoscan, seeing |
176 | 132 | # CC etc. in the Makefile, will ask for an AC_PROG_CC use... |
177 | ||
178 | 133 | |
179 | 134 | |
180 | 135 | # _AM_DEPENDENCIES(NAME) |
316 | 271 | AC_SUBST([AMDEPBACKSLASH]) |
317 | 272 | ]) |
318 | 273 | |
319 | # Generate code to set up dependency tracking. -*- Autoconf -*- | |
320 | ||
321 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. | |
322 | ||
323 | # This program is free software; you can redistribute it and/or modify | |
324 | # it under the terms of the GNU General Public License as published by | |
325 | # the Free Software Foundation; either version 2, or (at your option) | |
326 | # any later version. | |
327 | ||
328 | # This program is distributed in the hope that it will be useful, | |
329 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
330 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
331 | # GNU General Public License for more details. | |
332 | ||
333 | # You should have received a copy of the GNU General Public License | |
334 | # along with this program; if not, write to the Free Software | |
335 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
336 | # 02111-1307, USA. | |
337 | ||
338 | #serial 2 | |
274 | # Generate code to set up dependency tracking. -*- Autoconf -*- | |
275 | ||
276 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 | |
277 | # Free Software Foundation, Inc. | |
278 | # | |
279 | # This file is free software; the Free Software Foundation | |
280 | # gives unlimited permission to copy and/or distribute it, | |
281 | # with or without modifications, as long as this notice is preserved. | |
282 | ||
283 | #serial 3 | |
339 | 284 | |
340 | 285 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
341 | 286 | # ------------------------------ |
354 | 299 | else |
355 | 300 | continue |
356 | 301 | fi |
357 | grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue | |
358 | # Extract the definition of DEP_FILES from the Makefile without | |
359 | # running `make'. | |
302 | # Extract the definition of DEPDIR, am__include, and am__quote | |
303 | # from the Makefile without running `make'. | |
360 | 304 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
361 | 305 | test -z "$DEPDIR" && continue |
306 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
307 | test -z "am__include" && continue | |
308 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
362 | 309 | # When using ansi2knr, U may be empty or an underscore; expand it |
363 | 310 | U=`sed -n 's/^U = //p' < "$mf"` |
364 | test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" | |
365 | # We invoke sed twice because it is the simplest approach to | |
366 | # changing $(DEPDIR) to its actual value in the expansion. | |
367 | for file in `sed -n ' | |
368 | /^DEP_FILES = .*\\\\$/ { | |
369 | s/^DEP_FILES = // | |
370 | :loop | |
371 | s/\\\\$// | |
372 | p | |
373 | n | |
374 | /\\\\$/ b loop | |
375 | p | |
376 | } | |
377 | /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ | |
311 | # Find all dependency output files, they are included files with | |
312 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
313 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
314 | # expansion. | |
315 | for file in `sed -n " | |
316 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
378 | 317 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
379 | 318 | # Make sure the directory exists. |
380 | 319 | test -f "$dirpart/$file" && continue |
400 | 339 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
401 | 340 | ]) |
402 | 341 | |
403 | # Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*- | |
404 | ||
405 | # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc. | |
406 | ||
407 | # This program is free software; you can redistribute it and/or modify | |
408 | # it under the terms of the GNU General Public License as published by | |
409 | # the Free Software Foundation; either version 2, or (at your option) | |
410 | # any later version. | |
411 | ||
412 | # This program is distributed in the hope that it will be useful, | |
413 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
414 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
415 | # GNU General Public License for more details. | |
416 | ||
417 | # You should have received a copy of the GNU General Public License | |
418 | # along with this program; if not, write to the Free Software | |
419 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
420 | # 02111-1307, USA. | |
421 | ||
422 | # serial 7 | |
342 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 | |
343 | # Free Software Foundation, Inc. | |
344 | # | |
345 | # This file is free software; the Free Software Foundation | |
346 | # gives unlimited permission to copy and/or distribute it, | |
347 | # with or without modifications, as long as this notice is preserved. | |
348 | ||
349 | # serial 8 | |
423 | 350 | |
424 | 351 | # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. |
425 | 352 | AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) |
426 | 353 | |
427 | # Do all the work for Automake. -*- Autoconf -*- | |
428 | ||
429 | # This macro actually does too much some checks are only needed if | |
354 | # Do all the work for Automake. -*- Autoconf -*- | |
355 | ||
356 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 | |
357 | # Free Software Foundation, Inc. | |
358 | # | |
359 | # This file is free software; the Free Software Foundation | |
360 | # gives unlimited permission to copy and/or distribute it, | |
361 | # with or without modifications, as long as this notice is preserved. | |
362 | ||
363 | # serial 12 | |
364 | ||
365 | # This macro actually does too much. Some checks are only needed if | |
430 | 366 | # your package does certain things. But this isn't really a big deal. |
431 | ||
432 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 | |
433 | # Free Software Foundation, Inc. | |
434 | ||
435 | # This program is free software; you can redistribute it and/or modify | |
436 | # it under the terms of the GNU General Public License as published by | |
437 | # the Free Software Foundation; either version 2, or (at your option) | |
438 | # any later version. | |
439 | ||
440 | # This program is distributed in the hope that it will be useful, | |
441 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
442 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
443 | # GNU General Public License for more details. | |
444 | ||
445 | # You should have received a copy of the GNU General Public License | |
446 | # along with this program; if not, write to the Free Software | |
447 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
448 | # 02111-1307, USA. | |
449 | ||
450 | # serial 11 | |
451 | 367 | |
452 | 368 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
453 | 369 | # AM_INIT_AUTOMAKE([OPTIONS]) |
505 | 421 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) |
506 | 422 | AM_MISSING_PROG(AUTOHEADER, autoheader) |
507 | 423 | AM_MISSING_PROG(MAKEINFO, makeinfo) |
508 | AM_MISSING_PROG(AMTAR, tar) | |
509 | 424 | AM_PROG_INSTALL_SH |
510 | 425 | AM_PROG_INSTALL_STRIP |
511 | 426 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl |
514 | 429 | AC_REQUIRE([AC_PROG_AWK])dnl |
515 | 430 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
516 | 431 | AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
517 | ||
432 | _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], | |
433 | [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | |
434 | [_AM_PROG_TAR([v7])])]) | |
518 | 435 | _AM_IF_OPTION([no-dependencies],, |
519 | 436 | [AC_PROVIDE_IFELSE([AC_PROG_CC], |
520 | 437 | [_AM_DEPENDENCIES(CC)], |
548 | 465 | done |
549 | 466 | echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) |
550 | 467 | |
468 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
469 | # | |
470 | # This file is free software; the Free Software Foundation | |
471 | # gives unlimited permission to copy and/or distribute it, | |
472 | # with or without modifications, as long as this notice is preserved. | |
473 | ||
551 | 474 | # AM_PROG_INSTALL_SH |
552 | 475 | # ------------------ |
553 | 476 | # Define $install_sh. |
554 | ||
555 | # Copyright (C) 2001, 2003 Free Software Foundation, Inc. | |
556 | ||
557 | # This program is free software; you can redistribute it and/or modify | |
558 | # it under the terms of the GNU General Public License as published by | |
559 | # the Free Software Foundation; either version 2, or (at your option) | |
560 | # any later version. | |
561 | ||
562 | # This program is distributed in the hope that it will be useful, | |
563 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
564 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
565 | # GNU General Public License for more details. | |
566 | ||
567 | # You should have received a copy of the GNU General Public License | |
568 | # along with this program; if not, write to the Free Software | |
569 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
570 | # 02111-1307, USA. | |
571 | ||
572 | 477 | AC_DEFUN([AM_PROG_INSTALL_SH], |
573 | 478 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
574 | 479 | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
575 | 480 | AC_SUBST(install_sh)]) |
576 | 481 | |
577 | # -*- Autoconf -*- | |
578 | # Copyright (C) 2003 Free Software Foundation, Inc. | |
579 | ||
580 | # This program is free software; you can redistribute it and/or modify | |
581 | # it under the terms of the GNU General Public License as published by | |
582 | # the Free Software Foundation; either version 2, or (at your option) | |
583 | # any later version. | |
584 | ||
585 | # This program is distributed in the hope that it will be useful, | |
586 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
587 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
588 | # GNU General Public License for more details. | |
589 | ||
590 | # You should have received a copy of the GNU General Public License | |
591 | # along with this program; if not, write to the Free Software | |
592 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
593 | # 02111-1307, USA. | |
594 | ||
595 | # serial 1 | |
482 | # Copyright (C) 2003, 2005 Free Software Foundation, Inc. | |
483 | # | |
484 | # This file is free software; the Free Software Foundation | |
485 | # gives unlimited permission to copy and/or distribute it, | |
486 | # with or without modifications, as long as this notice is preserved. | |
487 | ||
488 | # serial 2 | |
596 | 489 | |
597 | 490 | # Check whether the underlying file-system supports filenames |
598 | 491 | # with a leading dot. For instance MS-DOS doesn't. |
607 | 500 | rmdir .tst 2>/dev/null |
608 | 501 | AC_SUBST([am__leading_dot])]) |
609 | 502 | |
610 | # Add --enable-maintainer-mode option to configure. | |
503 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- | |
611 | 504 | # From Jim Meyering |
612 | 505 | |
613 | # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004 | |
506 | # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 | |
614 | 507 | # Free Software Foundation, Inc. |
615 | ||
616 | # This program is free software; you can redistribute it and/or modify | |
617 | # it under the terms of the GNU General Public License as published by | |
618 | # the Free Software Foundation; either version 2, or (at your option) | |
619 | # any later version. | |
620 | ||
621 | # This program is distributed in the hope that it will be useful, | |
622 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
623 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
624 | # GNU General Public License for more details. | |
625 | ||
626 | # You should have received a copy of the GNU General Public License | |
627 | # along with this program; if not, write to the Free Software | |
628 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
629 | # 02111-1307, USA. | |
630 | ||
631 | # serial 3 | |
508 | # | |
509 | # This file is free software; the Free Software Foundation | |
510 | # gives unlimited permission to copy and/or distribute it, | |
511 | # with or without modifications, as long as this notice is preserved. | |
512 | ||
513 | # serial 4 | |
632 | 514 | |
633 | 515 | AC_DEFUN([AM_MAINTAINER_MODE], |
634 | 516 | [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) |
647 | 529 | |
648 | 530 | AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) |
649 | 531 | |
650 | # Check to see how 'make' treats includes. -*- Autoconf -*- | |
651 | ||
652 | # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. | |
653 | ||
654 | # This program is free software; you can redistribute it and/or modify | |
655 | # it under the terms of the GNU General Public License as published by | |
656 | # the Free Software Foundation; either version 2, or (at your option) | |
657 | # any later version. | |
658 | ||
659 | # This program is distributed in the hope that it will be useful, | |
660 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
661 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
662 | # GNU General Public License for more details. | |
663 | ||
664 | # You should have received a copy of the GNU General Public License | |
665 | # along with this program; if not, write to the Free Software | |
666 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
667 | # 02111-1307, USA. | |
668 | ||
669 | # serial 2 | |
532 | # Check to see how 'make' treats includes. -*- Autoconf -*- | |
533 | ||
534 | # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. | |
535 | # | |
536 | # This file is free software; the Free Software Foundation | |
537 | # gives unlimited permission to copy and/or distribute it, | |
538 | # with or without modifications, as long as this notice is preserved. | |
539 | ||
540 | # serial 3 | |
670 | 541 | |
671 | 542 | # AM_MAKE_INCLUDE() |
672 | 543 | # ----------------- |
710 | 581 | rm -f confinc confmf |
711 | 582 | ]) |
712 | 583 | |
713 | # -*- Autoconf -*- | |
714 | ||
715 | ||
716 | # Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc. | |
717 | ||
718 | # This program is free software; you can redistribute it and/or modify | |
719 | # it under the terms of the GNU General Public License as published by | |
720 | # the Free Software Foundation; either version 2, or (at your option) | |
721 | # any later version. | |
722 | ||
723 | # This program is distributed in the hope that it will be useful, | |
724 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
725 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
726 | # GNU General Public License for more details. | |
727 | ||
728 | # You should have received a copy of the GNU General Public License | |
729 | # along with this program; if not, write to the Free Software | |
730 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
731 | # 02111-1307, USA. | |
732 | ||
733 | # serial 3 | |
584 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- | |
585 | ||
586 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 | |
587 | # Free Software Foundation, Inc. | |
588 | # | |
589 | # This file is free software; the Free Software Foundation | |
590 | # gives unlimited permission to copy and/or distribute it, | |
591 | # with or without modifications, as long as this notice is preserved. | |
592 | ||
593 | # serial 4 | |
734 | 594 | |
735 | 595 | # AM_MISSING_PROG(NAME, PROGRAM) |
736 | 596 | # ------------------------------ |
756 | 616 | fi |
757 | 617 | ]) |
758 | 618 | |
619 | # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. | |
620 | # | |
621 | # This file is free software; the Free Software Foundation | |
622 | # gives unlimited permission to copy and/or distribute it, | |
623 | # with or without modifications, as long as this notice is preserved. | |
624 | ||
759 | 625 | # AM_PROG_MKDIR_P |
760 | 626 | # --------------- |
761 | 627 | # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. |
762 | ||
763 | # Copyright (C) 2003, 2004 Free Software Foundation, Inc. | |
764 | ||
765 | # This program is free software; you can redistribute it and/or modify | |
766 | # it under the terms of the GNU General Public License as published by | |
767 | # the Free Software Foundation; either version 2, or (at your option) | |
768 | # any later version. | |
769 | ||
770 | # This program is distributed in the hope that it will be useful, | |
771 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
772 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
773 | # GNU General Public License for more details. | |
774 | ||
775 | # You should have received a copy of the GNU General Public License | |
776 | # along with this program; if not, write to the Free Software | |
777 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
778 | # 02111-1307, USA. | |
779 | ||
628 | # | |
780 | 629 | # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories |
781 | 630 | # created by `make install' are always world readable, even if the |
782 | 631 | # installer happens to have an overly restrictive umask (e.g. 077). |
797 | 646 | # this.) |
798 | 647 | AC_DEFUN([AM_PROG_MKDIR_P], |
799 | 648 | [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
800 | # Keeping the `.' argument allows $(mkdir_p) to be used without | |
801 | # argument. Indeed, we sometimes output rules like | |
649 | # We used to keeping the `.' as first argument, in order to | |
650 | # allow $(mkdir_p) to be used without argument. As in | |
802 | 651 | # $(mkdir_p) $(somedir) |
803 | # where $(somedir) is conditionally defined. | |
804 | # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more | |
805 | # expensive solution, as it forces Make to start a sub-shell.) | |
806 | mkdir_p='mkdir -p -- .' | |
652 | # where $(somedir) is conditionally defined. However this is wrong | |
653 | # for two reasons: | |
654 | # 1. if the package is installed by a user who cannot write `.' | |
655 | # make install will fail, | |
656 | # 2. the above comment should most certainly read | |
657 | # $(mkdir_p) $(DESTDIR)$(somedir) | |
658 | # so it does not work when $(somedir) is undefined and | |
659 | # $(DESTDIR) is not. | |
660 | # To support the latter case, we have to write | |
661 | # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), | |
662 | # so the `.' trick is pointless. | |
663 | mkdir_p='mkdir -p --' | |
807 | 664 | else |
808 | 665 | # On NextStep and OpenStep, the `mkdir' command does not |
809 | 666 | # recognize any option. It will interpret all options as |
822 | 679 | fi |
823 | 680 | AC_SUBST([mkdir_p])]) |
824 | 681 | |
825 | # Helper functions for option handling. -*- Autoconf -*- | |
826 | ||
827 | # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. | |
828 | ||
829 | # This program is free software; you can redistribute it and/or modify | |
830 | # it under the terms of the GNU General Public License as published by | |
831 | # the Free Software Foundation; either version 2, or (at your option) | |
832 | # any later version. | |
833 | ||
834 | # This program is distributed in the hope that it will be useful, | |
835 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
836 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
837 | # GNU General Public License for more details. | |
838 | ||
839 | # You should have received a copy of the GNU General Public License | |
840 | # along with this program; if not, write to the Free Software | |
841 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
842 | # 02111-1307, USA. | |
843 | ||
844 | # serial 2 | |
682 | # Helper functions for option handling. -*- Autoconf -*- | |
683 | ||
684 | # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. | |
685 | # | |
686 | # This file is free software; the Free Software Foundation | |
687 | # gives unlimited permission to copy and/or distribute it, | |
688 | # with or without modifications, as long as this notice is preserved. | |
689 | ||
690 | # serial 3 | |
845 | 691 | |
846 | 692 | # _AM_MANGLE_OPTION(NAME) |
847 | 693 | # ----------------------- |
866 | 712 | AC_DEFUN([_AM_IF_OPTION], |
867 | 713 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
868 | 714 | |
869 | # | |
870 | # Check to make sure that the build environment is sane. | |
871 | # | |
872 | ||
873 | # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc. | |
874 | ||
875 | # This program is free software; you can redistribute it and/or modify | |
876 | # it under the terms of the GNU General Public License as published by | |
877 | # the Free Software Foundation; either version 2, or (at your option) | |
878 | # any later version. | |
879 | ||
880 | # This program is distributed in the hope that it will be useful, | |
881 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
882 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
883 | # GNU General Public License for more details. | |
884 | ||
885 | # You should have received a copy of the GNU General Public License | |
886 | # along with this program; if not, write to the Free Software | |
887 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
888 | # 02111-1307, USA. | |
889 | ||
890 | # serial 3 | |
715 | # Check to make sure that the build environment is sane. -*- Autoconf -*- | |
716 | ||
717 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 | |
718 | # Free Software Foundation, Inc. | |
719 | # | |
720 | # This file is free software; the Free Software Foundation | |
721 | # gives unlimited permission to copy and/or distribute it, | |
722 | # with or without modifications, as long as this notice is preserved. | |
723 | ||
724 | # serial 4 | |
891 | 725 | |
892 | 726 | # AM_SANITY_CHECK |
893 | 727 | # --------------- |
930 | 764 | fi |
931 | 765 | AC_MSG_RESULT(yes)]) |
932 | 766 | |
767 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
768 | # | |
769 | # This file is free software; the Free Software Foundation | |
770 | # gives unlimited permission to copy and/or distribute it, | |
771 | # with or without modifications, as long as this notice is preserved. | |
772 | ||
933 | 773 | # AM_PROG_INSTALL_STRIP |
934 | ||
935 | # Copyright (C) 2001, 2003 Free Software Foundation, Inc. | |
936 | ||
937 | # This program is free software; you can redistribute it and/or modify | |
938 | # it under the terms of the GNU General Public License as published by | |
939 | # the Free Software Foundation; either version 2, or (at your option) | |
940 | # any later version. | |
941 | ||
942 | # This program is distributed in the hope that it will be useful, | |
943 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
944 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
945 | # GNU General Public License for more details. | |
946 | ||
947 | # You should have received a copy of the GNU General Public License | |
948 | # along with this program; if not, write to the Free Software | |
949 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
950 | # 02111-1307, USA. | |
951 | ||
774 | # --------------------- | |
952 | 775 | # One issue with vendor `install' (even GNU) is that you can't |
953 | 776 | # specify the program used to strip binaries. This is especially |
954 | 777 | # annoying in cross-compiling environments, where the build's strip |
969 | 792 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
970 | 793 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
971 | 794 | |
795 | # Check how to create a tarball. -*- Autoconf -*- | |
796 | ||
797 | # Copyright (C) 2004, 2005 Free Software Foundation, Inc. | |
798 | # | |
799 | # This file is free software; the Free Software Foundation | |
800 | # gives unlimited permission to copy and/or distribute it, | |
801 | # with or without modifications, as long as this notice is preserved. | |
802 | ||
803 | # serial 2 | |
804 | ||
805 | # _AM_PROG_TAR(FORMAT) | |
806 | # -------------------- | |
807 | # Check how to create a tarball in format FORMAT. | |
808 | # FORMAT should be one of `v7', `ustar', or `pax'. | |
809 | # | |
810 | # Substitute a variable $(am__tar) that is a command | |
811 | # writing to stdout a FORMAT-tarball containing the directory | |
812 | # $tardir. | |
813 | # tardir=directory && $(am__tar) > result.tar | |
814 | # | |
815 | # Substitute a variable $(am__untar) that extract such | |
816 | # a tarball read from stdin. | |
817 | # $(am__untar) < result.tar | |
818 | AC_DEFUN([_AM_PROG_TAR], | |
819 | [# Always define AMTAR for backward compatibility. | |
820 | AM_MISSING_PROG([AMTAR], [tar]) | |
821 | m4_if([$1], [v7], | |
822 | [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], | |
823 | [m4_case([$1], [ustar],, [pax],, | |
824 | [m4_fatal([Unknown tar format])]) | |
825 | AC_MSG_CHECKING([how to create a $1 tar archive]) | |
826 | # Loop over all known methods to create a tar archive until one works. | |
827 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | |
828 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | |
829 | # Do not fold the above two line into one, because Tru64 sh and | |
830 | # Solaris sh will not grok spaces in the rhs of `-'. | |
831 | for _am_tool in $_am_tools | |
832 | do | |
833 | case $_am_tool in | |
834 | gnutar) | |
835 | for _am_tar in tar gnutar gtar; | |
836 | do | |
837 | AM_RUN_LOG([$_am_tar --version]) && break | |
838 | done | |
839 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | |
840 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | |
841 | am__untar="$_am_tar -xf -" | |
842 | ;; | |
843 | plaintar) | |
844 | # Must skip GNU tar: if it does not support --format= it doesn't create | |
845 | # ustar tarball either. | |
846 | (tar --version) >/dev/null 2>&1 && continue | |
847 | am__tar='tar chf - "$$tardir"' | |
848 | am__tar_='tar chf - "$tardir"' | |
849 | am__untar='tar xf -' | |
850 | ;; | |
851 | pax) | |
852 | am__tar='pax -L -x $1 -w "$$tardir"' | |
853 | am__tar_='pax -L -x $1 -w "$tardir"' | |
854 | am__untar='pax -r' | |
855 | ;; | |
856 | cpio) | |
857 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | |
858 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | |
859 | am__untar='cpio -i -H $1 -d' | |
860 | ;; | |
861 | none) | |
862 | am__tar=false | |
863 | am__tar_=false | |
864 | am__untar=false | |
865 | ;; | |
866 | esac | |
867 | ||
868 | # If the value was cached, stop now. We just wanted to have am__tar | |
869 | # and am__untar set. | |
870 | test -n "${am_cv_prog_tar_$1}" && break | |
871 | ||
872 | # tar/untar a dummy directory, and stop if the command works | |
873 | rm -rf conftest.dir | |
874 | mkdir conftest.dir | |
875 | echo GrepMe > conftest.dir/file | |
876 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | |
877 | rm -rf conftest.dir | |
878 | if test -s conftest.tar; then | |
879 | AM_RUN_LOG([$am__untar <conftest.tar]) | |
880 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | |
881 | fi | |
882 | done | |
883 | rm -rf conftest.dir | |
884 | ||
885 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | |
886 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | |
887 | AC_SUBST([am__tar]) | |
888 | AC_SUBST([am__untar]) | |
889 | ]) # _AM_PROG_TAR | |
890 |
0 | /* Copyright (c) 2004 Massachusetts Institute of Technology | |
0 | /* Copyright (c) 2005 Massachusetts Institute of Technology | |
1 | 1 | * |
2 | 2 | * Permission is hereby granted, free of charge, to any person obtaining |
3 | 3 | * a copy of this software and associated documentation files (the |
0 | /* Copyright (c) 2004 Massachusetts Institute of Technology | |
0 | /* Copyright (c) 2005 Massachusetts Institute of Technology | |
1 | 1 | * |
2 | 2 | * Permission is hereby granted, free of charge, to any person obtaining |
3 | 3 | * a copy of this software and associated documentation files (the |
0 | # red-yellow color map (from Matlab) | |
0 | # red-yellow color map (based on Matlab colormap) | |
1 | 1 | 1.0000000e+00 0.0000000e+00 0.0000000e+00 1 |
2 | 1.0000000e+00 6.6666667e-02 0.0000000e+00 1 | |
3 | 1.0000000e+00 1.3333333e-01 0.0000000e+00 1 | |
4 | 1.0000000e+00 2.0000000e-01 0.0000000e+00 1 | |
5 | 1.0000000e+00 2.6666667e-01 0.0000000e+00 1 | |
6 | 1.0000000e+00 3.3333333e-01 0.0000000e+00 1 | |
7 | 1.0000000e+00 4.0000000e-01 0.0000000e+00 1 | |
8 | 1.0000000e+00 4.6666667e-01 0.0000000e+00 1 | |
9 | 1.0000000e+00 5.3333333e-01 0.0000000e+00 1 | |
10 | 1.0000000e+00 6.0000000e-01 0.0000000e+00 1 | |
11 | 1.0000000e+00 6.6666667e-01 0.0000000e+00 1 | |
12 | 1.0000000e+00 7.3333333e-01 0.0000000e+00 1 | |
13 | 1.0000000e+00 8.0000000e-01 0.0000000e+00 1 | |
14 | 1.0000000e+00 8.6666667e-01 0.0000000e+00 1 | |
15 | 1.0000000e+00 9.3333333e-01 0.0000000e+00 1 | |
16 | 2 | 1.0000000e+00 1.0000000e+00 0.0000000e+00 1 |
0 | # cyan-magenta color map (from Matlab) | |
0 | # cyan-magenta color map (based on Matlab colormap) | |
1 | 1 | 0.0000000e+00 1.0000000e+00 1.0000000e+00 1 |
2 | 6.6666667e-02 9.3333333e-01 1.0000000e+00 1 | |
3 | 1.3333333e-01 8.6666667e-01 1.0000000e+00 1 | |
4 | 2.0000000e-01 8.0000000e-01 1.0000000e+00 1 | |
5 | 2.6666667e-01 7.3333333e-01 1.0000000e+00 1 | |
6 | 3.3333333e-01 6.6666667e-01 1.0000000e+00 1 | |
7 | 4.0000000e-01 6.0000000e-01 1.0000000e+00 1 | |
8 | 4.6666667e-01 5.3333333e-01 1.0000000e+00 1 | |
9 | 5.3333333e-01 4.6666667e-01 1.0000000e+00 1 | |
10 | 6.0000000e-01 4.0000000e-01 1.0000000e+00 1 | |
11 | 6.6666667e-01 3.3333333e-01 1.0000000e+00 1 | |
12 | 7.3333333e-01 2.6666667e-01 1.0000000e+00 1 | |
13 | 8.0000000e-01 2.0000000e-01 1.0000000e+00 1 | |
14 | 8.6666667e-01 1.3333333e-01 1.0000000e+00 1 | |
15 | 9.3333333e-01 6.6666667e-02 1.0000000e+00 1 | |
16 | 2 | 1.0000000e+00 0.0000000e+00 1.0000000e+00 1 |
0 | # darkblue-blue-white-red-darkred color map, based loosely on "Seismic" | |
1 | # color table from Spyglass Transform | |
2 | 0.03 0.00 0.20 1 | |
3 | 0.07 0.00 0.31 1 | |
4 | 0.10 0.00 0.42 1 | |
5 | 0.11 0.00 0.53 1 | |
6 | 0.10 0.00 0.64 1 | |
7 | 0.09 0.00 0.75 1 | |
8 | 0.06 0.00 0.86 1 | |
9 | 0.01 0.00 0.97 1 | |
10 | 0.08 0.13 1.00 1 | |
11 | 0.22 0.30 1.00 1 | |
12 | 0.35 0.46 1.00 1 | |
13 | 0.48 0.60 1.00 1 | |
14 | 0.61 0.73 1.00 1 | |
15 | 0.75 0.83 1.00 1 | |
16 | 0.88 0.93 1.00 1 | |
17 | 1.00 1.00 1.00 1 | |
18 | 1.00 0.93 0.88 1 | |
19 | 1.00 0.83 0.75 1 | |
20 | 1.00 0.73 0.61 1 | |
21 | 1.00 0.60 0.48 1 | |
22 | 1.00 0.46 0.35 1 | |
23 | 1.00 0.30 0.22 1 | |
24 | 1.00 0.13 0.08 1 | |
25 | 0.97 0.00 0.01 1 | |
26 | 0.86 0.00 0.06 1 | |
27 | 0.75 0.00 0.09 1 | |
28 | 0.64 0.00 0.10 1 | |
29 | 0.53 0.00 0.11 1 | |
30 | 0.42 0.00 0.10 1 | |
31 | 0.31 0.00 0.07 1 | |
32 | 0.21 0.00 0.03 1 |
0 | # blue-green color map (from Matlab) | |
0 | # blue-green color map (based on Matlab colormap) | |
1 | 1 | 0.0000000e+00 0.0000000e+00 1.0000000e+00 1 |
2 | 0.0000000e+00 6.6666667e-02 9.6666667e-01 1 | |
3 | 0.0000000e+00 1.3333333e-01 9.3333333e-01 1 | |
4 | 0.0000000e+00 2.0000000e-01 9.0000000e-01 1 | |
5 | 0.0000000e+00 2.6666667e-01 8.6666667e-01 1 | |
6 | 0.0000000e+00 3.3333333e-01 8.3333333e-01 1 | |
7 | 0.0000000e+00 4.0000000e-01 8.0000000e-01 1 | |
8 | 0.0000000e+00 4.6666667e-01 7.6666667e-01 1 | |
9 | 0.0000000e+00 5.3333333e-01 7.3333333e-01 1 | |
10 | 0.0000000e+00 6.0000000e-01 7.0000000e-01 1 | |
11 | 0.0000000e+00 6.6666667e-01 6.6666667e-01 1 | |
12 | 0.0000000e+00 7.3333333e-01 6.3333333e-01 1 | |
13 | 0.0000000e+00 8.0000000e-01 6.0000000e-01 1 | |
14 | 0.0000000e+00 8.6666667e-01 5.6666667e-01 1 | |
15 | 0.0000000e+00 9.3333333e-01 5.3333333e-01 1 | |
16 | 2 | 0.0000000e+00 1.0000000e+00 5.0000000e-01 1 |
0 | 0 | #! /bin/sh |
1 | 1 | # Wrapper for compilers which do not understand `-c -o'. |
2 | 2 | |
3 | scriptversion=2003-11-09.00 | |
3 | scriptversion=2005-02-03.08 | |
4 | 4 | |
5 | # Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc. | |
5 | # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. | |
6 | 6 | # Written by Tom Tromey <tromey@cygnus.com>. |
7 | 7 | # |
8 | 8 | # This program is free software; you can redistribute it and/or modify |
46 | 46 | |
47 | 47 | Report bugs to <bug-automake@gnu.org>. |
48 | 48 | EOF |
49 | exit 0 | |
49 | exit $? | |
50 | 50 | ;; |
51 | 51 | -v | --v*) |
52 | 52 | echo "compile $scriptversion" |
53 | exit 0 | |
53 | exit $? | |
54 | 54 | ;; |
55 | 55 | esac |
56 | 56 | |
57 | ||
58 | prog=$1 | |
59 | shift | |
60 | ||
61 | 57 | ofile= |
62 | 58 | cfile= |
63 | args= | |
64 | while test $# -gt 0; do | |
65 | case "$1" in | |
66 | -o) | |
67 | # configure might choose to run compile as `compile cc -o foo foo.c'. | |
68 | # So we do something ugly here. | |
69 | ofile=$2 | |
70 | shift | |
71 | case "$ofile" in | |
72 | *.o | *.obj) | |
73 | ;; | |
74 | *) | |
75 | args="$args -o $ofile" | |
76 | ofile= | |
77 | ;; | |
78 | esac | |
79 | ;; | |
80 | *.c) | |
81 | cfile=$1 | |
82 | args="$args $1" | |
83 | ;; | |
84 | *) | |
85 | args="$args $1" | |
86 | ;; | |
87 | esac | |
59 | eat= | |
60 | ||
61 | for arg | |
62 | do | |
63 | if test -n "$eat"; then | |
64 | eat= | |
65 | else | |
66 | case $1 in | |
67 | -o) | |
68 | # configure might choose to run compile as `compile cc -o foo foo.c'. | |
69 | # So we strip `-o arg' only if arg is an object. | |
70 | eat=1 | |
71 | case $2 in | |
72 | *.o | *.obj) | |
73 | ofile=$2 | |
74 | ;; | |
75 | *) | |
76 | set x "$@" -o "$2" | |
77 | shift | |
78 | ;; | |
79 | esac | |
80 | ;; | |
81 | *.c) | |
82 | cfile=$1 | |
83 | set x "$@" "$1" | |
84 | shift | |
85 | ;; | |
86 | *) | |
87 | set x "$@" "$1" | |
88 | shift | |
89 | ;; | |
90 | esac | |
91 | fi | |
88 | 92 | shift |
89 | 93 | done |
90 | 94 | |
94 | 98 | # normal compilation that the losing compiler can handle. If no |
95 | 99 | # `.c' file was seen then we are probably linking. That is also |
96 | 100 | # ok. |
97 | exec "$prog" $args | |
101 | exec "$@" | |
98 | 102 | fi |
99 | 103 | |
100 | 104 | # Name of file we expect compiler to create. |
101 | cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'` | |
105 | cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'` | |
102 | 106 | |
103 | 107 | # Create the lock directory. |
104 | 108 | # Note: use `[/.-]' here to ensure that we don't use the same name |
105 | 109 | # that we are using for the .o file. Also, base the name on the expected |
106 | 110 | # object file name, since that is what matters with a parallel build. |
107 | lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d | |
111 | lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d | |
108 | 112 | while true; do |
109 | if mkdir $lockdir > /dev/null 2>&1; then | |
113 | if mkdir "$lockdir" >/dev/null 2>&1; then | |
110 | 114 | break |
111 | 115 | fi |
112 | 116 | sleep 1 |
113 | 117 | done |
114 | 118 | # FIXME: race condition here if user kills between mkdir and trap. |
115 | trap "rmdir $lockdir; exit 1" 1 2 15 | |
119 | trap "rmdir '$lockdir'; exit 1" 1 2 15 | |
116 | 120 | |
117 | 121 | # Run the compile. |
118 | "$prog" $args | |
119 | status=$? | |
122 | "$@" | |
123 | ret=$? | |
120 | 124 | |
121 | 125 | if test -f "$cofile"; then |
122 | 126 | mv "$cofile" "$ofile" |
127 | elif test -f "${cofile}bj"; then | |
128 | mv "${cofile}bj" "$ofile" | |
123 | 129 | fi |
124 | 130 | |
125 | rmdir $lockdir | |
126 | exit $status | |
131 | rmdir "$lockdir" | |
132 | exit $ret | |
127 | 133 | |
128 | 134 | # Local Variables: |
129 | 135 | # mode: shell-script |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.59 for h5utils 1.9.1. | |
2 | # Generated by GNU Autoconf 2.59 for h5utils 1.10. | |
3 | 3 | # |
4 | 4 | # Report bugs to <stevenj@alum.mit.edu>. |
5 | 5 | # |
268 | 268 | # Identity of this package. |
269 | 269 | PACKAGE_NAME='h5utils' |
270 | 270 | PACKAGE_TARNAME='h5utils' |
271 | PACKAGE_VERSION='1.9.1' | |
272 | PACKAGE_STRING='h5utils 1.9.1' | |
271 | PACKAGE_VERSION='1.10' | |
272 | PACKAGE_STRING='h5utils 1.10' | |
273 | 273 | PACKAGE_BUGREPORT='stevenj@alum.mit.edu' |
274 | 274 | |
275 | 275 | ac_unique_file="h5topng.c" |
310 | 310 | # include <unistd.h> |
311 | 311 | #endif" |
312 | 312 | |
313 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP H5TOPNG_MAN PNG_LIBS H4TOH5 H4_LIBS MKOCTFILE OCTAVE H5READ OCT_INSTALL_DIR V5D_FILES V5D_INCLUDES datadir_val MORE_H5UTILS MORE_H5UTILS_MANS LIBOBJS LTLIBOBJS' | |
313 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP H5TOPNG_MAN PNG_LIBS H4TOH5 H5TOH4 H4_LIBS MKOCTFILE OCTAVE H5READ OCT_INSTALL_DIR V5D_FILES V5D_INCLUDES datadir_val MORE_H5UTILS MORE_H5UTILS_MANS LIBOBJS LTLIBOBJS' | |
314 | 314 | ac_subst_files='' |
315 | 315 | |
316 | 316 | # Initialize some variables set by options. |
779 | 779 | # Omit some internal or obsolete options to make the list less imposing. |
780 | 780 | # This message is too long to be a string in the A/UX 3.1 sh. |
781 | 781 | cat <<_ACEOF |
782 | \`configure' configures h5utils 1.9.1 to adapt to many kinds of systems. | |
782 | \`configure' configures h5utils 1.10 to adapt to many kinds of systems. | |
783 | 783 | |
784 | 784 | Usage: $0 [OPTION]... [VAR=VALUE]... |
785 | 785 | |
841 | 841 | |
842 | 842 | if test -n "$ac_init_help"; then |
843 | 843 | case $ac_init_help in |
844 | short | recursive ) echo "Configuration of h5utils 1.9.1:";; | |
844 | short | recursive ) echo "Configuration of h5utils 1.10:";; | |
845 | 845 | esac |
846 | 846 | cat <<\_ACEOF |
847 | 847 | |
856 | 856 | Optional Packages: |
857 | 857 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
858 | 858 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
859 | --without-h5fromh4 don't compile h5fromh4 | |
859 | --with-hdf4 build hdf4 utils even if h4toh5 and h5toh4 are | |
860 | present | |
860 | 861 | --without-octave don't compile h5read Octave plugin |
861 | 862 | --with-v5d=<dir> use Vis5d in <dir> for h5tov5d |
862 | 863 | |
968 | 969 | test -n "$ac_init_help" && exit 0 |
969 | 970 | if $ac_init_version; then |
970 | 971 | cat <<\_ACEOF |
971 | h5utils configure 1.9.1 | |
972 | h5utils configure 1.10 | |
972 | 973 | generated by GNU Autoconf 2.59 |
973 | 974 | |
974 | 975 | Copyright (C) 2003 Free Software Foundation, Inc. |
982 | 983 | This file contains any messages produced by compilers while |
983 | 984 | running configure, to aid debugging if configure makes a mistake. |
984 | 985 | |
985 | It was created by h5utils $as_me 1.9.1, which was | |
986 | It was created by h5utils $as_me 1.10, which was | |
986 | 987 | generated by GNU Autoconf 2.59. Invocation command line was |
987 | 988 | |
988 | 989 | $ $0 $@ |
1318 | 1319 | |
1319 | 1320 | |
1320 | 1321 | |
1321 | am__api_version="1.8" | |
1322 | am__api_version="1.9" | |
1322 | 1323 | ac_aux_dir= |
1323 | 1324 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1324 | 1325 | if test -f $ac_dir/install-sh; then |
1495 | 1496 | fi |
1496 | 1497 | |
1497 | 1498 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
1498 | # Keeping the `.' argument allows $(mkdir_p) to be used without | |
1499 | # argument. Indeed, we sometimes output rules like | |
1499 | # We used to keeping the `.' as first argument, in order to | |
1500 | # allow $(mkdir_p) to be used without argument. As in | |
1500 | 1501 | # $(mkdir_p) $(somedir) |
1501 | # where $(somedir) is conditionally defined. | |
1502 | # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more | |
1503 | # expensive solution, as it forces Make to start a sub-shell.) | |
1504 | mkdir_p='mkdir -p -- .' | |
1502 | # where $(somedir) is conditionally defined. However this is wrong | |
1503 | # for two reasons: | |
1504 | # 1. if the package is installed by a user who cannot write `.' | |
1505 | # make install will fail, | |
1506 | # 2. the above comment should most certainly read | |
1507 | # $(mkdir_p) $(DESTDIR)$(somedir) | |
1508 | # so it does not work when $(somedir) is undefined and | |
1509 | # $(DESTDIR) is not. | |
1510 | # To support the latter case, we have to write | |
1511 | # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), | |
1512 | # so the `.' trick is pointless. | |
1513 | mkdir_p='mkdir -p --' | |
1505 | 1514 | else |
1506 | 1515 | # On NextStep and OpenStep, the `mkdir' command does not |
1507 | 1516 | # recognize any option. It will interpret all options as |
1617 | 1626 | |
1618 | 1627 | # Define the identity of the package. |
1619 | 1628 | PACKAGE='h5utils' |
1620 | VERSION='1.9.1' | |
1629 | VERSION='1.10' | |
1621 | 1630 | |
1622 | 1631 | |
1623 | 1632 | cat >>confdefs.h <<_ACEOF |
1644 | 1653 | |
1645 | 1654 | |
1646 | 1655 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
1647 | ||
1648 | ||
1649 | AMTAR=${AMTAR-"${am_missing_run}tar"} | |
1650 | 1656 | |
1651 | 1657 | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
1652 | 1658 | |
1740 | 1746 | |
1741 | 1747 | # We need awk for the "check" target. The system "awk" is bad on |
1742 | 1748 | # some platforms. |
1749 | # Always define AMTAR for backward compatibility. | |
1750 | ||
1751 | AMTAR=${AMTAR-"${am_missing_run}tar"} | |
1752 | ||
1753 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | |
1754 | ||
1755 | ||
1743 | 1756 | |
1744 | 1757 | |
1745 | 1758 | |
3741 | 3754 | ########################################################################### |
3742 | 3755 | |
3743 | 3756 | # Only build h5fromh4 if we are using a version of HDF5 prior to 1.4, and |
3744 | # thus don't have the superior h4toh5 utility. | |
3757 | # thus don't have the superior h4toh5 utility. Similarly for h5toh4. | |
3745 | 3758 | # Extract the first word of "h4toh5", so it can be a program name with args. |
3746 | 3759 | set dummy h4toh5; ac_word=$2 |
3747 | 3760 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3777 | 3790 | echo "${ECHO_T}no" >&6 |
3778 | 3791 | fi |
3779 | 3792 | |
3780 | ||
3781 | ||
3782 | # Check whether --with-h5fromh4 or --without-h5fromh4 was given. | |
3783 | if test "${with_h5fromh4+set}" = set; then | |
3784 | withval="$with_h5fromh4" | |
3793 | # Extract the first word of "h5toh4", so it can be a program name with args. | |
3794 | set dummy h5toh4; ac_word=$2 | |
3795 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
3796 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
3797 | if test "${ac_cv_prog_H5TOH4+set}" = set; then | |
3798 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3799 | else | |
3800 | if test -n "$H5TOH4"; then | |
3801 | ac_cv_prog_H5TOH4="$H5TOH4" # Let the user override the test. | |
3802 | else | |
3803 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3804 | for as_dir in $PATH | |
3805 | do | |
3806 | IFS=$as_save_IFS | |
3807 | test -z "$as_dir" && as_dir=. | |
3808 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3809 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3810 | ac_cv_prog_H5TOH4="h5toh4" | |
3811 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3812 | break 2 | |
3813 | fi | |
3814 | done | |
3815 | done | |
3816 | ||
3817 | fi | |
3818 | fi | |
3819 | H5TOH4=$ac_cv_prog_H5TOH4 | |
3820 | if test -n "$H5TOH4"; then | |
3821 | echo "$as_me:$LINENO: result: $H5TOH4" >&5 | |
3822 | echo "${ECHO_T}$H5TOH4" >&6 | |
3823 | else | |
3824 | echo "$as_me:$LINENO: result: no" >&5 | |
3825 | echo "${ECHO_T}no" >&6 | |
3826 | fi | |
3827 | ||
3828 | ||
3829 | ||
3830 | # Check whether --with-hdf4 or --without-hdf4 was given. | |
3831 | if test "${with_hdf4+set}" = set; then | |
3832 | withval="$with_hdf4" | |
3785 | 3833 | ok=$withval |
3786 | 3834 | else |
3787 | 3835 | ok=maybe |
3788 | 3836 | fi; |
3789 | 3837 | if test "x$ok" = xyes; then |
3790 | 3838 | H4TOH5="" |
3839 | H5TOH4="" | |
3791 | 3840 | elif test "x$ok" = xno; then |
3792 | 3841 | H4TOH5="h4toh5" |
3793 | fi | |
3794 | ||
3795 | H5FROMH4=no | |
3796 | if test "x$H4TOH5" != xh4toh5; then | |
3842 | H5TOH4="h5toh4" | |
3843 | fi | |
3844 | ||
3845 | HDF4=no | |
3846 | if test "x$H4TOH5" != xh4toh5 -o "x$H5TOH4" != xh5toh4; then | |
3797 | 3847 | echo "$as_me:$LINENO: checking for jpeg_start_compress in -ljpeg" >&5 |
3798 | 3848 | echo $ECHO_N "checking for jpeg_start_compress in -ljpeg... $ECHO_C" >&6 |
3799 | 3849 | if test "${ac_cv_lib_jpeg_jpeg_start_compress+set}" = set; then |
3924 | 3974 | echo "$as_me:$LINENO: result: $ac_cv_lib_df_DFSDgetdata" >&5 |
3925 | 3975 | echo "${ECHO_T}$ac_cv_lib_df_DFSDgetdata" >&6 |
3926 | 3976 | if test $ac_cv_lib_df_DFSDgetdata = yes; then |
3927 | H4_LIBS="-ldf -ljpeg"; H5FROMH4=yes | |
3928 | else | |
3929 | { echo "$as_me:$LINENO: WARNING: can't find libdf (HDF4): won't be able to compile h5fromh4" >&5 | |
3930 | echo "$as_me: WARNING: can't find libdf (HDF4): won't be able to compile h5fromh4" >&2;} | |
3931 | fi | |
3932 | ||
3933 | else | |
3934 | { echo "$as_me:$LINENO: WARNING: can't find libjpeg: won't be able to compile h5fromh4" >&5 | |
3935 | echo "$as_me: WARNING: can't find libjpeg: won't be able to compile h5fromh4" >&2;} | |
3936 | fi | |
3937 | ||
3938 | ||
3939 | if test $H5FROMH4 = yes; then | |
3940 | MORE_H5UTILS="h5fromh4 $MORE_H5UTILS" | |
3941 | MORE_H5UTILS_MANS="h5fromh4.1 $MORE_H5UTILS_MANS" | |
3977 | H4_LIBS="-ldf -ljpeg"; HDF4=yes | |
3978 | else | |
3979 | { echo "$as_me:$LINENO: WARNING: can't find libdf (HDF4): won't be able to compile h5fromh4 or h4fromh5" >&5 | |
3980 | echo "$as_me: WARNING: can't find libdf (HDF4): won't be able to compile h5fromh4 or h4fromh5" >&2;} | |
3981 | fi | |
3982 | ||
3983 | else | |
3984 | { echo "$as_me:$LINENO: WARNING: can't find libjpeg: won't be able to compile h5fromh4 or h4fromh5" >&5 | |
3985 | echo "$as_me: WARNING: can't find libjpeg: won't be able to compile h5fromh4 or h4fromh5" >&2;} | |
3986 | fi | |
3987 | ||
3988 | ||
3989 | if test $HDF4 = yes; then | |
3990 | if test "x$H4TOH5" != xh4toh5; then | |
3991 | MORE_H5UTILS="h5fromh4 $MORE_H5UTILS" | |
3992 | MORE_H5UTILS_MANS="h5fromh4.1 $MORE_H5UTILS_MANS" | |
3993 | fi | |
3994 | if test "x$H5TOH4" != xh5toh4; then | |
3995 | MORE_H5UTILS="h4fromh5 $MORE_H5UTILS" | |
3996 | # MORE_H5UTILS_MANS="h4fromh5.1 $MORE_H5UTILS_MANS" | |
3997 | fi | |
3942 | 3998 | fi |
3943 | 3999 | fi |
3944 | 4000 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
6510 | 6566 | } >&5 |
6511 | 6567 | cat >&5 <<_CSEOF |
6512 | 6568 | |
6513 | This file was extended by h5utils $as_me 1.9.1, which was | |
6569 | This file was extended by h5utils $as_me 1.10, which was | |
6514 | 6570 | generated by GNU Autoconf 2.59. Invocation command line was |
6515 | 6571 | |
6516 | 6572 | CONFIG_FILES = $CONFIG_FILES |
6573 | 6629 | |
6574 | 6630 | cat >>$CONFIG_STATUS <<_ACEOF |
6575 | 6631 | ac_cs_version="\\ |
6576 | h5utils config.status 1.9.1 | |
6632 | h5utils config.status 1.10 | |
6577 | 6633 | configured by $0, generated by GNU Autoconf 2.59, |
6578 | 6634 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
6579 | 6635 | |
6783 | 6839 | s,@AUTOMAKE@,$AUTOMAKE,;t t |
6784 | 6840 | s,@AUTOHEADER@,$AUTOHEADER,;t t |
6785 | 6841 | s,@MAKEINFO@,$MAKEINFO,;t t |
6786 | s,@AMTAR@,$AMTAR,;t t | |
6787 | 6842 | s,@install_sh@,$install_sh,;t t |
6788 | 6843 | s,@STRIP@,$STRIP,;t t |
6789 | 6844 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
6792 | 6847 | s,@AWK@,$AWK,;t t |
6793 | 6848 | s,@SET_MAKE@,$SET_MAKE,;t t |
6794 | 6849 | s,@am__leading_dot@,$am__leading_dot,;t t |
6850 | s,@AMTAR@,$AMTAR,;t t | |
6851 | s,@am__tar@,$am__tar,;t t | |
6852 | s,@am__untar@,$am__untar,;t t | |
6795 | 6853 | s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t |
6796 | 6854 | s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t |
6797 | 6855 | s,@MAINT@,$MAINT,;t t |
6816 | 6874 | s,@H5TOPNG_MAN@,$H5TOPNG_MAN,;t t |
6817 | 6875 | s,@PNG_LIBS@,$PNG_LIBS,;t t |
6818 | 6876 | s,@H4TOH5@,$H4TOH5,;t t |
6877 | s,@H5TOH4@,$H5TOH4,;t t | |
6819 | 6878 | s,@H4_LIBS@,$H4_LIBS,;t t |
6820 | 6879 | s,@MKOCTFILE@,$MKOCTFILE,;t t |
6821 | 6880 | s,@OCTAVE@,$OCTAVE,;t t |
7450 | 7509 | else |
7451 | 7510 | continue |
7452 | 7511 | fi |
7453 | grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue | |
7454 | # Extract the definition of DEP_FILES from the Makefile without | |
7455 | # running `make'. | |
7512 | # Extract the definition of DEPDIR, am__include, and am__quote | |
7513 | # from the Makefile without running `make'. | |
7456 | 7514 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
7457 | 7515 | test -z "$DEPDIR" && continue |
7516 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
7517 | test -z "am__include" && continue | |
7518 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
7458 | 7519 | # When using ansi2knr, U may be empty or an underscore; expand it |
7459 | 7520 | U=`sed -n 's/^U = //p' < "$mf"` |
7460 | test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" | |
7461 | # We invoke sed twice because it is the simplest approach to | |
7462 | # changing $(DEPDIR) to its actual value in the expansion. | |
7463 | for file in `sed -n ' | |
7464 | /^DEP_FILES = .*\\\\$/ { | |
7465 | s/^DEP_FILES = // | |
7466 | :loop | |
7467 | s/\\\\$// | |
7468 | p | |
7469 | n | |
7470 | /\\\\$/ b loop | |
7471 | p | |
7472 | } | |
7473 | /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ | |
7521 | # Find all dependency output files, they are included files with | |
7522 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
7523 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
7524 | # expansion. | |
7525 | for file in `sed -n " | |
7526 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
7474 | 7527 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
7475 | 7528 | # Make sure the directory exists. |
7476 | 7529 | test -f "$dirpart/$file" && continue |
0 | 0 | # Process this file with autoconf to produce a configure script. |
1 | AC_INIT(h5utils, 1.9.1, stevenj@alum.mit.edu) | |
1 | AC_INIT(h5utils, 1.10, stevenj@alum.mit.edu) | |
2 | 2 | AM_INIT_AUTOMAKE(1.6) |
3 | 3 | AC_CONFIG_SRCDIR([h5topng.c]) |
4 | 4 | AM_CONFIG_HEADER(config.h) |
73 | 73 | ########################################################################### |
74 | 74 | |
75 | 75 | # Only build h5fromh4 if we are using a version of HDF5 prior to 1.4, and |
76 | # thus don't have the superior h4toh5 utility. | |
76 | # thus don't have the superior h4toh5 utility. Similarly for h5toh4. | |
77 | 77 | AC_CHECK_PROG(H4TOH5, h4toh5, h4toh5) |
78 | ||
79 | AC_ARG_WITH(h5fromh4, | |
80 | [AC_HELP_STRING([--without-h5fromh4], [don't compile h5fromh4])], | |
78 | AC_CHECK_PROG(H5TOH4, h5toh4, h5toh4) | |
79 | ||
80 | AC_ARG_WITH(hdf4, | |
81 | [AC_HELP_STRING([--with-hdf4], [build hdf4 utils even if h4toh5 and h5toh4 are present])], | |
81 | 82 | ok=$withval, ok=maybe) |
82 | 83 | if test "x$ok" = xyes; then |
83 | 84 | H4TOH5="" |
85 | H5TOH4="" | |
84 | 86 | elif test "x$ok" = xno; then |
85 | 87 | H4TOH5="h4toh5" |
86 | fi | |
87 | ||
88 | H5FROMH4=no | |
89 | if test "x$H4TOH5" != xh4toh5; then | |
88 | H5TOH4="h5toh4" | |
89 | fi | |
90 | ||
91 | HDF4=no | |
92 | if test "x$H4TOH5" != xh4toh5 -o "x$H5TOH4" != xh5toh4; then | |
90 | 93 | AC_CHECK_LIB(jpeg, jpeg_start_compress, |
91 | 94 | [AC_CHECK_LIB(df, DFSDgetdata, |
92 | [H4_LIBS="-ldf -ljpeg"; H5FROMH4=yes], | |
93 | [AC_MSG_WARN([can't find libdf (HDF4): won't be able to compile h5fromh4])], -ljpeg)], | |
94 | [AC_MSG_WARN([can't find libjpeg: won't be able to compile h5fromh4])]) | |
95 | ||
96 | if test $H5FROMH4 = yes; then | |
97 | MORE_H5UTILS="h5fromh4 $MORE_H5UTILS" | |
98 | MORE_H5UTILS_MANS="h5fromh4.1 $MORE_H5UTILS_MANS" | |
95 | [H4_LIBS="-ldf -ljpeg"; HDF4=yes], | |
96 | [AC_MSG_WARN([can't find libdf (HDF4): won't be able to compile h5fromh4 or h4fromh5])], -ljpeg)], | |
97 | [AC_MSG_WARN([can't find libjpeg: won't be able to compile h5fromh4 or h4fromh5])]) | |
98 | ||
99 | if test $HDF4 = yes; then | |
100 | if test "x$H4TOH5" != xh4toh5; then | |
101 | MORE_H5UTILS="h5fromh4 $MORE_H5UTILS" | |
102 | MORE_H5UTILS_MANS="h5fromh4.1 $MORE_H5UTILS_MANS" | |
103 | fi | |
104 | if test "x$H5TOH4" != xh5toh4; then | |
105 | MORE_H5UTILS="h4fromh5 $MORE_H5UTILS" | |
106 | # MORE_H5UTILS_MANS="h4fromh5.1 $MORE_H5UTILS_MANS" | |
107 | fi | |
99 | 108 | fi |
100 | 109 | fi |
101 | 110 | AC_CHECK_HEADERS(hdf.h hdf/hdf.h) |
3 | 3 | /* License and copyright string for inclusion in program output: */ |
4 | 4 | |
5 | 5 | #define COPYRIGHT \ |
6 | "Copyright (c) 2004 Massachusetts Institute of Technology\n"\ | |
6 | "Copyright (c) 2005 Massachusetts Institute of Technology\n"\ | |
7 | 7 | "\n"\ |
8 | 8 | "Permission is hereby granted, free of charge, to any person obtaining\n"\ |
9 | 9 | "a copy of this software and associated documentation files (the\n"\ |
0 | 0 | #! /bin/sh |
1 | 1 | # depcomp - compile a program generating dependencies as side-effects |
2 | 2 | |
3 | scriptversion=2004-04-25.13 | |
4 | ||
5 | # Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc. | |
3 | scriptversion=2005-02-09.22 | |
4 | ||
5 | # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. | |
6 | 6 | |
7 | 7 | # This program is free software; you can redistribute it and/or modify |
8 | 8 | # it under the terms of the GNU General Public License as published by |
42 | 42 | depmode Dependency tracking mode. |
43 | 43 | source Source file read by `PROGRAMS ARGS'. |
44 | 44 | object Object file output by `PROGRAMS ARGS'. |
45 | DEPDIR directory where to store dependencies. | |
45 | 46 | depfile Dependency file to output. |
46 | 47 | tmpdepfile Temporary file to use when outputing dependencies. |
47 | 48 | libtool Whether libtool is used (yes/no). |
48 | 49 | |
49 | 50 | Report bugs to <bug-automake@gnu.org>. |
50 | 51 | EOF |
51 | exit 0 | |
52 | exit $? | |
52 | 53 | ;; |
53 | 54 | -v | --v*) |
54 | 55 | echo "depcomp $scriptversion" |
55 | exit 0 | |
56 | exit $? | |
56 | 57 | ;; |
57 | 58 | esac |
58 | 59 | |
60 | 61 | echo "depcomp: Variables source, object and depmode must be set" 1>&2 |
61 | 62 | exit 1 |
62 | 63 | fi |
63 | # `libtool' can also be set to `yes' or `no'. | |
64 | ||
65 | if test -z "$depfile"; then | |
66 | base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'` | |
67 | dir=`echo "$object" | sed 's,/.*$,/,'` | |
68 | if test "$dir" = "$object"; then | |
69 | dir= | |
70 | fi | |
71 | # FIXME: should be _deps on DOS. | |
72 | depfile="$dir.deps/$base" | |
73 | fi | |
74 | ||
64 | ||
65 | # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. | |
66 | depfile=${depfile-`echo "$object" | | |
67 | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} | |
75 | 68 | tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} |
76 | 69 | |
77 | 70 | rm -f "$tmpdepfile" |
293 | 286 | base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` |
294 | 287 | |
295 | 288 | if test "$libtool" = yes; then |
296 | # Dependencies are output in .lo.d with libtool 1.4. | |
297 | # They are output in .o.d with libtool 1.5. | |
298 | tmpdepfile1="$dir.libs/$base.lo.d" | |
299 | tmpdepfile2="$dir.libs/$base.o.d" | |
300 | tmpdepfile3="$dir.libs/$base.d" | |
289 | # With Tru64 cc, shared objects can also be used to make a | |
290 | # static library. This mecanism is used in libtool 1.4 series to | |
291 | # handle both shared and static libraries in a single compilation. | |
292 | # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. | |
293 | # | |
294 | # With libtool 1.5 this exception was removed, and libtool now | |
295 | # generates 2 separate objects for the 2 libraries. These two | |
296 | # compilations output dependencies in in $dir.libs/$base.o.d and | |
297 | # in $dir$base.o.d. We have to check for both files, because | |
298 | # one of the two compilations can be disabled. We should prefer | |
299 | # $dir$base.o.d over $dir.libs/$base.o.d because the latter is | |
300 | # automatically cleaned when .libs/ is deleted, while ignoring | |
301 | # the former would cause a distcleancheck panic. | |
302 | tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 | |
303 | tmpdepfile2=$dir$base.o.d # libtool 1.5 | |
304 | tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 | |
305 | tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 | |
301 | 306 | "$@" -Wc,-MD |
302 | 307 | else |
303 | tmpdepfile1="$dir$base.o.d" | |
304 | tmpdepfile2="$dir$base.d" | |
305 | tmpdepfile3="$dir$base.d" | |
308 | tmpdepfile1=$dir$base.o.d | |
309 | tmpdepfile2=$dir$base.d | |
310 | tmpdepfile3=$dir$base.d | |
311 | tmpdepfile4=$dir$base.d | |
306 | 312 | "$@" -MD |
307 | 313 | fi |
308 | 314 | |
309 | 315 | stat=$? |
310 | 316 | if test $stat -eq 0; then : |
311 | 317 | else |
312 | rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" | |
318 | rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" | |
313 | 319 | exit $stat |
314 | 320 | fi |
315 | 321 | |
316 | if test -f "$tmpdepfile1"; then | |
317 | tmpdepfile="$tmpdepfile1" | |
318 | elif test -f "$tmpdepfile2"; then | |
319 | tmpdepfile="$tmpdepfile2" | |
320 | else | |
321 | tmpdepfile="$tmpdepfile3" | |
322 | fi | |
322 | for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" | |
323 | do | |
324 | test -f "$tmpdepfile" && break | |
325 | done | |
323 | 326 | if test -f "$tmpdepfile"; then |
324 | 327 | sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" |
325 | 328 | # That's a tab and a space in the []. |
0 | /* Copyright (c) 2005 Massachusetts Institute of Technology | |
1 | * | |
2 | * Permission is hereby granted, free of charge, to any person obtaining | |
3 | * a copy of this software and associated documentation files (the | |
4 | * "Software"), to deal in the Software without restriction, including | |
5 | * without limitation the rights to use, copy, modify, merge, publish, | |
6 | * distribute, sublicense, and/or sell copies of the Software, and to | |
7 | * permit persons to whom the Software is furnished to do so, subject to | |
8 | * the following conditions: | |
9 | * | |
10 | * The above copyright notice and this permission notice shall be | |
11 | * included in all copies or substantial portions of the Software. | |
12 | * | |
13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
14 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
15 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | |
16 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | |
17 | * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | |
18 | * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | |
19 | * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
20 | */ | |
21 | ||
22 | #include <stdlib.h> | |
23 | #include <stdio.h> | |
24 | #include <string.h> | |
25 | ||
26 | #include <unistd.h> | |
27 | ||
28 | #include "config.h" | |
29 | #include "arrayh5.h" | |
30 | #include "arrayh4.h" | |
31 | #include "copyright.h" | |
32 | #include "h5utils.h" | |
33 | ||
34 | #define CHECK(cond, msg) { if (!(cond)) { fprintf(stderr, "h4fromh5 error: %s\n", msg); exit(EXIT_FAILURE); } } | |
35 | ||
36 | void usage(FILE *f) | |
37 | { | |
38 | fprintf(f, "Usage: h4fromh5 [options] [<hdf4-files>]\n" | |
39 | "Options:\n" | |
40 | " -h : this help message\n" | |
41 | " -V : print version number and copyright\n" | |
42 | " -v : verbose output\n" | |
43 | " -T : transposed output\n" | |
44 | " -o <file> : output to HDF4 file <file>\n" | |
45 | " -d <name> : use dataset <name> in the input file\n" | |
46 | " -- you can also specify a dataset via <file>:<name>\n" | |
47 | ); | |
48 | } | |
49 | ||
50 | int main(int argc, char **argv) | |
51 | { | |
52 | char *h4_fname = NULL; | |
53 | char *data_name = NULL; | |
54 | extern char *optarg; | |
55 | extern int optind; | |
56 | int c; | |
57 | int ifile; | |
58 | int verbose = 0, transpose = 0; | |
59 | ||
60 | while ((c = getopt(argc, argv, "hd:vTo:V")) != -1) | |
61 | switch (c) { | |
62 | case 'h': | |
63 | usage(stdout); | |
64 | return EXIT_SUCCESS; | |
65 | case 'V': | |
66 | printf("h4fromh5 " PACKAGE_VERSION " by Steven G. Johnson\n" | |
67 | COPYRIGHT); | |
68 | return EXIT_SUCCESS; | |
69 | case 'v': | |
70 | verbose = 1; | |
71 | break; | |
72 | case 'T': | |
73 | transpose = 1; | |
74 | break; | |
75 | case 'd': | |
76 | free(data_name); | |
77 | data_name = my_strdup(optarg); | |
78 | break; | |
79 | case 'o': | |
80 | free(h4_fname); | |
81 | h4_fname = my_strdup(optarg); | |
82 | break; | |
83 | default: | |
84 | fprintf(stderr, "Invalid argument -%c\n", c); | |
85 | usage(stderr); | |
86 | return EXIT_FAILURE; | |
87 | } | |
88 | if (optind == argc) { /* no parameters left */ | |
89 | usage(stderr); | |
90 | return EXIT_FAILURE; | |
91 | } | |
92 | ||
93 | if (h4_fname && optind + 1 < argc) { | |
94 | fprintf(stderr, "h4fromh5: only one .h5 file can be used with -o\n"); | |
95 | return EXIT_FAILURE; | |
96 | } | |
97 | ||
98 | for (ifile = optind; ifile < argc; ++ifile) { | |
99 | char *h5_fname, *dname; | |
100 | arrayh4 a4; | |
101 | int i, err; | |
102 | int32 dims_copy[ARRAYH4_MAX_RANK]; | |
103 | char *cur_h4_fname = h4_fname; | |
104 | arrayh5 a; | |
105 | ||
106 | h5_fname = split_fname(argv[ifile], &dname); | |
107 | if (!dname[0]) | |
108 | dname = data_name; | |
109 | ||
110 | if (!cur_h4_fname) | |
111 | cur_h4_fname = replace_suffix(h5_fname, ".h5", ".hdf"); | |
112 | ||
113 | if (verbose) | |
114 | printf("Reading HDF5 input file \"%s\"...\n", h5_fname); | |
115 | err = arrayh5_read(&a, h5_fname, dname, NULL, 0, 0, 0, 0); | |
116 | CHECK(!err, arrayh5_read_strerror[err]); | |
117 | ||
118 | if (transpose) | |
119 | arrayh5_transpose(&a); | |
120 | ||
121 | CHECK(a.rank <= ARRAYH4_MAX_RANK, "HDF5 rank is too big"); | |
122 | for (i = 0; i < a.rank; ++i) | |
123 | dims_copy[i] = a.dims[i]; | |
124 | ||
125 | CHECK(arrayh4_create(&a4, DFNT_FLOAT64, a.rank, dims_copy), | |
126 | "error allocating HDF4 data"); | |
127 | ||
128 | for (i = 0; i < a.N; ++i) | |
129 | a4.p.d[i] = a.data[i]; | |
130 | ||
131 | if (verbose) { | |
132 | double a_min, a_max; | |
133 | arrayh5_getrange(a, &a_min, &a_max); | |
134 | printf("data ranges from %g to %g.\n", a_min, a_max); | |
135 | } | |
136 | ||
137 | if (verbose) { | |
138 | int i; | |
139 | printf("Writing size %d", a.dims[0]); | |
140 | for (i = 1; i < a.rank; ++i) | |
141 | printf("x%d", a.dims[i]); | |
142 | printf(" data to %s\n", cur_h4_fname); | |
143 | } | |
144 | ||
145 | arrayh5_destroy(a); | |
146 | ||
147 | arrayh4_write(cur_h4_fname, a4); | |
148 | arrayh4_destroy(a4); | |
149 | ||
150 | if (h4_fname != cur_h4_fname) | |
151 | free(cur_h4_fname); | |
152 | free(h5_fname); | |
153 | } | |
154 | ||
155 | return EXIT_SUCCESS; | |
156 | } |
0 | .\" Copyright (c) 2004 Massachusetts Institute of Technology | |
0 | .\" Copyright (c) 2005 Massachusetts Institute of Technology | |
1 | 1 | .\" |
2 | 2 | .\" Permission is hereby granted, free of charge, to any person obtaining |
3 | 3 | .\" a copy of this software and associated documentation files (the |
92 | 92 | .SH BUGS |
93 | 93 | Send bug reports to S. G. Johnson, stevenj@alum.mit.edu. |
94 | 94 | .SH AUTHORS |
95 | Written by Steven G. Johnson. Copyright (c) 2004 by the Massachusetts | |
95 | Written by Steven G. Johnson. Copyright (c) 2005 by the Massachusetts | |
96 | 96 | Institute of Technology. |
0 | /* Copyright (c) 2004 Massachusetts Institute of Technology | |
0 | /* Copyright (c) 2005 Massachusetts Institute of Technology | |
1 | 1 | * |
2 | 2 | * Permission is hereby granted, free of charge, to any person obtaining |
3 | 3 | * a copy of this software and associated documentation files (the |
0 | /* Copyright (c) 2004 Massachusetts Institute of Technology | |
0 | /* Copyright (c) 2005 Massachusetts Institute of Technology | |
1 | 1 | * |
2 | 2 | * Permission is hereby granted, free of charge, to any person obtaining |
3 | 3 | * a copy of this software and associated documentation files (the |
0 | .\" Copyright (c) 2004 Massachusetts Institute of Technology | |
0 | .\" Copyright (c) 2005 Massachusetts Institute of Technology | |
1 | 1 | .\" |
2 | 2 | .\" Permission is hereby granted, free of charge, to any person obtaining |
3 | 3 | .\" a copy of this software and associated documentation files (the |
108 | 108 | .SH BUGS |
109 | 109 | Send bug reports to S. G. Johnson, stevenj@alum.mit.edu. |
110 | 110 | .SH AUTHORS |
111 | Written by Steven G. Johnson. Copyright (c) 2004 by the Massachusetts | |
111 | Written by Steven G. Johnson. Copyright (c) 2005 by the Massachusetts | |
112 | 112 | Institute of Technology. |
0 | /* Copyright (c) 2004 Massachusetts Institute of Technology | |
0 | /* Copyright (c) 2005 Massachusetts Institute of Technology | |
1 | 1 | * |
2 | 2 | * Permission is hereby granted, free of charge, to any person obtaining |
3 | 3 | * a copy of this software and associated documentation files (the |
0 | .\" Copyright (c) 2004 Massachusetts Institute of Technology | |
0 | .\" Copyright (c) 2005 Massachusetts Institute of Technology | |
1 | 1 | .\" |
2 | 2 | .\" Permission is hereby granted, free of charge, to any person obtaining |
3 | 3 | .\" a copy of this software and associated documentation files (the |
18 | 18 | .\" TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
19 | 19 | .\" SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
20 | 20 | .\" |
21 | .TH H5MATH 1 "May 23, 2004" "h5utils" "h5utils" | |
21 | .TH H5MATH 1 "May 23, 2005" "h5utils" "h5utils" | |
22 | 22 | .SH NAME |
23 | 23 | h5math \- combine/create HDF5 files with math expressions |
24 | 24 | .SH SYNOPSIS |
170 | 170 | .SH BUGS |
171 | 171 | Send bug reports to S. G. Johnson, stevenj@alum.mit.edu. |
172 | 172 | .SH AUTHORS |
173 | Written by Steven G. Johnson. Copyright (c) 2004 by the Massachusetts | |
173 | Written by Steven G. Johnson. Copyright (c) 2005 by the Massachusetts | |
174 | 174 | Institute of Technology. |
0 | /* Copyright (c) 2004 Massachusetts Institute of Technology | |
0 | /* Copyright (c) 2005 Massachusetts Institute of Technology | |
1 | 1 | * |
2 | 2 | * Permission is hereby granted, free of charge, to any person obtaining |
3 | 3 | * a copy of this software and associated documentation files (the |
0 | /* Copyright (c) 2004 Massachusetts Institute of Technology | |
0 | /* Copyright (c) 2005 Massachusetts Institute of Technology | |
1 | 1 | * |
2 | 2 | * Permission is hereby granted, free of charge, to any person obtaining |
3 | 3 | * a copy of this software and associated documentation files (the |
0 | .\" Copyright (c) 2004 Massachusetts Institute of Technology | |
0 | .\" Copyright (c) 2005 Massachusetts Institute of Technology | |
1 | 1 | .\" |
2 | 2 | .\" Permission is hereby granted, free of charge, to any person obtaining |
3 | 3 | .\" a copy of this software and associated documentation files (the |
119 | 119 | .SH BUGS |
120 | 120 | Send bug reports to S. G. Johnson, stevenj@alum.mit.edu. |
121 | 121 | .SH AUTHORS |
122 | Written by Steven G. Johnson. Copyright (c) 2004 by the Massachusetts | |
122 | Written by Steven G. Johnson. Copyright (c) 2005 by the Massachusetts | |
123 | 123 | Institute of Technology. |
0 | /* Copyright (c) 2004 Massachusetts Institute of Technology | |
0 | /* Copyright (c) 2005 Massachusetts Institute of Technology | |
1 | 1 | * |
2 | 2 | * Permission is hereby granted, free of charge, to any person obtaining |
3 | 3 | * a copy of this software and associated documentation files (the |
0 | .\" Copyright (c) 2004 Massachusetts Institute of Technology | |
0 | .\" Copyright (c) 2005 Massachusetts Institute of Technology | |
1 | 1 | .\" |
2 | 2 | .\" Permission is hereby granted, free of charge, to any person obtaining |
3 | 3 | .\" a copy of this software and associated documentation files (the |
132 | 132 | .SH BUGS |
133 | 133 | Send bug reports to S. G. Johnson, stevenj@alum.mit.edu. |
134 | 134 | .SH AUTHORS |
135 | Written by Steven G. Johnson. Copyright (c) 2004 by the Massachusetts | |
135 | Written by Steven G. Johnson. Copyright (c) 2005 by the Massachusetts | |
136 | 136 | Institute of Technology. |
0 | /* Copyright (c) 2004 Massachusetts Institute of Technology | |
0 | /* Copyright (c) 2005 Massachusetts Institute of Technology | |
1 | 1 | * |
2 | 2 | * [ IMPORTANT: Note that the following is DIFFERENT from the license |
3 | 3 | * for the rest of the h5utils package. ] |
305 | 305 | return EXIT_SUCCESS; |
306 | 306 | case 'V': |
307 | 307 | printf("h5tov5d " PACKAGE_VERSION " by Steven G. Johnson\n" |
308 | "Copyright (c) 2004 Massachusetts Institute of Technology\n" | |
308 | "Copyright (c) 2005 Massachusetts Institute of Technology\n" | |
309 | 309 | "\n" |
310 | 310 | "This program is free software; you can redistribute it and/or modify\n" |
311 | 311 | "it under the terms of the GNU General Public License as published by\n" |
179 | 179 | .SH BUGS |
180 | 180 | Send bug reports to S. G. Johnson, stevenj@alum.mit.edu. |
181 | 181 | .SH AUTHORS |
182 | Written by Steven G. Johnson. Copyright (c) 2004 by the Massachusetts | |
182 | Written by Steven G. Johnson. Copyright (c) 2005 by the Massachusetts | |
183 | 183 | Institute of Technology. |
0 | /* Copyright (c) 2004 Massachusetts Institute of Technology | |
0 | /* Copyright (c) 2005 Massachusetts Institute of Technology | |
1 | 1 | * |
2 | 2 | * Permission is hereby granted, free of charge, to any person obtaining |
3 | 3 | * a copy of this software and associated documentation files (the |
0 | /* Copyright (c) 2004 Massachusetts Institute of Technology | |
0 | /* Copyright (c) 2005 Massachusetts Institute of Technology | |
1 | 1 | * |
2 | 2 | * Permission is hereby granted, free of charge, to any person obtaining |
3 | 3 | * a copy of this software and associated documentation files (the |
0 | 0 | #!/bin/sh |
1 | 1 | # install - install a program, script, or datafile |
2 | 2 | |
3 | scriptversion=2004-04-01.17 | |
3 | scriptversion=2005-02-02.21 | |
4 | 4 | |
5 | 5 | # This originates from X11R5 (mit/util/scripts/install.sh), which was |
6 | 6 | # later released in X11R6 (xc/config/util/install.sh) with the |
57 | 57 | rmprog="${RMPROG-rm}" |
58 | 58 | mkdirprog="${MKDIRPROG-mkdir}" |
59 | 59 | |
60 | transformbasename= | |
61 | transform_arg= | |
62 | instcmd="$mvprog" | |
63 | 60 | chmodcmd="$chmodprog 0755" |
64 | 61 | chowncmd= |
65 | 62 | chgrpcmd= |
69 | 66 | src= |
70 | 67 | dst= |
71 | 68 | dir_arg= |
72 | ||
73 | usage="Usage: $0 [OPTION]... SRCFILE DSTFILE | |
69 | dstarg= | |
70 | no_target_directory= | |
71 | ||
72 | usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE | |
74 | 73 | or: $0 [OPTION]... SRCFILES... DIRECTORY |
75 | or: $0 -d DIRECTORIES... | |
76 | ||
77 | In the first form, install SRCFILE to DSTFILE, removing SRCFILE by default. | |
78 | In the second, create the directory path DIR. | |
74 | or: $0 [OPTION]... -t DIRECTORY SRCFILES... | |
75 | or: $0 [OPTION]... -d DIRECTORIES... | |
76 | ||
77 | In the 1st form, copy SRCFILE to DSTFILE. | |
78 | In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. | |
79 | In the 4th, create DIRECTORIES. | |
79 | 80 | |
80 | 81 | Options: |
81 | -b=TRANSFORMBASENAME | |
82 | -c copy source (using $cpprog) instead of moving (using $mvprog). | |
82 | -c (ignored) | |
83 | 83 | -d create directories instead of installing files. |
84 | -g GROUP $chgrp installed files to GROUP. | |
85 | -m MODE $chmod installed files to MODE. | |
86 | -o USER $chown installed files to USER. | |
87 | -s strip installed files (using $stripprog). | |
88 | -t=TRANSFORM | |
84 | -g GROUP $chgrpprog installed files to GROUP. | |
85 | -m MODE $chmodprog installed files to MODE. | |
86 | -o USER $chownprog installed files to USER. | |
87 | -s $stripprog installed files. | |
88 | -t DIRECTORY install into DIRECTORY. | |
89 | -T report an error if DSTFILE is a directory. | |
89 | 90 | --help display this help and exit. |
90 | 91 | --version display version info and exit. |
91 | 92 | |
95 | 96 | |
96 | 97 | while test -n "$1"; do |
97 | 98 | case $1 in |
98 | -b=*) transformbasename=`echo $1 | sed 's/-b=//'` | |
99 | shift | |
100 | continue;; | |
101 | ||
102 | -c) instcmd=$cpprog | |
103 | shift | |
99 | -c) shift | |
104 | 100 | continue;; |
105 | 101 | |
106 | 102 | -d) dir_arg=true |
112 | 108 | shift |
113 | 109 | continue;; |
114 | 110 | |
115 | --help) echo "$usage"; exit 0;; | |
111 | --help) echo "$usage"; exit $?;; | |
116 | 112 | |
117 | 113 | -m) chmodcmd="$chmodprog $2" |
118 | 114 | shift |
128 | 124 | shift |
129 | 125 | continue;; |
130 | 126 | |
131 | -t=*) transformarg=`echo $1 | sed 's/-t=//'` | |
132 | shift | |
133 | continue;; | |
134 | ||
135 | --version) echo "$0 $scriptversion"; exit 0;; | |
127 | -t) dstarg=$2 | |
128 | shift | |
129 | shift | |
130 | continue;; | |
131 | ||
132 | -T) no_target_directory=true | |
133 | shift | |
134 | continue;; | |
135 | ||
136 | --version) echo "$0 $scriptversion"; exit $?;; | |
136 | 137 | |
137 | 138 | *) # When -d is used, all remaining arguments are directories to create. |
138 | test -n "$dir_arg" && break | |
139 | # When -t is used, the destination is already specified. | |
140 | test -n "$dir_arg$dstarg" && break | |
139 | 141 | # Otherwise, the last argument is the destination. Remove it from $@. |
140 | 142 | for arg |
141 | 143 | do |
173 | 175 | src= |
174 | 176 | |
175 | 177 | if test -d "$dst"; then |
176 | instcmd=: | |
178 | mkdircmd=: | |
177 | 179 | chmodcmd= |
178 | 180 | else |
179 | instcmd=$mkdirprog | |
181 | mkdircmd=$mkdirprog | |
180 | 182 | fi |
181 | 183 | else |
182 | # Waiting for this to be detected by the "$instcmd $src $dsttmp" command | |
184 | # Waiting for this to be detected by the "$cpprog $src $dsttmp" command | |
183 | 185 | # might cause directories to be created, which would be especially bad |
184 | 186 | # if $src (and thus $dsttmp) contains '*'. |
185 | 187 | if test ! -f "$src" && test ! -d "$src"; then |
201 | 203 | # If destination is a directory, append the input filename; won't work |
202 | 204 | # if double slashes aren't ignored. |
203 | 205 | if test -d "$dst"; then |
206 | if test -n "$no_target_directory"; then | |
207 | echo "$0: $dstarg: Is a directory" >&2 | |
208 | exit 1 | |
209 | fi | |
204 | 210 | dst=$dst/`basename "$src"` |
205 | 211 | fi |
206 | 212 | fi |
207 | 213 | |
208 | 214 | # This sed command emulates the dirname command. |
209 | dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` | |
215 | dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` | |
210 | 216 | |
211 | 217 | # Make sure that the destination directory exists. |
212 | 218 | |
219 | 225 | oIFS=$IFS |
220 | 226 | # Some sh's can't handle IFS=/ for some reason. |
221 | 227 | IFS='%' |
222 | set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` | |
228 | set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` | |
229 | shift | |
223 | 230 | IFS=$oIFS |
224 | 231 | |
225 | 232 | pathcomp= |
228 | 235 | pathcomp=$pathcomp$1 |
229 | 236 | shift |
230 | 237 | if test ! -d "$pathcomp"; then |
231 | $mkdirprog "$pathcomp" || lasterr=$? | |
238 | $mkdirprog "$pathcomp" | |
232 | 239 | # mkdir can fail with a `File exist' error in case several |
233 | 240 | # install-sh are creating the directory concurrently. This |
234 | 241 | # is OK. |
235 | test ! -d "$pathcomp" && { (exit ${lasterr-1}); exit; } | |
242 | test -d "$pathcomp" || exit | |
236 | 243 | fi |
237 | 244 | pathcomp=$pathcomp/ |
238 | 245 | done |
239 | 246 | fi |
240 | 247 | |
241 | 248 | if test -n "$dir_arg"; then |
242 | $doit $instcmd "$dst" \ | |
249 | $doit $mkdircmd "$dst" \ | |
243 | 250 | && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ |
244 | 251 | && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ |
245 | 252 | && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ |
246 | 253 | && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } |
247 | 254 | |
248 | 255 | else |
249 | # If we're going to rename the final executable, determine the name now. | |
250 | if test -z "$transformarg"; then | |
251 | dstfile=`basename "$dst"` | |
252 | else | |
253 | dstfile=`basename "$dst" $transformbasename \ | |
254 | | sed $transformarg`$transformbasename | |
255 | fi | |
256 | ||
257 | # don't allow the sed command to completely eliminate the filename. | |
258 | test -z "$dstfile" && dstfile=`basename "$dst"` | |
256 | dstfile=`basename "$dst"` | |
259 | 257 | |
260 | 258 | # Make a couple of temp file names in the proper directory. |
261 | 259 | dsttmp=$dstdir/_inst.$$_ |
262 | 260 | rmtmp=$dstdir/_rm.$$_ |
263 | 261 | |
264 | 262 | # Trap to clean up those temp files at exit. |
265 | trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0 | |
263 | trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 | |
266 | 264 | trap '(exit $?); exit' 1 2 13 15 |
267 | 265 | |
268 | # Move or copy the file name to the temp name | |
269 | $doit $instcmd "$src" "$dsttmp" && | |
266 | # Copy the file name to the temp name. | |
267 | $doit $cpprog "$src" "$dsttmp" && | |
270 | 268 | |
271 | 269 | # and set any options; do chmod last to preserve setuid bits. |
272 | 270 | # |
273 | 271 | # If any of these fail, we abort the whole thing. If we want to |
274 | 272 | # ignore errors from any of these, just make sure not to ignore |
275 | # errors from the above "$doit $instcmd $src $dsttmp" command. | |
273 | # errors from the above "$doit $cpprog $src $dsttmp" command. | |
276 | 274 | # |
277 | 275 | { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ |
278 | 276 | && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ |
297 | 295 | || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ |
298 | 296 | || { |
299 | 297 | echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 |
300 | (exit 1); exit | |
298 | (exit 1); exit 1 | |
301 | 299 | } |
302 | 300 | else |
303 | 301 | : |
308 | 306 | $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" |
309 | 307 | } |
310 | 308 | } |
311 | fi || { (exit 1); exit; } | |
309 | fi || { (exit 1); exit 1; } | |
312 | 310 | done |
313 | 311 | |
314 | 312 | # The final little trick to "correctly" pass the exit status to the exit trap. |
315 | 313 | { |
316 | (exit 0); exit | |
314 | (exit 0); exit 0 | |
317 | 315 | } |
318 | 316 | |
319 | 317 | # Local variables: |
0 | 0 | #! /bin/sh |
1 | 1 | # Common stub for a few missing GNU programs while installing. |
2 | 2 | |
3 | scriptversion=2003-09-02.23 | |
4 | ||
5 | # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 | |
3 | scriptversion=2005-02-08.22 | |
4 | ||
5 | # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 | |
6 | 6 | # Free Software Foundation, Inc. |
7 | 7 | # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. |
8 | 8 | |
59 | 59 | msg="probably too old" |
60 | 60 | fi |
61 | 61 | ;; |
62 | esac | |
63 | ||
64 | # If it does not exist, or fails to run (possibly an outdated version), | |
65 | # try to emulate it. | |
66 | case "$1" in | |
67 | 62 | |
68 | 63 | -h|--h|--he|--hel|--help) |
69 | 64 | echo "\ |
91 | 86 | yacc create \`y.tab.[ch]', if possible, from existing .[ch] |
92 | 87 | |
93 | 88 | Send bug reports to <bug-automake@gnu.org>." |
89 | exit $? | |
94 | 90 | ;; |
95 | 91 | |
96 | 92 | -v|--v|--ve|--ver|--vers|--versi|--versio|--version) |
97 | 93 | echo "missing $scriptversion (GNU Automake)" |
94 | exit $? | |
98 | 95 | ;; |
99 | 96 | |
100 | 97 | -*) |
103 | 100 | exit 1 |
104 | 101 | ;; |
105 | 102 | |
106 | aclocal*) | |
103 | esac | |
104 | ||
105 | # Now exit if we have it, but it failed. Also exit now if we | |
106 | # don't have it and --version was passed (most likely to detect | |
107 | # the program). | |
108 | case "$1" in | |
109 | lex|yacc) | |
110 | # Not GNU programs, they don't have --version. | |
111 | ;; | |
112 | ||
113 | tar) | |
114 | if test -n "$run"; then | |
115 | echo 1>&2 "ERROR: \`tar' requires --run" | |
116 | exit 1 | |
117 | elif test "x$2" = "x--version" || test "x$2" = "x--help"; then | |
118 | exit 1 | |
119 | fi | |
120 | ;; | |
121 | ||
122 | *) | |
107 | 123 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then |
108 | 124 | # We have it, but it failed. |
109 | 125 | exit 1 |
110 | fi | |
111 | ||
126 | elif test "x$2" = "x--version" || test "x$2" = "x--help"; then | |
127 | # Could not run --version or --help. This is probably someone | |
128 | # running `$TOOL --version' or `$TOOL --help' to check whether | |
129 | # $TOOL exists and not knowing $TOOL uses missing. | |
130 | exit 1 | |
131 | fi | |
132 | ;; | |
133 | esac | |
134 | ||
135 | # If it does not exist, or fails to run (possibly an outdated version), | |
136 | # try to emulate it. | |
137 | case "$1" in | |
138 | aclocal*) | |
112 | 139 | echo 1>&2 "\ |
113 | 140 | WARNING: \`$1' is $msg. You should only need it if |
114 | 141 | you modified \`acinclude.m4' or \`${configure_ac}'. You might want |
118 | 145 | ;; |
119 | 146 | |
120 | 147 | autoconf) |
121 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then | |
122 | # We have it, but it failed. | |
123 | exit 1 | |
124 | fi | |
125 | ||
126 | 148 | echo 1>&2 "\ |
127 | 149 | WARNING: \`$1' is $msg. You should only need it if |
128 | 150 | you modified \`${configure_ac}'. You might want to install the |
132 | 154 | ;; |
133 | 155 | |
134 | 156 | autoheader) |
135 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then | |
136 | # We have it, but it failed. | |
137 | exit 1 | |
138 | fi | |
139 | ||
140 | 157 | echo 1>&2 "\ |
141 | 158 | WARNING: \`$1' is $msg. You should only need it if |
142 | 159 | you modified \`acconfig.h' or \`${configure_ac}'. You might want |
156 | 173 | ;; |
157 | 174 | |
158 | 175 | automake*) |
159 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then | |
160 | # We have it, but it failed. | |
161 | exit 1 | |
162 | fi | |
163 | ||
164 | 176 | echo 1>&2 "\ |
165 | 177 | WARNING: \`$1' is $msg. You should only need it if |
166 | 178 | you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. |
172 | 184 | ;; |
173 | 185 | |
174 | 186 | autom4te) |
175 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then | |
176 | # We have it, but it failed. | |
177 | exit 1 | |
178 | fi | |
179 | ||
180 | 187 | echo 1>&2 "\ |
181 | 188 | WARNING: \`$1' is needed, but is $msg. |
182 | 189 | You might have modified some files without having the |
253 | 260 | ;; |
254 | 261 | |
255 | 262 | help2man) |
256 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then | |
257 | # We have it, but it failed. | |
258 | exit 1 | |
259 | fi | |
260 | ||
261 | 263 | echo 1>&2 "\ |
262 | 264 | WARNING: \`$1' is $msg. You should only need it if |
263 | 265 | you modified a dependency of a manual page. You may need the |
278 | 280 | ;; |
279 | 281 | |
280 | 282 | makeinfo) |
281 | if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then | |
282 | # We have makeinfo, but it failed. | |
283 | exit 1 | |
284 | fi | |
285 | ||
286 | 283 | echo 1>&2 "\ |
287 | 284 | WARNING: \`$1' is $msg. You should only need it if |
288 | 285 | you modified a \`.texi' or \`.texinfo' file, or any other file |
290 | 287 | call might also be the consequence of using a buggy \`make' (AIX, |
291 | 288 | DU, IRIX). You might want to install the \`Texinfo' package or |
292 | 289 | the \`GNU make' package. Grab either from any GNU archive site." |
290 | # The file to touch is that specified with -o ... | |
293 | 291 | file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` |
294 | 292 | if test -z "$file"; then |
295 | file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` | |
296 | file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` | |
293 | # ... or it is the one specified with @setfilename ... | |
294 | infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` | |
295 | file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` | |
296 | # ... or it is derived from the source name (dir/f.texi becomes f.info) | |
297 | test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info | |
297 | 298 | fi |
298 | 299 | touch $file |
299 | 300 | ;; |
300 | 301 | |
301 | 302 | tar) |
302 | 303 | shift |
303 | if test -n "$run"; then | |
304 | echo 1>&2 "ERROR: \`tar' requires --run" | |
305 | exit 1 | |
306 | fi | |
307 | 304 | |
308 | 305 | # We have already tried tar in the generic part. |
309 | 306 | # Look for gnutar/gtar before invocation to avoid ugly error |
0 | #! /bin/sh | |
1 | # mkinstalldirs --- make directory hierarchy | |
2 | ||
3 | scriptversion=2004-02-15.20 | |
4 | ||
5 | # Original author: Noah Friedman <friedman@prep.ai.mit.edu> | |
6 | # Created: 1993-05-16 | |
7 | # Public domain. | |
8 | # | |
9 | # This file is maintained in Automake, please report | |
10 | # bugs to <bug-automake@gnu.org> or send patches to | |
11 | # <automake-patches@gnu.org>. | |
12 | ||
13 | errstatus=0 | |
14 | dirmode="" | |
15 | ||
16 | usage="\ | |
17 | Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... | |
18 | ||
19 | Create each directory DIR (with mode MODE, if specified), including all | |
20 | leading file name components. | |
21 | ||
22 | Report bugs to <bug-automake@gnu.org>." | |
23 | ||
24 | # process command line arguments | |
25 | while test $# -gt 0 ; do | |
26 | case $1 in | |
27 | -h | --help | --h*) # -h for help | |
28 | echo "$usage" | |
29 | exit 0 | |
30 | ;; | |
31 | -m) # -m PERM arg | |
32 | shift | |
33 | test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } | |
34 | dirmode=$1 | |
35 | shift | |
36 | ;; | |
37 | --version) | |
38 | echo "$0 $scriptversion" | |
39 | exit 0 | |
40 | ;; | |
41 | --) # stop option processing | |
42 | shift | |
43 | break | |
44 | ;; | |
45 | -*) # unknown option | |
46 | echo "$usage" 1>&2 | |
47 | exit 1 | |
48 | ;; | |
49 | *) # first non-opt arg | |
50 | break | |
51 | ;; | |
52 | esac | |
53 | done | |
54 | ||
55 | for file | |
56 | do | |
57 | if test -d "$file"; then | |
58 | shift | |
59 | else | |
60 | break | |
61 | fi | |
62 | done | |
63 | ||
64 | case $# in | |
65 | 0) exit 0 ;; | |
66 | esac | |
67 | ||
68 | # Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and | |
69 | # mkdir -p a/c at the same time, both will detect that a is missing, | |
70 | # one will create a, then the other will try to create a and die with | |
71 | # a "File exists" error. This is a problem when calling mkinstalldirs | |
72 | # from a parallel make. We use --version in the probe to restrict | |
73 | # ourselves to GNU mkdir, which is thread-safe. | |
74 | case $dirmode in | |
75 | '') | |
76 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then | |
77 | echo "mkdir -p -- $*" | |
78 | exec mkdir -p -- "$@" | |
79 | else | |
80 | # On NextStep and OpenStep, the `mkdir' command does not | |
81 | # recognize any option. It will interpret all options as | |
82 | # directories to create, and then abort because `.' already | |
83 | # exists. | |
84 | test -d ./-p && rmdir ./-p | |
85 | test -d ./--version && rmdir ./--version | |
86 | fi | |
87 | ;; | |
88 | *) | |
89 | if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 && | |
90 | test ! -d ./--version; then | |
91 | echo "mkdir -m $dirmode -p -- $*" | |
92 | exec mkdir -m "$dirmode" -p -- "$@" | |
93 | else | |
94 | # Clean up after NextStep and OpenStep mkdir. | |
95 | for d in ./-m ./-p ./--version "./$dirmode"; | |
96 | do | |
97 | test -d $d && rmdir $d | |
98 | done | |
99 | fi | |
100 | ;; | |
101 | esac | |
102 | ||
103 | for file | |
104 | do | |
105 | set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` | |
106 | shift | |
107 | ||
108 | pathcomp= | |
109 | for d | |
110 | do | |
111 | pathcomp="$pathcomp$d" | |
112 | case $pathcomp in | |
113 | -*) pathcomp=./$pathcomp ;; | |
114 | esac | |
115 | ||
116 | if test ! -d "$pathcomp"; then | |
117 | echo "mkdir $pathcomp" | |
118 | ||
119 | mkdir "$pathcomp" || lasterr=$? | |
120 | ||
121 | if test ! -d "$pathcomp"; then | |
122 | errstatus=$lasterr | |
123 | else | |
124 | if test ! -z "$dirmode"; then | |
125 | echo "chmod $dirmode $pathcomp" | |
126 | lasterr="" | |
127 | chmod "$dirmode" "$pathcomp" || lasterr=$? | |
128 | ||
129 | if test ! -z "$lasterr"; then | |
130 | errstatus=$lasterr | |
131 | fi | |
132 | fi | |
133 | fi | |
134 | fi | |
135 | ||
136 | pathcomp="$pathcomp/" | |
137 | done | |
138 | done | |
139 | ||
140 | exit $errstatus | |
141 | ||
142 | # Local Variables: | |
143 | # mode: shell-script | |
144 | # sh-indentation: 2 | |
145 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
146 | # time-stamp-start: "scriptversion=" | |
147 | # time-stamp-format: "%:y-%02m-%02d.%02H" | |
148 | # time-stamp-end: "$" | |
149 | # End: |