Codebase list h5utils / upstream/1.12
Imported Upstream version 1.12 Bas Couwenberg 8 years ago
38 changed file(s) with 7943 addition(s) and 5077 deletion(s). Raw diff Collapse all Expand all
00 #############################################################################
11
22 The h5utils package is
3 Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005
4 by the Massachusetts Institute of Technology
3 Copyright (c) 1999-2009 by the Massachusetts Institute of Technology
54
65 #############################################################################
76 The following license applies to all files in the
0 Generated by mkdist.sh
0 Fri Jun 12 17:34:08 EDT 2009 stevenj@alum.mit.edu
1 * Fixed installation of h5read.oct for Octave 3.x.
2
3 M ./NEWS +2
4 M ./configure.ac -1 +4
5
6 Fri Jun 12 17:13:55 EDT 2009 stevenj@alum.mit.edu
7 * flip vertical axis in writepng, corresponding better to user expectations
8
9 M ./NEWS -1 +6
10 M ./configure.ac -1 +1
11 M ./writepng.c -3 +3
12
13 Fri Jun 12 17:05:47 EDT 2009 stevenj@alum.mit.edu
14 * mkdist.sh is no longer needed
15
16 R ./mkdist.sh
17
18 Fri Jun 12 17:04:59 EDT 2009 stevenj@alum.mit.edu
19 * copyright year bump
20
21 M ./COPYING -2 +1
22 M ./arrayh4.c -1 +1
23 M ./arrayh4.h -1 +1
24 M ./arrayh5.h -1 +1
25 M ./copyright.h -1 +1
26 M ./h4fromh5.1 -1 +1
27 M ./h4fromh5.c -1 +1
28 M ./h5fromh4.1 -1 +1
29 M ./h5fromh4.c -1 +1
30 M ./h5fromitxt.c -1 +1
31 M ./h5fromtxt.1 -1 +1
32 M ./h5fromtxt.c -1 +1
33 M ./h5math.1 -1 +1
34 M ./h5math.c -1 +1
35 M ./h5topng.c -1 +1
36 M ./h5totxt.1 -1 +1
37 M ./h5totxt.c -1 +1
38 M ./h5tov5d.1 -1 +1
39 M ./h5tov5d.c -2 +2
40 M ./h5tovtk.c -1 +1
41 M ./h5utils.c -1 +1
42 M ./h5utils.h -1 +1
43 M ./writepng.c -1 +1
44 M ./writepng.h -1 +1
45
46 Fri Jun 12 17:03:57 EDT 2009 stevenj@alum.mit.edu
47 * fixed h5tovtk -2, more portable handling of integer types
48
49 M ./NEWS +4
50 M ./configure.ac -11 +13
51 M ./h5tovtk.c -7 +30
52
53 Mon Apr 28 15:55:11 EDT 2008 stevenj@alum.mit.edu
54 tagged 1.11.1
55
56
57 Mon Apr 28 15:53:59 EDT 2008 stevenj@alum.mit.edu
58 * copyright bump
59
60 M ./arrayh5.c -1 +1
61 M ./copyright.h -1 +1
62 M ./h5tovtk.c -1 +1
63
64 Mon Apr 28 15:48:22 EDT 2008 stevenj@alum.mit.edu
65 * bug fix: autoconf 2.60 makes $datadir refer to $datarootdir which refers to $prefix, so we have to call "eval" twice (similar to AC_DEFINE_DIR macro in autoconf macro archive)
66
67 M ./NEWS +5
68 M ./configure.ac -1 +2
69
70 Thu Apr 24 15:48:29 EDT 2008 stevenj@alum.mit.edu
71 tagged 1.11
72
73
74 Thu Apr 24 15:41:32 EDT 2008 stevenj@alum.mit.edu
75 * added darcs-dist target
76
77 A ./ChangeLog
78 M ./Makefile.am +9
79
80 Thu Apr 24 15:39:38 EDT 2008 stevenj@alum.mit.edu
81 * version bump, rm autoconf warning
82
83 M ./NEWS +7
84 M ./configure.ac -1 +2
85
86 Thu Apr 24 15:34:39 EDT 2008 stevenj@alum.mit.edu
87 * compatibility with HDF5 1.8
88
89 M ./arrayh5.c +3
90
91 Tue Apr 3 13:53:51 EDT 2007 stevenj@alum.mit.edu
92 * fix typo
93
94 M ./h5tovtk.1 -1
95
96 Tue Apr 3 13:52:13 EDT 2007 stevenj@alum.mit.edu
97 * h5tovtk should write out dimensions in correct order, not the reverse, according to VTK's column-major convention; thanks to Andreas Wilde for the suggestion and a preliminary patch
98
99 M ./h5tovtk.c -7 +13
100
101 Tue Apr 3 13:35:02 EDT 2007 stevenj@alum.mit.edu
102 * darcs updates
103
104 R ./ChangeLog
105 R ./install-sh
106 M ./mkdist.sh -9 +1
107
108 Wed Sep 20 11:46:47 EDT 2006 stevenj
109 * version bump
110
111 M ./NEWS +5
112 M ./configure.ac -1 +1
113
114 Wed Sep 20 11:41:03 EDT 2006 stevenj
115 * add EXEEXT for Cygwin builds
116
117 M ./configure.ac -5 +5
118
119 Fri Oct 21 19:53:29 EDT 2005 stevenj
120 * whoops
121
122 M ./Makefile.am -1 +1
123
124 Fri Oct 21 19:53:00 EDT 2005 stevenj
125 * pass .c file to mkoctfile since it may need special compilation flags
126 pass .c file to mkoctfile since it may need special compilation flags
127 (e.g. -fPIC)
128
129
130 M ./Makefile.am -1 +1
131
132 Fri Sep 2 17:39:01 EDT 2005 stevenj
133 * version bump
134
135 M ./COPYING -1 +2
136 M ./NEWS +8
137 M ./arrayh4.c -1 +1
138 M ./arrayh5.c -1 +1
139 M ./configure.ac -1 +1
140 M ./copyright.h -1 +1
141 M ./h4fromh5.c -1 +1
142 M ./h5fromh4.1 -2 +2
143 M ./h5fromh4.c -1 +1
144 M ./h5fromitxt.c -1 +1
145 M ./h5fromtxt.1 -2 +2
146 M ./h5fromtxt.c -1 +1
147 M ./h5math.1 -3 +3
148 M ./h5math.c -1 +1
149 M ./h5topng.c -1 +1
150 M ./h5totxt.1 -2 +2
151 M ./h5totxt.c -1 +1
152 M ./h5tov5d.1 -2 +2
153 M ./h5tov5d.c -2 +2
154 M ./h5tovtk.1 -1 +1
155 M ./h5tovtk.c -1 +1
156 M ./h5utils.c -1 +1
157 M ./writepng.c -1 +1
158
159 Fri Sep 2 15:23:48 EDT 2005 stevenj
160 * added h4fromh5.1, and added -T option to h4fromh5
161
162 A ./h4fromh5.1
163 M ./h4fromh5.c -2 +9
164
165 Fri Jul 15 13:37:56 EDT 2005 stevenj
166 * added h4fromh5 (no man page yet)
167
168 M ./Makefile.am -1 +4
169 M ./autogen.sh -1 +1
170 M ./configure.ac -11 +20
171 A ./h4fromh5.c
172
173 Fri Jul 15 12:33:34 EDT 2005 stevenj
174 * added autogen.sh
175
176 A ./autogen.sh
177 M ./install-sh -52 +50
178
179 Fri Jun 17 13:42:38 EDT 2005 stevenj
180 * improve contrast by making dark-light transitions more gradual
181
182 M ./colormaps/dkbluered -7 +31
183
184 Thu Jun 16 15:35:02 EDT 2005 stevenj
185 * added dkbluered colormap, slightly simplified winter colormap
186
187 M ./Makefile.am -1 +1
188 A ./colormaps/dkbluered
189 M ./colormaps/winter -15 +1
190
191 Mon Aug 16 16:28:40 EDT 2004 stevenj
192 * simplified
193
194 M ./colormaps/autumn -15 +1
195 M ./colormaps/cool -15 +1
196
197 Thu Aug 5 00:53:49 EDT 2004 stevenj
198 * version bump
199
200 M ./NEWS +5
201 M ./configure.ac -1 +1
202
203 Tue Aug 3 13:08:30 EDT 2004 stevenj
204 * don't mix declarations with code (thanks to Maarten van Reeuwijk for the bug report)
205
206 M ./h5topng.c -1 +2
207
208 Mon Jul 12 21:11:30 EDT 2004 stevenj
209 tagged h5utils-1-9
210
211
212 Mon Jul 12 21:11:30 EDT 2004 stevenj
213 * updated NEWS for 1.9
214
215 M ./NEWS -1 +8
216
217 Mon Jul 12 21:04:45 EDT 2004 stevenj
218 * update for latest libmatheval
219
220 M ./configure.ac -1 +1
221 M ./h5math.c -8 +16
222
223 Sat Jun 5 11:30:54 EDT 2004 stevenj
224 * support Matlab-like notation for slices, tiling overlay/contour to cover data
225
226 M ./arrayh5.c +44
227 M ./arrayh5.h +2
228 M ./h5topng.1.in -4 +14
229 M ./h5topng.c -34 +125
230 M ./writepng.c -32 +37
231 M ./writepng.h +2
232
233 Mon May 24 00:51:58 EDT 2004 stevenj
234 * version bump
235
236 M ./NEWS +6
237 M ./configure.ac -1 +1
238
239 Mon May 24 00:49:42 EDT 2004 stevenj
240 * added h5math man page etc.
241
242 A ./h5math.1
243 M ./h5math.c -4 +4
244
245 Mon May 24 00:32:20 EDT 2004 stevenj
246 * whoops
247
248 M ./h5tov5d.1 -1 +1
249
250 Sun May 23 23:32:54 EDT 2004 stevenj
251 * wrapping
252
253 M ./h5math.c -1 +2
254
255 Sun May 23 23:11:34 EDT 2004 stevenj
256 * fixed copyright dates in man pages
257
258 M ./h5fromh4.1 -2 +2
259 M ./h5fromtxt.1 -2 +2
260 M ./h5topng.1.in -2 +2
261 M ./h5totxt.1 -2 +2
262 M ./h5tov5d.1 -2 +2
263 M ./h5tovtk.1 -1 +1
264
265 Sun May 23 22:14:49 EDT 2004 stevenj
266 * whoops
267
268 M ./h5math.c -2 +4
269
270 Sun May 23 22:10:36 EDT 2004 stevenj
271 * make "t" variable the same as the last dimension, consistent with slice convention
272
273 M ./h5math.c -3 +3
274
275 Sun May 23 22:05:31 EDT 2004 stevenj
276 * added h5math utility (still needs man page)
277
278 M ./Makefile.am -2 +5
279 M ./configure.ac -1 +13
280 A ./h5math.c
281
282 Sun May 23 20:21:52 EDT 2004 stevenj
283 * use my_strdup everywhere, get rid of some compiler warnings
284
285 M ./h5fromh4.c -12 +4
286 M ./h5fromitxt.c -14 +8
287 M ./h5fromtxt.c -10 +4
288 M ./h5topng.c -8
289 M ./h5totxt.c -15 +4
290 M ./h5tov5d.c -8 +2
291 M ./h5tovtk.c -8 +2
292 M ./h5utils.c +11
293 M ./h5utils.h +1
294
295 Sat May 22 13:37:54 EDT 2004 stevenj
296 tagged h5utils-1-8
297
298
299 Sat May 22 13:37:54 EDT 2004 stevenj
300 * vpath build
301
302 M ./Makefile.am -1 +1
303
304 Sat May 22 13:23:35 EDT 2004 stevenj
305 * fixed some formatting problems
306
307 M ./h5topng.1.in -9 +16
308
309 Sat May 22 13:19:22 EDT 2004 stevenj
310 * make sure EXTRA_MANS is distributed
311
312 M ./Makefile.am -2 +2
313
314 Sat May 22 12:58:44 EDT 2004 stevenj
315 * planned release date
316
317 M ./NEWS -1 +1
318
319 Fri May 21 20:55:40 EDT 2004 stevenj
320 * whoops, missing '0'
321
322 M ./h5tovtk.c +3
323
324 Fri May 21 20:51:40 EDT 2004 stevenj
325 * note more digits
326
327 M ./NEWS -1 +2
328
329 Fri May 21 20:50:14 EDT 2004 stevenj
330 * whoops, screwed up slices
331
332 M ./arrayh5.c -23 +7
333 M ./h5totxt.c -2 +1
334
335 Fri May 21 20:34:35 EDT 2004 stevenj
336 * don't know release date yet
337
338 M ./NEWS -1 +1
339
340 Fri May 21 20:32:49 EDT 2004 stevenj
341 * new version
342
343 M ./NEWS +24
344 M ./configure.ac -1 +1
345
346 Fri May 21 20:25:18 EDT 2004 stevenj
347 * mkdist script
348
349 A ./mkdist.sh
350
351 Fri May 21 20:24:48 EDT 2004 stevenj
352 * generate automatically
353
354 M ./ChangeLog -256 +1
355
356 Fri May 21 20:23:41 EDT 2004 stevenj
357 * add latest colormaps
358
359 M ./Makefile.am -4 +5
360
361 Fri May 21 20:19:06 EDT 2004 stevenj
362 * check for -8 with -A
363
364 M ./h5topng.c +3
365
366 Fri May 21 20:17:57 EDT 2004 stevenj
367 * default to 24-bit output, -8 for old behavior
368
369 M ./h5topng.1.in -1 +7
370 M ./h5topng.c -5 +11
371 M ./writepng.c -29 +50
372 M ./writepng.h -2 +2
373
374 Fri May 21 19:50:52 EDT 2004 stevenj
375 * updated man pages
376
377 M ./h5topng.1.in -21 +54
378 M ./h5totxt.1 -28 +30
379 M ./h5tov5d.1 -1 +27
380 M ./h5tovtk.1 +29
381
382 Fri May 21 18:59:28 EDT 2004 stevenj
383 * added translucent overlay option
384
385 M ./arrayh4.c -1 +1
386 M ./arrayh5.c -2 +2
387 M ./colormaps/bluered -1 +1
388 M ./colormaps/gray -1 +1
389 A ./colormaps/green
390 A ./colormaps/yarg
391 A ./colormaps/yellow
392 M ./copyright.h -1 +1
393 M ./h5fromh4.c -1 +1
394 M ./h5fromitxt.c -1 +1
395 M ./h5fromtxt.c -1 +1
396 M ./h5topng.c -64 +154
397 M ./h5totxt.c -1 +1
398 M ./h5tov5d.c -2 +2
399 M ./h5tovtk.c -1 +1
400 M ./h5utils.c -1 +1
401 M ./writepng.c -21 +101
402 M ./writepng.h -2 +4
403
404 Fri May 21 16:12:05 EDT 2004 stevenj
405 * make nx = cols by default in h5topng
406
407 M ./h5topng.c -1 +1
408
409 Fri May 21 16:10:58 EDT 2004 stevenj
410 * INSTALL is supplied by automake --add-missing
411
412 R ./INSTALL
413
414 Fri May 21 16:10:23 EDT 2004 stevenj
415 * support multiple slice dimensions
416
417 M ./INSTALL -23 +26
418 M ./Makefile.am -1 +2
419 M ./arrayh5.c -65 +103
420 M ./arrayh5.h -1 +6
421 M ./configure.ac -2 +17
422 M ./h5fromitxt.c -2 +1
423 M ./h5read.cc -2 +2
424 M ./h5topng.c -18 +32
425 M ./h5totxt.c -36 +35
426 M ./h5tov5d.c -14 +50
427 M ./h5tovtk.c -4 +29
428 M ./install-sh -178 +252
429
430 Mon Mar 1 21:28:44 EST 2004 stevenj
431 * added h5fromitxt
432
433 M ./Makefile.am -1 +2
434 A ./h5fromitxt.c
435
436 Mon Jul 15 13:27:27 EDT 2002 stevenj
437 tagged h5utils-1-7-2
438
439
440 Mon Jul 15 13:27:27 EDT 2002 stevenj
441 * C++ fix for g++ 3.x, from Josselin Mouette
442
443 M ./h5read.cc -1 +1
444
445 Fri Jun 14 19:48:39 EDT 2002 stevenj
446 * follow gd lib in initializing alpha before palette (don't know if it matters)
447
448 M ./writepng.c -5 +4
449
450 Fri Jun 14 19:48:07 EDT 2002 stevenj
451 * don't use colormap dir for ./<colormap> or /<colormap>
452
453 M ./h5topng.c -1 +2
454
455 Wed May 29 23:37:54 EDT 2002 stevenj
456 * added -a and -. flags
457
458 M ./h5totxt.1 +13
459 M ./h5totxt.c -18 +60
460
461 Sat Mar 16 17:46:44 EST 2002 stevenj
462 * added 1.7.1 notes
463
464 M ./NEWS +5
465
466 Sat Mar 16 17:15:16 EST 2002 stevenj
467 * fixed h5fromh4 and make dist
468
469 M ./Makefile.am -7 +9
470 M ./configure.ac -2 +2
471
472 Sat Mar 16 16:58:28 EST 2002 stevenj
473 tagged h5utils-1-7-1
474
475
476 Sat Mar 16 16:58:28 EST 2002 stevenj
477 * fixed array overrun causing floating-point exceptions on Alpha (thanks to Marin Soljacic for the bug report)
478
479 M ./writepng.c -5 +7
480
481 Thu Mar 14 03:06:28 EST 2002 stevenj
482 * use automake
483
484 A ./Makefile.am
485 R ./Makefile.in
486 A ./configure.ac
487 R ./configure.in
488 M ./h5fromh4.c -1 +1
489 M ./h5fromtxt.c -1 +1
490 M ./h5topng.c -2 +2
491 M ./h5totxt.c -1 +1
492 M ./h5tov5d.c -1 +1
493 M ./h5tovtk.c -1 +1
494
495 Wed Mar 13 18:48:05 EST 2002 stevenj
496 * use mandir
497
498 M ./Makefile.in -18 +19
499
500 Sun Mar 10 19:47:30 EST 2002 stevenj
501 * added URL
502
503 M ./README +1
504
505 Sat Mar 9 16:48:15 EST 2002 stevenj
506 tagged h5utils-1-7
507
508
509 Sat Mar 9 16:48:15 EST 2002 stevenj
510 * print warning for -c <h5file>
511
512 M ./h5topng.c -2 +3
513
514 Sat Mar 9 16:35:59 EST 2002 stevenj
515 * whoops
516
517 M ./Makefile.in -1 +1
518
519 Sat Mar 9 16:29:19 EST 2002 stevenj
520 * updated dates
521
522 M ./NEWS -1 +1
523 M ./h5fromh4.1 -1 +1
524 M ./h5fromtxt.1 -1 +1
525 M ./h5topng.1.in -1 +1
526 M ./h5totxt.1 -1 +1
527 M ./h5tov5d.1 -1 +1
528 M ./h5tovtk.1 -1 +1
529
530 Sat Mar 9 15:13:29 EST 2002 stevenj
531 * made more GNU-ly correct
532
533 A ./INSTALL
534 A ./README
535 R ./README-h5utils.html
536
537 Sat Mar 9 15:09:26 EST 2002 stevenj
538 * added AUTHORS file to be GNU-ly correct
539
540 A ./AUTHORS
541
542 Tue Mar 5 02:23:55 EST 2002 stevenj
543 * eliminated code duplication
544
545 M ./Makefile.in -9 +9
546 M ./h5fromh4.c -43 +3
547 M ./h5fromtxt.c -28 +1
548 M ./h5topng.c -42 +3
549 M ./h5totxt.c -28 +1
550 M ./h5tov5d.c -48 +1
551 M ./h5tovtk.c -62 +4
552 A ./h5utils.c
553 A ./h5utils.h
554
555 Tue Mar 5 02:06:31 EST 2002 stevenj
556 * finally fixed garbage pixels bug in h5topng
557
558 M ./NEWS +3
559 M ./writepng.c -10 +9
560
561 Tue Mar 5 01:36:21 EST 2002 stevenj
562 * added -0 option
563
564 M ./NEWS +3
565 M ./arrayh5.c -51 +55
566 M ./arrayh5.h -1 +2
567 M ./h5read.cc -1 +1
568 M ./h5topng.1.in -1 +8
569 M ./h5topng.c -4 +9
570 M ./h5totxt.1 -1 +8
571 M ./h5totxt.c -3 +8
572 M ./h5tov5d.c -3 +3
573 M ./h5tovtk.c -1 +1
574
575 Tue Mar 5 00:03:20 EST 2002 stevenj
576 * added -R option
577
578 M ./NEWS +3
579 M ./h5topng.1.in -1 +9
580 M ./h5topng.c -16 +40
581
582 Mon Mar 4 23:25:15 EST 2002 stevenj
583 * added alpha channel support to color maps
584
585 M ./colormaps/autumn -16 +16
586 M ./colormaps/bluered -3 +3
587 M ./colormaps/bone -64 +64
588 M ./colormaps/colorcube -64 +64
589 M ./colormaps/cool -16 +16
590 M ./colormaps/copper -64 +64
591 M ./colormaps/flag -64 +64
592 M ./colormaps/gray -2 +2
593 M ./colormaps/hot -64 +64
594 M ./colormaps/hsv -64 +64
595 M ./colormaps/jet -16 +16
596 M ./colormaps/lines -64 +64
597 M ./colormaps/pink -64 +64
598 M ./colormaps/prism -16 +16
599 M ./colormaps/spring -16 +16
600 M ./colormaps/summer -16 +16
601 M ./colormaps/vga -16 +16
602 M ./colormaps/winter -16 +16
603 M ./h5topng.1.in -3 +4
604 M ./h5topng.c -12 +13
605 M ./writepng.c -4 +31
606 M ./writepng.h -3 +3
607
608 Mon Mar 4 22:22:11 EST 2002 stevenj
609 * better error message for -c (catches common mistake)
610
611 M ./h5topng.c -4 +7
612
613 Mon Mar 4 22:21:45 EST 2002 stevenj
614 * slight improvements
615
616 M ./h5topng.1.in -8 +7
617
618 Mon Mar 4 20:31:24 EST 2002 stevenj
619 * have built-in gray colormap fallback
620
621 M ./h5topng.c -9 +24
622
623 Sun Mar 3 23:48:26 EST 2002 stevenj
624 * minor improvements; noted hsv
625
626 M ./h5topng.1.in -8 +11
627
628 Sun Mar 3 23:33:46 EST 2002 stevenj
629 * whoops
630
631 R ./h5topng.1
632
633 Sun Mar 3 23:32:56 EST 2002 stevenj
634 * linewrapped
635
636 A ./h5topng.1
637 M ./h5topng.1.in -2 +6
638
639 Sun Mar 3 23:32:16 EST 2002 stevenj
640 * updated for 1.7
641
642 M ./NEWS +15
643
644 Sun Mar 3 23:22:43 EST 2002 stevenj
645 * added
646
647 A ./ChangeLog
648
649 Sun Mar 3 23:21:28 EST 2002 stevenj
650 * 2002 copyright year update
651
652 M ./COPYING -1 +1
653 M ./README-h5utils.html -1 +1
654 M ./arrayh4.c -1 +1
655 M ./arrayh4.h -1 +1
656 M ./arrayh5.c -1 +1
657 M ./arrayh5.h -1 +1
658 M ./copyright.h -1 +1
659 M ./h5fromh4.1 -2 +2
660 M ./h5fromh4.c -1 +1
661 M ./h5fromtxt.1 -2 +2
662 M ./h5fromtxt.c -1 +1
663 M ./h5read.cc -1 +1
664 M ./h5topng.1.in -2 +2
665 M ./h5topng.c -1 +1
666 M ./h5totxt.1 -2 +2
667 M ./h5totxt.c -1 +1
668 M ./h5tov5d.1 -2 +2
669 M ./h5tov5d.c -2 +2
670 M ./writepng.c -1 +1
671 M ./writepng.h -1 +1
672
673 Sun Mar 3 23:17:58 EST 2002 stevenj
674 * fixed h5tovtk man page
675
676 M ./h5tovtk.1 -16 +68
677 M ./h5tovtk.c -6 +6
678
679 Fri Mar 1 02:28:33 EST 2002 stevenj
680 * noted location of colormap files
681
682 M ./h5topng.c +1
683
684 Fri Mar 1 02:10:52 EST 2002 stevenj
685 * added variable colormap support
686
687 M ./Makefile.in -2 +13
688 M ./configure.in -1 +14
689 R ./h5topng.1
690 A ./h5topng.1.in
691 M ./h5topng.c -5 +83
692 M ./writepng.c -16 +13
693 M ./writepng.h -3 +7
694
695 Fri Mar 1 02:10:26 EST 2002 stevenj
696 * synced with latest arrayh5
697
698 M ./h5read.cc -1 +1
699
700 Fri Mar 1 01:11:37 EST 2002 stevenj
701 * added some color map files
702
703 A ./colormaps/
704 A ./colormaps/autumn
705 A ./colormaps/bluered
706 A ./colormaps/bone
707 A ./colormaps/colorcube
708 A ./colormaps/cool
709 A ./colormaps/copper
710 A ./colormaps/flag
711 A ./colormaps/gray
712 A ./colormaps/hot
713 A ./colormaps/hsv
714 A ./colormaps/jet
715 A ./colormaps/lines
716 A ./colormaps/pink
717 A ./colormaps/prism
718 A ./colormaps/spring
719 A ./colormaps/summer
720 A ./colormaps/vga
721 A ./colormaps/winter
722
723 Sat Jan 5 15:15:11 EST 2002 stevenj
724 * added preliminary h5tovtk
725
726 M ./Makefile.in -2 +16
727 M ./arrayh5.c -1 +5
728 M ./arrayh5.h -1 +1
729 M ./configure.in -1 +28
730 M ./h5topng.c -2 +2
731 M ./h5totxt.c -1 +1
732 M ./h5tov5d.c -3 +3
733 A ./h5tovtk.1
734 A ./h5tovtk.c
735
736 Mon Oct 15 20:47:15 EDT 2001 stevenj
737 * Use CPPFLAGS and LDFLAGS when calling mkoctfile! Thanks to Max Colice
738 Use CPPFLAGS and LDFLAGS when calling mkoctfile! Thanks to Max Colice
739 for the bug report.
740
741
742 M ./Makefile.in -2 +2
743
744 Tue Oct 2 01:09:50 EDT 2001 stevenj
745 * whoops, fixed datatype in -T mode
746
747 M ./h5tov5d.c -10 +8
748
749 Sat Sep 22 19:21:04 EDT 2001 stevenj
750 * slight bug fix in -T (?)
751
752 M ./h5tov5d.c -3 +10
753
754 Sat Sep 22 18:54:36 EDT 2001 stevenj
755 * added -T option to h5tov5d
756
757 M ./NEWS +2
758 M ./h5tov5d.1 +3
759 M ./h5tov5d.c -26 +46
760
761 Sun Mar 18 01:32:07 EST 2001 stevenj
762 * whoops, fixed problem when --without-h5tov5d and --without-h5fromh4 are used. Thanks to Nikola Ivanov Nikolov for the fix.
763
764 M ./Makefile.in -2 +1
765
766 Wed Feb 14 13:48:01 EST 2001 stevenj
767 * minor fix
768
769 M ./h5fromtxt.1 -1 +1
770
771 Wed Jan 17 00:05:12 EST 2001 stevenj
772 tagged h5utils-1-6
773
774
775 Wed Jan 17 00:05:12 EST 2001 stevenj
776 * Don't build h5fromh4 if h4toh5 is present. Bumped version and copyright year.
777
778 M ./COPYING -1 +1
779 M ./NEWS +6
780 M ./README-h5utils.html -1 +1
781 M ./arrayh4.c -1 +1
782 M ./arrayh4.h -1 +1
783 M ./arrayh5.c -1 +1
784 M ./arrayh5.h -1 +1
785 M ./configure.in -8 +21
786 M ./copyright.h -1 +1
787 M ./h5fromh4.1 -2 +2
788 M ./h5fromh4.c -1 +1
789 M ./h5fromtxt.1 -2 +2
790 M ./h5fromtxt.c -1 +1
791 M ./h5read.cc -1 +1
792 M ./h5topng.1 -2 +2
793 M ./h5topng.c -1 +1
794 M ./h5totxt.1 -2 +2
795 M ./h5totxt.c -1 +1
796 M ./h5tov5d.1 -2 +2
797 M ./h5tov5d.c -2 +2
798 M ./writepng.c -1 +1
799 M ./writepng.h -1 +1
800
801 Sat Dec 9 02:01:59 EST 2000 stevenj
802 * 'make dist' should call autoheader
803
804 M ./Makefile.in -1 +1
805
806 Sat Dec 9 02:00:21 EST 2000 stevenj
807 * bumped version number
808
809 M ./NEWS +7
810 M ./configure.in -1 +1
811
812 Sat Dec 9 01:58:37 EST 2000 stevenj
813 * Support disabling Octave plugin manually, in case of C++ craziness.
814 Support disabling Octave plugin manually, in case of C++ craziness.
815 Support Vis5d+ header file locations. Support Debian HDF header file
816 locations. Use autoheader.
817
818
819 M ./Makefile.in -1 +1
820 M ./arrayh4.h -1 +5
821 R ./config.h.in
822 M ./configure.in -3 +15
823 M ./h5tov5d.c -1 +3
824
825 Fri Jul 28 07:58:39 EDT 2000 stevenj
826 * fixed bug in contour plotting
827
828 M ./writepng.c -7 +11
829
830 Sun Jul 9 22:39:52 EDT 2000 stevenj
831 * updated
832
833 M ./NEWS -1 +1
834
835 Sun Jul 9 00:43:19 EDT 2000 stevenj
836 * Note that HDF4 libraries are required for h5fromh4.
837
838 M ./README-h5utils.html +3
839
840 Sun Jul 9 00:41:45 EDT 2000 stevenj
841 * documented h5fromh4
842
843 M ./README-h5utils.html +8
844
845 Tue May 30 02:14:21 EDT 2000 stevenj
846 * Added -S <s> option to h5topng as a shortcut for -X <s> -Y <s>.
847
848 M ./NEWS +2
849 M ./h5topng.1 -2 +4
850 M ./h5topng.c -1 +5
851
852 Mon May 29 15:00:00 EDT 2000 stevenj
853 * bumped version
854
855 M ./NEWS -1 +5
856 M ./configure.in -1 +1
857
858 Mon May 29 14:56:38 EDT 2000 stevenj
859 * slight fixes
860
861 M ./h5fromh4.1 -5 +7
862
863 Mon May 29 14:52:33 EDT 2000 stevenj
864 * added h5fromh4 man page
865
866 A ./h5fromh4.1
867
868 Mon May 29 04:51:07 EDT 2000 stevenj
869 * added h5fromh4
870
871 M ./Makefile.in -2 +17
872 A ./arrayh4.c
873 A ./arrayh4.h
874 M ./configure.in +10
875 A ./h5fromh4.c
876
877 Mon May 29 04:37:47 EDT 2000 stevenj
878 * got rid of spurious "sep" variable
879
880 M ./h5fromtxt.c -6
881
882 Sun May 28 19:13:08 EDT 2000 stevenj
883 tagged h5utils-1-4
884
885
886 Sun May 28 19:13:08 EDT 2000 stevenj
887 * added h5fromtxt
888
889 M ./Makefile.in -2 +16
890 M ./NEWS +4
891 M ./README-h5utils.html +11
892 M ./arrayh5.c -16 +125
893 M ./arrayh5.h +4
894 M ./configure.in -1 +1
895 A ./h5fromtxt.1
896 A ./h5fromtxt.c
897 M ./h5topng.c -1 +1
898 M ./h5totxt.c -1 +1
899 M ./h5tov5d.c -1 +1
900
901 Mon Jan 31 22:14:43 EST 2000 stevenj
902 tagged h5utils-1-3-4
903
904
905 Mon Jan 31 22:14:43 EST 2000 stevenj
906 * slight correction
907
908 M ./h5topng.1 -1 +1
909
910 Mon Jan 31 22:05:30 EST 2000 stevenj
911 * fix so it works without -C!
912
913 M ./h5topng.c -1 +2
914
915 Mon Jan 31 22:02:17 EST 2000 stevenj
916 * bumped version
917
918 M ./NEWS +6
919 M ./configure.in -1 +1
920
921 Mon Jan 31 21:59:32 EST 2000 stevenj
922 * improved crude contour feature
923
924 M ./h5topng.1 -2 +2
925 M ./h5topng.c -9 +11
926 M ./writepng.c -41 +45
927 M ./writepng.h -5 +2
928
929 Mon Jan 31 20:43:28 EST 2000 stevenj
930 * Fixed display bug; thanks to Christoph Becher for the correction.
931
932 M ./h5topng.1 -2 +5
933
934 Sun Jan 30 14:13:13 EST 2000 stevenj
935 * credited 1.3.3 bug report
936
937 M ./NEWS +1
938
939 Sun Jan 30 14:06:09 EST 2000 stevenj
940 tagged h5utils-1-3-3
941
942
943 Sun Jan 30 14:06:09 EST 2000 stevenj
944 * bumped version
945
946 M ./configure.in -1 +1
947
948 Sun Jan 30 14:04:32 EST 2000 stevenj
949 * got rid of compiler warning
950
951 M ./NEWS +4
952 M ./arrayh5.c -2 +2
953
954 Sun Jan 30 14:04:07 EST 2000 stevenj
955 * bug fix (uninitialized var)
956
957 M ./writepng.c -2 +1
958
959 Fri Jan 28 21:26:20 EST 2000 stevenj
960 tagged h5utils-1-3-2
961
962
963 Fri Jan 28 21:26:20 EST 2000 stevenj
964 * added -Z option
965
966 M ./NEWS +2
967 M ./h5topng.1 -1 +5
968 M ./h5topng.c -1 +11
969
970 Fri Jan 28 18:03:46 EST 2000 stevenj
971 * fixed typo
972
973 M ./h5topng.c -1 +1
974
975 Fri Jan 28 18:01:28 EST 2000 stevenj
976 * now support h5topng -C filename:dataset
977
978 M ./NEWS +4
979 M ./configure.in -1 +1
980 M ./h5topng.1 -2 +4
981 M ./h5topng.c -2 +9
982
983 Thu Jan 27 19:54:35 EST 2000 stevenj
984 tagged h5utils-1-3-1
985
986
987 Thu Jan 27 19:54:35 EST 2000 stevenj
988 * bumped version
989
990 M ./NEWS +5
991 M ./configure.in -1 +1
992
993 Thu Jan 27 19:34:54 EST 2000 stevenj
994 * fixed bug in joining hdf5 files
995
996 M ./h5tov5d.c -1 +1
997
998 Thu Jan 27 15:44:19 EST 2000 stevenj
999 * fixed handling of -d option so that it doesn't get overriden if only
1000 fixed handling of -d option so that it doesn't get overriden if only
1001 a single file specifies a dataset via fname:dataset.
1002
1003
1004 M ./h5topng.c -3 +7
1005 M ./h5totxt.c -3 +6
1006
1007 Fri Jan 21 14:12:29 EST 2000 stevenj
1008 tagged h5utils-1-3
1009
1010
1011 Fri Jan 21 14:12:29 EST 2000 stevenj
1012 * documented changes
1013
1014 M ./NEWS +6
1015 M ./README-h5utils.html +6
1016
1017 Thu Jan 20 22:44:13 EST 2000 stevenj
1018 * detect -lv5d library
1019
1020 M ./Makefile.in -1 +1
1021 M ./config.h.in +3
1022 M ./configure.in -2 +5
1023 M ./h5tov5d.c -5 +6
1024
1025 Thu Jan 20 22:36:57 EST 2000 stevenj
1026 * added filename:dataset syntax
1027
1028 M ./arrayh5.c -1
1029 M ./arrayh5.h +1
1030 M ./configure.in -1 +1
1031 M ./h5topng.1 -1 +3
1032 M ./h5topng.c -6 +41
1033 M ./h5totxt.1 -1 +3
1034 M ./h5totxt.c -8 +43
1035 M ./h5tov5d.1 -1 +3
1036 M ./h5tov5d.c -7 +53
1037
1038 Thu Jan 20 20:35:10 EST 2000 stevenj
1039 tagged h5utils-1-2-3
1040
1041
1042 Thu Jan 20 20:35:10 EST 2000 stevenj
1043 * bumped version
1044
1045 M ./NEWS +4
1046 M ./configure.in -1 +1
1047
1048 Thu Jan 20 20:33:39 EST 2000 stevenj
1049 * fixed help message
1050
1051 M ./h5totxt.c -1 +1
1052
1053 Wed Jan 12 22:52:25 EST 2000 stevenj
1054 * use CPPFLAGS when compiling
1055
1056 M ./Makefile.in -1 +2
1057 M ./NEWS +6
1058 M ./configure.in -1 +1
1059
1060 Sat Jan 1 12:47:34 EST 2000 stevenj
1061 * h5tov5d -o now joins; bumped copyright year
1062
1063 M ./COPYING -1 +1
1064 M ./NEWS +4
1065 M ./README-h5utils.html -1 +1
1066 M ./arrayh5.c -1 +1
1067 M ./arrayh5.h -1 +1
1068 M ./configure.in -1 +1
1069 M ./copyright.h -1 +1
1070 M ./h5read.cc -1 +1
1071 M ./h5topng.1 -2 +2
1072 M ./h5topng.c -1 +1
1073 M ./h5totxt.1 -2 +2
1074 M ./h5totxt.c -1 +1
1075 M ./h5tov5d.1 -6 +12
1076 M ./h5tov5d.c -117 +166
1077 M ./writepng.c -1 +1
1078 M ./writepng.h -1 +1
1079
1080 Fri Dec 31 21:43:44 EST 1999 stevenj
1081 tagged h5utils-1-2
1082
1083
1084 Fri Dec 31 21:43:44 EST 1999 stevenj
1085 * noted changes
1086
1087 M ./NEWS +8
1088
1089 Fri Dec 31 21:41:01 EST 1999 stevenj
1090 * bumped version
1091
1092 M ./configure.in -1 +1
1093
1094 Fri Dec 31 21:20:43 EST 1999 stevenj
1095 * noted man page
1096
1097 M ./README-h5utils.html +3
1098
1099 Fri Dec 31 21:17:38 EST 1999 stevenj
1100 * updated license
1101
1102 M ./README-h5utils.html +22
1103
1104 Fri Dec 31 21:05:29 EST 1999 stevenj
1105 * added h5tov5d
1106
1107 M ./COPYING -21 +373
1108 M ./Makefile.in -6 +32
1109 M ./README-h5utils.html -2 +31
1110 M ./configure.in +27
1111 A ./copyright.h
1112 M ./h5topng.c -23 +1
1113 M ./h5totxt.c -23 +1
1114 A ./h5tov5d.1
1115 A ./h5tov5d.c
1116
1117 Fri Dec 31 16:58:12 EST 1999 stevenj
1118 * some cleanup
1119
1120 M ./configure.in -2 +9
1121
1122 Fri Dec 31 16:55:39 EST 1999 stevenj
1123 * Better documentation of (revised) installation.
1124
1125 M ./README-h5utils.html -6 +9
1126
1127 Fri Dec 31 16:46:31 EST 1999 stevenj
1128 * install h5read.oct in right place
1129
1130 M ./Makefile.in -4 +13
1131 M ./configure.in +18
1132
1133 Fri Dec 31 16:01:41 EST 1999 stevenj
1134 * fixed install/uninstall rules so that they ignore things that aren't built
1135
1136 M ./Makefile.in -6 +27
1137
1138 Mon Dec 6 17:49:46 EST 1999 stevenj
1139 * small fixes
1140
1141 M ./README-h5utils.html -4 +5
1142
1143 Mon Dec 6 17:40:56 EST 1999 stevenj
1144 * added h5totxt
1145
1146 M ./Makefile.in -7 +14
1147 A ./NEWS
1148 M ./README-h5utils.html +8
1149 M ./configure.in -1 +1
1150 A ./h5totxt.1
1151 A ./h5totxt.c
1152
1153 Mon Nov 22 00:02:13 EST 1999 stevenj
1154 tagged h5utils-1-0
1155
1156
1157 Mon Nov 22 00:02:13 EST 1999 stevenj
1158 * don't strip (-s) man page!!
1159
1160 M ./Makefile.in -1 +1
1161
1162 Sun Nov 21 23:50:36 EST 1999 stevenj
1163 * changed README to HTML
1164
1165 R ./README
1166 A ./README-h5utils.html
1167
1168 Sun Nov 21 23:01:59 EST 1999 stevenj
1169 * added man page
1170
1171 M ./Makefile.in +2
1172 M ./README -1 +2
1173 A ./h5topng.1
1174
1175 Sun Nov 21 21:41:52 EST 1999 stevenj
1176 * got rid of garbage file
1177
1178 R ./.png
1179
1180 Sun Nov 21 21:39:48 EST 1999 stevenj
1181 * made sure 'make clean' gets rid of h5read.o
1182
1183 M ./Makefile.in -1 +1
1184
1185 Sun Nov 21 21:39:04 EST 1999 stevenj
1186 * various fixes
1187
1188 M ./config.h.in +2
1189 M ./configure.in -1 +1
1190 M ./h5topng.c -4 +39
1191
1192 Sun Nov 21 21:27:45 EST 1999 stevenj
1193 * comment-ized license
1194
1195 M ./COPYING -19 +21
1196
1197 Sun Nov 21 21:26:49 EST 1999 stevenj
1198 * added copyright notices
1199
1200 M ./arrayh5.c +22
1201 M ./arrayh5.h +22
1202 M ./h5read.cc +22
1203 M ./h5topng.c +22
1204 M ./writepng.c +22
1205 M ./writepng.h -1 +36
1206
1207 Sun Nov 21 21:22:47 EST 1999 stevenj
1208 * fixed clean targets
1209
1210 M ./Makefile.in -1 +4
1211
1212 Sun Nov 21 21:20:16 EST 1999 stevenj
1213 * added MIT license
1214
1215 A ./COPYING
1216
1217 Sun Nov 21 21:19:54 EST 1999 stevenj
1218 * autoconfiscated
1219
1220 R ./Makefile
1221 A ./Makefile.in
1222 A ./config.h.in
1223 A ./configure.in
1224 A ./install-sh
1225
1226 Sun Nov 21 20:49:08 EST 1999 stevenj
1227 * deleted extraneous files
1228
1229 R ./.indent.pro
1230 R ./README.writepng
1231
1232 Sun Nov 21 20:48:36 EST 1999 stevenj
1233 * added README
1234
1235 A ./README
1236
1237 Sun Nov 21 20:24:59 EST 1999 stevenj
1238 * Initial revision
1239
1240 A ./.indent.pro
1241 A ./.png
1242 A ./Makefile
1243 A ./README.writepng
1244 A ./arrayh5.c
1245 A ./arrayh5.h
1246 A ./h5read.cc
1247 A ./h5topng.c
1248 A ./writepng.c
1249 A ./writepng.h
00 Installation Instructions
11 *************************
22
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
3 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
4 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5
6 This file is free documentation; the Free Software Foundation gives
77 unlimited permission to copy, distribute and modify it.
88
99 Basic Installation
1010 ==================
1111
12 These are generic installation instructions.
12 Briefly, the shell commands `./configure; make; make install' should
13 configure, build, and install this package. The following
14 more-detailed instructions are generic; see the `README' file for
15 instructions specific to this package.
1316
1417 The `configure' shell script attempts to guess correct values for
1518 various system-dependent variables used during compilation. It uses
2225
2326 It can also use an optional file (typically called `config.cache'
2427 and enabled with `--cache-file=config.cache' or simply `-C') that saves
25 the results of its tests to speed up reconfiguring. (Caching is
28 the results of its tests to speed up reconfiguring. Caching is
2629 disabled by default to prevent problems with accidental use of stale
27 cache files.)
30 cache files.
2831
2932 If you need to do unusual things to compile the package, please try
3033 to figure out how `configure' could check whether to do them, and mail
3437 may remove or edit it.
3538
3639 The file `configure.ac' (or `configure.in') is used to create
37 `configure' by a program called `autoconf'. You only need
38 `configure.ac' if you want to change it or regenerate `configure' using
39 a newer version of `autoconf'.
40 `configure' by a program called `autoconf'. You need `configure.ac' if
41 you want to change it or regenerate `configure' using a newer version
42 of `autoconf'.
4043
4144 The simplest way to compile this package is:
4245
4346 1. `cd' to the directory containing the package's source code and type
44 `./configure' to configure the package for your system. If you're
45 using `csh' on an old version of System V, you might need to type
46 `sh ./configure' instead to prevent `csh' from trying to execute
47 `configure' itself.
48
49 Running `configure' takes awhile. While running, it prints some
50 messages telling which features it is checking for.
47 `./configure' to configure the package for your system.
48
49 Running `configure' might take a while. While running, it prints
50 some messages telling which features it is checking for.
5151
5252 2. Type `make' to compile the package.
5353
6666 all sorts of other programs in order to regenerate files that came
6767 with the distribution.
6868
69 6. Often, you can also type `make uninstall' to remove the installed
70 files again.
71
6972 Compilers and Options
7073 =====================
7174
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.
75 Some systems require unusual options for compilation or linking that
76 the `configure' script does not know about. Run `./configure --help'
77 for details on some of the pertinent environment variables.
7578
7679 You can give `configure' initial values for configuration parameters
7780 by setting variables in the command line or in the environment. Here
7881 is an example:
7982
80 ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
83 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
8184
8285 *Note Defining Variables::, for more details.
8386
8487 Compiling For Multiple Architectures
8588 ====================================
8689
87 You can compile the package for more than one kind of computer at the
90 You can compile the package for more than one kind of computer at the
8891 same time, by placing the object files for each architecture in their
89 own directory. To do this, you must use a version of `make' that
90 supports the `VPATH' variable, such as GNU `make'. `cd' to the
92 own directory. To do this, you can use GNU `make'. `cd' to the
9193 directory where you want the object files and executables to go and run
9294 the `configure' script. `configure' automatically checks for the
9395 source code in the directory that `configure' is in and in `..'.
9496
95 If you have to use a `make' that does not support the `VPATH'
96 variable, you have to compile the package for one architecture at a
97 time in the source code directory. After you have installed the
98 package for one architecture, use `make distclean' before reconfiguring
99 for another architecture.
97 With a non-GNU `make', it is safer to compile the package for one
98 architecture at a time in the source code directory. After you have
99 installed the package for one architecture, use `make distclean' before
100 reconfiguring for another architecture.
101
102 On MacOS X 10.5 and later systems, you can create libraries and
103 executables that work on multiple system types--known as "fat" or
104 "universal" binaries--by specifying multiple `-arch' options to the
105 compiler but only a single `-arch' option to the preprocessor. Like
106 this:
107
108 ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
109 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
110 CPP="gcc -E" CXXCPP="g++ -E"
111
112 This is not guaranteed to produce working output in all cases, you
113 may have to build one architecture at a time and combine the results
114 using the `lipo' tool if you have problems.
100115
101116 Installation Names
102117 ==================
103118
104 By default, `make install' will install the package's files in
105 `/usr/local/bin', `/usr/local/man', etc. You can specify an
106 installation prefix other than `/usr/local' by giving `configure' the
107 option `--prefix=PREFIX'.
119 By default, `make install' installs the package's commands under
120 `/usr/local/bin', include files under `/usr/local/include', etc. You
121 can specify an installation prefix other than `/usr/local' by giving
122 `configure' the option `--prefix=PREFIX'.
108123
109124 You can specify separate installation prefixes for
110125 architecture-specific files and architecture-independent files. If you
111 give `configure' the option `--exec-prefix=PREFIX', the package will
112 use PREFIX as the prefix for installing programs and libraries.
113 Documentation and other data files will still use the regular prefix.
126 pass the option `--exec-prefix=PREFIX' to `configure', the package uses
127 PREFIX as the prefix for installing programs and libraries.
128 Documentation and other data files still use the regular prefix.
114129
115130 In addition, if you use an unusual directory layout you can give
116131 options like `--bindir=DIR' to specify different values for particular
124139 Optional Features
125140 =================
126141
127 Some packages pay attention to `--enable-FEATURE' options to
142 Some packages pay attention to `--enable-FEATURE' options to
128143 `configure', where FEATURE indicates an optional part of the package.
129144 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
130145 is something like `gnu-as' or `x' (for the X Window System). The
136151 you can use the `configure' options `--x-includes=DIR' and
137152 `--x-libraries=DIR' to specify their locations.
138153
154 Particular systems
155 ==================
156
157 On HP-UX, the default C compiler is not ANSI C compatible. If GNU
158 CC is not installed, it is recommended to use the following options in
159 order to use an ANSI C compiler:
160
161 ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
162
163 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
164
165 On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
166 parse its `<wchar.h>' header file. The option `-nodtk' can be used as
167 a workaround. If GNU CC is not installed, it is therefore recommended
168 to try
169
170 ./configure CC="cc"
171
172 and if that doesn't work, try
173
174 ./configure CC="cc -nodtk"
175
176 On Solaris, don't put `/usr/ucb' early in your `PATH'. This
177 directory contains several dysfunctional programs; working variants of
178 these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
179 in your `PATH', put it _after_ `/usr/bin'.
180
181 On Haiku, software installed for all users goes in `/boot/common',
182 not `/usr/local'. It is recommended to use the following options:
183
184 ./configure --prefix=/boot/common
185
139186 Specifying the System Type
140187 ==========================
141188
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
189 There may be some features `configure' cannot figure out
190 automatically, but needs to determine by the type of machine the package
191 will run on. Usually, assuming the package is built to be run on the
192 _same_ architectures, `configure' can figure that out, but if it prints
193 a message saying it cannot guess the machine type, give it the
147194 `--build=TYPE' option. TYPE can either be a short name for the system
148195 type, such as `sun4', or a canonical name which has the form:
149196
151198
152199 where SYSTEM can have one of these forms:
153200
154 OS KERNEL-OS
201 OS
202 KERNEL-OS
155203
156204 See the file `config.sub' for the possible values of each field. If
157205 `config.sub' isn't included in this package, then this package doesn't
158206 need to know the machine type.
159207
160208 If you are _building_ compiler tools for cross-compiling, you should
161 use the `--target=TYPE' option to select the type of system they will
209 use the option `--target=TYPE' to select the type of system they will
162210 produce code for.
163211
164212 If you want to _use_ a cross compiler, that generates code for a
169217 Sharing Defaults
170218 ================
171219
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'.
220 If you want to set default values for `configure' scripts to share,
221 you can create a site shell script called `config.site' that gives
222 default values for variables like `CC', `cache_file', and `prefix'.
175223 `configure' looks for `PREFIX/share/config.site' if it exists, then
176224 `PREFIX/etc/config.site' if it exists. Or, you can set the
177225 `CONFIG_SITE' environment variable to the location of the site script.
180228 Defining Variables
181229 ==================
182230
183 Variables not defined in a site shell script can be set in the
231 Variables not defined in a site shell script can be set in the
184232 environment passed to `configure'. However, some packages may run
185233 configure again during the build, and the customized values of these
186234 variables may be lost. In order to avoid this problem, you should set
189237 ./configure CC=/usr/local2/bin/gcc
190238
191239 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'.
240 overridden in the site shell script).
241
242 Unfortunately, this technique does not work for `CONFIG_SHELL' due to
243 an Autoconf bug. Until the bug is fixed you can use this workaround:
244
245 CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
198246
199247 `configure' Invocation
200248 ======================
201249
202 `configure' recognizes the following options to control how it operates.
250 `configure' recognizes the following options to control how it
251 operates.
203252
204253 `--help'
205254 `-h'
206 Print a summary of the options to `configure', and exit.
255 Print a summary of all of the options to `configure', and exit.
256
257 `--help=short'
258 `--help=recursive'
259 Print a summary of the options unique to this package's
260 `configure', and exit. The `short' variant lists options used
261 only in the top level, while the `recursive' variant lists options
262 also present in any nested packages.
207263
208264 `--version'
209265 `-V'
230286 Look for the package's source code in directory DIR. Usually
231287 `configure' can determine that directory automatically.
232288
289 `--prefix=DIR'
290 Use DIR as the installation prefix. *Note Installation Names::
291 for more details, including other options available for fine-tuning
292 the installation locations.
293
294 `--no-create'
295 `-n'
296 Run the configure checks, but stop before creating any output
297 files.
298
233299 `configure' also accepts some other, not widely useful, options. Run
234300 `configure --help' for more details.
235301
4141 oct_DATA = @H5READ@
4242
4343 h5read.oct: h5read.cc arrayh5.h arrayh5.o
44 mkoctfile $(DEFS) $(CPPFLAGS) $(srcdir)/h5read.cc arrayh5.o $(LDFLAGS) $(LIBS)
44 mkoctfile $(DEFS) $(CPPFLAGS) $(srcdir)/h5read.cc $(srcdir)/arrayh5.c $(LDFLAGS) $(LIBS)
4545
4646 clean-hook:
4747 rm -f h5read.oct
4848
4949 nobase_dist_pkgdata_DATA = $(COLORMAPS)
50
51 # Somewhat hackish. The "right" way to do this is by a dist-hook target,
52 # but then darcs check will fail because it doesn't run in the darcs
53 # repository.
54 darcs-dist: distdir
55 darcs changes --summary > $(distdir)/ChangeLog
56 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
57 $(am__remove_distdir)
58
0 # Makefile.in generated by automake 1.9.5 from Makefile.am.
0 # Makefile.in generated by automake 1.11 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
4 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
5 # Inc.
56 # This Makefile.in is free software; the Free Software Foundation
67 # gives unlimited permission to copy and/or distribute it,
78 # with or without modifications, as long as this notice is preserved.
1415 @SET_MAKE@
1516
1617
17 SOURCES = $(h4fromh5_SOURCES) $(h5fromh4_SOURCES) $(h5fromitxt_SOURCES) $(h5fromtxt_SOURCES) $(h5math_SOURCES) $(h5topng_SOURCES) $(h5totxt_SOURCES) $(h5tov5d_SOURCES) $(h5tovtk_SOURCES)
18
19 srcdir = @srcdir@
20 top_srcdir = @top_srcdir@
2118 VPATH = @srcdir@
2219 pkgdatadir = $(datadir)/@PACKAGE@
20 pkgincludedir = $(includedir)/@PACKAGE@
2321 pkglibdir = $(libdir)/@PACKAGE@
24 pkgincludedir = $(includedir)/@PACKAGE@
25 top_builddir = .
22 pkglibexecdir = $(libexecdir)/@PACKAGE@
2623 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
27 INSTALL = @INSTALL@
2824 install_sh_DATA = $(install_sh) -c -m 644
2925 install_sh_PROGRAM = $(install_sh) -c
3026 install_sh_SCRIPT = $(install_sh) -c
5248 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
5349 $(ACLOCAL_M4)
5450 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
55 configure.lineno configure.status.lineno
51 configure.lineno config.status.lineno
5652 mkinstalldirs = $(install_sh) -d
5753 CONFIG_HEADER = config.h
5854 CONFIG_CLEAN_FILES = h5topng.1
55 CONFIG_CLEAN_VPATH_FILES =
5956 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \
6057 "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(octdir)"
61 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
6258 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
6359 am__objects_1 = arrayh5.$(OBJEXT) h5utils.$(OBJEXT)
6460 am_h4fromh5_OBJECTS = h4fromh5.$(OBJEXT) arrayh4.$(OBJEXT) \
9288 am_h5tovtk_OBJECTS = h5tovtk.$(OBJEXT) $(am__objects_1)
9389 h5tovtk_OBJECTS = $(am_h5tovtk_OBJECTS)
9490 h5tovtk_LDADD = $(LDADD)
95 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
91 DEFAULT_INCLUDES = -I.@am__isrc@
9692 depcomp = $(SHELL) $(top_srcdir)/depcomp
9793 am__depfiles_maybe = depfiles
94 am__mv = mv -f
9895 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
9996 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
10097 CCLD = $(CC)
107104 $(h5fromitxt_SOURCES) $(h5fromtxt_SOURCES) $(h5math_SOURCES) \
108105 $(h5topng_SOURCES) $(h5totxt_SOURCES) $(h5tov5d_SOURCES) \
109106 $(h5tovtk_SOURCES)
110 man1dir = $(mandir)/man1
111 NROFF = nroff
112 MANS = $(dist_man_MANS) $(nodist_man_MANS)
113107 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
114108 am__vpath_adj = case $$p in \
115109 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
116110 *) f=$$p;; \
117111 esac;
118 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
119 nobase_dist_pkgdataDATA_INSTALL = $(install_sh_DATA)
120 octDATA_INSTALL = $(INSTALL_DATA)
112 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
113 am__install_max = 40
114 am__nobase_strip_setup = \
115 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
116 am__nobase_strip = \
117 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
118 am__nobase_list = $(am__nobase_strip_setup); \
119 for p in $$list; do echo "$$p $$p"; done | \
120 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
121 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
122 if (++n[$$2] == $(am__install_max)) \
123 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
124 END { for (dir in files) print dir, files[dir] }'
125 am__base_list = \
126 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
127 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
128 man1dir = $(mandir)/man1
129 NROFF = nroff
130 MANS = $(dist_man_MANS) $(nodist_man_MANS)
121131 DATA = $(nobase_dist_pkgdata_DATA) $(oct_DATA)
122132 ETAGS = etags
123133 CTAGS = ctags
125135 distdir = $(PACKAGE)-$(VERSION)
126136 top_distdir = $(distdir)
127137 am__remove_distdir = \
128 { test ! -d $(distdir) \
129 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
130 && rm -fr $(distdir); }; }
138 { test ! -d "$(distdir)" \
139 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
140 && rm -fr "$(distdir)"; }; }
131141 DIST_ARCHIVES = $(distdir).tar.gz
132142 GZIP_ENV = --best
133143 distuninstallcheck_listfiles = find . -type f -print
134144 distcleancheck_listfiles = find . -type f -print
135145 ACLOCAL = @ACLOCAL@
136 AMDEP_FALSE = @AMDEP_FALSE@
137 AMDEP_TRUE = @AMDEP_TRUE@
138146 AMTAR = @AMTAR@
139147 AUTOCONF = @AUTOCONF@
140148 AUTOHEADER = @AUTOHEADER@
153161 ECHO_T = @ECHO_T@
154162 EGREP = @EGREP@
155163 EXEEXT = @EXEEXT@
164 GREP = @GREP@
156165 H4TOH5 = @H4TOH5@
157166 H4_LIBS = @H4_LIBS@
158167 H5READ = @H5READ@
159168 H5TOH4 = @H5TOH4@
160169 H5TOPNG_MAN = @H5TOPNG_MAN@
170 INSTALL = @INSTALL@
161171 INSTALL_DATA = @INSTALL_DATA@
162172 INSTALL_PROGRAM = @INSTALL_PROGRAM@
163173 INSTALL_SCRIPT = @INSTALL_SCRIPT@
167177 LIBS = @LIBS@
168178 LTLIBOBJS = @LTLIBOBJS@
169179 MAINT = @MAINT@
170 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
171 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
172180 MAKEINFO = @MAKEINFO@
181 MKDIR_P = @MKDIR_P@
173182 MKOCTFILE = @MKOCTFILE@
174183 MORE_H5UTILS = @MORE_H5UTILS@
175184 MORE_H5UTILS_MANS = @MORE_H5UTILS_MANS@
190199 V5D_FILES = @V5D_FILES@
191200 V5D_INCLUDES = @V5D_INCLUDES@
192201 VERSION = @VERSION@
202 abs_builddir = @abs_builddir@
203 abs_srcdir = @abs_srcdir@
204 abs_top_builddir = @abs_top_builddir@
205 abs_top_srcdir = @abs_top_srcdir@
193206 ac_ct_CC = @ac_ct_CC@
194 ac_ct_STRIP = @ac_ct_STRIP@
195 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
196 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
197207 am__include = @am__include@
198208 am__leading_dot = @am__leading_dot@
199209 am__quote = @am__quote@
201211 am__untar = @am__untar@
202212 bindir = @bindir@
203213 build_alias = @build_alias@
214 builddir = @builddir@
204215 datadir = @datadir@
205216 datadir_val = @datadir_val@
217 datarootdir = @datarootdir@
218 docdir = @docdir@
219 dvidir = @dvidir@
206220 exec_prefix = @exec_prefix@
207221 host_alias = @host_alias@
222 htmldir = @htmldir@
208223 includedir = @includedir@
209224 infodir = @infodir@
210225 install_sh = @install_sh@
211226 libdir = @libdir@
212227 libexecdir = @libexecdir@
228 localedir = @localedir@
213229 localstatedir = @localstatedir@
214230 mandir = @mandir@
215231 mkdir_p = @mkdir_p@
216232 oldincludedir = @oldincludedir@
233 pdfdir = @pdfdir@
217234 prefix = @prefix@
218235 program_transform_name = @program_transform_name@
236 psdir = @psdir@
219237 sbindir = @sbindir@
220238 sharedstatedir = @sharedstatedir@
239 srcdir = @srcdir@
221240 sysconfdir = @sysconfdir@
222241 target_alias = @target_alias@
242 top_build_prefix = @top_build_prefix@
243 top_builddir = @top_builddir@
244 top_srcdir = @top_srcdir@
223245 COLORMAPS = colormaps/autumn colormaps/bluered colormaps/bone \
224246 colormaps/colorcube colormaps/cool colormaps/copper colormaps/flag \
225247 colormaps/gray colormaps/green colormaps/hot colormaps/hsv \
261283 @for dep in $?; do \
262284 case '$(am__configure_deps)' in \
263285 *$$dep*) \
264 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
265 cd $(srcdir) && $(AUTOMAKE) --gnu \
286 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
287 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
266288 && exit 0; \
267289 exit 1;; \
268290 esac; \
269291 done; \
270 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
271 cd $(top_srcdir) && \
272 $(AUTOMAKE) --gnu Makefile
292 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
293 $(am__cd) $(top_srcdir) && \
294 $(AUTOMAKE) --gnu Makefile
273295 .PRECIOUS: Makefile
274296 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
275297 @case '$?' in \
285307 $(SHELL) ./config.status --recheck
286308
287309 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
288 cd $(srcdir) && $(AUTOCONF)
310 $(am__cd) $(srcdir) && $(AUTOCONF)
289311 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
290 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
312 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
313 $(am__aclocal_m4_deps):
291314
292315 config.h: stamp-h1
293316 @if test ! -f $@; then \
294317 rm -f stamp-h1; \
295 $(MAKE) stamp-h1; \
318 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
296319 else :; fi
297320
298321 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
299322 @rm -f stamp-h1
300323 cd $(top_builddir) && $(SHELL) ./config.status config.h
301324 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
302 cd $(top_srcdir) && $(AUTOHEADER)
325 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
303326 rm -f stamp-h1
304327 touch $@
305328
309332 cd $(top_builddir) && $(SHELL) ./config.status $@
310333 install-binPROGRAMS: $(bin_PROGRAMS)
311334 @$(NORMAL_INSTALL)
312 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
313 @list='$(bin_PROGRAMS)'; for p in $$list; do \
314 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
315 if test -f $$p \
316 ; then \
317 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
318 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
319 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
320 else :; fi; \
321 done
335 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
336 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
337 for p in $$list; do echo "$$p $$p"; done | \
338 sed 's/$(EXEEXT)$$//' | \
339 while read p p1; do if test -f $$p; \
340 then echo "$$p"; echo "$$p"; else :; fi; \
341 done | \
342 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
343 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
344 sed 'N;N;N;s,\n, ,g' | \
345 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
346 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
347 if ($$2 == $$4) files[d] = files[d] " " $$1; \
348 else { print "f", $$3 "/" $$4, $$1; } } \
349 END { for (d in files) print "f", d, files[d] }' | \
350 while read type dir files; do \
351 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
352 test -z "$$files" || { \
353 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
354 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
355 } \
356 ; done
322357
323358 uninstall-binPROGRAMS:
324359 @$(NORMAL_UNINSTALL)
325 @list='$(bin_PROGRAMS)'; for p in $$list; do \
326 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
327 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
328 rm -f "$(DESTDIR)$(bindir)/$$f"; \
329 done
360 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
361 files=`for p in $$list; do echo "$$p"; done | \
362 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
363 -e 's/$$/$(EXEEXT)/' `; \
364 test -n "$$list" || exit 0; \
365 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
366 cd "$(DESTDIR)$(bindir)" && rm -f $$files
330367
331368 clean-binPROGRAMS:
332369 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
335372 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
336373 h4fromh5$(EXEEXT): $(h4fromh5_OBJECTS) $(h4fromh5_DEPENDENCIES)
337374 @rm -f h4fromh5$(EXEEXT)
338 $(LINK) $(h4fromh5_LDFLAGS) $(h4fromh5_OBJECTS) $(h4fromh5_LDADD) $(LIBS)
375 $(LINK) $(h4fromh5_OBJECTS) $(h4fromh5_LDADD) $(LIBS)
339376 h5fromh4$(EXEEXT): $(h5fromh4_OBJECTS) $(h5fromh4_DEPENDENCIES)
340377 @rm -f h5fromh4$(EXEEXT)
341 $(LINK) $(h5fromh4_LDFLAGS) $(h5fromh4_OBJECTS) $(h5fromh4_LDADD) $(LIBS)
378 $(LINK) $(h5fromh4_OBJECTS) $(h5fromh4_LDADD) $(LIBS)
342379 h5fromitxt$(EXEEXT): $(h5fromitxt_OBJECTS) $(h5fromitxt_DEPENDENCIES)
343380 @rm -f h5fromitxt$(EXEEXT)
344 $(LINK) $(h5fromitxt_LDFLAGS) $(h5fromitxt_OBJECTS) $(h5fromitxt_LDADD) $(LIBS)
381 $(LINK) $(h5fromitxt_OBJECTS) $(h5fromitxt_LDADD) $(LIBS)
345382 h5fromtxt$(EXEEXT): $(h5fromtxt_OBJECTS) $(h5fromtxt_DEPENDENCIES)
346383 @rm -f h5fromtxt$(EXEEXT)
347 $(LINK) $(h5fromtxt_LDFLAGS) $(h5fromtxt_OBJECTS) $(h5fromtxt_LDADD) $(LIBS)
384 $(LINK) $(h5fromtxt_OBJECTS) $(h5fromtxt_LDADD) $(LIBS)
348385 h5math$(EXEEXT): $(h5math_OBJECTS) $(h5math_DEPENDENCIES)
349386 @rm -f h5math$(EXEEXT)
350 $(LINK) $(h5math_LDFLAGS) $(h5math_OBJECTS) $(h5math_LDADD) $(LIBS)
387 $(LINK) $(h5math_OBJECTS) $(h5math_LDADD) $(LIBS)
351388 h5topng$(EXEEXT): $(h5topng_OBJECTS) $(h5topng_DEPENDENCIES)
352389 @rm -f h5topng$(EXEEXT)
353 $(LINK) $(h5topng_LDFLAGS) $(h5topng_OBJECTS) $(h5topng_LDADD) $(LIBS)
390 $(LINK) $(h5topng_OBJECTS) $(h5topng_LDADD) $(LIBS)
354391 h5totxt$(EXEEXT): $(h5totxt_OBJECTS) $(h5totxt_DEPENDENCIES)
355392 @rm -f h5totxt$(EXEEXT)
356 $(LINK) $(h5totxt_LDFLAGS) $(h5totxt_OBJECTS) $(h5totxt_LDADD) $(LIBS)
393 $(LINK) $(h5totxt_OBJECTS) $(h5totxt_LDADD) $(LIBS)
357394 h5tov5d$(EXEEXT): $(h5tov5d_OBJECTS) $(h5tov5d_DEPENDENCIES)
358395 @rm -f h5tov5d$(EXEEXT)
359 $(LINK) $(h5tov5d_LDFLAGS) $(h5tov5d_OBJECTS) $(h5tov5d_LDADD) $(LIBS)
396 $(LINK) $(h5tov5d_OBJECTS) $(h5tov5d_LDADD) $(LIBS)
360397 h5tovtk$(EXEEXT): $(h5tovtk_OBJECTS) $(h5tovtk_DEPENDENCIES)
361398 @rm -f h5tovtk$(EXEEXT)
362 $(LINK) $(h5tovtk_LDFLAGS) $(h5tovtk_OBJECTS) $(h5tovtk_LDADD) $(LIBS)
399 $(LINK) $(h5tovtk_OBJECTS) $(h5tovtk_LDADD) $(LIBS)
363400
364401 mostlyclean-compile:
365402 -rm -f *.$(OBJEXT)
384421 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/writepng.Po@am__quote@
385422
386423 .c.o:
387 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
388 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
424 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
425 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
389426 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
390427 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
391428 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
392429
393430 .c.obj:
394 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
395 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
431 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
432 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
396433 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
397434 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
398435 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
399436
400437 h5tov5d-h5tov5d.o: h5tov5d.c
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; \
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
438 @am__fastdepCC_TRUE@ $(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
439 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/h5tov5d-h5tov5d.Tpo $(DEPDIR)/h5tov5d-h5tov5d.Po
403440 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='h5tov5d.c' object='h5tov5d-h5tov5d.o' libtool=no @AMDEPBACKSLASH@
404441 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
405442 @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
406443
407444 h5tov5d-h5tov5d.obj: h5tov5d.c
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`; \
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
445 @am__fastdepCC_TRUE@ $(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`
446 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/h5tov5d-h5tov5d.Tpo $(DEPDIR)/h5tov5d-h5tov5d.Po
410447 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='h5tov5d.c' object='h5tov5d-h5tov5d.obj' libtool=no @AMDEPBACKSLASH@
411448 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
412449 @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`
413450
414451 h5tov5d-arrayh5.o: arrayh5.c
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; \
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
452 @am__fastdepCC_TRUE@ $(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
453 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/h5tov5d-arrayh5.Tpo $(DEPDIR)/h5tov5d-arrayh5.Po
417454 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='arrayh5.c' object='h5tov5d-arrayh5.o' libtool=no @AMDEPBACKSLASH@
418455 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
419456 @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
420457
421458 h5tov5d-arrayh5.obj: arrayh5.c
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`; \
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
459 @am__fastdepCC_TRUE@ $(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`
460 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/h5tov5d-arrayh5.Tpo $(DEPDIR)/h5tov5d-arrayh5.Po
424461 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='arrayh5.c' object='h5tov5d-arrayh5.obj' libtool=no @AMDEPBACKSLASH@
425462 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
426463 @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`
427464
428465 h5tov5d-h5utils.o: h5utils.c
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; \
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
466 @am__fastdepCC_TRUE@ $(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
467 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/h5tov5d-h5utils.Tpo $(DEPDIR)/h5tov5d-h5utils.Po
431468 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='h5utils.c' object='h5tov5d-h5utils.o' libtool=no @AMDEPBACKSLASH@
432469 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
433470 @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
434471
435472 h5tov5d-h5utils.obj: h5utils.c
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`; \
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
473 @am__fastdepCC_TRUE@ $(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`
474 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/h5tov5d-h5utils.Tpo $(DEPDIR)/h5tov5d-h5utils.Po
438475 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='h5utils.c' object='h5tov5d-h5utils.obj' libtool=no @AMDEPBACKSLASH@
439476 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
440477 @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`
441 uninstall-info-am:
442 install-man1: $(man1_MANS) $(man_MANS)
478 install-man1: $(dist_man_MANS) $(nodist_man_MANS)
443479 @$(NORMAL_INSTALL)
444 test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
445 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
446 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
447 for i in $$l2; do \
448 case "$$i" in \
449 *.1*) list="$$list $$i" ;; \
450 esac; \
480 test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
481 @list=''; test -n "$(man1dir)" || exit 0; \
482 { for i in $$list; do echo "$$i"; done; \
483 l2='$(dist_man_MANS) $(nodist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
484 sed -n '/\.1[a-z]*$$/p'; \
485 } | while read p; do \
486 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
487 echo "$$d$$p"; echo "$$p"; \
488 done | \
489 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
490 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
491 sed 'N;N;s,\n, ,g' | { \
492 list=; while read file base inst; do \
493 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
494 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
495 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
496 fi; \
451497 done; \
452 for i in $$list; do \
453 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
454 else file=$$i; fi; \
455 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
456 case "$$ext" in \
457 1*) ;; \
458 *) ext='1' ;; \
459 esac; \
460 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
461 inst=`echo $$inst | sed -e 's/^.*\///'`; \
462 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
463 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
464 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
465 done
498 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
499 while read files; do \
500 test -z "$$files" || { \
501 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
502 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
503 done; }
504
466505 uninstall-man1:
467506 @$(NORMAL_UNINSTALL)
468 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
469 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
470 for i in $$l2; do \
471 case "$$i" in \
472 *.1*) list="$$list $$i" ;; \
473 esac; \
474 done; \
475 for i in $$list; do \
476 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
477 case "$$ext" in \
478 1*) ;; \
479 *) ext='1' ;; \
480 esac; \
481 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
482 inst=`echo $$inst | sed -e 's/^.*\///'`; \
483 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
484 echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
485 rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
486 done
507 @list=''; test -n "$(man1dir)" || exit 0; \
508 files=`{ for i in $$list; do echo "$$i"; done; \
509 l2='$(dist_man_MANS) $(nodist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
510 sed -n '/\.1[a-z]*$$/p'; \
511 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
512 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
513 test -z "$$files" || { \
514 echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
515 cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
487516 install-nobase_dist_pkgdataDATA: $(nobase_dist_pkgdata_DATA)
488517 @$(NORMAL_INSTALL)
489 test -z "$(pkgdatadir)" || $(mkdir_p) "$(DESTDIR)$(pkgdatadir)"
490 @$(am__vpath_adj_setup) \
491 list='$(nobase_dist_pkgdata_DATA)'; for p in $$list; do \
492 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
493 $(am__vpath_adj) \
494 echo " $(nobase_dist_pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \
495 $(nobase_dist_pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \
518 test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
519 @list='$(nobase_dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
520 $(am__nobase_list) | while read dir files; do \
521 xfiles=; for file in $$files; do \
522 if test -f "$$file"; then xfiles="$$xfiles $$file"; \
523 else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
524 test -z "$$xfiles" || { \
525 test "x$$dir" = x. || { \
526 echo "$(MKDIR_P) '$(DESTDIR)$(pkgdatadir)/$$dir'"; \
527 $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)/$$dir"; }; \
528 echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(pkgdatadir)/$$dir'"; \
529 $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(pkgdatadir)/$$dir" || exit $$?; }; \
496530 done
497531
498532 uninstall-nobase_dist_pkgdataDATA:
499533 @$(NORMAL_UNINSTALL)
500 @$(am__vpath_adj_setup) \
501 list='$(nobase_dist_pkgdata_DATA)'; for p in $$list; do \
502 $(am__vpath_adj) \
503 echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \
504 rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \
505 done
534 @list='$(nobase_dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
535 $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
536 test -n "$$files" || exit 0; \
537 echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \
538 cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files
506539 install-octDATA: $(oct_DATA)
507540 @$(NORMAL_INSTALL)
508 test -z "$(octdir)" || $(mkdir_p) "$(DESTDIR)$(octdir)"
509 @list='$(oct_DATA)'; for p in $$list; do \
541 test -z "$(octdir)" || $(MKDIR_P) "$(DESTDIR)$(octdir)"
542 @list='$(oct_DATA)'; test -n "$(octdir)" || list=; \
543 for p in $$list; do \
510544 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
511 f=$(am__strip_dir) \
512 echo " $(octDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(octdir)/$$f'"; \
513 $(octDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(octdir)/$$f"; \
545 echo "$$d$$p"; \
546 done | $(am__base_list) | \
547 while read files; do \
548 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(octdir)'"; \
549 $(INSTALL_DATA) $$files "$(DESTDIR)$(octdir)" || exit $$?; \
514550 done
515551
516552 uninstall-octDATA:
517553 @$(NORMAL_UNINSTALL)
518 @list='$(oct_DATA)'; for p in $$list; do \
519 f=$(am__strip_dir) \
520 echo " rm -f '$(DESTDIR)$(octdir)/$$f'"; \
521 rm -f "$(DESTDIR)$(octdir)/$$f"; \
522 done
554 @list='$(oct_DATA)'; test -n "$(octdir)" || list=; \
555 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
556 test -n "$$files" || exit 0; \
557 echo " ( cd '$(DESTDIR)$(octdir)' && rm -f" $$files ")"; \
558 cd "$(DESTDIR)$(octdir)" && rm -f $$files
523559
524560 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
525561 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
526562 unique=`for i in $$list; do \
527563 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
528564 done | \
529 $(AWK) ' { files[$$0] = 1; } \
530 END { for (i in files) print i; }'`; \
565 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
566 END { if (nonempty) { for (i in files) print i; }; }'`; \
531567 mkid -fID $$unique
532568 tags: TAGS
533569
534570 TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
535571 $(TAGS_FILES) $(LISP)
536 tags=; \
572 set x; \
537573 here=`pwd`; \
538574 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
539575 unique=`for i in $$list; do \
540576 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
541577 done | \
542 $(AWK) ' { files[$$0] = 1; } \
543 END { for (i in files) print i; }'`; \
544 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
578 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
579 END { if (nonempty) { for (i in files) print i; }; }'`; \
580 shift; \
581 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
545582 test -n "$$unique" || unique=$$empty_fix; \
546 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
547 $$tags $$unique; \
583 if test $$# -gt 0; then \
584 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
585 "$$@" $$unique; \
586 else \
587 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
588 $$unique; \
589 fi; \
548590 fi
549591 ctags: CTAGS
550592 CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
551593 $(TAGS_FILES) $(LISP)
552 tags=; \
553 here=`pwd`; \
554594 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
555595 unique=`for i in $$list; do \
556596 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
557597 done | \
558 $(AWK) ' { files[$$0] = 1; } \
559 END { for (i in files) print i; }'`; \
560 test -z "$(CTAGS_ARGS)$$tags$$unique" \
598 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
599 END { if (nonempty) { for (i in files) print i; }; }'`; \
600 test -z "$(CTAGS_ARGS)$$unique" \
561601 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
562 $$tags $$unique
602 $$unique
563603
564604 GTAGS:
565605 here=`$(am__cd) $(top_builddir) && pwd` \
566 && cd $(top_srcdir) \
567 && gtags -i $(GTAGS_ARGS) $$here
606 && $(am__cd) $(top_srcdir) \
607 && gtags -i $(GTAGS_ARGS) "$$here"
568608
569609 distclean-tags:
570610 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
571611
572612 distdir: $(DISTFILES)
573 $(am__remove_distdir)
574 mkdir $(distdir)
575 $(mkdir_p) $(distdir)/. $(distdir)/colormaps
576 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
577 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
578 list='$(DISTFILES)'; for file in $$list; do \
579 case $$file in \
580 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
581 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
582 esac; \
613 @list='$(MANS)'; if test -n "$$list"; then \
614 list=`for p in $$list; do \
615 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
616 if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
617 if test -n "$$list" && \
618 grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
619 echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
620 grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
621 echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
622 echo " typically \`make maintainer-clean' will remove them" >&2; \
623 exit 1; \
624 else :; fi; \
625 else :; fi
626 $(am__remove_distdir)
627 test -d "$(distdir)" || mkdir "$(distdir)"
628 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
629 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
630 list='$(DISTFILES)'; \
631 dist_files=`for file in $$list; do echo $$file; done | \
632 sed -e "s|^$$srcdirstrip/||;t" \
633 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
634 case $$dist_files in \
635 */*) $(MKDIR_P) `echo "$$dist_files" | \
636 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
637 sort -u` ;; \
638 esac; \
639 for file in $$dist_files; do \
583640 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
584 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
585 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
586 dir="/$$dir"; \
587 $(mkdir_p) "$(distdir)$$dir"; \
641 if test -d $$d/$$file; then \
642 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
643 if test -d "$(distdir)/$$file"; then \
644 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
645 fi; \
646 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
647 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
648 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
649 fi; \
650 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
588651 else \
589 dir=''; \
590 fi; \
591 if test -d $$d/$$file; then \
592 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
593 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
594 fi; \
595 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
596 else \
597 test -f $(distdir)/$$file \
598 || cp -p $$d/$$file $(distdir)/$$file \
652 test -f "$(distdir)/$$file" \
653 || cp -p $$d/$$file "$(distdir)/$$file" \
599654 || exit 1; \
600655 fi; \
601656 done
602 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
657 -test -n "$(am__skip_mode_fix)" \
658 || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
603659 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
604660 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
605 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
606 || chmod -R a+r $(distdir)
661 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
662 || chmod -R a+r "$(distdir)"
607663 dist-gzip: distdir
608664 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
609665 $(am__remove_distdir)
610666
611667 dist-bzip2: distdir
612668 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
669 $(am__remove_distdir)
670
671 dist-lzma: distdir
672 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
673 $(am__remove_distdir)
674
675 dist-xz: distdir
676 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
613677 $(am__remove_distdir)
614678
615679 dist-tarZ: distdir
638702 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
639703 *.tar.bz2*) \
640704 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
705 *.tar.lzma*) \
706 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
707 *.tar.xz*) \
708 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
641709 *.tar.Z*) \
642710 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
643711 *.shar.gz*) \
649717 mkdir $(distdir)/_build
650718 mkdir $(distdir)/_inst
651719 chmod a-w $(distdir)
720 test -d $(distdir)/_build || exit 0; \
652721 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
653722 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
654 && cd $(distdir)/_build \
723 && am__cwd=`pwd` \
724 && $(am__cd) $(distdir)/_build \
655725 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
656726 $(DISTCHECK_CONFIGURE_FLAGS) \
657727 && $(MAKE) $(AM_MAKEFLAGS) \
673743 && rm -rf "$$dc_destdir" \
674744 && $(MAKE) $(AM_MAKEFLAGS) dist \
675745 && rm -rf $(DIST_ARCHIVES) \
676 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
746 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
747 && cd "$$am__cwd" \
748 || exit 1
677749 $(am__remove_distdir)
678750 @(echo "$(distdir) archives ready for distribution: "; \
679751 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
680 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
752 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
681753 distuninstallcheck:
682 @cd $(distuninstallcheck_dir) \
754 @$(am__cd) '$(distuninstallcheck_dir)' \
683755 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
684756 || { echo "ERROR: files left after uninstall:" ; \
685757 if test -n "$(DESTDIR)"; then \
701773 all-am: Makefile $(PROGRAMS) $(MANS) $(DATA) config.h
702774 installdirs:
703775 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(octdir)"; do \
704 test -z "$$dir" || $(mkdir_p) "$$dir"; \
776 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
705777 done
706778 install: install-am
707779 install-exec: install-exec-am
723795
724796 distclean-generic:
725797 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
798 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
726799
727800 maintainer-clean-generic:
728801 @echo "This command is intended for maintainers to use"
745818
746819 html: html-am
747820
821 html-am:
822
748823 info: info-am
749824
750825 info-am:
752827 install-data-am: install-man install-nobase_dist_pkgdataDATA \
753828 install-octDATA
754829
830 install-dvi: install-dvi-am
831
832 install-dvi-am:
833
755834 install-exec-am: install-binPROGRAMS
756835
836 install-html: install-html-am
837
838 install-html-am:
839
757840 install-info: install-info-am
758841
842 install-info-am:
843
759844 install-man: install-man1
845
846 install-pdf: install-pdf-am
847
848 install-pdf-am:
849
850 install-ps: install-ps-am
851
852 install-ps-am:
760853
761854 installcheck-am:
762855
779872
780873 ps-am:
781874
782 uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man \
875 uninstall-am: uninstall-binPROGRAMS uninstall-man \
783876 uninstall-nobase_dist_pkgdataDATA uninstall-octDATA
784877
785878 uninstall-man: uninstall-man1
879
880 .MAKE: all install-am install-strip
786881
787882 .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
788883 clean-binPROGRAMS clean-generic clean-noinstPROGRAMS ctags \
789 dist dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ \
790 dist-zip distcheck distclean distclean-compile \
791 distclean-generic distclean-hdr distclean-tags distcleancheck \
792 distdir distuninstallcheck dvi dvi-am html html-am info \
793 info-am install install-am install-binPROGRAMS install-data \
794 install-data-am install-exec install-exec-am install-info \
795 install-info-am install-man install-man1 \
796 install-nobase_dist_pkgdataDATA install-octDATA install-strip \
797 installcheck installcheck-am installdirs maintainer-clean \
798 maintainer-clean-generic mostlyclean mostlyclean-compile \
799 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
800 uninstall-am uninstall-binPROGRAMS uninstall-info-am \
884 dist dist-all dist-bzip2 dist-gzip dist-lzma dist-shar \
885 dist-tarZ dist-xz dist-zip distcheck distclean \
886 distclean-compile distclean-generic distclean-hdr \
887 distclean-tags distcleancheck distdir distuninstallcheck dvi \
888 dvi-am html html-am info info-am install install-am \
889 install-binPROGRAMS install-data install-data-am install-dvi \
890 install-dvi-am install-exec install-exec-am install-html \
891 install-html-am install-info install-info-am install-man \
892 install-man1 install-nobase_dist_pkgdataDATA install-octDATA \
893 install-pdf install-pdf-am install-ps install-ps-am \
894 install-strip installcheck installcheck-am installdirs \
895 maintainer-clean maintainer-clean-generic mostlyclean \
896 mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
897 tags uninstall uninstall-am uninstall-binPROGRAMS \
801898 uninstall-man uninstall-man1 uninstall-nobase_dist_pkgdataDATA \
802899 uninstall-octDATA
803900
804901
805902 h5read.oct: h5read.cc arrayh5.h arrayh5.o
806 mkoctfile $(DEFS) $(CPPFLAGS) $(srcdir)/h5read.cc arrayh5.o $(LDFLAGS) $(LIBS)
903 mkoctfile $(DEFS) $(CPPFLAGS) $(srcdir)/h5read.cc $(srcdir)/arrayh5.c $(LDFLAGS) $(LIBS)
807904
808905 clean-hook:
809906 rm -f h5read.oct
907
908 # Somewhat hackish. The "right" way to do this is by a dist-hook target,
909 # but then darcs check will fail because it doesn't run in the darcs
910 # repository.
911 darcs-dist: distdir
912 darcs changes --summary > $(distdir)/ChangeLog
913 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
914 $(am__remove_distdir)
915
810916 # Tell versions [3.59,3.63) of GNU make to not export all variables.
811917 # Otherwise a system limit (for SysV at least) may be exceeded.
812918 .NOEXPORT:
0 h5utils 1.12 (6/12/09)
1
2 * The vertical axis in h5topng is now reversed to correspond to
3 what most people seem to expect: increasing coordinates correspond
4 to "up" and "right" in the image, rather than "down" and "right"
5 in the image as in previous versions.
6
7 * Fixed failure in h5tovtk -2; thanks to Karen Lee for the bug report.
8
9 * Fixed installation of h5read.oct for Octave 3.x.
10
11 h5utils 1.11.1 (4/28/08)
12
13 * Fixed failure to find colormap files in h5topng 1.11 (due
14 to changes in autoconf 2.60); thanks to bug report from Jiangjun Zheng.
15
16 h5utils 1.11 (4/24/08)
17
18 * h5tovtk no longer reverses the dimensions; thanks to Andreas Wilde
19 for the suggestion.
20
21 * Fix compilation failure with HDF5 1.8.
22
23 h5utils 1.10.1 (9/20/06)
24
25 * Fixed build problem on Cygwin due to missing ".exe" extension.
26 Thanks to Ken Hill for the bug report.
27
028 h5utils 1.10 (9/2/05)
129
230 * Added h4fromh5 utility. (NCSA seems to be no longer shipping
0 # generated automatically by aclocal 1.9.5 -*- Autoconf -*-
0 # generated automatically by aclocal 1.11 -*- Autoconf -*-
11
22 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 # 2005 Free Software Foundation, Inc.
3 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
66 # with or without modifications, as long as this notice is preserved.
1010 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1111 # PARTICULAR PURPOSE.
1212
13 # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
13 m4_ifndef([AC_AUTOCONF_VERSION],
14 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
16 [m4_warning([this file was generated for autoconf 2.63.
17 You have another version of autoconf. It may work, but is not guaranteed to.
18 If you have problems, you may need to regenerate the build system entirely.
19 To do so, use the procedure documented by the package, typically `autoreconf'.])])
20
21 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1422 #
1523 # This file is free software; the Free Software Foundation
1624 # gives unlimited permission to copy and/or distribute it,
2028 # ----------------------------
2129 # Automake X.Y traces this macro to ensure aclocal.m4 has been
2230 # generated from the m4 files accompanying Automake X.Y.
23 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
31 # (This private macro should not be called outside this file.)
32 AC_DEFUN([AM_AUTOMAKE_VERSION],
33 [am__api_version='1.11'
34 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
35 dnl require some minimum version. Point them to the right macro.
36 m4_if([$1], [1.11], [],
37 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
38 ])
39
40 # _AM_AUTOCONF_VERSION(VERSION)
41 # -----------------------------
42 # aclocal traces this macro to find the Autoconf version.
43 # This is a private macro too. Using m4_define simplifies
44 # the logic in aclocal, which can simply ignore this definition.
45 m4_define([_AM_AUTOCONF_VERSION], [])
2446
2547 # AM_SET_CURRENT_AUTOMAKE_VERSION
2648 # -------------------------------
27 # Call AM_AUTOMAKE_VERSION so it can be traced.
28 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
49 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
50 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
2951 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
30 [AM_AUTOMAKE_VERSION([1.9.5])])
52 [AM_AUTOMAKE_VERSION([1.11])dnl
53 m4_ifndef([AC_AUTOCONF_VERSION],
54 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
55 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
3156
3257 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
3358
84109
85110 # AM_CONDITIONAL -*- Autoconf -*-
86111
87 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
112 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
88113 # Free Software Foundation, Inc.
89114 #
90115 # This file is free software; the Free Software Foundation
91116 # gives unlimited permission to copy and/or distribute it,
92117 # with or without modifications, as long as this notice is preserved.
93118
94 # serial 7
119 # serial 9
95120
96121 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
97122 # -------------------------------------
100125 [AC_PREREQ(2.52)dnl
101126 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
102127 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
103 AC_SUBST([$1_TRUE])
104 AC_SUBST([$1_FALSE])
128 AC_SUBST([$1_TRUE])dnl
129 AC_SUBST([$1_FALSE])dnl
130 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
131 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
132 m4_define([_AM_COND_VALUE_$1], [$2])dnl
105133 if $2; then
106134 $1_TRUE=
107135 $1_FALSE='#'
115143 Usually this means the macro was only invoked conditionally.]])
116144 fi])])
117145
118
119 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
146 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
120147 # Free Software Foundation, Inc.
121148 #
122149 # This file is free software; the Free Software Foundation
123150 # gives unlimited permission to copy and/or distribute it,
124151 # with or without modifications, as long as this notice is preserved.
125152
126 # serial 8
153 # serial 10
127154
128155 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
129156 # written in clear, in which case automake, when reading aclocal.m4,
151178 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
152179 [$1], CXX, [depcc="$CXX" am_compiler_list=],
153180 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
181 [$1], UPC, [depcc="$UPC" am_compiler_list=],
154182 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
155183 [depcc="$$1" am_compiler_list=])
156184
179207 if test "$am_compiler_list" = ""; then
180208 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
181209 fi
210 am__universal=false
211 m4_case([$1], [CC],
212 [case " $depcc " in #(
213 *\ -arch\ *\ -arch\ *) am__universal=true ;;
214 esac],
215 [CXX],
216 [case " $depcc " in #(
217 *\ -arch\ *\ -arch\ *) am__universal=true ;;
218 esac])
219
182220 for depmode in $am_compiler_list; do
183221 # Setup a source with many dependencies, because some compilers
184222 # like to wrap large dependency lists on column 80 (with \), and
196234 done
197235 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
198236
237 # We check with `-c' and `-o' for the sake of the "dashmstdout"
238 # mode. It turns out that the SunPro C++ compiler does not properly
239 # handle `-M -o', and we need to detect this. Also, some Intel
240 # versions had trouble with output in subdirs
241 am__obj=sub/conftest.${OBJEXT-o}
242 am__minus_obj="-o $am__obj"
199243 case $depmode in
244 gcc)
245 # This depmode causes a compiler race in universal mode.
246 test "$am__universal" = false || continue
247 ;;
200248 nosideeffect)
201249 # after this tag, mechanisms are not by side-effect, so they'll
202250 # only be used when explicitly requested
206254 break
207255 fi
208256 ;;
257 msvisualcpp | msvcmsys)
258 # This compiler won't grok `-c -o', but also, the minuso test has
259 # not run yet. These depmodes are late enough in the game, and
260 # so weak that their functioning should not be impacted.
261 am__obj=conftest.${OBJEXT-o}
262 am__minus_obj=
263 ;;
209264 none) break ;;
210265 esac
211 # We check with `-c' and `-o' for the sake of the "dashmstdout"
212 # mode. It turns out that the SunPro C++ compiler does not properly
213 # handle `-M -o', and we need to detect this.
214266 if depmode=$depmode \
215 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
267 source=sub/conftest.c object=$am__obj \
216268 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
217 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
269 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
218270 >/dev/null 2>conftest.err &&
271 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
219272 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
220 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
273 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
221274 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
222275 # icc doesn't choke on unknown options, it will just issue warnings
223276 # or remarks (even with -Werror). So we grep stderr for any message
268321 AMDEPBACKSLASH='\'
269322 fi
270323 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
271 AC_SUBST([AMDEPBACKSLASH])
324 AC_SUBST([AMDEPBACKSLASH])dnl
325 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
272326 ])
273327
274328 # Generate code to set up dependency tracking. -*- Autoconf -*-
275329
276 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
330 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
277331 # Free Software Foundation, Inc.
278332 #
279333 # This file is free software; the Free Software Foundation
280334 # gives unlimited permission to copy and/or distribute it,
281335 # with or without modifications, as long as this notice is preserved.
282336
283 #serial 3
337 #serial 5
284338
285339 # _AM_OUTPUT_DEPENDENCY_COMMANDS
286340 # ------------------------------
287341 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
288 [for mf in $CONFIG_FILES; do
289 # Strip MF so we end up with the name of the file.
290 mf=`echo "$mf" | sed -e 's/:.*$//'`
291 # Check whether this is an Automake generated Makefile or not.
292 # We used to match only the files named `Makefile.in', but
293 # some people rename them; so instead we look at the file content.
294 # Grep'ing the first line is not enough: some people post-process
295 # each Makefile.in and add a new line on top of each file to say so.
296 # So let's grep whole file.
297 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
298 dirpart=`AS_DIRNAME("$mf")`
299 else
300 continue
301 fi
302 # Extract the definition of DEPDIR, am__include, and am__quote
303 # from the Makefile without running `make'.
304 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
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"`
309 # When using ansi2knr, U may be empty or an underscore; expand it
310 U=`sed -n 's/^U = //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" | \
317 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
318 # Make sure the directory exists.
319 test -f "$dirpart/$file" && continue
320 fdir=`AS_DIRNAME(["$file"])`
321 AS_MKDIR_P([$dirpart/$fdir])
322 # echo "creating $dirpart/$file"
323 echo '# dummy' > "$dirpart/$file"
342 [{
343 # Autoconf 2.62 quotes --file arguments for eval, but not when files
344 # are listed without --file. Let's play safe and only enable the eval
345 # if we detect the quoting.
346 case $CONFIG_FILES in
347 *\'*) eval set x "$CONFIG_FILES" ;;
348 *) set x $CONFIG_FILES ;;
349 esac
350 shift
351 for mf
352 do
353 # Strip MF so we end up with the name of the file.
354 mf=`echo "$mf" | sed -e 's/:.*$//'`
355 # Check whether this is an Automake generated Makefile or not.
356 # We used to match only the files named `Makefile.in', but
357 # some people rename them; so instead we look at the file content.
358 # Grep'ing the first line is not enough: some people post-process
359 # each Makefile.in and add a new line on top of each file to say so.
360 # Grep'ing the whole file is not good either: AIX grep has a line
361 # limit of 2048, but all sed's we know have understand at least 4000.
362 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
363 dirpart=`AS_DIRNAME("$mf")`
364 else
365 continue
366 fi
367 # Extract the definition of DEPDIR, am__include, and am__quote
368 # from the Makefile without running `make'.
369 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
370 test -z "$DEPDIR" && continue
371 am__include=`sed -n 's/^am__include = //p' < "$mf"`
372 test -z "am__include" && continue
373 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
374 # When using ansi2knr, U may be empty or an underscore; expand it
375 U=`sed -n 's/^U = //p' < "$mf"`
376 # Find all dependency output files, they are included files with
377 # $(DEPDIR) in their names. We invoke sed twice because it is the
378 # simplest approach to changing $(DEPDIR) to its actual value in the
379 # expansion.
380 for file in `sed -n "
381 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
382 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
383 # Make sure the directory exists.
384 test -f "$dirpart/$file" && continue
385 fdir=`AS_DIRNAME(["$file"])`
386 AS_MKDIR_P([$dirpart/$fdir])
387 # echo "creating $dirpart/$file"
388 echo '# dummy' > "$dirpart/$file"
389 done
324390 done
325 done
391 }
326392 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
327393
328394
353419
354420 # Do all the work for Automake. -*- Autoconf -*-
355421
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
422 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
423 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
424 #
425 # This file is free software; the Free Software Foundation
426 # gives unlimited permission to copy and/or distribute it,
427 # with or without modifications, as long as this notice is preserved.
428
429 # serial 16
364430
365431 # This macro actually does too much. Some checks are only needed if
366432 # your package does certain things. But this isn't really a big deal.
377443 # arguments mandatory, and then we can depend on a new Autoconf
378444 # release and drop the old call support.
379445 AC_DEFUN([AM_INIT_AUTOMAKE],
380 [AC_PREREQ([2.58])dnl
446 [AC_PREREQ([2.62])dnl
381447 dnl Autoconf wants to disallow AM_ names. We explicitly allow
382448 dnl the ones we care about.
383449 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
384450 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
385451 AC_REQUIRE([AC_PROG_INSTALL])dnl
386 # test to see if srcdir already configured
387 if test "`cd $srcdir && pwd`" != "`pwd`" &&
388 test -f $srcdir/config.status; then
389 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
452 if test "`cd $srcdir && pwd`" != "`pwd`"; then
453 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
454 # is not polluted with repeated "-I."
455 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
456 # test to see if srcdir already configured
457 if test -f $srcdir/config.status; then
458 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
459 fi
390460 fi
391461
392462 # test whether we have cygpath
406476 AC_SUBST([PACKAGE], [$1])dnl
407477 AC_SUBST([VERSION], [$2])],
408478 [_AM_SET_OPTIONS([$1])dnl
479 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
480 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
481 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
409482 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
410483 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
411484
421494 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
422495 AM_MISSING_PROG(AUTOHEADER, autoheader)
423496 AM_MISSING_PROG(MAKEINFO, makeinfo)
424 AM_PROG_INSTALL_SH
425 AM_PROG_INSTALL_STRIP
497 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
498 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
426499 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
427500 # We need awk for the "check" target. The system "awk" is bad on
428501 # some platforms.
430503 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
431504 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
432505 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
433 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
434 [_AM_PROG_TAR([v7])])])
506 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
507 [_AM_PROG_TAR([v7])])])
435508 _AM_IF_OPTION([no-dependencies],,
436509 [AC_PROVIDE_IFELSE([AC_PROG_CC],
437 [_AM_DEPENDENCIES(CC)],
438 [define([AC_PROG_CC],
439 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
510 [_AM_DEPENDENCIES(CC)],
511 [define([AC_PROG_CC],
512 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
440513 AC_PROVIDE_IFELSE([AC_PROG_CXX],
441 [_AM_DEPENDENCIES(CXX)],
442 [define([AC_PROG_CXX],
443 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
444 ])
445 ])
514 [_AM_DEPENDENCIES(CXX)],
515 [define([AC_PROG_CXX],
516 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
517 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
518 [_AM_DEPENDENCIES(OBJC)],
519 [define([AC_PROG_OBJC],
520 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
521 ])
522 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
523 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
524 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
525 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
526 AC_CONFIG_COMMANDS_PRE(dnl
527 [m4_provide_if([_AM_COMPILER_EXEEXT],
528 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
529 ])
530
531 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
532 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
533 dnl mangled by Autoconf and run in a shell conditional statement.
534 m4_define([_AC_COMPILER_EXEEXT],
535 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
446536
447537
448538 # When config.status generates a header, we must update the stamp-h file.
454544 # our stamp files there.
455545 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
456546 [# Compute $1's index in $config_headers.
547 _am_arg=$1
457548 _am_stamp_count=1
458549 for _am_header in $config_headers :; do
459550 case $_am_header in
460 $1 | $1:* )
551 $_am_arg | $_am_arg:* )
461552 break ;;
462553 * )
463554 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
464555 esac
465556 done
466 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
467
468 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
557 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
558
559 # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
469560 #
470561 # This file is free software; the Free Software Foundation
471562 # gives unlimited permission to copy and/or distribute it,
476567 # Define $install_sh.
477568 AC_DEFUN([AM_PROG_INSTALL_SH],
478569 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
479 install_sh=${install_sh-"$am_aux_dir/install-sh"}
570 if test x"${install_sh}" != xset; then
571 case $am_aux_dir in
572 *\ * | *\ *)
573 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
574 *)
575 install_sh="\${SHELL} $am_aux_dir/install-sh"
576 esac
577 fi
480578 AC_SUBST(install_sh)])
481579
482580 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
503601 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
504602 # From Jim Meyering
505603
506 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
604 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
507605 # Free Software Foundation, Inc.
508606 #
509607 # This file is free software; the Free Software Foundation
510608 # gives unlimited permission to copy and/or distribute it,
511609 # with or without modifications, as long as this notice is preserved.
512610
513 # serial 4
514
611 # serial 5
612
613 # AM_MAINTAINER_MODE([DEFAULT-MODE])
614 # ----------------------------------
615 # Control maintainer-specific portions of Makefiles.
616 # Default is to disable them, unless `enable' is passed literally.
617 # For symmetry, `disable' may be passed as well. Anyway, the user
618 # can override the default with the --enable/--disable switch.
515619 AC_DEFUN([AM_MAINTAINER_MODE],
516 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
517 dnl maintainer-mode is disabled by default
518 AC_ARG_ENABLE(maintainer-mode,
519 [ --enable-maintainer-mode enable make rules and dependencies not useful
620 [m4_case(m4_default([$1], [disable]),
621 [enable], [m4_define([am_maintainer_other], [disable])],
622 [disable], [m4_define([am_maintainer_other], [enable])],
623 [m4_define([am_maintainer_other], [enable])
624 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
625 AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
626 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
627 AC_ARG_ENABLE([maintainer-mode],
628 [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
520629 (and sometimes confusing) to the casual installer],
521 USE_MAINTAINER_MODE=$enableval,
522 USE_MAINTAINER_MODE=no)
630 [USE_MAINTAINER_MODE=$enableval],
631 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
523632 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
524 AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
633 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
525634 MAINT=$MAINTAINER_MODE_TRUE
526 AC_SUBST(MAINT)dnl
635 AC_SUBST([MAINT])dnl
527636 ]
528637 )
529638
531640
532641 # Check to see how 'make' treats includes. -*- Autoconf -*-
533642
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
643 # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
644 #
645 # This file is free software; the Free Software Foundation
646 # gives unlimited permission to copy and/or distribute it,
647 # with or without modifications, as long as this notice is preserved.
648
649 # serial 4
541650
542651 # AM_MAKE_INCLUDE()
543652 # -----------------
546655 [am_make=${MAKE-make}
547656 cat > confinc << 'END'
548657 am__doit:
549 @echo done
658 @echo this is the am__doit target
550659 .PHONY: am__doit
551660 END
552661 # If we don't find an include directive, just comment out the code.
556665 _am_result=none
557666 # First try GNU make style include.
558667 echo "include confinc" > confmf
559 # We grep out `Entering directory' and `Leaving directory'
560 # messages which can occur if `w' ends up in MAKEFLAGS.
561 # In particular we don't look at `^make:' because GNU make might
562 # be invoked under some other name (usually "gmake"), in which
563 # case it prints its new name instead of `make'.
564 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
565 am__include=include
566 am__quote=
567 _am_result=GNU
568 fi
668 # Ignore all kinds of additional output from `make'.
669 case `$am_make -s -f confmf 2> /dev/null` in #(
670 *the\ am__doit\ target*)
671 am__include=include
672 am__quote=
673 _am_result=GNU
674 ;;
675 esac
569676 # Now try BSD make style include.
570677 if test "$am__include" = "#"; then
571678 echo '.include "confinc"' > confmf
572 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
573 am__include=.include
574 am__quote="\""
575 _am_result=BSD
576 fi
679 case `$am_make -s -f confmf 2> /dev/null` in #(
680 *the\ am__doit\ target*)
681 am__include=.include
682 am__quote="\""
683 _am_result=BSD
684 ;;
685 esac
577686 fi
578687 AC_SUBST([am__include])
579688 AC_SUBST([am__quote])
581690 rm -f confinc confmf
582691 ])
583692
693 # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
694 # Free Software Foundation, Inc.
695 #
696 # This file is free software; the Free Software Foundation
697 # gives unlimited permission to copy and/or distribute it,
698 # with or without modifications, as long as this notice is preserved.
699
700 # serial 6
701
702 # AM_PROG_CC_C_O
703 # --------------
704 # Like AC_PROG_CC_C_O, but changed for automake.
705 AC_DEFUN([AM_PROG_CC_C_O],
706 [AC_REQUIRE([AC_PROG_CC_C_O])dnl
707 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
708 AC_REQUIRE_AUX_FILE([compile])dnl
709 # FIXME: we rely on the cache variable name because
710 # there is no other way.
711 set dummy $CC
712 am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
713 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
714 if test "$am_t" != yes; then
715 # Losing compiler, so override with the script.
716 # FIXME: It is wrong to rewrite CC.
717 # But if we don't then we get into trouble of one sort or another.
718 # A longer-term fix would be to have automake use am__CC in this case,
719 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
720 CC="$am_aux_dir/compile $CC"
721 fi
722 dnl Make sure AC_PROG_CC is never called again, or it will override our
723 dnl setting of CC.
724 m4_define([AC_PROG_CC],
725 [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
726 ])
727
584728 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
585729
586 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
730 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
587731 # Free Software Foundation, Inc.
588732 #
589733 # This file is free software; the Free Software Foundation
590734 # gives unlimited permission to copy and/or distribute it,
591735 # with or without modifications, as long as this notice is preserved.
592736
593 # serial 4
737 # serial 6
594738
595739 # AM_MISSING_PROG(NAME, PROGRAM)
596740 # ------------------------------
606750 # If it does, set am_missing_run to use it, otherwise, to nothing.
607751 AC_DEFUN([AM_MISSING_HAS_RUN],
608752 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
609 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
753 AC_REQUIRE_AUX_FILE([missing])dnl
754 if test x"${MISSING+set}" != xset; then
755 case $am_aux_dir in
756 *\ * | *\ *)
757 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
758 *)
759 MISSING="\${SHELL} $am_aux_dir/missing" ;;
760 esac
761 fi
610762 # Use eval to expand $SHELL
611763 if eval "$MISSING --run true"; then
612764 am_missing_run="$MISSING --run "
616768 fi
617769 ])
618770
619 # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
771 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
620772 #
621773 # This file is free software; the Free Software Foundation
622774 # gives unlimited permission to copy and/or distribute it,
624776
625777 # AM_PROG_MKDIR_P
626778 # ---------------
627 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
628 #
629 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
630 # created by `make install' are always world readable, even if the
631 # installer happens to have an overly restrictive umask (e.g. 077).
632 # This was a mistake. There are at least two reasons why we must not
633 # use `-m 0755':
634 # - it causes special bits like SGID to be ignored,
635 # - it may be too restrictive (some setups expect 775 directories).
636 #
637 # Do not use -m 0755 and let people choose whatever they expect by
638 # setting umask.
639 #
640 # We cannot accept any implementation of `mkdir' that recognizes `-p'.
641 # Some implementations (such as Solaris 8's) are not thread-safe: if a
642 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
643 # concurrently, both version can detect that a/ is missing, but only
644 # one can create it and the other will error out. Consequently we
645 # restrict ourselves to GNU make (using the --version option ensures
646 # this.)
779 # Check for `mkdir -p'.
647780 AC_DEFUN([AM_PROG_MKDIR_P],
648 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
649 # We used to keeping the `.' as first argument, in order to
650 # allow $(mkdir_p) to be used without argument. As in
651 # $(mkdir_p) $(somedir)
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 --'
664 else
665 # On NextStep and OpenStep, the `mkdir' command does not
666 # recognize any option. It will interpret all options as
667 # directories to create, and then abort because `.' already
668 # exists.
669 for d in ./-p ./--version;
670 do
671 test -d $d && rmdir $d
672 done
673 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
674 if test -f "$ac_aux_dir/mkinstalldirs"; then
675 mkdir_p='$(mkinstalldirs)'
676 else
677 mkdir_p='$(install_sh) -d'
678 fi
679 fi
680 AC_SUBST([mkdir_p])])
781 [AC_PREREQ([2.60])dnl
782 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
783 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
784 dnl while keeping a definition of mkdir_p for backward compatibility.
785 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
786 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
787 dnl Makefile.ins that do not define MKDIR_P, so we do our own
788 dnl adjustment using top_builddir (which is defined more often than
789 dnl MKDIR_P).
790 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
791 case $mkdir_p in
792 [[\\/$]]* | ?:[[\\/]]*) ;;
793 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
794 esac
795 ])
681796
682797 # Helper functions for option handling. -*- Autoconf -*-
683798
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
799 # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
800 #
801 # This file is free software; the Free Software Foundation
802 # gives unlimited permission to copy and/or distribute it,
803 # with or without modifications, as long as this notice is preserved.
804
805 # serial 4
691806
692807 # _AM_MANGLE_OPTION(NAME)
693808 # -----------------------
704819 # ----------------------------------
705820 # OPTIONS is a space-separated list of Automake options.
706821 AC_DEFUN([_AM_SET_OPTIONS],
707 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
822 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
708823
709824 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
710825 # -------------------------------------------
714829
715830 # Check to make sure that the build environment is sane. -*- Autoconf -*-
716831
717 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
832 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
718833 # Free Software Foundation, Inc.
719834 #
720835 # This file is free software; the Free Software Foundation
721836 # gives unlimited permission to copy and/or distribute it,
722837 # with or without modifications, as long as this notice is preserved.
723838
724 # serial 4
839 # serial 5
725840
726841 # AM_SANITY_CHECK
727842 # ---------------
730845 # Just in case
731846 sleep 1
732847 echo timestamp > conftest.file
848 # Reject unsafe characters in $srcdir or the absolute working directory
849 # name. Accept space and tab only in the latter.
850 am_lf='
851 '
852 case `pwd` in
853 *[[\\\"\#\$\&\'\`$am_lf]]*)
854 AC_MSG_ERROR([unsafe absolute working directory name]);;
855 esac
856 case $srcdir in
857 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
858 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
859 esac
860
733861 # Do `set' in a subshell so we don't clobber the current shell's
734862 # arguments. Must try -L first in case configure is actually a
735863 # symlink; some systems play weird games with the mod time of symlinks
736864 # (eg FreeBSD returns the mod time of the symlink's containing
737865 # directory).
738866 if (
739 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
867 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
740868 if test "$[*]" = "X"; then
741869 # -L didn't work.
742 set X `ls -t $srcdir/configure conftest.file`
870 set X `ls -t "$srcdir/configure" conftest.file`
743871 fi
744872 rm -f conftest.file
745873 if test "$[*]" != "X $srcdir/configure conftest.file" \
789917 if test "$cross_compiling" != no; then
790918 AC_CHECK_TOOL([STRIP], [strip], :)
791919 fi
792 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
920 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
793921 AC_SUBST([INSTALL_STRIP_PROGRAM])])
922
923 # Copyright (C) 2006, 2008 Free Software Foundation, Inc.
924 #
925 # This file is free software; the Free Software Foundation
926 # gives unlimited permission to copy and/or distribute it,
927 # with or without modifications, as long as this notice is preserved.
928
929 # serial 2
930
931 # _AM_SUBST_NOTMAKE(VARIABLE)
932 # ---------------------------
933 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
934 # This macro is traced by Automake.
935 AC_DEFUN([_AM_SUBST_NOTMAKE])
936
937 # AM_SUBST_NOTMAKE(VARIABLE)
938 # ---------------------------
939 # Public sister of _AM_SUBST_NOTMAKE.
940 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
794941
795942 # Check how to create a tarball. -*- Autoconf -*-
796943
0 /* Copyright (c) 2005 Massachusetts Institute of Technology
0 /* Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 *
22 * Permission is hereby granted, free of charge, to any person obtaining
33 * a copy of this software and associated documentation files (the
0 /* Copyright (c) 1999, 2000, 2001, 2002 Massachusetts Institute of Technology
0 /* Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 *
22 * Permission is hereby granted, free of charge, to any person obtaining
33 * a copy of this software and associated documentation files (the
0 /* Copyright (c) 2005 Massachusetts Institute of Technology
0 /* Copyright (c) 1999-2008 Massachusetts Institute of Technology
11 *
22 * Permission is hereby granted, free of charge, to any person obtaining
33 * a copy of this software and associated documentation files (the
2222 #include <stdlib.h>
2323 #include <string.h>
2424
25 /* don't use new HDF5 1.8 API (which isn't even fully documented yet, grrr) */
26 #define H5_USE_16_API 1
27
2528 #include <hdf5.h>
2629
2730 #include "arrayh5.h"
0 /* Copyright (c) 1999, 2000, 2001, 2002 Massachusetts Institute of Technology
0 /* Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 *
22 * Permission is hereby granted, free of charge, to any person obtaining
33 * a copy of this software and associated documentation files (the
00 #! /bin/sh
11 # Wrapper for compilers which do not understand `-c -o'.
22
3 scriptversion=2005-02-03.08
3 scriptversion=2009-04-28.21; # UTC
44
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software
6 # Foundation, Inc.
67 # Written by Tom Tromey <tromey@cygnus.com>.
78 #
89 # This program is free software; you can redistribute it and/or modify
1617 # GNU General Public License for more details.
1718 #
1819 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 # along with this program. If not, see <http://www.gnu.org/licenses/>.
2121
2222 # As a special exception to the GNU General Public License, if you
2323 # distribute this file as part of a program that contains a
102102 fi
103103
104104 # Name of file we expect compiler to create.
105 cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
105 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
106106
107107 # Create the lock directory.
108 # Note: use `[/.-]' here to ensure that we don't use the same name
108 # Note: use `[/\\:.-]' here to ensure that we don't use the same name
109109 # that we are using for the .o file. Also, base the name on the expected
110110 # object file name, since that is what matters with a parallel build.
111 lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
111 lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
112112 while true; do
113113 if mkdir "$lockdir" >/dev/null 2>&1; then
114114 break
137137 # eval: (add-hook 'write-file-hooks 'time-stamp)
138138 # time-stamp-start: "scriptversion="
139139 # time-stamp-format: "%:y-%02m-%02d.%02H"
140 # time-stamp-end: "$"
140 # time-stamp-time-zone: "UTC"
141 # time-stamp-end: "; # UTC"
141142 # End:
00 /* config.h.in. Generated from configure.ac by autoheader. */
1
2 /* Define if building universal (internal helper macro) */
3 #undef AC_APPLE_UNIVERSAL_BUILD
14
25 /* datadir installation prefix */
36 #undef DATADIR
7
8 /* Define to 1 if you have the <arpa/inet.h> header file. */
9 #undef HAVE_ARPA_INET_H
410
511 /* Define to 1 if you have the <hdf.h> header file. */
612 #undef HAVE_HDF_H
4753 /* Define to 1 if you have the <sys/types.h> header file. */
4854 #undef HAVE_SYS_TYPES_H
4955
56 /* Define to 1 if the system has the type `uint16_t'. */
57 #undef HAVE_UINT16_T
58
59 /* Define to 1 if the system has the type `uint32_t'. */
60 #undef HAVE_UINT32_T
61
5062 /* Define to 1 if you have the <unistd.h> header file. */
5163 #undef HAVE_UNISTD_H
5264
5668 /* [Define], [if], [you], [have], [the], [<vis5d+/v5d.h>], [header], [file.]
5769 */
5870 #undef HAVE_VIS5Dp_V5D_H
71
72 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
73 #undef NO_MINUS_C_MINUS_O
5974
6075 /* Name of package */
6176 #undef PACKAGE
7590 /* Define to the version of this package. */
7691 #undef PACKAGE_VERSION
7792
78 /* The size of a `float', as computed by sizeof. */
93 /* The size of `float', as computed by sizeof. */
7994 #undef SIZEOF_FLOAT
80
81 /* The size of a `unsigned long', as computed by sizeof. */
82 #undef SIZEOF_UNSIGNED_LONG
8395
8496 /* Define to 1 if you have the ANSI C header files. */
8597 #undef STDC_HEADERS
8799 /* Version number of package */
88100 #undef VERSION
89101
90 /* Define to 1 if your processor stores words with the most significant byte
91 first (like Motorola and SPARC, unlike Intel and VAX). */
92 #undef WORDS_BIGENDIAN
102 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
103 significant byte first (like Motorola and SPARC, unlike Intel). */
104 #if defined AC_APPLE_UNIVERSAL_BUILD
105 # if defined __BIG_ENDIAN__
106 # define WORDS_BIGENDIAN 1
107 # endif
108 #else
109 # ifndef WORDS_BIGENDIAN
110 # undef WORDS_BIGENDIAN
111 # endif
112 #endif
+5173
-4287
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.59 for h5utils 1.10.
2 # Generated by GNU Autoconf 2.63 for h5utils 1.12.
33 #
44 # Report bugs to <stevenj@alum.mit.edu>.
55 #
6 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
78 # This configure script is free software; the Free Software Foundation
89 # gives unlimited permission to copy, distribute and modify it.
910 ## --------------------- ##
1011 ## M4sh Initialization. ##
1112 ## --------------------- ##
1213
13 # Be Bourne compatible
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
1416 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1517 emulate sh
1618 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1820 # is contrary to our usage. Disable this feature.
1921 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21 set -o posix
22 fi
23 DUALCASE=1; export DUALCASE # for MKS sh
24
25 # Support unset when possible.
26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
27 as_unset=unset
28 else
29 as_unset=false
30 fi
31
32
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
35 PS1='$ '
36 PS2='> '
37 PS4='+ '
38
39 # NLS nuisances.
40 for as_var in \
41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43 LC_TELEPHONE LC_TIME
44 do
45 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 eval $as_var=C; export $as_var
47 else
48 $as_unset $as_var
49 fi
50 done
51
52 # Required to use basename.
53 if expr a : '\(a\)' >/dev/null 2>&1; then
54 as_expr=expr
55 else
56 as_expr=false
57 fi
58
59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
60 as_basename=basename
61 else
62 as_basename=false
63 fi
64
65
66 # Name of the executable.
67 as_me=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
72 echo X/"$0" |
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
76 s/.*/./; q'`
77
78
79 # PATH needs CR, and LINENO needs CR and PATH.
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in
25 *posix*) set -o posix ;;
26 esac
27
28 fi
29
30
31
32
33 # PATH needs CR
8034 # Avoid depending upon Character Ranges.
8135 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8236 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8438 as_cr_digits='0123456789'
8539 as_cr_alnum=$as_cr_Letters$as_cr_digits
8640
41 as_nl='
42 '
43 export as_nl
44 # Printing a long string crashes Solaris 7 /usr/bin/printf.
45 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
48 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
72
8773 # The user is always right.
8874 if test "${PATH_SEPARATOR+set}" != set; then
89 echo "#! /bin/sh" >conf$$.sh
90 echo "exit 0" >>conf$$.sh
91 chmod +x conf$$.sh
92 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
93 PATH_SEPARATOR=';'
94 else
95 PATH_SEPARATOR=:
96 fi
97 rm -f conf$$.sh
98 fi
99
100
101 as_lineno_1=$LINENO
102 as_lineno_2=$LINENO
103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104 test "x$as_lineno_1" != "x$as_lineno_2" &&
105 test "x$as_lineno_3" = "x$as_lineno_2" || {
106 # Find who we are. Look in the path if we contain no path at all
107 # relative or not.
108 case $0 in
109 *[\\/]* ) as_myself=$0 ;;
110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75 PATH_SEPARATOR=:
76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78 PATH_SEPARATOR=';'
79 }
80 fi
81
82 # Support unset when possible.
83 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
84 as_unset=unset
85 else
86 as_unset=false
87 fi
88
89
90 # IFS
91 # We need space, tab and new line, in precisely that order. Quoting is
92 # there to prevent editors from complaining about space-tab.
93 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
94 # splitting by setting IFS to empty value.)
95 IFS=" "" $as_nl"
96
97 # Find who we are. Look in the path if we contain no directory separator.
98 case $0 in
99 *[\\/]* ) as_myself=$0 ;;
100 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
111101 for as_dir in $PATH
112102 do
113103 IFS=$as_save_IFS
114104 test -z "$as_dir" && as_dir=.
115105 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116106 done
117
118 ;;
119 esac
120 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 # in which case we are not to be found in the path.
122 if test "x$as_myself" = x; then
123 as_myself=$0
124 fi
125 if test ! -f "$as_myself"; then
126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127 { (exit 1); exit 1; }; }
128 fi
129 case $CONFIG_SHELL in
130 '')
107 IFS=$as_save_IFS
108
109 ;;
110 esac
111 # We did not find ourselves, most probably we were run as `sh COMMAND'
112 # in which case we are not to be found in the path.
113 if test "x$as_myself" = x; then
114 as_myself=$0
115 fi
116 if test ! -f "$as_myself"; then
117 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 { (exit 1); exit 1; }
119 fi
120
121 # Work around bugs in pre-3.0 UWIN ksh.
122 for as_var in ENV MAIL MAILPATH
123 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # Required to use basename.
136 if expr a : '\(a\)' >/dev/null 2>&1 &&
137 test "X`expr 00001 : '.*\(...\)'`" = X001; then
138 as_expr=expr
139 else
140 as_expr=false
141 fi
142
143 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
144 as_basename=basename
145 else
146 as_basename=false
147 fi
148
149
150 # Name of the executable.
151 as_me=`$as_basename -- "$0" ||
152 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
153 X"$0" : 'X\(//\)$' \| \
154 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 $as_echo X/"$0" |
156 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 s//\1/
158 q
159 }
160 /^X\/\(\/\/\)$/{
161 s//\1/
162 q
163 }
164 /^X\/\(\/\).*/{
165 s//\1/
166 q
167 }
168 s/.*/./; q'`
169
170 # CDPATH.
171 $as_unset CDPATH
172
173
174 if test "x$CONFIG_SHELL" = x; then
175 if (eval ":") 2>/dev/null; then
176 as_have_required=yes
177 else
178 as_have_required=no
179 fi
180
181 if test $as_have_required = yes && (eval ":
182 (as_func_return () {
183 (exit \$1)
184 }
185 as_func_success () {
186 as_func_return 0
187 }
188 as_func_failure () {
189 as_func_return 1
190 }
191 as_func_ret_success () {
192 return 0
193 }
194 as_func_ret_failure () {
195 return 1
196 }
197
198 exitcode=0
199 if as_func_success; then
200 :
201 else
202 exitcode=1
203 echo as_func_success failed.
204 fi
205
206 if as_func_failure; then
207 exitcode=1
208 echo as_func_failure succeeded.
209 fi
210
211 if as_func_ret_success; then
212 :
213 else
214 exitcode=1
215 echo as_func_ret_success failed.
216 fi
217
218 if as_func_ret_failure; then
219 exitcode=1
220 echo as_func_ret_failure succeeded.
221 fi
222
223 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
224 :
225 else
226 exitcode=1
227 echo positional parameters were not saved.
228 fi
229
230 test \$exitcode = 0) || { (exit 1); exit 1; }
231
232 (
233 as_lineno_1=\$LINENO
234 as_lineno_2=\$LINENO
235 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
236 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
237 ") 2> /dev/null; then
238 :
239 else
240 as_candidate_shells=
131241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132242 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133243 do
134244 IFS=$as_save_IFS
135245 test -z "$as_dir" && as_dir=.
136 for as_base in sh bash ksh sh5; do
137 case $as_dir in
246 case $as_dir in
138247 /*)
139 if ("$as_dir/$as_base" -c '
248 for as_base in sh bash ksh sh5; do
249 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
250 done;;
251 esac
252 done
253 IFS=$as_save_IFS
254
255
256 for as_shell in $as_candidate_shells $SHELL; do
257 # Try only shells that exist, to save several forks.
258 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
259 { ("$as_shell") 2> /dev/null <<\_ASEOF
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 emulate sh
262 NULLCMD=:
263 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
266 setopt NO_GLOB_SUBST
267 else
268 case `(set -o) 2>/dev/null` in
269 *posix*) set -o posix ;;
270 esac
271
272 fi
273
274
275 :
276 _ASEOF
277 }; then
278 CONFIG_SHELL=$as_shell
279 as_have_required=yes
280 if { "$as_shell" 2> /dev/null <<\_ASEOF
281 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
282 emulate sh
283 NULLCMD=:
284 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
285 # is contrary to our usage. Disable this feature.
286 alias -g '${1+"$@"}'='"$@"'
287 setopt NO_GLOB_SUBST
288 else
289 case `(set -o) 2>/dev/null` in
290 *posix*) set -o posix ;;
291 esac
292
293 fi
294
295
296 :
297 (as_func_return () {
298 (exit $1)
299 }
300 as_func_success () {
301 as_func_return 0
302 }
303 as_func_failure () {
304 as_func_return 1
305 }
306 as_func_ret_success () {
307 return 0
308 }
309 as_func_ret_failure () {
310 return 1
311 }
312
313 exitcode=0
314 if as_func_success; then
315 :
316 else
317 exitcode=1
318 echo as_func_success failed.
319 fi
320
321 if as_func_failure; then
322 exitcode=1
323 echo as_func_failure succeeded.
324 fi
325
326 if as_func_ret_success; then
327 :
328 else
329 exitcode=1
330 echo as_func_ret_success failed.
331 fi
332
333 if as_func_ret_failure; then
334 exitcode=1
335 echo as_func_ret_failure succeeded.
336 fi
337
338 if ( set x; as_func_ret_success y && test x = "$1" ); then
339 :
340 else
341 exitcode=1
342 echo positional parameters were not saved.
343 fi
344
345 test $exitcode = 0) || { (exit 1); exit 1; }
346
347 (
140348 as_lineno_1=$LINENO
141349 as_lineno_2=$LINENO
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143350 test "x$as_lineno_1" != "x$as_lineno_2" &&
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147 CONFIG_SHELL=$as_dir/$as_base
148 export CONFIG_SHELL
149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
150 fi;;
151 esac
152 done
153 done
154 ;;
155 esac
351 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
352
353 _ASEOF
354 }; then
355 break
356 fi
357
358 fi
359
360 done
361
362 if test "x$CONFIG_SHELL" != x; then
363 for as_var in BASH_ENV ENV
364 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
365 done
366 export CONFIG_SHELL
367 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
368 fi
369
370
371 if test $as_have_required = no; then
372 echo This script requires a shell more modern than all the
373 echo shells that I found on your system. Please install a
374 echo modern shell, or manually run the script under such a
375 echo shell if you do have one.
376 { (exit 1); exit 1; }
377 fi
378
379
380 fi
381
382 fi
383
384
385
386 (eval "as_func_return () {
387 (exit \$1)
388 }
389 as_func_success () {
390 as_func_return 0
391 }
392 as_func_failure () {
393 as_func_return 1
394 }
395 as_func_ret_success () {
396 return 0
397 }
398 as_func_ret_failure () {
399 return 1
400 }
401
402 exitcode=0
403 if as_func_success; then
404 :
405 else
406 exitcode=1
407 echo as_func_success failed.
408 fi
409
410 if as_func_failure; then
411 exitcode=1
412 echo as_func_failure succeeded.
413 fi
414
415 if as_func_ret_success; then
416 :
417 else
418 exitcode=1
419 echo as_func_ret_success failed.
420 fi
421
422 if as_func_ret_failure; then
423 exitcode=1
424 echo as_func_ret_failure succeeded.
425 fi
426
427 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
428 :
429 else
430 exitcode=1
431 echo positional parameters were not saved.
432 fi
433
434 test \$exitcode = 0") || {
435 echo No shell found that supports shell functions.
436 echo Please tell bug-autoconf@gnu.org about your system,
437 echo including any error possibly output before this message.
438 echo This can help us improve future autoconf versions.
439 echo Configuration will now proceed without shell functions.
440 }
441
442
443
444 as_lineno_1=$LINENO
445 as_lineno_2=$LINENO
446 test "x$as_lineno_1" != "x$as_lineno_2" &&
447 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
156448
157449 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158450 # uniformly replaced by the line number. The first 'sed' inserts a
159 # line-number line before each line; the second 'sed' does the real
160 # work. The second script uses 'N' to pair each line-number line
161 # with the numbered line, and appends trailing '-' during
162 # substitution so that $LINENO is not a special case at line end.
451 # line-number line after each line using $LINENO; the second 'sed'
452 # does the real work. The second script uses 'N' to pair each
453 # line-number line with the line containing $LINENO, and appends
454 # trailing '-' during substitution so that $LINENO is not a special
455 # case at line end.
163456 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
457 # scripts with optimization help from Paolo Bonzini. Blame Lee
458 # E. McMahon (1931-1989) for sed's syntax. :-)
459 sed -n '
460 p
461 /[$]LINENO/=
462 ' <$as_myself |
166463 sed '
464 s/[$]LINENO.*/&-/
465 t lineno
466 b
467 :lineno
167468 N
168 s,$,-,
169 : loop
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
469 :loop
470 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
171471 t loop
172 s,-$,,
173 s,^['$as_cr_digits']*\n,,
472 s/-\n.*//
174473 ' >$as_me.lineno &&
175 chmod +x $as_me.lineno ||
176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
474 chmod +x "$as_me.lineno" ||
475 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177476 { (exit 1); exit 1; }; }
178477
179478 # Don't try to exec as it changes $[0], causing all sort of problems
180479 # (the dirname of $[0] is not the place where we might find the
181 # original and so on. Autoconf is especially sensible to this).
182 . ./$as_me.lineno
480 # original and so on. Autoconf is especially sensitive to this).
481 . "./$as_me.lineno"
183482 # Exit status is that of the last command.
184483 exit
185484 }
186485
187486
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189 *c*,-n*) ECHO_N= ECHO_C='
190 ' ECHO_T=' ' ;;
191 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
192 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
193 esac
194
195 if expr a : '\(a\)' >/dev/null 2>&1; then
487 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
488 as_dirname=dirname
489 else
490 as_dirname=false
491 fi
492
493 ECHO_C= ECHO_N= ECHO_T=
494 case `echo -n x` in
495 -n*)
496 case `echo 'x\c'` in
497 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
498 *) ECHO_C='\c';;
499 esac;;
500 *)
501 ECHO_N='-n';;
502 esac
503 if expr a : '\(a\)' >/dev/null 2>&1 &&
504 test "X`expr 00001 : '.*\(...\)'`" = X001; then
196505 as_expr=expr
197506 else
198507 as_expr=false
199508 fi
200509
201510 rm -f conf$$ conf$$.exe conf$$.file
202 echo >conf$$.file
203 if ln -s conf$$.file conf$$ 2>/dev/null; then
204 # We could just check for DJGPP; but this test a) works b) is more generic
205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206 if test -f conf$$.exe; then
207 # Don't use ln at all; we don't have any links
511 if test -d conf$$.dir; then
512 rm -f conf$$.dir/conf$$.file
513 else
514 rm -f conf$$.dir
515 mkdir conf$$.dir 2>/dev/null
516 fi
517 if (echo >conf$$.file) 2>/dev/null; then
518 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 as_ln_s='ln -s'
520 # ... but there are two gotchas:
521 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
522 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
523 # In both cases, we have to default to `cp -p'.
524 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 as_ln_s='cp -p'
526 elif ln conf$$.file conf$$ 2>/dev/null; then
527 as_ln_s=ln
528 else
208529 as_ln_s='cp -p'
209 else
210 as_ln_s='ln -s'
211530 fi
212 elif ln conf$$.file conf$$ 2>/dev/null; then
213 as_ln_s=ln
214531 else
215532 as_ln_s='cp -p'
216533 fi
217 rm -f conf$$ conf$$.exe conf$$.file
534 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
535 rmdir conf$$.dir 2>/dev/null
218536
219537 if mkdir -p . 2>/dev/null; then
220538 as_mkdir_p=:
223541 as_mkdir_p=false
224542 fi
225543
226 as_executable_p="test -f"
544 if test -x / >/dev/null 2>&1; then
545 as_test_x='test -x'
546 else
547 if ls -dL / >/dev/null 2>&1; then
548 as_ls_L_option=L
549 else
550 as_ls_L_option=
551 fi
552 as_test_x='
553 eval sh -c '\''
554 if test -d "$1"; then
555 test -d "$1/.";
556 else
557 case $1 in
558 -*)set "./$1";;
559 esac;
560 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
561 ???[sx]*):;;*)false;;esac;fi
562 '\'' sh
563 '
564 fi
565 as_executable_p=$as_test_x
227566
228567 # Sed expression to map a string onto a valid CPP name.
229568 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232571 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
233572
234573
235 # IFS
236 # We need space, tab and new line, in precisely that order.
237 as_nl='
238 '
239 IFS=" $as_nl"
240
241 # CDPATH.
242 $as_unset CDPATH
243
574
575 exec 7<&0 </dev/null 6>&1
244576
245577 # Name of the host.
246578 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247579 # so uname gets run too.
248580 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249581
250 exec 6>&1
251
252582 #
253583 # Initializations.
254584 #
255585 ac_default_prefix=/usr/local
586 ac_clean_files=
256587 ac_config_libobj_dir=.
588 LIBOBJS=
257589 cross_compiling=no
258590 subdirs=
259591 MFLAGS=
260592 MAKEFLAGS=
261593 SHELL=${CONFIG_SHELL-/bin/sh}
262594
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
267
268595 # Identity of this package.
269596 PACKAGE_NAME='h5utils'
270597 PACKAGE_TARNAME='h5utils'
271 PACKAGE_VERSION='1.10'
272 PACKAGE_STRING='h5utils 1.10'
598 PACKAGE_VERSION='1.12'
599 PACKAGE_STRING='h5utils 1.12'
273600 PACKAGE_BUGREPORT='stevenj@alum.mit.edu'
274601
275602 ac_unique_file="h5topng.c"
276603 # Factoring default headers for most tests.
277604 ac_includes_default="\
278605 #include <stdio.h>
279 #if HAVE_SYS_TYPES_H
606 #ifdef HAVE_SYS_TYPES_H
280607 # include <sys/types.h>
281608 #endif
282 #if HAVE_SYS_STAT_H
609 #ifdef HAVE_SYS_STAT_H
283610 # include <sys/stat.h>
284611 #endif
285 #if STDC_HEADERS
612 #ifdef STDC_HEADERS
286613 # include <stdlib.h>
287614 # include <stddef.h>
288615 #else
289 # if HAVE_STDLIB_H
616 # ifdef HAVE_STDLIB_H
290617 # include <stdlib.h>
291618 # endif
292619 #endif
293 #if HAVE_STRING_H
294 # if !STDC_HEADERS && HAVE_MEMORY_H
620 #ifdef HAVE_STRING_H
621 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
295622 # include <memory.h>
296623 # endif
297624 # include <string.h>
298625 #endif
299 #if HAVE_STRINGS_H
626 #ifdef HAVE_STRINGS_H
300627 # include <strings.h>
301628 #endif
302 #if HAVE_INTTYPES_H
629 #ifdef HAVE_INTTYPES_H
303630 # include <inttypes.h>
304 #else
305 # if HAVE_STDINT_H
306 # include <stdint.h>
307 # endif
308631 #endif
309 #if HAVE_UNISTD_H
632 #ifdef HAVE_STDINT_H
633 # include <stdint.h>
634 #endif
635 #ifdef HAVE_UNISTD_H
310636 # include <unistd.h>
311637 #endif"
312638
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'
639 ac_subst_vars='am__EXEEXT_FALSE
640 am__EXEEXT_TRUE
641 LTLIBOBJS
642 LIBOBJS
643 MORE_H5UTILS_MANS
644 MORE_H5UTILS
645 datadir_val
646 V5D_INCLUDES
647 V5D_FILES
648 OCT_INSTALL_DIR
649 H5READ
650 OCTAVE
651 MKOCTFILE
652 H4_LIBS
653 H5TOH4
654 H4TOH5
655 PNG_LIBS
656 H5TOPNG_MAN
657 EGREP
658 GREP
659 CPP
660 am__fastdepCC_FALSE
661 am__fastdepCC_TRUE
662 CCDEPMODE
663 AMDEPBACKSLASH
664 AMDEP_FALSE
665 AMDEP_TRUE
666 am__quote
667 am__include
668 DEPDIR
669 OBJEXT
670 EXEEXT
671 ac_ct_CC
672 CPPFLAGS
673 LDFLAGS
674 CFLAGS
675 CC
676 MAINT
677 MAINTAINER_MODE_FALSE
678 MAINTAINER_MODE_TRUE
679 am__untar
680 am__tar
681 AMTAR
682 am__leading_dot
683 SET_MAKE
684 AWK
685 mkdir_p
686 MKDIR_P
687 INSTALL_STRIP_PROGRAM
688 STRIP
689 install_sh
690 MAKEINFO
691 AUTOHEADER
692 AUTOMAKE
693 AUTOCONF
694 ACLOCAL
695 VERSION
696 PACKAGE
697 CYGPATH_W
698 am__isrc
699 INSTALL_DATA
700 INSTALL_SCRIPT
701 INSTALL_PROGRAM
702 target_alias
703 host_alias
704 build_alias
705 LIBS
706 ECHO_T
707 ECHO_N
708 ECHO_C
709 DEFS
710 mandir
711 localedir
712 libdir
713 psdir
714 pdfdir
715 dvidir
716 htmldir
717 infodir
718 docdir
719 oldincludedir
720 includedir
721 localstatedir
722 sharedstatedir
723 sysconfdir
724 datadir
725 datarootdir
726 libexecdir
727 sbindir
728 bindir
729 program_transform_name
730 prefix
731 exec_prefix
732 PACKAGE_BUGREPORT
733 PACKAGE_STRING
734 PACKAGE_VERSION
735 PACKAGE_TARNAME
736 PACKAGE_NAME
737 PATH_SEPARATOR
738 SHELL'
314739 ac_subst_files=''
740 ac_user_opts='
741 enable_option_checking
742 enable_maintainer_mode
743 enable_dependency_tracking
744 with_hdf4
745 with_octave
746 with_v5d
747 '
748 ac_precious_vars='build_alias
749 host_alias
750 target_alias
751 CC
752 CFLAGS
753 LDFLAGS
754 LIBS
755 CPPFLAGS
756 CPP'
757
315758
316759 # Initialize some variables set by options.
317760 ac_init_help=
318761 ac_init_version=false
762 ac_unrecognized_opts=
763 ac_unrecognized_sep=
319764 # The variables have the same names as the options, with
320765 # dashes changed to underlines.
321766 cache_file=/dev/null
338783 # and all the variables that are supposed to be based on exec_prefix
339784 # by default will actually change.
340785 # Use braces instead of parens because sh, perl, etc. also accept them.
786 # (The list follows the same order as the GNU Coding Standards.)
341787 bindir='${exec_prefix}/bin'
342788 sbindir='${exec_prefix}/sbin'
343789 libexecdir='${exec_prefix}/libexec'
344 datadir='${prefix}/share'
790 datarootdir='${prefix}/share'
791 datadir='${datarootdir}'
345792 sysconfdir='${prefix}/etc'
346793 sharedstatedir='${prefix}/com'
347794 localstatedir='${prefix}/var'
348 libdir='${exec_prefix}/lib'
349795 includedir='${prefix}/include'
350796 oldincludedir='/usr/include'
351 infodir='${prefix}/info'
352 mandir='${prefix}/man'
797 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
798 infodir='${datarootdir}/info'
799 htmldir='${docdir}'
800 dvidir='${docdir}'
801 pdfdir='${docdir}'
802 psdir='${docdir}'
803 libdir='${exec_prefix}/lib'
804 localedir='${datarootdir}/locale'
805 mandir='${datarootdir}/man'
353806
354807 ac_prev=
808 ac_dashdash=
355809 for ac_option
356810 do
357811 # If the previous option needs an argument, assign it.
358812 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
813 eval $ac_prev=\$ac_option
360814 ac_prev=
361815 continue
362816 fi
363817
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
818 case $ac_option in
819 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
820 *) ac_optarg=yes ;;
821 esac
365822
366823 # Accept the important Cygnus configure options, so we can diagnose typos.
367824
368 case $ac_option in
825 case $ac_dashdash$ac_option in
826 --)
827 ac_dashdash=yes ;;
369828
370829 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371830 ac_prev=bindir ;;
387846 --config-cache | -C)
388847 cache_file=config.cache ;;
389848
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
849 -datadir | --datadir | --datadi | --datad)
391850 ac_prev=datadir ;;
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 | --da=*)
851 -datadir=* | --datadir=* | --datadi=* | --datad=*)
394852 datadir=$ac_optarg ;;
395853
854 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
855 | --dataroo | --dataro | --datar)
856 ac_prev=datarootdir ;;
857 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
858 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
859 datarootdir=$ac_optarg ;;
860
396861 -disable-* | --disable-*)
397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
862 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398863 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
864 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
865 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
401866 { (exit 1); exit 1; }; }
402 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
867 ac_useropt_orig=$ac_useropt
868 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
869 case $ac_user_opts in
870 *"
871 "enable_$ac_useropt"
872 "*) ;;
873 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
874 ac_unrecognized_sep=', ';;
875 esac
876 eval enable_$ac_useropt=no ;;
877
878 -docdir | --docdir | --docdi | --doc | --do)
879 ac_prev=docdir ;;
880 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
881 docdir=$ac_optarg ;;
882
883 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
884 ac_prev=dvidir ;;
885 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
886 dvidir=$ac_optarg ;;
404887
405888 -enable-* | --enable-*)
406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
889 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407890 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
892 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
410893 { (exit 1); exit 1; }; }
411 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 case $ac_option in
413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 *) ac_optarg=yes ;;
894 ac_useropt_orig=$ac_useropt
895 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896 case $ac_user_opts in
897 *"
898 "enable_$ac_useropt"
899 "*) ;;
900 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
901 ac_unrecognized_sep=', ';;
415902 esac
416 eval "enable_$ac_feature='$ac_optarg'" ;;
903 eval enable_$ac_useropt=\$ac_optarg ;;
417904
418905 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419906 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
440927 -host=* | --host=* | --hos=* | --ho=*)
441928 host_alias=$ac_optarg ;;
442929
930 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
931 ac_prev=htmldir ;;
932 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
933 | --ht=*)
934 htmldir=$ac_optarg ;;
935
443936 -includedir | --includedir | --includedi | --included | --include \
444937 | --includ | --inclu | --incl | --inc)
445938 ac_prev=includedir ;;
464957 | --libexe=* | --libex=* | --libe=*)
465958 libexecdir=$ac_optarg ;;
466959
960 -localedir | --localedir | --localedi | --localed | --locale)
961 ac_prev=localedir ;;
962 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
963 localedir=$ac_optarg ;;
964
467965 -localstatedir | --localstatedir | --localstatedi | --localstated \
468 | --localstate | --localstat | --localsta | --localst \
469 | --locals | --local | --loca | --loc | --lo)
966 | --localstate | --localstat | --localsta | --localst | --locals)
470967 ac_prev=localstatedir ;;
471968 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
969 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
474970 localstatedir=$ac_optarg ;;
475971
476972 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
5351031 | --progr-tra=* | --program-tr=* | --program-t=*)
5361032 program_transform_name=$ac_optarg ;;
5371033
1034 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1035 ac_prev=pdfdir ;;
1036 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1037 pdfdir=$ac_optarg ;;
1038
1039 -psdir | --psdir | --psdi | --psd | --ps)
1040 ac_prev=psdir ;;
1041 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1042 psdir=$ac_optarg ;;
1043
5381044 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5391045 | -silent | --silent | --silen | --sile | --sil)
5401046 silent=yes ;;
5851091 ac_init_version=: ;;
5861092
5871093 -with-* | --with-*)
588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1094 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
5891095 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
5921098 { (exit 1); exit 1; }; }
593 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 case $ac_option in
595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 *) ac_optarg=yes ;;
1099 ac_useropt_orig=$ac_useropt
1100 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101 case $ac_user_opts in
1102 *"
1103 "with_$ac_useropt"
1104 "*) ;;
1105 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1106 ac_unrecognized_sep=', ';;
5971107 esac
598 eval "with_$ac_package='$ac_optarg'" ;;
1108 eval with_$ac_useropt=\$ac_optarg ;;
5991109
6001110 -without-* | --without-*)
601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1111 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
6021112 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
6051115 { (exit 1); exit 1; }; }
606 ac_package=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
1116 ac_useropt_orig=$ac_useropt
1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1119 *"
1120 "with_$ac_useropt"
1121 "*) ;;
1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123 ac_unrecognized_sep=', ';;
1124 esac
1125 eval with_$ac_useropt=no ;;
6081126
6091127 --x)
6101128 # Obsolete; use --with-x.
6241142 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
6251143 x_libraries=$ac_optarg ;;
6261144
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
1145 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
6281146 Try \`$0 --help' for more information." >&2
6291147 { (exit 1); exit 1; }; }
6301148 ;;
6331151 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
6341152 # Reject names that are not valid shell variable names.
6351153 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1154 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
6371155 { (exit 1); exit 1; }; }
638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
1156 eval $ac_envvar=\$ac_optarg
6401157 export $ac_envvar ;;
6411158
6421159 *)
6431160 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
6451162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
6471164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
6481165 ;;
6491166
6521169
6531170 if test -n "$ac_prev"; then
6541171 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
1172 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
6561173 { (exit 1); exit 1; }; }
6571174 fi
6581175
659 # Be sure to have absolute paths.
660 for ac_var in exec_prefix prefix
1176 if test -n "$ac_unrecognized_opts"; then
1177 case $enable_option_checking in
1178 no) ;;
1179 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1180 { (exit 1); exit 1; }; } ;;
1181 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1182 esac
1183 fi
1184
1185 # Check all directory arguments for consistency.
1186 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1187 datadir sysconfdir sharedstatedir localstatedir includedir \
1188 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1189 libdir localedir mandir
6611190 do
662 eval ac_val=$`echo $ac_var`
1191 eval ac_val=\$$ac_var
1192 # Remove trailing slashes.
6631193 case $ac_val in
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
1194 */ )
1195 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1196 eval $ac_var=\$ac_val;;
6671197 esac
668 done
669
670 # Be sure to have absolute paths.
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
673 do
674 eval ac_val=$`echo $ac_var`
1198 # Be sure to have absolute directory names.
6751199 case $ac_val in
676 [\\/$]* | ?:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
1200 [\\/$]* | ?:[\\/]* ) continue;;
1201 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
6791202 esac
1203 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1204 { (exit 1); exit 1; }; }
6801205 done
6811206
6821207 # There might be people who depend on the old broken behavior: `$host'
6901215 if test "x$host_alias" != x; then
6911216 if test "x$build_alias" = x; then
6921217 cross_compiling=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1218 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
6941219 If a cross compiler is detected then cross compile mode will be used." >&2
6951220 elif test "x$build_alias" != "x$host_alias"; then
6961221 cross_compiling=yes
7031228 test "$silent" = yes && exec 6>/dev/null
7041229
7051230
1231 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1232 ac_ls_di=`ls -di .` &&
1233 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1234 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1235 { (exit 1); exit 1; }; }
1236 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1237 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1238 { (exit 1); exit 1; }; }
1239
1240
7061241 # Find the source files, if location was not specified.
7071242 if test -z "$srcdir"; then
7081243 ac_srcdir_defaulted=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
716 echo X"$0" |
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
721 s/.*/./; q'`
1244 # Try the directory containing this script, then the parent directory.
1245 ac_confdir=`$as_dirname -- "$as_myself" ||
1246 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1247 X"$as_myself" : 'X\(//\)[^/]' \| \
1248 X"$as_myself" : 'X\(//\)$' \| \
1249 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1250 $as_echo X"$as_myself" |
1251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1252 s//\1/
1253 q
1254 }
1255 /^X\(\/\/\)[^/].*/{
1256 s//\1/
1257 q
1258 }
1259 /^X\(\/\/\)$/{
1260 s//\1/
1261 q
1262 }
1263 /^X\(\/\).*/{
1264 s//\1/
1265 q
1266 }
1267 s/.*/./; q'`
7221268 srcdir=$ac_confdir
723 if test ! -r $srcdir/$ac_unique_file; then
1269 if test ! -r "$srcdir/$ac_unique_file"; then
7241270 srcdir=..
7251271 fi
7261272 else
7271273 ac_srcdir_defaulted=no
7281274 fi
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1275 if test ! -r "$srcdir/$ac_unique_file"; then
1276 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1277 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
7321278 { (exit 1); exit 1; }; }
733 else
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1279 fi
1280 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1281 ac_abs_confdir=`(
1282 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
7351283 { (exit 1); exit 1; }; }
736 fi
737 fi
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set=${build_alias+set}
743 ac_env_build_alias_value=$build_alias
744 ac_cv_env_build_alias_set=${build_alias+set}
745 ac_cv_env_build_alias_value=$build_alias
746 ac_env_host_alias_set=${host_alias+set}
747 ac_env_host_alias_value=$host_alias
748 ac_cv_env_host_alias_set=${host_alias+set}
749 ac_cv_env_host_alias_value=$host_alias
750 ac_env_target_alias_set=${target_alias+set}
751 ac_env_target_alias_value=$target_alias
752 ac_cv_env_target_alias_set=${target_alias+set}
753 ac_cv_env_target_alias_value=$target_alias
754 ac_env_CC_set=${CC+set}
755 ac_env_CC_value=$CC
756 ac_cv_env_CC_set=${CC+set}
757 ac_cv_env_CC_value=$CC
758 ac_env_CFLAGS_set=${CFLAGS+set}
759 ac_env_CFLAGS_value=$CFLAGS
760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value=$CFLAGS
762 ac_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_env_LDFLAGS_value=$LDFLAGS
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value=$LDFLAGS
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770 ac_env_CPP_set=${CPP+set}
771 ac_env_CPP_value=$CPP
772 ac_cv_env_CPP_set=${CPP+set}
773 ac_cv_env_CPP_value=$CPP
1284 pwd)`
1285 # When building in place, set srcdir=.
1286 if test "$ac_abs_confdir" = "$ac_pwd"; then
1287 srcdir=.
1288 fi
1289 # Remove unnecessary trailing slashes from srcdir.
1290 # Double slashes in file names in object file debugging info
1291 # mess up M-x gdb in Emacs.
1292 case $srcdir in
1293 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1294 esac
1295 for ac_var in $ac_precious_vars; do
1296 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1297 eval ac_env_${ac_var}_value=\$${ac_var}
1298 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1299 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1300 done
7741301
7751302 #
7761303 # Report the --help message.
7791306 # Omit some internal or obsolete options to make the list less imposing.
7801307 # This message is too long to be a string in the A/UX 3.1 sh.
7811308 cat <<_ACEOF
782 \`configure' configures h5utils 1.10 to adapt to many kinds of systems.
1309 \`configure' configures h5utils 1.12 to adapt to many kinds of systems.
7831310
7841311 Usage: $0 [OPTION]... [VAR=VALUE]...
7851312
7991326 -n, --no-create do not create output files
8001327 --srcdir=DIR find the sources in DIR [configure dir or \`..']
8011328
802 _ACEOF
803
804 cat <<_ACEOF
8051329 Installation directories:
8061330 --prefix=PREFIX install architecture-independent files in PREFIX
807 [$ac_default_prefix]
1331 [$ac_default_prefix]
8081332 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 [PREFIX]
1333 [PREFIX]
8101334
8111335 By default, \`make install' will install all the files in
8121336 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
8161340 For better control, use the options below.
8171341
8181342 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
1343 --bindir=DIR user executables [EPREFIX/bin]
1344 --sbindir=DIR system admin executables [EPREFIX/sbin]
1345 --libexecdir=DIR program executables [EPREFIX/libexec]
1346 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1347 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1348 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1349 --libdir=DIR object code libraries [EPREFIX/lib]
1350 --includedir=DIR C header files [PREFIX/include]
1351 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1352 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1353 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1354 --infodir=DIR info documentation [DATAROOTDIR/info]
1355 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1356 --mandir=DIR man documentation [DATAROOTDIR/man]
1357 --docdir=DIR documentation root [DATAROOTDIR/doc/h5utils]
1358 --htmldir=DIR html documentation [DOCDIR]
1359 --dvidir=DIR dvi documentation [DOCDIR]
1360 --pdfdir=DIR pdf documentation [DOCDIR]
1361 --psdir=DIR ps documentation [DOCDIR]
8311362 _ACEOF
8321363
8331364 cat <<\_ACEOF
8411372
8421373 if test -n "$ac_init_help"; then
8431374 case $ac_init_help in
844 short | recursive ) echo "Configuration of h5utils 1.10:";;
1375 short | recursive ) echo "Configuration of h5utils 1.12:";;
8451376 esac
8461377 cat <<\_ACEOF
8471378
8481379 Optional Features:
1380 --disable-option-checking ignore unrecognized --enable/--with options
8491381 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
8501382 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
8511383 --enable-maintainer-mode enable make rules and dependencies not useful
8661398 CFLAGS C compiler flags
8671399 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
8681400 nonstandard directory <lib dir>
869 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
870 headers in a nonstandard directory <include dir>
1401 LIBS libraries to pass to the linker, e.g. -l<library>
1402 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1403 you have headers in a nonstandard directory <include dir>
8711404 CPP C preprocessor
8721405
8731406 Use these variables to override the choices made by `configure' or to help
8751408
8761409 Report bugs to <stevenj@alum.mit.edu>.
8771410 _ACEOF
1411 ac_status=$?
8781412 fi
8791413
8801414 if test "$ac_init_help" = "recursive"; then
8811415 # If there are subdirs, report their specific --help.
882 ac_popdir=`pwd`
8831416 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
884 test -d $ac_dir || continue
1417 test -d "$ac_dir" ||
1418 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1419 continue
8851420 ac_builddir=.
8861421
887 if test "$ac_dir" != .; then
888 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
889 # A "../" for each directory in $ac_dir_suffix.
890 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
891 else
892 ac_dir_suffix= ac_top_builddir=
893 fi
1422 case "$ac_dir" in
1423 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1424 *)
1425 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1426 # A ".." for each directory in $ac_dir_suffix.
1427 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1428 case $ac_top_builddir_sub in
1429 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1430 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1431 esac ;;
1432 esac
1433 ac_abs_top_builddir=$ac_pwd
1434 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1435 # for backward compatibility:
1436 ac_top_builddir=$ac_top_build_prefix
8941437
8951438 case $srcdir in
896 .) # No --srcdir option. We are building in place.
1439 .) # We are building in place.
8971440 ac_srcdir=.
898 if test -z "$ac_top_builddir"; then
899 ac_top_srcdir=.
1441 ac_top_srcdir=$ac_top_builddir_sub
1442 ac_abs_top_srcdir=$ac_pwd ;;
1443 [\\/]* | ?:[\\/]* ) # Absolute name.
1444 ac_srcdir=$srcdir$ac_dir_suffix;
1445 ac_top_srcdir=$srcdir
1446 ac_abs_top_srcdir=$srcdir ;;
1447 *) # Relative name.
1448 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1449 ac_top_srcdir=$ac_top_build_prefix$srcdir
1450 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1451 esac
1452 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1453
1454 cd "$ac_dir" || { ac_status=$?; continue; }
1455 # Check for guested configure.
1456 if test -f "$ac_srcdir/configure.gnu"; then
1457 echo &&
1458 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1459 elif test -f "$ac_srcdir/configure"; then
1460 echo &&
1461 $SHELL "$ac_srcdir/configure" --help=recursive
9001462 else
901 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
902 fi ;;
903 [\\/]* | ?:[\\/]* ) # Absolute path.
904 ac_srcdir=$srcdir$ac_dir_suffix;
905 ac_top_srcdir=$srcdir ;;
906 *) # Relative path.
907 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
908 ac_top_srcdir=$ac_top_builddir$srcdir ;;
909 esac
910
911 # Do not use `cd foo && pwd` to compute absolute paths, because
912 # the directories may not exist.
913 case `pwd` in
914 .) ac_abs_builddir="$ac_dir";;
915 *)
916 case "$ac_dir" in
917 .) ac_abs_builddir=`pwd`;;
918 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
919 *) ac_abs_builddir=`pwd`/"$ac_dir";;
920 esac;;
921 esac
922 case $ac_abs_builddir in
923 .) ac_abs_top_builddir=${ac_top_builddir}.;;
924 *)
925 case ${ac_top_builddir}. in
926 .) ac_abs_top_builddir=$ac_abs_builddir;;
927 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
928 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
929 esac;;
930 esac
931 case $ac_abs_builddir in
932 .) ac_abs_srcdir=$ac_srcdir;;
933 *)
934 case $ac_srcdir in
935 .) ac_abs_srcdir=$ac_abs_builddir;;
936 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
937 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
938 esac;;
939 esac
940 case $ac_abs_builddir in
941 .) ac_abs_top_srcdir=$ac_top_srcdir;;
942 *)
943 case $ac_top_srcdir in
944 .) ac_abs_top_srcdir=$ac_abs_builddir;;
945 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
946 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
947 esac;;
948 esac
949
950 cd $ac_dir
951 # Check for guested configure; otherwise get Cygnus style configure.
952 if test -f $ac_srcdir/configure.gnu; then
953 echo
954 $SHELL $ac_srcdir/configure.gnu --help=recursive
955 elif test -f $ac_srcdir/configure; then
956 echo
957 $SHELL $ac_srcdir/configure --help=recursive
958 elif test -f $ac_srcdir/configure.ac ||
959 test -f $ac_srcdir/configure.in; then
960 echo
961 $ac_configure --help
962 else
963 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
964 fi
965 cd $ac_popdir
1463 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1464 fi || ac_status=$?
1465 cd "$ac_pwd" || { ac_status=$?; break; }
9661466 done
9671467 fi
9681468
969 test -n "$ac_init_help" && exit 0
1469 test -n "$ac_init_help" && exit $ac_status
9701470 if $ac_init_version; then
9711471 cat <<\_ACEOF
972 h5utils configure 1.10
973 generated by GNU Autoconf 2.59
974
975 Copyright (C) 2003 Free Software Foundation, Inc.
1472 h5utils configure 1.12
1473 generated by GNU Autoconf 2.63
1474
1475 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1476 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9761477 This configure script is free software; the Free Software Foundation
9771478 gives unlimited permission to copy, distribute and modify it.
9781479 _ACEOF
979 exit 0
980 fi
981 exec 5>config.log
982 cat >&5 <<_ACEOF
1480 exit
1481 fi
1482 cat >config.log <<_ACEOF
9831483 This file contains any messages produced by compilers while
9841484 running configure, to aid debugging if configure makes a mistake.
9851485
986 It was created by h5utils $as_me 1.10, which was
987 generated by GNU Autoconf 2.59. Invocation command line was
1486 It was created by h5utils $as_me 1.12, which was
1487 generated by GNU Autoconf 2.63. Invocation command line was
9881488
9891489 $ $0 $@
9901490
9911491 _ACEOF
1492 exec 5>>config.log
9921493 {
9931494 cat <<_ASUNAME
9941495 ## --------- ##
10071508 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
10081509 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
10091510 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1010 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1511 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
10111512 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
10121513 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
10131514 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
10191520 do
10201521 IFS=$as_save_IFS
10211522 test -z "$as_dir" && as_dir=.
1022 echo "PATH: $as_dir"
1523 $as_echo "PATH: $as_dir"
10231524 done
1525 IFS=$as_save_IFS
10241526
10251527 } >&5
10261528
10421544 ac_configure_args=
10431545 ac_configure_args0=
10441546 ac_configure_args1=
1045 ac_sep=
10461547 ac_must_keep_next=false
10471548 for ac_pass in 1 2
10481549 do
10531554 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10541555 | -silent | --silent | --silen | --sile | --sil)
10551556 continue ;;
1056 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1057 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1557 *\'*)
1558 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10581559 esac
10591560 case $ac_pass in
10601561 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
10751576 -* ) ac_must_keep_next=true ;;
10761577 esac
10771578 fi
1078 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1079 # Get rid of the leading space.
1080 ac_sep=" "
1579 ac_configure_args="$ac_configure_args '$ac_arg'"
10811580 ;;
10821581 esac
10831582 done
10881587 # When interrupted or exit'd, cleanup temporary files, and complete
10891588 # config.log. We remove comments because anyway the quotes in there
10901589 # would cause problems or look ugly.
1091 # WARNING: Be sure not to use single quotes in there, as some shells,
1092 # such as our DU 5.0 friend, will then `close' the trap.
1590 # WARNING: Use '\'' to represent an apostrophe within the trap.
1591 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
10931592 trap 'exit_status=$?
10941593 # Save into config.log some information that might help in debugging.
10951594 {
11021601 _ASBOX
11031602 echo
11041603 # The following way of writing the cache mishandles newlines in values,
1105 {
1604 (
1605 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1606 eval ac_val=\$$ac_var
1607 case $ac_val in #(
1608 *${as_nl}*)
1609 case $ac_var in #(
1610 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1611 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1612 esac
1613 case $ac_var in #(
1614 _ | IFS | as_nl) ;; #(
1615 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1616 *) $as_unset $ac_var ;;
1617 esac ;;
1618 esac
1619 done
11061620 (set) 2>&1 |
1107 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1108 *ac_space=\ *)
1621 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1622 *${as_nl}ac_space=\ *)
11091623 sed -n \
1110 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1624 "s/'\''/'\''\\\\'\'''\''/g;
1625 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1626 ;; #(
1627 *)
1628 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11121629 ;;
1113 *)
1114 sed -n \
1115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1116 ;;
1117 esac;
1118 }
1630 esac |
1631 sort
1632 )
11191633 echo
11201634
11211635 cat <<\_ASBOX
11261640 echo
11271641 for ac_var in $ac_subst_vars
11281642 do
1129 eval ac_val=$`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1643 eval ac_val=\$$ac_var
1644 case $ac_val in
1645 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1646 esac
1647 $as_echo "$ac_var='\''$ac_val'\''"
11311648 done | sort
11321649 echo
11331650
11341651 if test -n "$ac_subst_files"; then
11351652 cat <<\_ASBOX
1136 ## ------------- ##
1137 ## Output files. ##
1138 ## ------------- ##
1653 ## ------------------- ##
1654 ## File substitutions. ##
1655 ## ------------------- ##
11391656 _ASBOX
11401657 echo
11411658 for ac_var in $ac_subst_files
11421659 do
1143 eval ac_val=$`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1660 eval ac_val=\$$ac_var
1661 case $ac_val in
1662 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1663 esac
1664 $as_echo "$ac_var='\''$ac_val'\''"
11451665 done | sort
11461666 echo
11471667 fi
11531673 ## ----------- ##
11541674 _ASBOX
11551675 echo
1156 sed "/^$/d" confdefs.h | sort
1676 cat confdefs.h
11571677 echo
11581678 fi
11591679 test "$ac_signal" != 0 &&
1160 echo "$as_me: caught signal $ac_signal"
1161 echo "$as_me: exit $exit_status"
1680 $as_echo "$as_me: caught signal $ac_signal"
1681 $as_echo "$as_me: exit $exit_status"
11621682 } >&5
1163 rm -f core *.core &&
1164 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1683 rm -f core *.core core.conftest.* &&
1684 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
11651685 exit $exit_status
1166 ' 0
1686 ' 0
11671687 for ac_signal in 1 2 13 15; do
11681688 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
11691689 done
11701690 ac_signal=0
11711691
11721692 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1173 rm -rf conftest* confdefs.h
1174 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1175 echo >confdefs.h
1693 rm -f -r conftest* confdefs.h
11761694
11771695 # Predefined preprocessor variables.
11781696
12021720
12031721
12041722 # Let the site file select an alternate cache file if it wants to.
1205 # Prefer explicitly selected file to automatically selected ones.
1206 if test -z "$CONFIG_SITE"; then
1207 if test "x$prefix" != xNONE; then
1208 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1209 else
1210 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1211 fi
1212 fi
1213 for ac_site_file in $CONFIG_SITE; do
1723 # Prefer an explicitly selected file to automatically selected ones.
1724 ac_site_file1=NONE
1725 ac_site_file2=NONE
1726 if test -n "$CONFIG_SITE"; then
1727 ac_site_file1=$CONFIG_SITE
1728 elif test "x$prefix" != xNONE; then
1729 ac_site_file1=$prefix/share/config.site
1730 ac_site_file2=$prefix/etc/config.site
1731 else
1732 ac_site_file1=$ac_default_prefix/share/config.site
1733 ac_site_file2=$ac_default_prefix/etc/config.site
1734 fi
1735 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1736 do
1737 test "x$ac_site_file" = xNONE && continue
12141738 if test -r "$ac_site_file"; then
1215 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1216 echo "$as_me: loading site script $ac_site_file" >&6;}
1739 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1740 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
12171741 sed 's/^/| /' "$ac_site_file" >&5
12181742 . "$ac_site_file"
12191743 fi
12231747 # Some versions of bash will fail to source /dev/null (special
12241748 # files actually), so we avoid doing that.
12251749 if test -f "$cache_file"; then
1226 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1227 echo "$as_me: loading cache $cache_file" >&6;}
1750 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1751 $as_echo "$as_me: loading cache $cache_file" >&6;}
12281752 case $cache_file in
1229 [\\/]* | ?:[\\/]* ) . $cache_file;;
1230 *) . ./$cache_file;;
1753 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1754 *) . "./$cache_file";;
12311755 esac
12321756 fi
12331757 else
1234 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1235 echo "$as_me: creating cache $cache_file" >&6;}
1758 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1759 $as_echo "$as_me: creating cache $cache_file" >&6;}
12361760 >$cache_file
12371761 fi
12381762
12391763 # Check that the precious variables saved in the cache have kept the same
12401764 # value.
12411765 ac_cache_corrupted=false
1242 for ac_var in `(set) 2>&1 |
1243 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1766 for ac_var in $ac_precious_vars; do
12441767 eval ac_old_set=\$ac_cv_env_${ac_var}_set
12451768 eval ac_new_set=\$ac_env_${ac_var}_set
1246 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1247 eval ac_new_val="\$ac_env_${ac_var}_value"
1769 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1770 eval ac_new_val=\$ac_env_${ac_var}_value
12481771 case $ac_old_set,$ac_new_set in
12491772 set,)
1250 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1773 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1774 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
12521775 ac_cache_corrupted=: ;;
12531776 ,set)
1254 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1777 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1778 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
12561779 ac_cache_corrupted=: ;;
12571780 ,);;
12581781 *)
12591782 if test "x$ac_old_val" != "x$ac_new_val"; then
1260 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1261 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1262 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1263 echo "$as_me: former value: $ac_old_val" >&2;}
1264 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1265 echo "$as_me: current value: $ac_new_val" >&2;}
1266 ac_cache_corrupted=:
1783 # differences in whitespace do not lead to failure.
1784 ac_old_val_w=`echo x $ac_old_val`
1785 ac_new_val_w=`echo x $ac_new_val`
1786 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1787 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1788 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1789 ac_cache_corrupted=:
1790 else
1791 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1792 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1793 eval $ac_var=\$ac_old_val
1794 fi
1795 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1796 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1797 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1798 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
12671799 fi;;
12681800 esac
12691801 # Pass precious variables to config.status.
12701802 if test "$ac_new_set" = set; then
12711803 case $ac_new_val in
1272 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1273 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1804 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
12741805 *) ac_arg=$ac_var=$ac_new_val ;;
12751806 esac
12761807 case " $ac_configure_args " in
12801811 fi
12811812 done
12821813 if $ac_cache_corrupted; then
1283 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1284 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1285 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1286 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1814 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1816 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1817 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1818 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1819 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
12871820 { (exit 1); exit 1; }; }
12881821 fi
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
12891846
12901847 ac_ext=c
12911848 ac_cpp='$CPP $CPPFLAGS'
12941851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12951852
12961853
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322 am__api_version="1.9"
1854 am__api_version='1.11'
1855
13231856 ac_aux_dir=
1324 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1325 if test -f $ac_dir/install-sh; then
1857 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1858 if test -f "$ac_dir/install-sh"; then
13261859 ac_aux_dir=$ac_dir
13271860 ac_install_sh="$ac_aux_dir/install-sh -c"
13281861 break
1329 elif test -f $ac_dir/install.sh; then
1862 elif test -f "$ac_dir/install.sh"; then
13301863 ac_aux_dir=$ac_dir
13311864 ac_install_sh="$ac_aux_dir/install.sh -c"
13321865 break
1333 elif test -f $ac_dir/shtool; then
1866 elif test -f "$ac_dir/shtool"; then
13341867 ac_aux_dir=$ac_dir
13351868 ac_install_sh="$ac_aux_dir/shtool install -c"
13361869 break
13371870 fi
13381871 done
13391872 if test -z "$ac_aux_dir"; then
1340 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1341 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1873 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1874 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
13421875 { (exit 1); exit 1; }; }
13431876 fi
1344 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1345 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1346 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1877
1878 # These three variables are undocumented and unsupported,
1879 # and are intended to be withdrawn in a future Autoconf release.
1880 # They can cause serious problems if a builder's source tree is in a directory
1881 # whose full name contains unusual characters.
1882 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1883 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1884 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1885
13471886
13481887 # Find a good install program. We prefer a C program (faster),
13491888 # so one script is as good as another. But avoid the broken or
13581897 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13591898 # OS/2's system install, which has a completely different semantic
13601899 # ./install, which can be erroneously created by make from ./install.sh.
1361 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1362 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1900 # Reject install programs that cannot install multiple files.
1901 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1902 $as_echo_n "checking for a BSD-compatible install... " >&6; }
13631903 if test -z "$INSTALL"; then
13641904 if test "${ac_cv_path_install+set}" = set; then
1365 echo $ECHO_N "(cached) $ECHO_C" >&6
1905 $as_echo_n "(cached) " >&6
13661906 else
13671907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13681908 for as_dir in $PATH
13811921 # by default.
13821922 for ac_prog in ginstall scoinst install; do
13831923 for ac_exec_ext in '' $ac_executable_extensions; do
1384 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1924 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
13851925 if test $ac_prog = install &&
13861926 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13871927 # AIX install. It has an incompatible calling convention.
13911931 # program-specific install script used by HP pwplus--don't use.
13921932 :
13931933 else
1394 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1395 break 3
1934 rm -rf conftest.one conftest.two conftest.dir
1935 echo one > conftest.one
1936 echo two > conftest.two
1937 mkdir conftest.dir
1938 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1939 test -s conftest.one && test -s conftest.two &&
1940 test -s conftest.dir/conftest.one &&
1941 test -s conftest.dir/conftest.two
1942 then
1943 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1944 break 3
1945 fi
13961946 fi
13971947 fi
13981948 done
13991949 done
14001950 ;;
14011951 esac
1952
14021953 done
1403
1954 IFS=$as_save_IFS
1955
1956 rm -rf conftest.one conftest.two conftest.dir
14041957
14051958 fi
14061959 if test "${ac_cv_path_install+set}" = set; then
14071960 INSTALL=$ac_cv_path_install
14081961 else
1409 # As a last resort, use the slow shell script. We don't cache a
1410 # path for INSTALL within a source directory, because that will
1962 # As a last resort, use the slow shell script. Don't cache a
1963 # value for INSTALL within a source directory, because that will
14111964 # break other packages using the cache if that directory is
1412 # removed, or if the path is relative.
1965 # removed, or if the value is a relative name.
14131966 INSTALL=$ac_install_sh
14141967 fi
14151968 fi
1416 echo "$as_me:$LINENO: result: $INSTALL" >&5
1417 echo "${ECHO_T}$INSTALL" >&6
1969 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1970 $as_echo "$INSTALL" >&6; }
14181971
14191972 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14201973 # It thinks the first close brace ends the variable substitution.
14241977
14251978 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14261979
1427 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1428 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1980 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1981 $as_echo_n "checking whether build environment is sane... " >&6; }
14291982 # Just in case
14301983 sleep 1
14311984 echo timestamp > conftest.file
1985 # Reject unsafe characters in $srcdir or the absolute working directory
1986 # name. Accept space and tab only in the latter.
1987 am_lf='
1988 '
1989 case `pwd` in
1990 *[\\\"\#\$\&\'\`$am_lf]*)
1991 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
1992 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
1993 { (exit 1); exit 1; }; };;
1994 esac
1995 case $srcdir in
1996 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1997 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
1998 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
1999 { (exit 1); exit 1; }; };;
2000 esac
2001
14322002 # Do `set' in a subshell so we don't clobber the current shell's
14332003 # arguments. Must try -L first in case configure is actually a
14342004 # symlink; some systems play weird games with the mod time of symlinks
14352005 # (eg FreeBSD returns the mod time of the symlink's containing
14362006 # directory).
14372007 if (
1438 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2008 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
14392009 if test "$*" = "X"; then
14402010 # -L didn't work.
1441 set X `ls -t $srcdir/configure conftest.file`
2011 set X `ls -t "$srcdir/configure" conftest.file`
14422012 fi
14432013 rm -f conftest.file
14442014 if test "$*" != "X $srcdir/configure conftest.file" \
14482018 # if, for instance, CONFIG_SHELL is bash and it inherits a
14492019 # broken ls alias from the environment. This has actually
14502020 # happened. Such a system could not be considered "sane".
1451 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2021 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
14522022 alias in your environment" >&5
1453 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2023 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
14542024 alias in your environment" >&2;}
14552025 { (exit 1); exit 1; }; }
14562026 fi
14612031 # Ok.
14622032 :
14632033 else
1464 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2034 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
14652035 Check your system clock" >&5
1466 echo "$as_me: error: newly created file is older than distributed files!
2036 $as_echo "$as_me: error: newly created file is older than distributed files!
14672037 Check your system clock" >&2;}
14682038 { (exit 1); exit 1; }; }
14692039 fi
1470 echo "$as_me:$LINENO: result: yes" >&5
1471 echo "${ECHO_T}yes" >&6
2040 { $as_echo "$as_me:$LINENO: result: yes" >&5
2041 $as_echo "yes" >&6; }
14722042 test "$program_prefix" != NONE &&
1473 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2043 program_transform_name="s&^&$program_prefix&;$program_transform_name"
14742044 # Use a double $ so make ignores it.
14752045 test "$program_suffix" != NONE &&
1476 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1477 # Double any \ or $. echo might interpret backslashes.
2046 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2047 # Double any \ or $.
14782048 # By default was `s,x,x', remove it if useless.
1479 cat <<\_ACEOF >conftest.sed
1480 s/[\\$]/&&/g;s/;s,x,x,$//
1481 _ACEOF
1482 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1483 rm conftest.sed
2049 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2050 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
14842051
14852052 # expand $ac_aux_dir to an absolute path
14862053 am_aux_dir=`cd $ac_aux_dir && pwd`
14872054
1488 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2055 if test x"${MISSING+set}" != xset; then
2056 case $am_aux_dir in
2057 *\ * | *\ *)
2058 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2059 *)
2060 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2061 esac
2062 fi
14892063 # Use eval to expand $SHELL
14902064 if eval "$MISSING --run true"; then
14912065 am_missing_run="$MISSING --run "
14922066 else
14932067 am_missing_run=
1494 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1495 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1496 fi
1497
1498 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1499 # We used to keeping the `.' as first argument, in order to
1500 # allow $(mkdir_p) to be used without argument. As in
1501 # $(mkdir_p) $(somedir)
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 --'
1514 else
1515 # On NextStep and OpenStep, the `mkdir' command does not
1516 # recognize any option. It will interpret all options as
1517 # directories to create, and then abort because `.' already
1518 # exists.
1519 for d in ./-p ./--version;
1520 do
1521 test -d $d && rmdir $d
1522 done
1523 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1524 if test -f "$ac_aux_dir/mkinstalldirs"; then
1525 mkdir_p='$(mkinstalldirs)'
1526 else
1527 mkdir_p='$(install_sh) -d'
1528 fi
1529 fi
1530
1531 for ac_prog in gawk mawk nawk awk
1532 do
1533 # Extract the first word of "$ac_prog", so it can be a program name with args.
1534 set dummy $ac_prog; ac_word=$2
1535 echo "$as_me:$LINENO: checking for $ac_word" >&5
1536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1537 if test "${ac_cv_prog_AWK+set}" = set; then
1538 echo $ECHO_N "(cached) $ECHO_C" >&6
1539 else
1540 if test -n "$AWK"; then
1541 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1542 else
1543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1544 for as_dir in $PATH
1545 do
1546 IFS=$as_save_IFS
1547 test -z "$as_dir" && as_dir=.
1548 for ac_exec_ext in '' $ac_executable_extensions; do
1549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1550 ac_cv_prog_AWK="$ac_prog"
1551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1552 break 2
1553 fi
1554 done
1555 done
1556
1557 fi
1558 fi
1559 AWK=$ac_cv_prog_AWK
1560 if test -n "$AWK"; then
1561 echo "$as_me:$LINENO: result: $AWK" >&5
1562 echo "${ECHO_T}$AWK" >&6
1563 else
1564 echo "$as_me:$LINENO: result: no" >&5
1565 echo "${ECHO_T}no" >&6
1566 fi
1567
1568 test -n "$AWK" && break
1569 done
1570
1571 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1572 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1573 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1574 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1576 else
1577 cat >conftest.make <<\_ACEOF
1578 all:
1579 @echo 'ac_maketemp="$(MAKE)"'
1580 _ACEOF
1581 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1582 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1583 if test -n "$ac_maketemp"; then
1584 eval ac_cv_prog_make_${ac_make}_set=yes
1585 else
1586 eval ac_cv_prog_make_${ac_make}_set=no
1587 fi
1588 rm -f conftest.make
1589 fi
1590 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1591 echo "$as_me:$LINENO: result: yes" >&5
1592 echo "${ECHO_T}yes" >&6
1593 SET_MAKE=
1594 else
1595 echo "$as_me:$LINENO: result: no" >&5
1596 echo "${ECHO_T}no" >&6
1597 SET_MAKE="MAKE=${MAKE-make}"
1598 fi
1599
1600 rm -rf .tst 2>/dev/null
1601 mkdir .tst 2>/dev/null
1602 if test -d .tst; then
1603 am__leading_dot=.
1604 else
1605 am__leading_dot=_
1606 fi
1607 rmdir .tst 2>/dev/null
1608
1609 # test to see if srcdir already configured
1610 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1611 test -f $srcdir/config.status; then
1612 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1613 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1614 { (exit 1); exit 1; }; }
1615 fi
1616
1617 # test whether we have cygpath
1618 if test -z "$CYGPATH_W"; then
1619 if (cygpath --version) >/dev/null 2>/dev/null; then
1620 CYGPATH_W='cygpath -w'
1621 else
1622 CYGPATH_W=echo
1623 fi
1624 fi
1625
1626
1627 # Define the identity of the package.
1628 PACKAGE='h5utils'
1629 VERSION='1.10'
1630
1631
1632 cat >>confdefs.h <<_ACEOF
1633 #define PACKAGE "$PACKAGE"
1634 _ACEOF
1635
1636
1637 cat >>confdefs.h <<_ACEOF
1638 #define VERSION "$VERSION"
1639 _ACEOF
1640
1641 # Some tools Automake needs.
1642
1643 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1644
1645
1646 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1647
1648
1649 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1650
1651
1652 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1653
1654
1655 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1656
1657 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2068 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2069 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2070 fi
2071
2072 if test x"${install_sh}" != xset; then
2073 case $am_aux_dir in
2074 *\ * | *\ *)
2075 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2076 *)
2077 install_sh="\${SHELL} $am_aux_dir/install-sh"
2078 esac
2079 fi
16582080
16592081 # Installed binaries are usually stripped using `strip' when the user
16602082 # run `make install-strip'. However `strip' might not be the right
16642086 if test -n "$ac_tool_prefix"; then
16652087 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16662088 set dummy ${ac_tool_prefix}strip; ac_word=$2
1667 echo "$as_me:$LINENO: checking for $ac_word" >&5
1668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2089 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2090 $as_echo_n "checking for $ac_word... " >&6; }
16692091 if test "${ac_cv_prog_STRIP+set}" = set; then
1670 echo $ECHO_N "(cached) $ECHO_C" >&6
2092 $as_echo_n "(cached) " >&6
16712093 else
16722094 if test -n "$STRIP"; then
16732095 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16782100 IFS=$as_save_IFS
16792101 test -z "$as_dir" && as_dir=.
16802102 for ac_exec_ext in '' $ac_executable_extensions; do
1681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16822104 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16842106 break 2
16852107 fi
16862108 done
16872109 done
2110 IFS=$as_save_IFS
16882111
16892112 fi
16902113 fi
16912114 STRIP=$ac_cv_prog_STRIP
16922115 if test -n "$STRIP"; then
1693 echo "$as_me:$LINENO: result: $STRIP" >&5
1694 echo "${ECHO_T}$STRIP" >&6
1695 else
1696 echo "$as_me:$LINENO: result: no" >&5
1697 echo "${ECHO_T}no" >&6
1698 fi
2116 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2117 $as_echo "$STRIP" >&6; }
2118 else
2119 { $as_echo "$as_me:$LINENO: result: no" >&5
2120 $as_echo "no" >&6; }
2121 fi
2122
16992123
17002124 fi
17012125 if test -z "$ac_cv_prog_STRIP"; then
17022126 ac_ct_STRIP=$STRIP
17032127 # Extract the first word of "strip", so it can be a program name with args.
17042128 set dummy strip; ac_word=$2
1705 echo "$as_me:$LINENO: checking for $ac_word" >&5
1706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2129 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 $as_echo_n "checking for $ac_word... " >&6; }
17072131 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
2132 $as_echo_n "(cached) " >&6
17092133 else
17102134 if test -n "$ac_ct_STRIP"; then
17112135 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
17162140 IFS=$as_save_IFS
17172141 test -z "$as_dir" && as_dir=.
17182142 for ac_exec_ext in '' $ac_executable_extensions; do
1719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17202144 ac_cv_prog_ac_ct_STRIP="strip"
1721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17222146 break 2
17232147 fi
17242148 done
17252149 done
1726
1727 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2150 IFS=$as_save_IFS
2151
17282152 fi
17292153 fi
17302154 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
17312155 if test -n "$ac_ct_STRIP"; then
1732 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1733 echo "${ECHO_T}$ac_ct_STRIP" >&6
1734 else
1735 echo "$as_me:$LINENO: result: no" >&5
1736 echo "${ECHO_T}no" >&6
1737 fi
1738
1739 STRIP=$ac_ct_STRIP
2156 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2157 $as_echo "$ac_ct_STRIP" >&6; }
2158 else
2159 { $as_echo "$as_me:$LINENO: result: no" >&5
2160 $as_echo "no" >&6; }
2161 fi
2162
2163 if test "x$ac_ct_STRIP" = x; then
2164 STRIP=":"
2165 else
2166 case $cross_compiling:$ac_tool_warned in
2167 yes:)
2168 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2170 ac_tool_warned=yes ;;
2171 esac
2172 STRIP=$ac_ct_STRIP
2173 fi
17402174 else
17412175 STRIP="$ac_cv_prog_STRIP"
17422176 fi
17432177
17442178 fi
1745 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2179 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2180
2181 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2182 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2183 if test -z "$MKDIR_P"; then
2184 if test "${ac_cv_path_mkdir+set}" = set; then
2185 $as_echo_n "(cached) " >&6
2186 else
2187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2188 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2189 do
2190 IFS=$as_save_IFS
2191 test -z "$as_dir" && as_dir=.
2192 for ac_prog in mkdir gmkdir; do
2193 for ac_exec_ext in '' $ac_executable_extensions; do
2194 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2195 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2196 'mkdir (GNU coreutils) '* | \
2197 'mkdir (coreutils) '* | \
2198 'mkdir (fileutils) '4.1*)
2199 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2200 break 3;;
2201 esac
2202 done
2203 done
2204 done
2205 IFS=$as_save_IFS
2206
2207 fi
2208
2209 if test "${ac_cv_path_mkdir+set}" = set; then
2210 MKDIR_P="$ac_cv_path_mkdir -p"
2211 else
2212 # As a last resort, use the slow shell script. Don't cache a
2213 # value for MKDIR_P within a source directory, because that will
2214 # break other packages using the cache if that directory is
2215 # removed, or if the value is a relative name.
2216 test -d ./--version && rmdir ./--version
2217 MKDIR_P="$ac_install_sh -d"
2218 fi
2219 fi
2220 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2221 $as_echo "$MKDIR_P" >&6; }
2222
2223 mkdir_p="$MKDIR_P"
2224 case $mkdir_p in
2225 [\\/$]* | ?:[\\/]*) ;;
2226 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2227 esac
2228
2229 for ac_prog in gawk mawk nawk awk
2230 do
2231 # Extract the first word of "$ac_prog", so it can be a program name with args.
2232 set dummy $ac_prog; ac_word=$2
2233 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2234 $as_echo_n "checking for $ac_word... " >&6; }
2235 if test "${ac_cv_prog_AWK+set}" = set; then
2236 $as_echo_n "(cached) " >&6
2237 else
2238 if test -n "$AWK"; then
2239 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2240 else
2241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2242 for as_dir in $PATH
2243 do
2244 IFS=$as_save_IFS
2245 test -z "$as_dir" && as_dir=.
2246 for ac_exec_ext in '' $ac_executable_extensions; do
2247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2248 ac_cv_prog_AWK="$ac_prog"
2249 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2250 break 2
2251 fi
2252 done
2253 done
2254 IFS=$as_save_IFS
2255
2256 fi
2257 fi
2258 AWK=$ac_cv_prog_AWK
2259 if test -n "$AWK"; then
2260 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2261 $as_echo "$AWK" >&6; }
2262 else
2263 { $as_echo "$as_me:$LINENO: result: no" >&5
2264 $as_echo "no" >&6; }
2265 fi
2266
2267
2268 test -n "$AWK" && break
2269 done
2270
2271 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2272 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2273 set x ${MAKE-make}
2274 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2275 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2276 $as_echo_n "(cached) " >&6
2277 else
2278 cat >conftest.make <<\_ACEOF
2279 SHELL = /bin/sh
2280 all:
2281 @echo '@@@%%%=$(MAKE)=@@@%%%'
2282 _ACEOF
2283 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2284 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2285 *@@@%%%=?*=@@@%%%*)
2286 eval ac_cv_prog_make_${ac_make}_set=yes;;
2287 *)
2288 eval ac_cv_prog_make_${ac_make}_set=no;;
2289 esac
2290 rm -f conftest.make
2291 fi
2292 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2293 { $as_echo "$as_me:$LINENO: result: yes" >&5
2294 $as_echo "yes" >&6; }
2295 SET_MAKE=
2296 else
2297 { $as_echo "$as_me:$LINENO: result: no" >&5
2298 $as_echo "no" >&6; }
2299 SET_MAKE="MAKE=${MAKE-make}"
2300 fi
2301
2302 rm -rf .tst 2>/dev/null
2303 mkdir .tst 2>/dev/null
2304 if test -d .tst; then
2305 am__leading_dot=.
2306 else
2307 am__leading_dot=_
2308 fi
2309 rmdir .tst 2>/dev/null
2310
2311 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2312 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2313 # is not polluted with repeated "-I."
2314 am__isrc=' -I$(srcdir)'
2315 # test to see if srcdir already configured
2316 if test -f $srcdir/config.status; then
2317 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2318 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2319 { (exit 1); exit 1; }; }
2320 fi
2321 fi
2322
2323 # test whether we have cygpath
2324 if test -z "$CYGPATH_W"; then
2325 if (cygpath --version) >/dev/null 2>/dev/null; then
2326 CYGPATH_W='cygpath -w'
2327 else
2328 CYGPATH_W=echo
2329 fi
2330 fi
2331
2332
2333 # Define the identity of the package.
2334 PACKAGE='h5utils'
2335 VERSION='1.12'
2336
2337
2338 cat >>confdefs.h <<_ACEOF
2339 #define PACKAGE "$PACKAGE"
2340 _ACEOF
2341
2342
2343 cat >>confdefs.h <<_ACEOF
2344 #define VERSION "$VERSION"
2345 _ACEOF
2346
2347 # Some tools Automake needs.
2348
2349 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2350
2351
2352 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2353
2354
2355 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2356
2357
2358 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2359
2360
2361 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
17462362
17472363 # We need awk for the "check" target. The system "awk" is bad on
17482364 # some platforms.
17572373
17582374
17592375
1760 ac_config_headers="$ac_config_headers config.h"
1761
1762 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1763 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1764 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2376 ac_config_headers="$ac_config_headers config.h"
2377
2378
2379 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2380 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2381 # Check whether --enable-maintainer-mode was given.
17652382 if test "${enable_maintainer_mode+set}" = set; then
1766 enableval="$enable_maintainer_mode"
1767 USE_MAINTAINER_MODE=$enableval
2383 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
17682384 else
17692385 USE_MAINTAINER_MODE=no
1770 fi;
1771 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1772 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1773
1774
1775 if test $USE_MAINTAINER_MODE = yes; then
2386 fi
2387
2388 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2389 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2390 if test $USE_MAINTAINER_MODE = yes; then
17762391 MAINTAINER_MODE_TRUE=
17772392 MAINTAINER_MODE_FALSE='#'
17782393 else
17932408 if test -n "$ac_tool_prefix"; then
17942409 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17952410 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1796 echo "$as_me:$LINENO: checking for $ac_word" >&5
1797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2411 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2412 $as_echo_n "checking for $ac_word... " >&6; }
17982413 if test "${ac_cv_prog_CC+set}" = set; then
1799 echo $ECHO_N "(cached) $ECHO_C" >&6
2414 $as_echo_n "(cached) " >&6
18002415 else
18012416 if test -n "$CC"; then
18022417 ac_cv_prog_CC="$CC" # Let the user override the test.
18072422 IFS=$as_save_IFS
18082423 test -z "$as_dir" && as_dir=.
18092424 for ac_exec_ext in '' $ac_executable_extensions; do
1810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18112426 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2427 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18132428 break 2
18142429 fi
18152430 done
18162431 done
2432 IFS=$as_save_IFS
18172433
18182434 fi
18192435 fi
18202436 CC=$ac_cv_prog_CC
18212437 if test -n "$CC"; then
1822 echo "$as_me:$LINENO: result: $CC" >&5
1823 echo "${ECHO_T}$CC" >&6
1824 else
1825 echo "$as_me:$LINENO: result: no" >&5
1826 echo "${ECHO_T}no" >&6
1827 fi
2438 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2439 $as_echo "$CC" >&6; }
2440 else
2441 { $as_echo "$as_me:$LINENO: result: no" >&5
2442 $as_echo "no" >&6; }
2443 fi
2444
18282445
18292446 fi
18302447 if test -z "$ac_cv_prog_CC"; then
18312448 ac_ct_CC=$CC
18322449 # Extract the first word of "gcc", so it can be a program name with args.
18332450 set dummy gcc; ac_word=$2
1834 echo "$as_me:$LINENO: checking for $ac_word" >&5
1835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2451 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2452 $as_echo_n "checking for $ac_word... " >&6; }
18362453 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1837 echo $ECHO_N "(cached) $ECHO_C" >&6
2454 $as_echo_n "(cached) " >&6
18382455 else
18392456 if test -n "$ac_ct_CC"; then
18402457 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18452462 IFS=$as_save_IFS
18462463 test -z "$as_dir" && as_dir=.
18472464 for ac_exec_ext in '' $ac_executable_extensions; do
1848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18492466 ac_cv_prog_ac_ct_CC="gcc"
1850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2467 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18512468 break 2
18522469 fi
18532470 done
18542471 done
2472 IFS=$as_save_IFS
18552473
18562474 fi
18572475 fi
18582476 ac_ct_CC=$ac_cv_prog_ac_ct_CC
18592477 if test -n "$ac_ct_CC"; then
1860 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1861 echo "${ECHO_T}$ac_ct_CC" >&6
1862 else
1863 echo "$as_me:$LINENO: result: no" >&5
1864 echo "${ECHO_T}no" >&6
1865 fi
1866
1867 CC=$ac_ct_CC
2478 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2479 $as_echo "$ac_ct_CC" >&6; }
2480 else
2481 { $as_echo "$as_me:$LINENO: result: no" >&5
2482 $as_echo "no" >&6; }
2483 fi
2484
2485 if test "x$ac_ct_CC" = x; then
2486 CC=""
2487 else
2488 case $cross_compiling:$ac_tool_warned in
2489 yes:)
2490 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2492 ac_tool_warned=yes ;;
2493 esac
2494 CC=$ac_ct_CC
2495 fi
18682496 else
18692497 CC="$ac_cv_prog_CC"
18702498 fi
18712499
18722500 if test -z "$CC"; then
1873 if test -n "$ac_tool_prefix"; then
1874 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2501 if test -n "$ac_tool_prefix"; then
2502 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
18752503 set dummy ${ac_tool_prefix}cc; ac_word=$2
1876 echo "$as_me:$LINENO: checking for $ac_word" >&5
1877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2504 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2505 $as_echo_n "checking for $ac_word... " >&6; }
18782506 if test "${ac_cv_prog_CC+set}" = set; then
1879 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 $as_echo_n "(cached) " >&6
18802508 else
18812509 if test -n "$CC"; then
18822510 ac_cv_prog_CC="$CC" # Let the user override the test.
18872515 IFS=$as_save_IFS
18882516 test -z "$as_dir" && as_dir=.
18892517 for ac_exec_ext in '' $ac_executable_extensions; do
1890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18912519 ac_cv_prog_CC="${ac_tool_prefix}cc"
1892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2520 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18932521 break 2
18942522 fi
18952523 done
18962524 done
2525 IFS=$as_save_IFS
18972526
18982527 fi
18992528 fi
19002529 CC=$ac_cv_prog_CC
19012530 if test -n "$CC"; then
1902 echo "$as_me:$LINENO: result: $CC" >&5
1903 echo "${ECHO_T}$CC" >&6
1904 else
1905 echo "$as_me:$LINENO: result: no" >&5
1906 echo "${ECHO_T}no" >&6
1907 fi
1908
1909 fi
1910 if test -z "$ac_cv_prog_CC"; then
1911 ac_ct_CC=$CC
1912 # Extract the first word of "cc", so it can be a program name with args.
1913 set dummy cc; ac_word=$2
1914 echo "$as_me:$LINENO: checking for $ac_word" >&5
1915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1916 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 else
1919 if test -n "$ac_ct_CC"; then
1920 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1921 else
1922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1923 for as_dir in $PATH
1924 do
1925 IFS=$as_save_IFS
1926 test -z "$as_dir" && as_dir=.
1927 for ac_exec_ext in '' $ac_executable_extensions; do
1928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1929 ac_cv_prog_ac_ct_CC="cc"
1930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1931 break 2
2531 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2532 $as_echo "$CC" >&6; }
2533 else
2534 { $as_echo "$as_me:$LINENO: result: no" >&5
2535 $as_echo "no" >&6; }
2536 fi
2537
2538
19322539 fi
1933 done
1934 done
1935
1936 fi
1937 fi
1938 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1939 if test -n "$ac_ct_CC"; then
1940 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1941 echo "${ECHO_T}$ac_ct_CC" >&6
1942 else
1943 echo "$as_me:$LINENO: result: no" >&5
1944 echo "${ECHO_T}no" >&6
1945 fi
1946
1947 CC=$ac_ct_CC
1948 else
1949 CC="$ac_cv_prog_CC"
1950 fi
1951
19522540 fi
19532541 if test -z "$CC"; then
19542542 # Extract the first word of "cc", so it can be a program name with args.
19552543 set dummy cc; ac_word=$2
1956 echo "$as_me:$LINENO: checking for $ac_word" >&5
1957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2544 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2545 $as_echo_n "checking for $ac_word... " >&6; }
19582546 if test "${ac_cv_prog_CC+set}" = set; then
1959 echo $ECHO_N "(cached) $ECHO_C" >&6
2547 $as_echo_n "(cached) " >&6
19602548 else
19612549 if test -n "$CC"; then
19622550 ac_cv_prog_CC="$CC" # Let the user override the test.
19682556 IFS=$as_save_IFS
19692557 test -z "$as_dir" && as_dir=.
19702558 for ac_exec_ext in '' $ac_executable_extensions; do
1971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19722560 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
19732561 ac_prog_rejected=yes
19742562 continue
19752563 fi
19762564 ac_cv_prog_CC="cc"
1977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2565 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19782566 break 2
19792567 fi
19802568 done
19812569 done
2570 IFS=$as_save_IFS
19822571
19832572 if test $ac_prog_rejected = yes; then
19842573 # We found a bogon in the path, so make sure we never use it.
19962585 fi
19972586 CC=$ac_cv_prog_CC
19982587 if test -n "$CC"; then
1999 echo "$as_me:$LINENO: result: $CC" >&5
2000 echo "${ECHO_T}$CC" >&6
2001 else
2002 echo "$as_me:$LINENO: result: no" >&5
2003 echo "${ECHO_T}no" >&6
2004 fi
2588 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2589 $as_echo "$CC" >&6; }
2590 else
2591 { $as_echo "$as_me:$LINENO: result: no" >&5
2592 $as_echo "no" >&6; }
2593 fi
2594
20052595
20062596 fi
20072597 if test -z "$CC"; then
20082598 if test -n "$ac_tool_prefix"; then
2009 for ac_prog in cl
2599 for ac_prog in cl.exe
20102600 do
20112601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20122602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2013 echo "$as_me:$LINENO: checking for $ac_word" >&5
2014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2603 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2604 $as_echo_n "checking for $ac_word... " >&6; }
20152605 if test "${ac_cv_prog_CC+set}" = set; then
2016 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 $as_echo_n "(cached) " >&6
20172607 else
20182608 if test -n "$CC"; then
20192609 ac_cv_prog_CC="$CC" # Let the user override the test.
20242614 IFS=$as_save_IFS
20252615 test -z "$as_dir" && as_dir=.
20262616 for ac_exec_ext in '' $ac_executable_extensions; do
2027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20282618 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2619 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20302620 break 2
20312621 fi
20322622 done
20332623 done
2624 IFS=$as_save_IFS
20342625
20352626 fi
20362627 fi
20372628 CC=$ac_cv_prog_CC
20382629 if test -n "$CC"; then
2039 echo "$as_me:$LINENO: result: $CC" >&5
2040 echo "${ECHO_T}$CC" >&6
2041 else
2042 echo "$as_me:$LINENO: result: no" >&5
2043 echo "${ECHO_T}no" >&6
2044 fi
2630 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2631 $as_echo "$CC" >&6; }
2632 else
2633 { $as_echo "$as_me:$LINENO: result: no" >&5
2634 $as_echo "no" >&6; }
2635 fi
2636
20452637
20462638 test -n "$CC" && break
20472639 done
20482640 fi
20492641 if test -z "$CC"; then
20502642 ac_ct_CC=$CC
2051 for ac_prog in cl
2643 for ac_prog in cl.exe
20522644 do
20532645 # Extract the first word of "$ac_prog", so it can be a program name with args.
20542646 set dummy $ac_prog; ac_word=$2
2055 echo "$as_me:$LINENO: checking for $ac_word" >&5
2056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2647 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2648 $as_echo_n "checking for $ac_word... " >&6; }
20572649 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2058 echo $ECHO_N "(cached) $ECHO_C" >&6
2650 $as_echo_n "(cached) " >&6
20592651 else
20602652 if test -n "$ac_ct_CC"; then
20612653 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
20662658 IFS=$as_save_IFS
20672659 test -z "$as_dir" && as_dir=.
20682660 for ac_exec_ext in '' $ac_executable_extensions; do
2069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20702662 ac_cv_prog_ac_ct_CC="$ac_prog"
2071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2663 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20722664 break 2
20732665 fi
20742666 done
20752667 done
2668 IFS=$as_save_IFS
20762669
20772670 fi
20782671 fi
20792672 ac_ct_CC=$ac_cv_prog_ac_ct_CC
20802673 if test -n "$ac_ct_CC"; then
2081 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2082 echo "${ECHO_T}$ac_ct_CC" >&6
2083 else
2084 echo "$as_me:$LINENO: result: no" >&5
2085 echo "${ECHO_T}no" >&6
2086 fi
2674 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2675 $as_echo "$ac_ct_CC" >&6; }
2676 else
2677 { $as_echo "$as_me:$LINENO: result: no" >&5
2678 $as_echo "no" >&6; }
2679 fi
2680
20872681
20882682 test -n "$ac_ct_CC" && break
20892683 done
20902684
2091 CC=$ac_ct_CC
2092 fi
2093
2094 fi
2095
2096
2097 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2685 if test "x$ac_ct_CC" = x; then
2686 CC=""
2687 else
2688 case $cross_compiling:$ac_tool_warned in
2689 yes:)
2690 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2692 ac_tool_warned=yes ;;
2693 esac
2694 CC=$ac_ct_CC
2695 fi
2696 fi
2697
2698 fi
2699
2700
2701 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2703 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
20982704 See \`config.log' for more details." >&5
2099 echo "$as_me: error: no acceptable C compiler found in \$PATH
2705 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
21002706 See \`config.log' for more details." >&2;}
2101 { (exit 1); exit 1; }; }
2707 { (exit 1); exit 1; }; }; }
21022708
21032709 # Provide some information about the compiler.
2104 echo "$as_me:$LINENO:" \
2105 "checking for C compiler version" >&5
2106 ac_compiler=`set X $ac_compile; echo $2`
2107 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2108 (eval $ac_compiler --version </dev/null >&5) 2>&5
2710 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2711 set X $ac_compile
2712 ac_compiler=$2
2713 { (ac_try="$ac_compiler --version >&5"
2714 case "(($ac_try" in
2715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 *) ac_try_echo=$ac_try;;
2717 esac
2718 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2719 $as_echo "$ac_try_echo") >&5
2720 (eval "$ac_compiler --version >&5") 2>&5
21092721 ac_status=$?
2110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112723 (exit $ac_status); }
2112 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2113 (eval $ac_compiler -v </dev/null >&5) 2>&5
2724 { (ac_try="$ac_compiler -v >&5"
2725 case "(($ac_try" in
2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2728 esac
2729 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2730 $as_echo "$ac_try_echo") >&5
2731 (eval "$ac_compiler -v >&5") 2>&5
21142732 ac_status=$?
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162734 (exit $ac_status); }
2117 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2118 (eval $ac_compiler -V </dev/null >&5) 2>&5
2735 { (ac_try="$ac_compiler -V >&5"
2736 case "(($ac_try" in
2737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2739 esac
2740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2741 $as_echo "$ac_try_echo") >&5
2742 (eval "$ac_compiler -V >&5") 2>&5
21192743 ac_status=$?
2120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212745 (exit $ac_status); }
21222746
21232747 cat >conftest.$ac_ext <<_ACEOF
21362760 }
21372761 _ACEOF
21382762 ac_clean_files_save=$ac_clean_files
2139 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2763 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
21402764 # Try to create an executable without -o first, disregard a.out.
21412765 # It will help us diagnose broken compilers, and finding out an intuition
21422766 # of exeext.
2143 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2144 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2145 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2146 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2147 (eval $ac_link_default) 2>&5
2767 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2768 $as_echo_n "checking for C compiler default output file name... " >&6; }
2769 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2770
2771 # The possible output files:
2772 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2773
2774 ac_rmfiles=
2775 for ac_file in $ac_files
2776 do
2777 case $ac_file in
2778 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2779 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2780 esac
2781 done
2782 rm -f $ac_rmfiles
2783
2784 if { (ac_try="$ac_link_default"
2785 case "(($ac_try" in
2786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787 *) ac_try_echo=$ac_try;;
2788 esac
2789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2790 $as_echo "$ac_try_echo") >&5
2791 (eval "$ac_link_default") 2>&5
21482792 ac_status=$?
2149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502794 (exit $ac_status); }; then
2151 # Find the output, starting from the most likely. This scheme is
2152 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2153 # resort.
2154
2155 # Be careful to initialize this variable, since it used to be cached.
2156 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2157 ac_cv_exeext=
2158 # b.out is created by i960 compilers.
2159 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2795 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2796 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2797 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2798 # so that the user can short-circuit this test for compilers unknown to
2799 # Autoconf.
2800 for ac_file in $ac_files ''
21602801 do
21612802 test -f "$ac_file" || continue
21622803 case $ac_file in
2163 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2164 ;;
2165 conftest.$ac_ext )
2166 # This is the source file.
2804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
21672805 ;;
21682806 [ab].out )
21692807 # We found the default executable, but exeext='' is most
21702808 # certainly right.
21712809 break;;
21722810 *.* )
2173 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2174 # FIXME: I believe we export ac_cv_exeext for Libtool,
2175 # but it would be cool to find out if it's true. Does anybody
2176 # maintain Libtool? --akim.
2177 export ac_cv_exeext
2811 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2812 then :; else
2813 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2814 fi
2815 # We set ac_cv_exeext here because the later test for it is not
2816 # safe: cross compilers may not add the suffix if given an `-o'
2817 # argument, so we may need to know it at that point already.
2818 # Even if this section looks crufty: it has the advantage of
2819 # actually working.
21782820 break;;
21792821 * )
21802822 break;;
21812823 esac
21822824 done
2183 else
2184 echo "$as_me: failed program was:" >&5
2825 test "$ac_cv_exeext" = no && ac_cv_exeext=
2826
2827 else
2828 ac_file=''
2829 fi
2830
2831 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2832 $as_echo "$ac_file" >&6; }
2833 if test -z "$ac_file"; then
2834 $as_echo "$as_me: failed program was:" >&5
21852835 sed 's/^/| /' conftest.$ac_ext >&5
21862836
2187 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2837 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2839 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
21882840 See \`config.log' for more details." >&5
2189 echo "$as_me: error: C compiler cannot create executables
2841 $as_echo "$as_me: error: C compiler cannot create executables
21902842 See \`config.log' for more details." >&2;}
2191 { (exit 77); exit 77; }; }
2843 { (exit 77); exit 77; }; }; }
21922844 fi
21932845
21942846 ac_exeext=$ac_cv_exeext
2195 echo "$as_me:$LINENO: result: $ac_file" >&5
2196 echo "${ECHO_T}$ac_file" >&6
2197
2198 # Check the compiler produces executables we can run. If not, either
2847
2848 # Check that the compiler produces executables we can run. If not, either
21992849 # the compiler is broken, or we cross compile.
2200 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2201 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2850 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2851 $as_echo_n "checking whether the C compiler works... " >&6; }
22022852 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
22032853 # If not cross compiling, check that we can run a simple program.
22042854 if test "$cross_compiling" != yes; then
22052855 if { ac_try='./$ac_file'
2206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2207 (eval $ac_try) 2>&5
2856 { (case "(($ac_try" in
2857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2858 *) ac_try_echo=$ac_try;;
2859 esac
2860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2861 $as_echo "$ac_try_echo") >&5
2862 (eval "$ac_try") 2>&5
22082863 ac_status=$?
2209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102865 (exit $ac_status); }; }; then
22112866 cross_compiling=no
22122867 else
22132868 if test "$cross_compiling" = maybe; then
22142869 cross_compiling=yes
22152870 else
2216 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2871 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2873 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
22172874 If you meant to cross compile, use \`--host'.
22182875 See \`config.log' for more details." >&5
2219 echo "$as_me: error: cannot run C compiled programs.
2876 $as_echo "$as_me: error: cannot run C compiled programs.
22202877 If you meant to cross compile, use \`--host'.
22212878 See \`config.log' for more details." >&2;}
2222 { (exit 1); exit 1; }; }
2879 { (exit 1); exit 1; }; }; }
22232880 fi
22242881 fi
22252882 fi
2226 echo "$as_me:$LINENO: result: yes" >&5
2227 echo "${ECHO_T}yes" >&6
2228
2229 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2883 { $as_echo "$as_me:$LINENO: result: yes" >&5
2884 $as_echo "yes" >&6; }
2885
2886 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
22302887 ac_clean_files=$ac_clean_files_save
2231 # Check the compiler produces executables we can run. If not, either
2888 # Check that the compiler produces executables we can run. If not, either
22322889 # the compiler is broken, or we cross compile.
2233 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2234 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2235 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2236 echo "${ECHO_T}$cross_compiling" >&6
2237
2238 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2239 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2241 (eval $ac_link) 2>&5
2890 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2891 $as_echo_n "checking whether we are cross compiling... " >&6; }
2892 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2893 $as_echo "$cross_compiling" >&6; }
2894
2895 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2896 $as_echo_n "checking for suffix of executables... " >&6; }
2897 if { (ac_try="$ac_link"
2898 case "(($ac_try" in
2899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900 *) ac_try_echo=$ac_try;;
2901 esac
2902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2903 $as_echo "$ac_try_echo") >&5
2904 (eval "$ac_link") 2>&5
22422905 ac_status=$?
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442907 (exit $ac_status); }; then
22452908 # If both `conftest.exe' and `conftest' are `present' (well, observable)
22462909 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
22492912 for ac_file in conftest.exe conftest conftest.*; do
22502913 test -f "$ac_file" || continue
22512914 case $ac_file in
2252 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2915 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
22532916 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2254 export ac_cv_exeext
22552917 break;;
22562918 * ) break;;
22572919 esac
22582920 done
22592921 else
2260 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2922 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2924 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
22612925 See \`config.log' for more details." >&5
2262 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2926 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
22632927 See \`config.log' for more details." >&2;}
2264 { (exit 1); exit 1; }; }
2928 { (exit 1); exit 1; }; }; }
22652929 fi
22662930
22672931 rm -f conftest$ac_cv_exeext
2268 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2269 echo "${ECHO_T}$ac_cv_exeext" >&6
2932 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2933 $as_echo "$ac_cv_exeext" >&6; }
22702934
22712935 rm -f conftest.$ac_ext
22722936 EXEEXT=$ac_cv_exeext
22732937 ac_exeext=$EXEEXT
2274 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2275 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2938 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2939 $as_echo_n "checking for suffix of object files... " >&6; }
22762940 if test "${ac_cv_objext+set}" = set; then
2277 echo $ECHO_N "(cached) $ECHO_C" >&6
2941 $as_echo_n "(cached) " >&6
22782942 else
22792943 cat >conftest.$ac_ext <<_ACEOF
22802944 /* confdefs.h. */
22922956 }
22932957 _ACEOF
22942958 rm -f conftest.o conftest.obj
2295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2296 (eval $ac_compile) 2>&5
2959 if { (ac_try="$ac_compile"
2960 case "(($ac_try" in
2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962 *) ac_try_echo=$ac_try;;
2963 esac
2964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2965 $as_echo "$ac_try_echo") >&5
2966 (eval "$ac_compile") 2>&5
22972967 ac_status=$?
2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992969 (exit $ac_status); }; then
2300 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2970 for ac_file in conftest.o conftest.obj conftest.*; do
2971 test -f "$ac_file" || continue;
23012972 case $ac_file in
2302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2973 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
23032974 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
23042975 break;;
23052976 esac
23062977 done
23072978 else
2308 echo "$as_me: failed program was:" >&5
2979 $as_echo "$as_me: failed program was:" >&5
23092980 sed 's/^/| /' conftest.$ac_ext >&5
23102981
2311 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2982 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2984 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
23122985 See \`config.log' for more details." >&5
2313 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2986 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
23142987 See \`config.log' for more details." >&2;}
2315 { (exit 1); exit 1; }; }
2988 { (exit 1); exit 1; }; }; }
23162989 fi
23172990
23182991 rm -f conftest.$ac_cv_objext conftest.$ac_ext
23192992 fi
2320 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2321 echo "${ECHO_T}$ac_cv_objext" >&6
2993 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2994 $as_echo "$ac_cv_objext" >&6; }
23222995 OBJEXT=$ac_cv_objext
23232996 ac_objext=$OBJEXT
2324 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2325 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2997 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2998 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
23262999 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
3000 $as_echo_n "(cached) " >&6
23283001 else
23293002 cat >conftest.$ac_ext <<_ACEOF
23303003 /* confdefs.h. */
23453018 }
23463019 _ACEOF
23473020 rm -f conftest.$ac_objext
2348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2349 (eval $ac_compile) 2>conftest.er1
3021 if { (ac_try="$ac_compile"
3022 case "(($ac_try" in
3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3025 esac
3026 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3027 $as_echo "$ac_try_echo") >&5
3028 (eval "$ac_compile") 2>conftest.er1
23503029 ac_status=$?
23513030 grep -v '^ *+' conftest.er1 >conftest.err
23523031 rm -f conftest.er1
23533032 cat conftest.err >&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); } &&
2356 { ac_try='test -z "$ac_c_werror_flag"
2357 || test ! -s conftest.err'
2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359 (eval $ac_try) 2>&5
2360 ac_status=$?
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; } &&
2363 { ac_try='test -s conftest.$ac_objext'
2364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2365 (eval $ac_try) 2>&5
2366 ac_status=$?
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }; }; then
3033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); } && {
3035 test -z "$ac_c_werror_flag" ||
3036 test ! -s conftest.err
3037 } && test -s conftest.$ac_objext; then
23693038 ac_compiler_gnu=yes
23703039 else
2371 echo "$as_me: failed program was:" >&5
3040 $as_echo "$as_me: failed program was:" >&5
23723041 sed 's/^/| /' conftest.$ac_ext >&5
23733042
2374 ac_compiler_gnu=no
2375 fi
2376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3043 ac_compiler_gnu=no
3044 fi
3045
3046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23773047 ac_cv_c_compiler_gnu=$ac_compiler_gnu
23783048
23793049 fi
2380 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2381 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2382 GCC=`test $ac_compiler_gnu = yes && echo yes`
3050 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3051 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3052 if test $ac_compiler_gnu = yes; then
3053 GCC=yes
3054 else
3055 GCC=
3056 fi
23833057 ac_test_CFLAGS=${CFLAGS+set}
23843058 ac_save_CFLAGS=$CFLAGS
2385 CFLAGS="-g"
2386 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2387 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3059 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3060 $as_echo_n "checking whether $CC accepts -g... " >&6; }
23883061 if test "${ac_cv_prog_cc_g+set}" = set; then
2389 echo $ECHO_N "(cached) $ECHO_C" >&6
2390 else
2391 cat >conftest.$ac_ext <<_ACEOF
3062 $as_echo_n "(cached) " >&6
3063 else
3064 ac_save_c_werror_flag=$ac_c_werror_flag
3065 ac_c_werror_flag=yes
3066 ac_cv_prog_cc_g=no
3067 CFLAGS="-g"
3068 cat >conftest.$ac_ext <<_ACEOF
23923069 /* confdefs.h. */
23933070 _ACEOF
23943071 cat confdefs.h >>conftest.$ac_ext
24043081 }
24053082 _ACEOF
24063083 rm -f conftest.$ac_objext
2407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2408 (eval $ac_compile) 2>conftest.er1
3084 if { (ac_try="$ac_compile"
3085 case "(($ac_try" in
3086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3087 *) ac_try_echo=$ac_try;;
3088 esac
3089 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3090 $as_echo "$ac_try_echo") >&5
3091 (eval "$ac_compile") 2>conftest.er1
24093092 ac_status=$?
24103093 grep -v '^ *+' conftest.er1 >conftest.err
24113094 rm -f conftest.er1
24123095 cat conftest.err >&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); } &&
2415 { ac_try='test -z "$ac_c_werror_flag"
2416 || test ! -s conftest.err'
2417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418 (eval $ac_try) 2>&5
3096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); } && {
3098 test -z "$ac_c_werror_flag" ||
3099 test ! -s conftest.err
3100 } && test -s conftest.$ac_objext; then
3101 ac_cv_prog_cc_g=yes
3102 else
3103 $as_echo "$as_me: failed program was:" >&5
3104 sed 's/^/| /' conftest.$ac_ext >&5
3105
3106 CFLAGS=""
3107 cat >conftest.$ac_ext <<_ACEOF
3108 /* confdefs.h. */
3109 _ACEOF
3110 cat confdefs.h >>conftest.$ac_ext
3111 cat >>conftest.$ac_ext <<_ACEOF
3112 /* end confdefs.h. */
3113
3114 int
3115 main ()
3116 {
3117
3118 ;
3119 return 0;
3120 }
3121 _ACEOF
3122 rm -f conftest.$ac_objext
3123 if { (ac_try="$ac_compile"
3124 case "(($ac_try" in
3125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126 *) ac_try_echo=$ac_try;;
3127 esac
3128 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3129 $as_echo "$ac_try_echo") >&5
3130 (eval "$ac_compile") 2>conftest.er1
24193131 ac_status=$?
2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); }; } &&
2422 { ac_try='test -s conftest.$ac_objext'
2423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424 (eval $ac_try) 2>&5
3132 grep -v '^ *+' conftest.er1 >conftest.err
3133 rm -f conftest.er1
3134 cat conftest.err >&5
3135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136 (exit $ac_status); } && {
3137 test -z "$ac_c_werror_flag" ||
3138 test ! -s conftest.err
3139 } && test -s conftest.$ac_objext; then
3140 :
3141 else
3142 $as_echo "$as_me: failed program was:" >&5
3143 sed 's/^/| /' conftest.$ac_ext >&5
3144
3145 ac_c_werror_flag=$ac_save_c_werror_flag
3146 CFLAGS="-g"
3147 cat >conftest.$ac_ext <<_ACEOF
3148 /* confdefs.h. */
3149 _ACEOF
3150 cat confdefs.h >>conftest.$ac_ext
3151 cat >>conftest.$ac_ext <<_ACEOF
3152 /* end confdefs.h. */
3153
3154 int
3155 main ()
3156 {
3157
3158 ;
3159 return 0;
3160 }
3161 _ACEOF
3162 rm -f conftest.$ac_objext
3163 if { (ac_try="$ac_compile"
3164 case "(($ac_try" in
3165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3167 esac
3168 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3169 $as_echo "$ac_try_echo") >&5
3170 (eval "$ac_compile") 2>conftest.er1
24253171 ac_status=$?
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; }; then
3172 grep -v '^ *+' conftest.er1 >conftest.err
3173 rm -f conftest.er1
3174 cat conftest.err >&5
3175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); } && {
3177 test -z "$ac_c_werror_flag" ||
3178 test ! -s conftest.err
3179 } && test -s conftest.$ac_objext; then
24283180 ac_cv_prog_cc_g=yes
24293181 else
2430 echo "$as_me: failed program was:" >&5
3182 $as_echo "$as_me: failed program was:" >&5
24313183 sed 's/^/| /' conftest.$ac_ext >&5
24323184
2433 ac_cv_prog_cc_g=no
2434 fi
2435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2436 fi
2437 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2438 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3185
3186 fi
3187
3188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3189 fi
3190
3191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192 fi
3193
3194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195 ac_c_werror_flag=$ac_save_c_werror_flag
3196 fi
3197 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3198 $as_echo "$ac_cv_prog_cc_g" >&6; }
24393199 if test "$ac_test_CFLAGS" = set; then
24403200 CFLAGS=$ac_save_CFLAGS
24413201 elif test $ac_cv_prog_cc_g = yes; then
24513211 CFLAGS=
24523212 fi
24533213 fi
2454 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2455 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2456 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2457 echo $ECHO_N "(cached) $ECHO_C" >&6
2458 else
2459 ac_cv_prog_cc_stdc=no
3214 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3215 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3216 if test "${ac_cv_prog_cc_c89+set}" = set; then
3217 $as_echo_n "(cached) " >&6
3218 else
3219 ac_cv_prog_cc_c89=no
24603220 ac_save_CC=$CC
24613221 cat >conftest.$ac_ext <<_ACEOF
24623222 /* confdefs.h. */
24903250 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
24913251 function prototypes and stuff, but not '\xHH' hex character constants.
24923252 These don't provoke an error unfortunately, instead are silently treated
2493 as 'x'. The following induces an error, until -std1 is added to get
3253 as 'x'. The following induces an error, until -std is added to get
24943254 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
24953255 array size at least. It's necessary to write '\x00'==0 to get something
2496 that's true only with -std1. */
3256 that's true only with -std. */
24973257 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3258
3259 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3260 inside strings and character constants. */
3261 #define FOO(x) 'x'
3262 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
24983263
24993264 int test (int i, double x);
25003265 struct s1 {int (*f) (int a);};
25103275 return 0;
25113276 }
25123277 _ACEOF
2513 # Don't try gcc -ansi; that turns off useful extensions and
2514 # breaks some systems' header files.
2515 # AIX -qlanglvl=ansi
2516 # Ultrix and OSF/1 -std1
2517 # HP-UX 10.20 and later -Ae
2518 # HP-UX older versions -Aa -D_HPUX_SOURCE
2519 # SVR4 -Xc -D__EXTENSIONS__
2520 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3278 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3279 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
25213280 do
25223281 CC="$ac_save_CC $ac_arg"
25233282 rm -f conftest.$ac_objext
2524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2525 (eval $ac_compile) 2>conftest.er1
3283 if { (ac_try="$ac_compile"
3284 case "(($ac_try" in
3285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3286 *) ac_try_echo=$ac_try;;
3287 esac
3288 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3289 $as_echo "$ac_try_echo") >&5
3290 (eval "$ac_compile") 2>conftest.er1
25263291 ac_status=$?
25273292 grep -v '^ *+' conftest.er1 >conftest.err
25283293 rm -f conftest.er1
25293294 cat conftest.err >&5
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); } &&
2532 { ac_try='test -z "$ac_c_werror_flag"
2533 || test ! -s conftest.err'
2534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2535 (eval $ac_try) 2>&5
2536 ac_status=$?
2537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538 (exit $ac_status); }; } &&
2539 { ac_try='test -s conftest.$ac_objext'
2540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2541 (eval $ac_try) 2>&5
2542 ac_status=$?
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; }; then
2545 ac_cv_prog_cc_stdc=$ac_arg
2546 break
2547 else
2548 echo "$as_me: failed program was:" >&5
3295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); } && {
3297 test -z "$ac_c_werror_flag" ||
3298 test ! -s conftest.err
3299 } && test -s conftest.$ac_objext; then
3300 ac_cv_prog_cc_c89=$ac_arg
3301 else
3302 $as_echo "$as_me: failed program was:" >&5
25493303 sed 's/^/| /' conftest.$ac_ext >&5
25503304
2551 fi
2552 rm -f conftest.err conftest.$ac_objext
3305
3306 fi
3307
3308 rm -f core conftest.err conftest.$ac_objext
3309 test "x$ac_cv_prog_cc_c89" != "xno" && break
25533310 done
2554 rm -f conftest.$ac_ext conftest.$ac_objext
3311 rm -f conftest.$ac_ext
25553312 CC=$ac_save_CC
25563313
25573314 fi
2558
2559 case "x$ac_cv_prog_cc_stdc" in
2560 x|xno)
2561 echo "$as_me:$LINENO: result: none needed" >&5
2562 echo "${ECHO_T}none needed" >&6 ;;
3315 # AC_CACHE_VAL
3316 case "x$ac_cv_prog_cc_c89" in
3317 x)
3318 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3319 $as_echo "none needed" >&6; } ;;
3320 xno)
3321 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3322 $as_echo "unsupported" >&6; } ;;
25633323 *)
2564 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2565 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2566 CC="$CC $ac_cv_prog_cc_stdc" ;;
2567 esac
2568
2569 # Some people use a C++ compiler to compile C. Since we use `exit',
2570 # in C++ we need to declare it. In case someone uses the same compiler
2571 # for both compiling C and C++ we need to have the C++ compiler decide
2572 # the declaration of exit, since it's the most demanding environment.
2573 cat >conftest.$ac_ext <<_ACEOF
2574 #ifndef __cplusplus
2575 choke me
2576 #endif
2577 _ACEOF
2578 rm -f conftest.$ac_objext
2579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2580 (eval $ac_compile) 2>conftest.er1
2581 ac_status=$?
2582 grep -v '^ *+' conftest.er1 >conftest.err
2583 rm -f conftest.er1
2584 cat conftest.err >&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); } &&
2587 { ac_try='test -z "$ac_c_werror_flag"
2588 || test ! -s conftest.err'
2589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2590 (eval $ac_try) 2>&5
2591 ac_status=$?
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; } &&
2594 { ac_try='test -s conftest.$ac_objext'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 (eval $ac_try) 2>&5
2597 ac_status=$?
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; }; then
2600 for ac_declaration in \
2601 '' \
2602 'extern "C" void std::exit (int) throw (); using std::exit;' \
2603 'extern "C" void std::exit (int); using std::exit;' \
2604 'extern "C" void exit (int) throw ();' \
2605 'extern "C" void exit (int);' \
2606 'void exit (int);'
2607 do
2608 cat >conftest.$ac_ext <<_ACEOF
2609 /* confdefs.h. */
2610 _ACEOF
2611 cat confdefs.h >>conftest.$ac_ext
2612 cat >>conftest.$ac_ext <<_ACEOF
2613 /* end confdefs.h. */
2614 $ac_declaration
2615 #include <stdlib.h>
2616 int
2617 main ()
2618 {
2619 exit (42);
2620 ;
2621 return 0;
2622 }
2623 _ACEOF
2624 rm -f conftest.$ac_objext
2625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2626 (eval $ac_compile) 2>conftest.er1
2627 ac_status=$?
2628 grep -v '^ *+' conftest.er1 >conftest.err
2629 rm -f conftest.er1
2630 cat conftest.err >&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); } &&
2633 { ac_try='test -z "$ac_c_werror_flag"
2634 || test ! -s conftest.err'
2635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2636 (eval $ac_try) 2>&5
2637 ac_status=$?
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }; } &&
2640 { ac_try='test -s conftest.$ac_objext'
2641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2642 (eval $ac_try) 2>&5
2643 ac_status=$?
2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); }; }; then
2646 :
2647 else
2648 echo "$as_me: failed program was:" >&5
2649 sed 's/^/| /' conftest.$ac_ext >&5
2650
2651 continue
2652 fi
2653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2654 cat >conftest.$ac_ext <<_ACEOF
2655 /* confdefs.h. */
2656 _ACEOF
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2660 $ac_declaration
2661 int
2662 main ()
2663 {
2664 exit (42);
2665 ;
2666 return 0;
2667 }
2668 _ACEOF
2669 rm -f conftest.$ac_objext
2670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2671 (eval $ac_compile) 2>conftest.er1
2672 ac_status=$?
2673 grep -v '^ *+' conftest.er1 >conftest.err
2674 rm -f conftest.er1
2675 cat conftest.err >&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); } &&
2678 { ac_try='test -z "$ac_c_werror_flag"
2679 || test ! -s conftest.err'
2680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2681 (eval $ac_try) 2>&5
2682 ac_status=$?
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); }; } &&
2685 { ac_try='test -s conftest.$ac_objext'
2686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2687 (eval $ac_try) 2>&5
2688 ac_status=$?
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); }; }; then
2691 break
2692 else
2693 echo "$as_me: failed program was:" >&5
2694 sed 's/^/| /' conftest.$ac_ext >&5
2695
2696 fi
2697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2698 done
2699 rm -f conftest*
2700 if test -n "$ac_declaration"; then
2701 echo '#ifdef __cplusplus' >>confdefs.h
2702 echo $ac_declaration >>confdefs.h
2703 echo '#endif' >>confdefs.h
2704 fi
2705
2706 else
2707 echo "$as_me: failed program was:" >&5
2708 sed 's/^/| /' conftest.$ac_ext >&5
2709
2710 fi
2711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3324 CC="$CC $ac_cv_prog_cc_c89"
3325 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3326 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3327 esac
3328
3329
27123330 ac_ext=c
27133331 ac_cpp='$CPP $CPPFLAGS'
27143332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27163334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27173335 DEPDIR="${am__leading_dot}deps"
27183336
2719 ac_config_commands="$ac_config_commands depfiles"
3337 ac_config_commands="$ac_config_commands depfiles"
27203338
27213339
27223340 am_make=${MAKE-make}
27233341 cat > confinc << 'END'
27243342 am__doit:
2725 @echo done
3343 @echo this is the am__doit target
27263344 .PHONY: am__doit
27273345 END
27283346 # If we don't find an include directive, just comment out the code.
2729 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2730 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3347 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3348 $as_echo_n "checking for style of include used by $am_make... " >&6; }
27313349 am__include="#"
27323350 am__quote=
27333351 _am_result=none
27343352 # First try GNU make style include.
27353353 echo "include confinc" > confmf
2736 # We grep out `Entering directory' and `Leaving directory'
2737 # messages which can occur if `w' ends up in MAKEFLAGS.
2738 # In particular we don't look at `^make:' because GNU make might
2739 # be invoked under some other name (usually "gmake"), in which
2740 # case it prints its new name instead of `make'.
2741 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2742 am__include=include
2743 am__quote=
2744 _am_result=GNU
2745 fi
3354 # Ignore all kinds of additional output from `make'.
3355 case `$am_make -s -f confmf 2> /dev/null` in #(
3356 *the\ am__doit\ target*)
3357 am__include=include
3358 am__quote=
3359 _am_result=GNU
3360 ;;
3361 esac
27463362 # Now try BSD make style include.
27473363 if test "$am__include" = "#"; then
27483364 echo '.include "confinc"' > confmf
2749 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2750 am__include=.include
2751 am__quote="\""
2752 _am_result=BSD
2753 fi
2754 fi
2755
2756
2757 echo "$as_me:$LINENO: result: $_am_result" >&5
2758 echo "${ECHO_T}$_am_result" >&6
3365 case `$am_make -s -f confmf 2> /dev/null` in #(
3366 *the\ am__doit\ target*)
3367 am__include=.include
3368 am__quote="\""
3369 _am_result=BSD
3370 ;;
3371 esac
3372 fi
3373
3374
3375 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3376 $as_echo "$_am_result" >&6; }
27593377 rm -f confinc confmf
27603378
2761 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3379 # Check whether --enable-dependency-tracking was given.
27623380 if test "${enable_dependency_tracking+set}" = set; then
2763 enableval="$enable_dependency_tracking"
2764
2765 fi;
3381 enableval=$enable_dependency_tracking;
3382 fi
3383
27663384 if test "x$enable_dependency_tracking" != xno; then
27673385 am_depcomp="$ac_aux_dir/depcomp"
27683386 AMDEPBACKSLASH='\'
27693387 fi
2770
2771
2772 if test "x$enable_dependency_tracking" != xno; then
3388 if test "x$enable_dependency_tracking" != xno; then
27733389 AMDEP_TRUE=
27743390 AMDEP_FALSE='#'
27753391 else
27793395
27803396
27813397
2782
27833398 depcc="$CC" am_compiler_list=
27843399
2785 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2786 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3400 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3401 $as_echo_n "checking dependency style of $depcc... " >&6; }
27873402 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2788 echo $ECHO_N "(cached) $ECHO_C" >&6
3403 $as_echo_n "(cached) " >&6
27893404 else
27903405 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
27913406 # We make a subdir and do the tests there. Otherwise we can end up
28103425 if test "$am_compiler_list" = ""; then
28113426 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
28123427 fi
3428 am__universal=false
3429 case " $depcc " in #(
3430 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3431 esac
3432
28133433 for depmode in $am_compiler_list; do
28143434 # Setup a source with many dependencies, because some compilers
28153435 # like to wrap large dependency lists on column 80 (with \), and
28273447 done
28283448 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
28293449
3450 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3451 # mode. It turns out that the SunPro C++ compiler does not properly
3452 # handle `-M -o', and we need to detect this. Also, some Intel
3453 # versions had trouble with output in subdirs
3454 am__obj=sub/conftest.${OBJEXT-o}
3455 am__minus_obj="-o $am__obj"
28303456 case $depmode in
3457 gcc)
3458 # This depmode causes a compiler race in universal mode.
3459 test "$am__universal" = false || continue
3460 ;;
28313461 nosideeffect)
28323462 # after this tag, mechanisms are not by side-effect, so they'll
28333463 # only be used when explicitly requested
28373467 break
28383468 fi
28393469 ;;
3470 msvisualcpp | msvcmsys)
3471 # This compiler won't grok `-c -o', but also, the minuso test has
3472 # not run yet. These depmodes are late enough in the game, and
3473 # so weak that their functioning should not be impacted.
3474 am__obj=conftest.${OBJEXT-o}
3475 am__minus_obj=
3476 ;;
28403477 none) break ;;
28413478 esac
2842 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2843 # mode. It turns out that the SunPro C++ compiler does not properly
2844 # handle `-M -o', and we need to detect this.
28453479 if depmode=$depmode \
2846 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3480 source=sub/conftest.c object=$am__obj \
28473481 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2848 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3482 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
28493483 >/dev/null 2>conftest.err &&
3484 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
28503485 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2851 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3486 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
28523487 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
28533488 # icc doesn't choke on unknown options, it will just issue warnings
28543489 # or remarks (even with -Werror). So we grep stderr for any message
28723507 fi
28733508
28743509 fi
2875 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2876 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3510 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3511 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
28773512 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
28783513
2879
2880
2881 if
3514 if
28823515 test "x$enable_dependency_tracking" != xno \
28833516 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
28843517 am__fastdepCC_TRUE=
28863519 else
28873520 am__fastdepCC_TRUE='#'
28883521 am__fastdepCC_FALSE=
3522 fi
3523
3524
3525 if test "x$CC" != xcc; then
3526 { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3527 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3528 else
3529 { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3530 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3531 fi
3532 set dummy $CC; ac_cc=`$as_echo "$2" |
3533 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3534 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3535 $as_echo_n "(cached) " >&6
3536 else
3537 cat >conftest.$ac_ext <<_ACEOF
3538 /* confdefs.h. */
3539 _ACEOF
3540 cat confdefs.h >>conftest.$ac_ext
3541 cat >>conftest.$ac_ext <<_ACEOF
3542 /* end confdefs.h. */
3543
3544 int
3545 main ()
3546 {
3547
3548 ;
3549 return 0;
3550 }
3551 _ACEOF
3552 # Make sure it works both with $CC and with simple cc.
3553 # We do the test twice because some compilers refuse to overwrite an
3554 # existing .o file with -o, though they will create one.
3555 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3556 rm -f conftest2.*
3557 if { (case "(($ac_try" in
3558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3559 *) ac_try_echo=$ac_try;;
3560 esac
3561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3562 $as_echo "$ac_try_echo") >&5
3563 (eval "$ac_try") 2>&5
3564 ac_status=$?
3565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); } &&
3567 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3569 *) ac_try_echo=$ac_try;;
3570 esac
3571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3572 $as_echo "$ac_try_echo") >&5
3573 (eval "$ac_try") 2>&5
3574 ac_status=$?
3575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576 (exit $ac_status); };
3577 then
3578 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3579 if test "x$CC" != xcc; then
3580 # Test first that cc exists at all.
3581 if { ac_try='cc -c conftest.$ac_ext >&5'
3582 { (case "(($ac_try" in
3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584 *) ac_try_echo=$ac_try;;
3585 esac
3586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3587 $as_echo "$ac_try_echo") >&5
3588 (eval "$ac_try") 2>&5
3589 ac_status=$?
3590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); }; }; then
3592 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3593 rm -f conftest2.*
3594 if { (case "(($ac_try" in
3595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3596 *) ac_try_echo=$ac_try;;
3597 esac
3598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3599 $as_echo "$ac_try_echo") >&5
3600 (eval "$ac_try") 2>&5
3601 ac_status=$?
3602 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); } &&
3604 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3606 *) ac_try_echo=$ac_try;;
3607 esac
3608 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3609 $as_echo "$ac_try_echo") >&5
3610 (eval "$ac_try") 2>&5
3611 ac_status=$?
3612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); };
3614 then
3615 # cc works too.
3616 :
3617 else
3618 # cc exists but doesn't like -o.
3619 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3620 fi
3621 fi
3622 fi
3623 else
3624 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3625 fi
3626 rm -f core conftest*
3627
3628 fi
3629 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3630 { $as_echo "$as_me:$LINENO: result: yes" >&5
3631 $as_echo "yes" >&6; }
3632 else
3633 { $as_echo "$as_me:$LINENO: result: no" >&5
3634 $as_echo "no" >&6; }
3635
3636 cat >>confdefs.h <<\_ACEOF
3637 #define NO_MINUS_C_MINUS_O 1
3638 _ACEOF
3639
3640 fi
3641
3642 # FIXME: we rely on the cache variable name because
3643 # there is no other way.
3644 set dummy $CC
3645 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3646 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3647 if test "$am_t" != yes; then
3648 # Losing compiler, so override with the script.
3649 # FIXME: It is wrong to rewrite CC.
3650 # But if we don't then we get into trouble of one sort or another.
3651 # A longer-term fix would be to have automake use am__CC in this case,
3652 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3653 CC="$am_aux_dir/compile $CC"
28893654 fi
28903655
28913656
28973662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28983663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28993664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2900 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2901 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3665 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3666 $as_echo_n "checking how to run the C preprocessor... " >&6; }
29023667 # On Suns, sometimes $CPP names a directory.
29033668 if test -n "$CPP" && test -d "$CPP"; then
29043669 CPP=
29053670 fi
29063671 if test -z "$CPP"; then
29073672 if test "${ac_cv_prog_CPP+set}" = set; then
2908 echo $ECHO_N "(cached) $ECHO_C" >&6
3673 $as_echo_n "(cached) " >&6
29093674 else
29103675 # Double quotes because CPP needs to be expanded
29113676 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
29323697 #endif
29333698 Syntax error
29343699 _ACEOF
2935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3700 if { (ac_try="$ac_cpp conftest.$ac_ext"
3701 case "(($ac_try" in
3702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3703 *) ac_try_echo=$ac_try;;
3704 esac
3705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3706 $as_echo "$ac_try_echo") >&5
3707 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29373708 ac_status=$?
29383709 grep -v '^ *+' conftest.er1 >conftest.err
29393710 rm -f conftest.er1
29403711 cat conftest.err >&5
2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942 (exit $ac_status); } >/dev/null; then
2943 if test -s conftest.err; then
2944 ac_cpp_err=$ac_c_preproc_warn_flag
2945 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2946 else
2947 ac_cpp_err=
2948 fi
2949 else
2950 ac_cpp_err=yes
2951 fi
2952 if test -z "$ac_cpp_err"; then
3712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); } >/dev/null && {
3714 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3715 test ! -s conftest.err
3716 }; then
29533717 :
29543718 else
2955 echo "$as_me: failed program was:" >&5
3719 $as_echo "$as_me: failed program was:" >&5
29563720 sed 's/^/| /' conftest.$ac_ext >&5
29573721
29583722 # Broken: fails on valid input.
29593723 continue
29603724 fi
3725
29613726 rm -f conftest.err conftest.$ac_ext
29623727
2963 # OK, works on sane cases. Now check whether non-existent headers
3728 # OK, works on sane cases. Now check whether nonexistent headers
29643729 # can be detected and how.
29653730 cat >conftest.$ac_ext <<_ACEOF
29663731 /* confdefs.h. */
29703735 /* end confdefs.h. */
29713736 #include <ac_nonexistent.h>
29723737 _ACEOF
2973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3738 if { (ac_try="$ac_cpp conftest.$ac_ext"
3739 case "(($ac_try" in
3740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3741 *) ac_try_echo=$ac_try;;
3742 esac
3743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3744 $as_echo "$ac_try_echo") >&5
3745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29753746 ac_status=$?
29763747 grep -v '^ *+' conftest.er1 >conftest.err
29773748 rm -f conftest.er1
29783749 cat conftest.err >&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); } >/dev/null; then
2981 if test -s conftest.err; then
2982 ac_cpp_err=$ac_c_preproc_warn_flag
2983 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2984 else
2985 ac_cpp_err=
2986 fi
2987 else
2988 ac_cpp_err=yes
2989 fi
2990 if test -z "$ac_cpp_err"; then
3750 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); } >/dev/null && {
3752 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3753 test ! -s conftest.err
3754 }; then
29913755 # Broken: success on invalid input.
29923756 continue
29933757 else
2994 echo "$as_me: failed program was:" >&5
3758 $as_echo "$as_me: failed program was:" >&5
29953759 sed 's/^/| /' conftest.$ac_ext >&5
29963760
29973761 # Passes both tests.
29983762 ac_preproc_ok=:
29993763 break
30003764 fi
3765
30013766 rm -f conftest.err conftest.$ac_ext
30023767
30033768 done
30153780 else
30163781 ac_cv_prog_CPP=$CPP
30173782 fi
3018 echo "$as_me:$LINENO: result: $CPP" >&5
3019 echo "${ECHO_T}$CPP" >&6
3783 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3784 $as_echo "$CPP" >&6; }
30203785 ac_preproc_ok=false
30213786 for ac_c_preproc_warn_flag in '' yes
30223787 do
30393804 #endif
30403805 Syntax error
30413806 _ACEOF
3042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3043 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3807 if { (ac_try="$ac_cpp conftest.$ac_ext"
3808 case "(($ac_try" in
3809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3810 *) ac_try_echo=$ac_try;;
3811 esac
3812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3813 $as_echo "$ac_try_echo") >&5
3814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30443815 ac_status=$?
30453816 grep -v '^ *+' conftest.er1 >conftest.err
30463817 rm -f conftest.er1
30473818 cat conftest.err >&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); } >/dev/null; then
3050 if test -s conftest.err; then
3051 ac_cpp_err=$ac_c_preproc_warn_flag
3052 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3053 else
3054 ac_cpp_err=
3055 fi
3056 else
3057 ac_cpp_err=yes
3058 fi
3059 if test -z "$ac_cpp_err"; then
3819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); } >/dev/null && {
3821 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3822 test ! -s conftest.err
3823 }; then
30603824 :
30613825 else
3062 echo "$as_me: failed program was:" >&5
3826 $as_echo "$as_me: failed program was:" >&5
30633827 sed 's/^/| /' conftest.$ac_ext >&5
30643828
30653829 # Broken: fails on valid input.
30663830 continue
30673831 fi
3832
30683833 rm -f conftest.err conftest.$ac_ext
30693834
3070 # OK, works on sane cases. Now check whether non-existent headers
3835 # OK, works on sane cases. Now check whether nonexistent headers
30713836 # can be detected and how.
30723837 cat >conftest.$ac_ext <<_ACEOF
30733838 /* confdefs.h. */
30773842 /* end confdefs.h. */
30783843 #include <ac_nonexistent.h>
30793844 _ACEOF
3080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3081 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3845 if { (ac_try="$ac_cpp conftest.$ac_ext"
3846 case "(($ac_try" in
3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3849 esac
3850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3851 $as_echo "$ac_try_echo") >&5
3852 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30823853 ac_status=$?
30833854 grep -v '^ *+' conftest.er1 >conftest.err
30843855 rm -f conftest.er1
30853856 cat conftest.err >&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); } >/dev/null; then
3088 if test -s conftest.err; then
3089 ac_cpp_err=$ac_c_preproc_warn_flag
3090 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3091 else
3092 ac_cpp_err=
3093 fi
3094 else
3095 ac_cpp_err=yes
3096 fi
3097 if test -z "$ac_cpp_err"; then
3857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); } >/dev/null && {
3859 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3860 test ! -s conftest.err
3861 }; then
30983862 # Broken: success on invalid input.
30993863 continue
31003864 else
3101 echo "$as_me: failed program was:" >&5
3865 $as_echo "$as_me: failed program was:" >&5
31023866 sed 's/^/| /' conftest.$ac_ext >&5
31033867
31043868 # Passes both tests.
31053869 ac_preproc_ok=:
31063870 break
31073871 fi
3872
31083873 rm -f conftest.err conftest.$ac_ext
31093874
31103875 done
31133878 if $ac_preproc_ok; then
31143879 :
31153880 else
3116 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3881 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3883 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
31173884 See \`config.log' for more details." >&5
3118 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3885 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
31193886 See \`config.log' for more details." >&2;}
3120 { (exit 1); exit 1; }; }
3887 { (exit 1); exit 1; }; }; }
31213888 fi
31223889
31233890 ac_ext=c
31273894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31283895
31293896
3130 echo "$as_me:$LINENO: checking for egrep" >&5
3131 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3132 if test "${ac_cv_prog_egrep+set}" = set; then
3133 echo $ECHO_N "(cached) $ECHO_C" >&6
3134 else
3135 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3136 then ac_cv_prog_egrep='grep -E'
3137 else ac_cv_prog_egrep='egrep'
3897 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3898 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3899 if test "${ac_cv_path_GREP+set}" = set; then
3900 $as_echo_n "(cached) " >&6
3901 else
3902 if test -z "$GREP"; then
3903 ac_path_GREP_found=false
3904 # Loop through the user's path and test for each of PROGNAME-LIST
3905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3906 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3907 do
3908 IFS=$as_save_IFS
3909 test -z "$as_dir" && as_dir=.
3910 for ac_prog in grep ggrep; do
3911 for ac_exec_ext in '' $ac_executable_extensions; do
3912 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3913 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3914 # Check for GNU ac_path_GREP and select it if it is found.
3915 # Check for GNU $ac_path_GREP
3916 case `"$ac_path_GREP" --version 2>&1` in
3917 *GNU*)
3918 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3919 *)
3920 ac_count=0
3921 $as_echo_n 0123456789 >"conftest.in"
3922 while :
3923 do
3924 cat "conftest.in" "conftest.in" >"conftest.tmp"
3925 mv "conftest.tmp" "conftest.in"
3926 cp "conftest.in" "conftest.nl"
3927 $as_echo 'GREP' >> "conftest.nl"
3928 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3929 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3930 ac_count=`expr $ac_count + 1`
3931 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3932 # Best one so far, save it but keep looking for a better one
3933 ac_cv_path_GREP="$ac_path_GREP"
3934 ac_path_GREP_max=$ac_count
31383935 fi
3139 fi
3140 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3141 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3142 EGREP=$ac_cv_prog_egrep
3143
3144
3145 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3146 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3936 # 10*(2^10) chars as input seems more than enough
3937 test $ac_count -gt 10 && break
3938 done
3939 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3940 esac
3941
3942 $ac_path_GREP_found && break 3
3943 done
3944 done
3945 done
3946 IFS=$as_save_IFS
3947 if test -z "$ac_cv_path_GREP"; then
3948 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3949 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3950 { (exit 1); exit 1; }; }
3951 fi
3952 else
3953 ac_cv_path_GREP=$GREP
3954 fi
3955
3956 fi
3957 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3958 $as_echo "$ac_cv_path_GREP" >&6; }
3959 GREP="$ac_cv_path_GREP"
3960
3961
3962 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3963 $as_echo_n "checking for egrep... " >&6; }
3964 if test "${ac_cv_path_EGREP+set}" = set; then
3965 $as_echo_n "(cached) " >&6
3966 else
3967 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3968 then ac_cv_path_EGREP="$GREP -E"
3969 else
3970 if test -z "$EGREP"; then
3971 ac_path_EGREP_found=false
3972 # Loop through the user's path and test for each of PROGNAME-LIST
3973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3974 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3975 do
3976 IFS=$as_save_IFS
3977 test -z "$as_dir" && as_dir=.
3978 for ac_prog in egrep; do
3979 for ac_exec_ext in '' $ac_executable_extensions; do
3980 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3981 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3982 # Check for GNU ac_path_EGREP and select it if it is found.
3983 # Check for GNU $ac_path_EGREP
3984 case `"$ac_path_EGREP" --version 2>&1` in
3985 *GNU*)
3986 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3987 *)
3988 ac_count=0
3989 $as_echo_n 0123456789 >"conftest.in"
3990 while :
3991 do
3992 cat "conftest.in" "conftest.in" >"conftest.tmp"
3993 mv "conftest.tmp" "conftest.in"
3994 cp "conftest.in" "conftest.nl"
3995 $as_echo 'EGREP' >> "conftest.nl"
3996 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3997 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3998 ac_count=`expr $ac_count + 1`
3999 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4000 # Best one so far, save it but keep looking for a better one
4001 ac_cv_path_EGREP="$ac_path_EGREP"
4002 ac_path_EGREP_max=$ac_count
4003 fi
4004 # 10*(2^10) chars as input seems more than enough
4005 test $ac_count -gt 10 && break
4006 done
4007 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4008 esac
4009
4010 $ac_path_EGREP_found && break 3
4011 done
4012 done
4013 done
4014 IFS=$as_save_IFS
4015 if test -z "$ac_cv_path_EGREP"; then
4016 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4017 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4018 { (exit 1); exit 1; }; }
4019 fi
4020 else
4021 ac_cv_path_EGREP=$EGREP
4022 fi
4023
4024 fi
4025 fi
4026 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4027 $as_echo "$ac_cv_path_EGREP" >&6; }
4028 EGREP="$ac_cv_path_EGREP"
4029
4030
4031 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4032 $as_echo_n "checking for ANSI C header files... " >&6; }
31474033 if test "${ac_cv_header_stdc+set}" = set; then
3148 echo $ECHO_N "(cached) $ECHO_C" >&6
4034 $as_echo_n "(cached) " >&6
31494035 else
31504036 cat >conftest.$ac_ext <<_ACEOF
31514037 /* confdefs.h. */
31674053 }
31684054 _ACEOF
31694055 rm -f conftest.$ac_objext
3170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3171 (eval $ac_compile) 2>conftest.er1
4056 if { (ac_try="$ac_compile"
4057 case "(($ac_try" in
4058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059 *) ac_try_echo=$ac_try;;
4060 esac
4061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4062 $as_echo "$ac_try_echo") >&5
4063 (eval "$ac_compile") 2>conftest.er1
31724064 ac_status=$?
31734065 grep -v '^ *+' conftest.er1 >conftest.err
31744066 rm -f conftest.er1
31754067 cat conftest.err >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); } &&
3178 { ac_try='test -z "$ac_c_werror_flag"
3179 || test ! -s conftest.err'
3180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3181 (eval $ac_try) 2>&5
3182 ac_status=$?
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); }; } &&
3185 { ac_try='test -s conftest.$ac_objext'
3186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3187 (eval $ac_try) 2>&5
3188 ac_status=$?
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); }; }; then
4068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); } && {
4070 test -z "$ac_c_werror_flag" ||
4071 test ! -s conftest.err
4072 } && test -s conftest.$ac_objext; then
31914073 ac_cv_header_stdc=yes
31924074 else
3193 echo "$as_me: failed program was:" >&5
4075 $as_echo "$as_me: failed program was:" >&5
31944076 sed 's/^/| /' conftest.$ac_ext >&5
31954077
3196 ac_cv_header_stdc=no
3197 fi
3198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4078 ac_cv_header_stdc=no
4079 fi
4080
4081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31994082
32004083 if test $ac_cv_header_stdc = yes; then
32014084 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
32514134 cat >>conftest.$ac_ext <<_ACEOF
32524135 /* end confdefs.h. */
32534136 #include <ctype.h>
4137 #include <stdlib.h>
32544138 #if ((' ' & 0x0FF) == 0x020)
32554139 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
32564140 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
32704154 for (i = 0; i < 256; i++)
32714155 if (XOR (islower (i), ISLOWER (i))
32724156 || toupper (i) != TOUPPER (i))
3273 exit(2);
3274 exit (0);
4157 return 2;
4158 return 0;
32754159 }
32764160 _ACEOF
32774161 rm -f conftest$ac_exeext
3278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3279 (eval $ac_link) 2>&5
4162 if { (ac_try="$ac_link"
4163 case "(($ac_try" in
4164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4165 *) ac_try_echo=$ac_try;;
4166 esac
4167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4168 $as_echo "$ac_try_echo") >&5
4169 (eval "$ac_link") 2>&5
32804170 ac_status=$?
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824172 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3284 (eval $ac_try) 2>&5
4173 { (case "(($ac_try" in
4174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175 *) ac_try_echo=$ac_try;;
4176 esac
4177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4178 $as_echo "$ac_try_echo") >&5
4179 (eval "$ac_try") 2>&5
32854180 ac_status=$?
3286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874182 (exit $ac_status); }; }; then
32884183 :
32894184 else
3290 echo "$as_me: program exited with status $ac_status" >&5
3291 echo "$as_me: failed program was:" >&5
4185 $as_echo "$as_me: program exited with status $ac_status" >&5
4186 $as_echo "$as_me: failed program was:" >&5
32924187 sed 's/^/| /' conftest.$ac_ext >&5
32934188
32944189 ( exit $ac_status )
32954190 ac_cv_header_stdc=no
32964191 fi
3297 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3298 fi
3299 fi
3300 fi
3301 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3302 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4192 rm -rf conftest.dSYM
4193 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4194 fi
4195
4196
4197 fi
4198 fi
4199 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4200 $as_echo "$ac_cv_header_stdc" >&6; }
33034201 if test $ac_cv_header_stdc = yes; then
33044202
33054203 cat >>confdefs.h <<\_ACEOF
33104208
33114209
33124210
3313 echo "$as_me:$LINENO: checking for sin in -lm" >&5
3314 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
4211 { $as_echo "$as_me:$LINENO: checking for sin in -lm" >&5
4212 $as_echo_n "checking for sin in -lm... " >&6; }
33154213 if test "${ac_cv_lib_m_sin+set}" = set; then
3316 echo $ECHO_N "(cached) $ECHO_C" >&6
4214 $as_echo_n "(cached) " >&6
33174215 else
33184216 ac_check_lib_save_LIBS=$LIBS
33194217 LIBS="-lm $LIBS"
33244222 cat >>conftest.$ac_ext <<_ACEOF
33254223 /* end confdefs.h. */
33264224
3327 /* Override any gcc2 internal prototype to avoid an error. */
4225 /* Override any GCC internal prototype to avoid an error.
4226 Use char because int might match the return type of a GCC
4227 builtin and then its argument prototype would still apply. */
33284228 #ifdef __cplusplus
33294229 extern "C"
33304230 #endif
3331 /* We use char because int might match the return type of a gcc2
3332 builtin and then its argument prototype would still apply. */
33334231 char sin ();
33344232 int
33354233 main ()
33364234 {
3337 sin ();
4235 return sin ();
33384236 ;
33394237 return 0;
33404238 }
33414239 _ACEOF
33424240 rm -f conftest.$ac_objext conftest$ac_exeext
3343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3344 (eval $ac_link) 2>conftest.er1
4241 if { (ac_try="$ac_link"
4242 case "(($ac_try" in
4243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4244 *) ac_try_echo=$ac_try;;
4245 esac
4246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4247 $as_echo "$ac_try_echo") >&5
4248 (eval "$ac_link") 2>conftest.er1
33454249 ac_status=$?
33464250 grep -v '^ *+' conftest.er1 >conftest.err
33474251 rm -f conftest.er1
33484252 cat conftest.err >&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); } &&
3351 { ac_try='test -z "$ac_c_werror_flag"
3352 || test ! -s conftest.err'
3353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3354 (eval $ac_try) 2>&5
3355 ac_status=$?
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); }; } &&
3358 { ac_try='test -s conftest$ac_exeext'
3359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3360 (eval $ac_try) 2>&5
3361 ac_status=$?
3362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363 (exit $ac_status); }; }; then
4253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254 (exit $ac_status); } && {
4255 test -z "$ac_c_werror_flag" ||
4256 test ! -s conftest.err
4257 } && test -s conftest$ac_exeext && {
4258 test "$cross_compiling" = yes ||
4259 $as_test_x conftest$ac_exeext
4260 }; then
33644261 ac_cv_lib_m_sin=yes
33654262 else
3366 echo "$as_me: failed program was:" >&5
4263 $as_echo "$as_me: failed program was:" >&5
33674264 sed 's/^/| /' conftest.$ac_ext >&5
33684265
3369 ac_cv_lib_m_sin=no
3370 fi
3371 rm -f conftest.err conftest.$ac_objext \
4266 ac_cv_lib_m_sin=no
4267 fi
4268
4269 rm -rf conftest.dSYM
4270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33724271 conftest$ac_exeext conftest.$ac_ext
33734272 LIBS=$ac_check_lib_save_LIBS
33744273 fi
3375 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
3376 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
3377 if test $ac_cv_lib_m_sin = yes; then
4274 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
4275 $as_echo "$ac_cv_lib_m_sin" >&6; }
4276 if test "x$ac_cv_lib_m_sin" = x""yes; then
33784277 cat >>confdefs.h <<_ACEOF
33794278 #define HAVE_LIBM 1
33804279 _ACEOF
33864285
33874286 for ac_func in snprintf
33884287 do
3389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3390 echo "$as_me:$LINENO: checking for $ac_func" >&5
3391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3392 if eval "test \"\${$as_ac_var+set}\" = set"; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4289 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4290 $as_echo_n "checking for $ac_func... " >&6; }
4291 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4292 $as_echo_n "(cached) " >&6
33944293 else
33954294 cat >conftest.$ac_ext <<_ACEOF
33964295 /* confdefs.h. */
34154314
34164315 #undef $ac_func
34174316
3418 /* Override any gcc2 internal prototype to avoid an error. */
4317 /* Override any GCC internal prototype to avoid an error.
4318 Use char because int might match the return type of a GCC
4319 builtin and then its argument prototype would still apply. */
34194320 #ifdef __cplusplus
34204321 extern "C"
3421 {
34224322 #endif
3423 /* We use char because int might match the return type of a gcc2
3424 builtin and then its argument prototype would still apply. */
34254323 char $ac_func ();
34264324 /* The GNU C library defines this for functions which it implements
34274325 to always fail with ENOSYS. Some functions are actually named
34284326 something starting with __ and the normal name is an alias. */
3429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4327 #if defined __stub_$ac_func || defined __stub___$ac_func
34304328 choke me
3431 #else
3432 char (*f) () = $ac_func;
3433 #endif
3434 #ifdef __cplusplus
3435 }
34364329 #endif
34374330
34384331 int
34394332 main ()
34404333 {
3441 return f != $ac_func;
4334 return $ac_func ();
34424335 ;
34434336 return 0;
34444337 }
34454338 _ACEOF
34464339 rm -f conftest.$ac_objext conftest$ac_exeext
3447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3448 (eval $ac_link) 2>conftest.er1
4340 if { (ac_try="$ac_link"
4341 case "(($ac_try" in
4342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4343 *) ac_try_echo=$ac_try;;
4344 esac
4345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4346 $as_echo "$ac_try_echo") >&5
4347 (eval "$ac_link") 2>conftest.er1
34494348 ac_status=$?
34504349 grep -v '^ *+' conftest.er1 >conftest.err
34514350 rm -f conftest.er1
34524351 cat conftest.err >&5
3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454 (exit $ac_status); } &&
3455 { ac_try='test -z "$ac_c_werror_flag"
3456 || test ! -s conftest.err'
3457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3458 (eval $ac_try) 2>&5
3459 ac_status=$?
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); }; } &&
3462 { ac_try='test -s conftest$ac_exeext'
3463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3464 (eval $ac_try) 2>&5
3465 ac_status=$?
3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); }; }; then
4352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); } && {
4354 test -z "$ac_c_werror_flag" ||
4355 test ! -s conftest.err
4356 } && test -s conftest$ac_exeext && {
4357 test "$cross_compiling" = yes ||
4358 $as_test_x conftest$ac_exeext
4359 }; then
34684360 eval "$as_ac_var=yes"
34694361 else
3470 echo "$as_me: failed program was:" >&5
4362 $as_echo "$as_me: failed program was:" >&5
34714363 sed 's/^/| /' conftest.$ac_ext >&5
34724364
3473 eval "$as_ac_var=no"
3474 fi
3475 rm -f conftest.err conftest.$ac_objext \
4365 eval "$as_ac_var=no"
4366 fi
4367
4368 rm -rf conftest.dSYM
4369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34764370 conftest$ac_exeext conftest.$ac_ext
34774371 fi
3478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3480 if test `eval echo '${'$as_ac_var'}'` = yes; then
4372 ac_res=`eval 'as_val=${'$as_ac_var'}
4373 $as_echo "$as_val"'`
4374 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4375 $as_echo "$ac_res" >&6; }
4376 as_val=`eval 'as_val=${'$as_ac_var'}
4377 $as_echo "$as_val"'`
4378 if test "x$as_val" = x""yes; then
34814379 cat >>confdefs.h <<_ACEOF
3482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4380 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34834381 _ACEOF
34844382
34854383 fi
35064404 H5TOPNG=yes
35074405 PNG_LIBS=""
35084406
3509 echo "$as_me:$LINENO: checking for inflate in -lz" >&5
3510 echo $ECHO_N "checking for inflate in -lz... $ECHO_C" >&6
4407 { $as_echo "$as_me:$LINENO: checking for inflate in -lz" >&5
4408 $as_echo_n "checking for inflate in -lz... " >&6; }
35114409 if test "${ac_cv_lib_z_inflate+set}" = set; then
3512 echo $ECHO_N "(cached) $ECHO_C" >&6
4410 $as_echo_n "(cached) " >&6
35134411 else
35144412 ac_check_lib_save_LIBS=$LIBS
35154413 LIBS="-lz $LIBS"
35204418 cat >>conftest.$ac_ext <<_ACEOF
35214419 /* end confdefs.h. */
35224420
3523 /* Override any gcc2 internal prototype to avoid an error. */
4421 /* Override any GCC internal prototype to avoid an error.
4422 Use char because int might match the return type of a GCC
4423 builtin and then its argument prototype would still apply. */
35244424 #ifdef __cplusplus
35254425 extern "C"
35264426 #endif
3527 /* We use char because int might match the return type of a gcc2
3528 builtin and then its argument prototype would still apply. */
35294427 char inflate ();
35304428 int
35314429 main ()
35324430 {
3533 inflate ();
4431 return inflate ();
35344432 ;
35354433 return 0;
35364434 }
35374435 _ACEOF
35384436 rm -f conftest.$ac_objext conftest$ac_exeext
3539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3540 (eval $ac_link) 2>conftest.er1
4437 if { (ac_try="$ac_link"
4438 case "(($ac_try" in
4439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4440 *) ac_try_echo=$ac_try;;
4441 esac
4442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4443 $as_echo "$ac_try_echo") >&5
4444 (eval "$ac_link") 2>conftest.er1
35414445 ac_status=$?
35424446 grep -v '^ *+' conftest.er1 >conftest.err
35434447 rm -f conftest.er1
35444448 cat conftest.err >&5
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); } &&
3547 { ac_try='test -z "$ac_c_werror_flag"
3548 || test ! -s conftest.err'
3549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3550 (eval $ac_try) 2>&5
3551 ac_status=$?
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); }; } &&
3554 { ac_try='test -s conftest$ac_exeext'
3555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556 (eval $ac_try) 2>&5
3557 ac_status=$?
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); }; }; then
4449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450 (exit $ac_status); } && {
4451 test -z "$ac_c_werror_flag" ||
4452 test ! -s conftest.err
4453 } && test -s conftest$ac_exeext && {
4454 test "$cross_compiling" = yes ||
4455 $as_test_x conftest$ac_exeext
4456 }; then
35604457 ac_cv_lib_z_inflate=yes
35614458 else
3562 echo "$as_me: failed program was:" >&5
4459 $as_echo "$as_me: failed program was:" >&5
35634460 sed 's/^/| /' conftest.$ac_ext >&5
35644461
3565 ac_cv_lib_z_inflate=no
3566 fi
3567 rm -f conftest.err conftest.$ac_objext \
4462 ac_cv_lib_z_inflate=no
4463 fi
4464
4465 rm -rf conftest.dSYM
4466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35684467 conftest$ac_exeext conftest.$ac_ext
35694468 LIBS=$ac_check_lib_save_LIBS
35704469 fi
3571 echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflate" >&5
3572 echo "${ECHO_T}$ac_cv_lib_z_inflate" >&6
3573 if test $ac_cv_lib_z_inflate = yes; then
4470 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflate" >&5
4471 $as_echo "$ac_cv_lib_z_inflate" >&6; }
4472 if test "x$ac_cv_lib_z_inflate" = x""yes; then
35744473 ok=yes
35754474 else
35764475 ok=no
35794478 if test "$ok" = "yes"; then
35804479 LIBS="-lz $LIBS"
35814480
3582 echo "$as_me:$LINENO: checking for png_create_write_struct in -lpng" >&5
3583 echo $ECHO_N "checking for png_create_write_struct in -lpng... $ECHO_C" >&6
4481 { $as_echo "$as_me:$LINENO: checking for png_create_write_struct in -lpng" >&5
4482 $as_echo_n "checking for png_create_write_struct in -lpng... " >&6; }
35844483 if test "${ac_cv_lib_png_png_create_write_struct+set}" = set; then
3585 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 $as_echo_n "(cached) " >&6
35864485 else
35874486 ac_check_lib_save_LIBS=$LIBS
35884487 LIBS="-lpng $LIBS"
35934492 cat >>conftest.$ac_ext <<_ACEOF
35944493 /* end confdefs.h. */
35954494
3596 /* Override any gcc2 internal prototype to avoid an error. */
4495 /* Override any GCC internal prototype to avoid an error.
4496 Use char because int might match the return type of a GCC
4497 builtin and then its argument prototype would still apply. */
35974498 #ifdef __cplusplus
35984499 extern "C"
35994500 #endif
3600 /* We use char because int might match the return type of a gcc2
3601 builtin and then its argument prototype would still apply. */
36024501 char png_create_write_struct ();
36034502 int
36044503 main ()
36054504 {
3606 png_create_write_struct ();
4505 return png_create_write_struct ();
36074506 ;
36084507 return 0;
36094508 }
36104509 _ACEOF
36114510 rm -f conftest.$ac_objext conftest$ac_exeext
3612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3613 (eval $ac_link) 2>conftest.er1
4511 if { (ac_try="$ac_link"
4512 case "(($ac_try" in
4513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4514 *) ac_try_echo=$ac_try;;
4515 esac
4516 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4517 $as_echo "$ac_try_echo") >&5
4518 (eval "$ac_link") 2>conftest.er1
36144519 ac_status=$?
36154520 grep -v '^ *+' conftest.er1 >conftest.err
36164521 rm -f conftest.er1
36174522 cat conftest.err >&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); } &&
3620 { ac_try='test -z "$ac_c_werror_flag"
3621 || test ! -s conftest.err'
3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623 (eval $ac_try) 2>&5
3624 ac_status=$?
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); }; } &&
3627 { ac_try='test -s conftest$ac_exeext'
3628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3629 (eval $ac_try) 2>&5
3630 ac_status=$?
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); }; }; then
4523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); } && {
4525 test -z "$ac_c_werror_flag" ||
4526 test ! -s conftest.err
4527 } && test -s conftest$ac_exeext && {
4528 test "$cross_compiling" = yes ||
4529 $as_test_x conftest$ac_exeext
4530 }; then
36334531 ac_cv_lib_png_png_create_write_struct=yes
36344532 else
3635 echo "$as_me: failed program was:" >&5
4533 $as_echo "$as_me: failed program was:" >&5
36364534 sed 's/^/| /' conftest.$ac_ext >&5
36374535
3638 ac_cv_lib_png_png_create_write_struct=no
3639 fi
3640 rm -f conftest.err conftest.$ac_objext \
4536 ac_cv_lib_png_png_create_write_struct=no
4537 fi
4538
4539 rm -rf conftest.dSYM
4540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36414541 conftest$ac_exeext conftest.$ac_ext
36424542 LIBS=$ac_check_lib_save_LIBS
36434543 fi
3644 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_create_write_struct" >&5
3645 echo "${ECHO_T}$ac_cv_lib_png_png_create_write_struct" >&6
3646 if test $ac_cv_lib_png_png_create_write_struct = yes; then
4544 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_create_write_struct" >&5
4545 $as_echo "$ac_cv_lib_png_png_create_write_struct" >&6; }
4546 if test "x$ac_cv_lib_png_png_create_write_struct" = x""yes; then
36474547 ok=yes
36484548 else
36494549 ok=no
36524552 if test "$ok" = "yes"; then
36534553 PNG_LIBS="-lpng"
36544554 else
3655 { echo "$as_me:$LINENO: WARNING: can't find libpng: won't be able to compile h5topng" >&5
3656 echo "$as_me: WARNING: can't find libpng: won't be able to compile h5topng" >&2;}
4555 { $as_echo "$as_me:$LINENO: WARNING: can't find libpng: won't be able to compile h5topng" >&5
4556 $as_echo "$as_me: WARNING: can't find libpng: won't be able to compile h5topng" >&2;}
36574557 H5TOPNG=no
36584558 fi
36594559 else
3660 { echo "$as_me:$LINENO: WARNING: can't find libz: won't be able to compile h5topng" >&5
3661 echo "$as_me: WARNING: can't find libz: won't be able to compile h5topng" >&2;}
4560 { $as_echo "$as_me:$LINENO: WARNING: can't find libz: won't be able to compile h5topng" >&5
4561 $as_echo "$as_me: WARNING: can't find libz: won't be able to compile h5topng" >&2;}
36624562 H5TOPNG=no
36634563 fi
36644564
36654565 if test $H5TOPNG = yes; then
3666 MORE_H5UTILS="h5topng $MORE_H5UTILS"
4566 MORE_H5UTILS="h5topng\$(EXEEXT) $MORE_H5UTILS"
36674567 H5TOPNG_MAN=h5topng.1
36684568 fi
36694569
36724572
36734573 ###########################################################################
36744574
3675 echo "$as_me:$LINENO: checking for evaluator_get_variables in -lmatheval" >&5
3676 echo $ECHO_N "checking for evaluator_get_variables in -lmatheval... $ECHO_C" >&6
4575 { $as_echo "$as_me:$LINENO: checking for evaluator_get_variables in -lmatheval" >&5
4576 $as_echo_n "checking for evaluator_get_variables in -lmatheval... " >&6; }
36774577 if test "${ac_cv_lib_matheval_evaluator_get_variables+set}" = set; then
3678 echo $ECHO_N "(cached) $ECHO_C" >&6
4578 $as_echo_n "(cached) " >&6
36794579 else
36804580 ac_check_lib_save_LIBS=$LIBS
36814581 LIBS="-lmatheval $LIBS"
36864586 cat >>conftest.$ac_ext <<_ACEOF
36874587 /* end confdefs.h. */
36884588
3689 /* Override any gcc2 internal prototype to avoid an error. */
4589 /* Override any GCC internal prototype to avoid an error.
4590 Use char because int might match the return type of a GCC
4591 builtin and then its argument prototype would still apply. */
36904592 #ifdef __cplusplus
36914593 extern "C"
36924594 #endif
3693 /* We use char because int might match the return type of a gcc2
3694 builtin and then its argument prototype would still apply. */
36954595 char evaluator_get_variables ();
36964596 int
36974597 main ()
36984598 {
3699 evaluator_get_variables ();
4599 return evaluator_get_variables ();
37004600 ;
37014601 return 0;
37024602 }
37034603 _ACEOF
37044604 rm -f conftest.$ac_objext conftest$ac_exeext
3705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3706 (eval $ac_link) 2>conftest.er1
4605 if { (ac_try="$ac_link"
4606 case "(($ac_try" in
4607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4608 *) ac_try_echo=$ac_try;;
4609 esac
4610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4611 $as_echo "$ac_try_echo") >&5
4612 (eval "$ac_link") 2>conftest.er1
37074613 ac_status=$?
37084614 grep -v '^ *+' conftest.er1 >conftest.err
37094615 rm -f conftest.er1
37104616 cat conftest.err >&5
3711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712 (exit $ac_status); } &&
3713 { ac_try='test -z "$ac_c_werror_flag"
3714 || test ! -s conftest.err'
3715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3716 (eval $ac_try) 2>&5
3717 ac_status=$?
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); }; } &&
3720 { ac_try='test -s conftest$ac_exeext'
3721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3722 (eval $ac_try) 2>&5
3723 ac_status=$?
3724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725 (exit $ac_status); }; }; then
4617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); } && {
4619 test -z "$ac_c_werror_flag" ||
4620 test ! -s conftest.err
4621 } && test -s conftest$ac_exeext && {
4622 test "$cross_compiling" = yes ||
4623 $as_test_x conftest$ac_exeext
4624 }; then
37264625 ac_cv_lib_matheval_evaluator_get_variables=yes
37274626 else
3728 echo "$as_me: failed program was:" >&5
4627 $as_echo "$as_me: failed program was:" >&5
37294628 sed 's/^/| /' conftest.$ac_ext >&5
37304629
3731 ac_cv_lib_matheval_evaluator_get_variables=no
3732 fi
3733 rm -f conftest.err conftest.$ac_objext \
4630 ac_cv_lib_matheval_evaluator_get_variables=no
4631 fi
4632
4633 rm -rf conftest.dSYM
4634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37344635 conftest$ac_exeext conftest.$ac_ext
37354636 LIBS=$ac_check_lib_save_LIBS
37364637 fi
3737 echo "$as_me:$LINENO: result: $ac_cv_lib_matheval_evaluator_get_variables" >&5
3738 echo "${ECHO_T}$ac_cv_lib_matheval_evaluator_get_variables" >&6
3739 if test $ac_cv_lib_matheval_evaluator_get_variables = yes; then
4638 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_matheval_evaluator_get_variables" >&5
4639 $as_echo "$ac_cv_lib_matheval_evaluator_get_variables" >&6; }
4640 if test "x$ac_cv_lib_matheval_evaluator_get_variables" = x""yes; then
37404641 H5MATH=yes
37414642 else
37424643 H5MATH=no
37444645
37454646
37464647 if test $H5MATH = yes; then
3747 MORE_H5UTILS="h5math $MORE_H5UTILS"
4648 MORE_H5UTILS="h5math\$(EXEEXT) $MORE_H5UTILS"
37484649 MORE_H5UTILS_MANS="h5math.1 $MORE_H5UTILS_MANS"
37494650 else
3750 { echo "$as_me:$LINENO: WARNING: can't find libmatheval: won't be able to compile h5math" >&5
3751 echo "$as_me: WARNING: can't find libmatheval: won't be able to compile h5math" >&2;}
4651 { $as_echo "$as_me:$LINENO: WARNING: can't find libmatheval: won't be able to compile h5math" >&5
4652 $as_echo "$as_me: WARNING: can't find libmatheval: won't be able to compile h5math" >&2;}
37524653 fi
37534654
37544655 ###########################################################################
37574658 # thus don't have the superior h4toh5 utility. Similarly for h5toh4.
37584659 # Extract the first word of "h4toh5", so it can be a program name with args.
37594660 set dummy h4toh5; ac_word=$2
3760 echo "$as_me:$LINENO: checking for $ac_word" >&5
3761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4661 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4662 $as_echo_n "checking for $ac_word... " >&6; }
37624663 if test "${ac_cv_prog_H4TOH5+set}" = set; then
3763 echo $ECHO_N "(cached) $ECHO_C" >&6
4664 $as_echo_n "(cached) " >&6
37644665 else
37654666 if test -n "$H4TOH5"; then
37664667 ac_cv_prog_H4TOH5="$H4TOH5" # Let the user override the test.
37714672 IFS=$as_save_IFS
37724673 test -z "$as_dir" && as_dir=.
37734674 for ac_exec_ext in '' $ac_executable_extensions; do
3774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37754676 ac_cv_prog_H4TOH5="h4toh5"
3776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37774678 break 2
37784679 fi
37794680 done
37804681 done
4682 IFS=$as_save_IFS
37814683
37824684 fi
37834685 fi
37844686 H4TOH5=$ac_cv_prog_H4TOH5
37854687 if test -n "$H4TOH5"; then
3786 echo "$as_me:$LINENO: result: $H4TOH5" >&5
3787 echo "${ECHO_T}$H4TOH5" >&6
3788 else
3789 echo "$as_me:$LINENO: result: no" >&5
3790 echo "${ECHO_T}no" >&6
3791 fi
4688 { $as_echo "$as_me:$LINENO: result: $H4TOH5" >&5
4689 $as_echo "$H4TOH5" >&6; }
4690 else
4691 { $as_echo "$as_me:$LINENO: result: no" >&5
4692 $as_echo "no" >&6; }
4693 fi
4694
37924695
37934696 # Extract the first word of "h5toh4", so it can be a program name with args.
37944697 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
4698 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
37974700 if test "${ac_cv_prog_H5TOH4+set}" = set; then
3798 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 $as_echo_n "(cached) " >&6
37994702 else
38004703 if test -n "$H5TOH4"; then
38014704 ac_cv_prog_H5TOH4="$H5TOH4" # Let the user override the test.
38064709 IFS=$as_save_IFS
38074710 test -z "$as_dir" && as_dir=.
38084711 for ac_exec_ext in '' $ac_executable_extensions; do
3809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38104713 ac_cv_prog_H5TOH4="h5toh4"
3811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4714 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38124715 break 2
38134716 fi
38144717 done
38154718 done
4719 IFS=$as_save_IFS
38164720
38174721 fi
38184722 fi
38194723 H5TOH4=$ac_cv_prog_H5TOH4
38204724 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.
4725 { $as_echo "$as_me:$LINENO: result: $H5TOH4" >&5
4726 $as_echo "$H5TOH4" >&6; }
4727 else
4728 { $as_echo "$as_me:$LINENO: result: no" >&5
4729 $as_echo "no" >&6; }
4730 fi
4731
4732
4733
4734
4735 # Check whether --with-hdf4 was given.
38314736 if test "${with_hdf4+set}" = set; then
3832 withval="$with_hdf4"
3833 ok=$withval
4737 withval=$with_hdf4; ok=$withval
38344738 else
38354739 ok=maybe
3836 fi;
4740 fi
4741
38374742 if test "x$ok" = xyes; then
38384743 H4TOH5=""
38394744 H5TOH4=""
38444749
38454750 HDF4=no
38464751 if test "x$H4TOH5" != xh4toh5 -o "x$H5TOH4" != xh5toh4; then
3847 echo "$as_me:$LINENO: checking for jpeg_start_compress in -ljpeg" >&5
3848 echo $ECHO_N "checking for jpeg_start_compress in -ljpeg... $ECHO_C" >&6
4752 { $as_echo "$as_me:$LINENO: checking for jpeg_start_compress in -ljpeg" >&5
4753 $as_echo_n "checking for jpeg_start_compress in -ljpeg... " >&6; }
38494754 if test "${ac_cv_lib_jpeg_jpeg_start_compress+set}" = set; then
3850 echo $ECHO_N "(cached) $ECHO_C" >&6
4755 $as_echo_n "(cached) " >&6
38514756 else
38524757 ac_check_lib_save_LIBS=$LIBS
38534758 LIBS="-ljpeg $LIBS"
38584763 cat >>conftest.$ac_ext <<_ACEOF
38594764 /* end confdefs.h. */
38604765
3861 /* Override any gcc2 internal prototype to avoid an error. */
4766 /* Override any GCC internal prototype to avoid an error.
4767 Use char because int might match the return type of a GCC
4768 builtin and then its argument prototype would still apply. */
38624769 #ifdef __cplusplus
38634770 extern "C"
38644771 #endif
3865 /* We use char because int might match the return type of a gcc2
3866 builtin and then its argument prototype would still apply. */
38674772 char jpeg_start_compress ();
38684773 int
38694774 main ()
38704775 {
3871 jpeg_start_compress ();
4776 return jpeg_start_compress ();
38724777 ;
38734778 return 0;
38744779 }
38754780 _ACEOF
38764781 rm -f conftest.$ac_objext conftest$ac_exeext
3877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3878 (eval $ac_link) 2>conftest.er1
4782 if { (ac_try="$ac_link"
4783 case "(($ac_try" in
4784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4785 *) ac_try_echo=$ac_try;;
4786 esac
4787 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4788 $as_echo "$ac_try_echo") >&5
4789 (eval "$ac_link") 2>conftest.er1
38794790 ac_status=$?
38804791 grep -v '^ *+' conftest.er1 >conftest.err
38814792 rm -f conftest.er1
38824793 cat conftest.err >&5
3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884 (exit $ac_status); } &&
3885 { ac_try='test -z "$ac_c_werror_flag"
3886 || test ! -s conftest.err'
3887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3888 (eval $ac_try) 2>&5
3889 ac_status=$?
3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3891 (exit $ac_status); }; } &&
3892 { ac_try='test -s conftest$ac_exeext'
3893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3894 (eval $ac_try) 2>&5
3895 ac_status=$?
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897 (exit $ac_status); }; }; then
4794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); } && {
4796 test -z "$ac_c_werror_flag" ||
4797 test ! -s conftest.err
4798 } && test -s conftest$ac_exeext && {
4799 test "$cross_compiling" = yes ||
4800 $as_test_x conftest$ac_exeext
4801 }; then
38984802 ac_cv_lib_jpeg_jpeg_start_compress=yes
38994803 else
3900 echo "$as_me: failed program was:" >&5
4804 $as_echo "$as_me: failed program was:" >&5
39014805 sed 's/^/| /' conftest.$ac_ext >&5
39024806
3903 ac_cv_lib_jpeg_jpeg_start_compress=no
3904 fi
3905 rm -f conftest.err conftest.$ac_objext \
4807 ac_cv_lib_jpeg_jpeg_start_compress=no
4808 fi
4809
4810 rm -rf conftest.dSYM
4811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39064812 conftest$ac_exeext conftest.$ac_ext
39074813 LIBS=$ac_check_lib_save_LIBS
39084814 fi
3909 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_compress" >&5
3910 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_compress" >&6
3911 if test $ac_cv_lib_jpeg_jpeg_start_compress = yes; then
3912 echo "$as_me:$LINENO: checking for DFSDgetdata in -ldf" >&5
3913 echo $ECHO_N "checking for DFSDgetdata in -ldf... $ECHO_C" >&6
4815 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_compress" >&5
4816 $as_echo "$ac_cv_lib_jpeg_jpeg_start_compress" >&6; }
4817 if test "x$ac_cv_lib_jpeg_jpeg_start_compress" = x""yes; then
4818 { $as_echo "$as_me:$LINENO: checking for DFSDgetdata in -ldf" >&5
4819 $as_echo_n "checking for DFSDgetdata in -ldf... " >&6; }
39144820 if test "${ac_cv_lib_df_DFSDgetdata+set}" = set; then
3915 echo $ECHO_N "(cached) $ECHO_C" >&6
4821 $as_echo_n "(cached) " >&6
39164822 else
39174823 ac_check_lib_save_LIBS=$LIBS
39184824 LIBS="-ldf -ljpeg $LIBS"
39234829 cat >>conftest.$ac_ext <<_ACEOF
39244830 /* end confdefs.h. */
39254831
3926 /* Override any gcc2 internal prototype to avoid an error. */
4832 /* Override any GCC internal prototype to avoid an error.
4833 Use char because int might match the return type of a GCC
4834 builtin and then its argument prototype would still apply. */
39274835 #ifdef __cplusplus
39284836 extern "C"
39294837 #endif
3930 /* We use char because int might match the return type of a gcc2
3931 builtin and then its argument prototype would still apply. */
39324838 char DFSDgetdata ();
39334839 int
39344840 main ()
39354841 {
3936 DFSDgetdata ();
4842 return DFSDgetdata ();
39374843 ;
39384844 return 0;
39394845 }
39404846 _ACEOF
39414847 rm -f conftest.$ac_objext conftest$ac_exeext
3942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3943 (eval $ac_link) 2>conftest.er1
4848 if { (ac_try="$ac_link"
4849 case "(($ac_try" in
4850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4851 *) ac_try_echo=$ac_try;;
4852 esac
4853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4854 $as_echo "$ac_try_echo") >&5
4855 (eval "$ac_link") 2>conftest.er1
39444856 ac_status=$?
39454857 grep -v '^ *+' conftest.er1 >conftest.err
39464858 rm -f conftest.er1
39474859 cat conftest.err >&5
3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949 (exit $ac_status); } &&
3950 { ac_try='test -z "$ac_c_werror_flag"
3951 || test ! -s conftest.err'
3952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3953 (eval $ac_try) 2>&5
3954 ac_status=$?
3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); }; } &&
3957 { ac_try='test -s conftest$ac_exeext'
3958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3959 (eval $ac_try) 2>&5
3960 ac_status=$?
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); }; }; then
4860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861 (exit $ac_status); } && {
4862 test -z "$ac_c_werror_flag" ||
4863 test ! -s conftest.err
4864 } && test -s conftest$ac_exeext && {
4865 test "$cross_compiling" = yes ||
4866 $as_test_x conftest$ac_exeext
4867 }; then
39634868 ac_cv_lib_df_DFSDgetdata=yes
39644869 else
3965 echo "$as_me: failed program was:" >&5
4870 $as_echo "$as_me: failed program was:" >&5
39664871 sed 's/^/| /' conftest.$ac_ext >&5
39674872
3968 ac_cv_lib_df_DFSDgetdata=no
3969 fi
3970 rm -f conftest.err conftest.$ac_objext \
4873 ac_cv_lib_df_DFSDgetdata=no
4874 fi
4875
4876 rm -rf conftest.dSYM
4877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39714878 conftest$ac_exeext conftest.$ac_ext
39724879 LIBS=$ac_check_lib_save_LIBS
39734880 fi
3974 echo "$as_me:$LINENO: result: $ac_cv_lib_df_DFSDgetdata" >&5
3975 echo "${ECHO_T}$ac_cv_lib_df_DFSDgetdata" >&6
3976 if test $ac_cv_lib_df_DFSDgetdata = yes; then
4881 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_df_DFSDgetdata" >&5
4882 $as_echo "$ac_cv_lib_df_DFSDgetdata" >&6; }
4883 if test "x$ac_cv_lib_df_DFSDgetdata" = x""yes; then
39774884 H4_LIBS="-ldf -ljpeg"; HDF4=yes
39784885 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;}
4886 { $as_echo "$as_me:$LINENO: WARNING: can't find libdf (HDF4): won't be able to compile h5fromh4 or h4fromh5" >&5
4887 $as_echo "$as_me: WARNING: can't find libdf (HDF4): won't be able to compile h5fromh4 or h4fromh5" >&2;}
4888 fi
4889
4890 else
4891 { $as_echo "$as_me:$LINENO: WARNING: can't find libjpeg: won't be able to compile h5fromh4 or h4fromh5" >&5
4892 $as_echo "$as_me: WARNING: can't find libjpeg: won't be able to compile h5fromh4 or h4fromh5" >&2;}
39864893 fi
39874894
39884895
39894896 if test $HDF4 = yes; then
39904897 if test "x$H4TOH5" != xh4toh5; then
3991 MORE_H5UTILS="h5fromh4 $MORE_H5UTILS"
4898 MORE_H5UTILS="h5fromh4\$(EXEEXT) $MORE_H5UTILS"
39924899 MORE_H5UTILS_MANS="h5fromh4.1 $MORE_H5UTILS_MANS"
39934900 fi
39944901 if test "x$H5TOH4" != xh5toh4; then
3995 MORE_H5UTILS="h4fromh5 $MORE_H5UTILS"
4902 MORE_H5UTILS="h4fromh5\$(EXEEXT) $MORE_H5UTILS"
39964903 # MORE_H5UTILS_MANS="h4fromh5.1 $MORE_H5UTILS_MANS"
39974904 fi
39984905 fi
40104917 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
40114918 inttypes.h stdint.h unistd.h
40124919 do
4013 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4014 echo "$as_me:$LINENO: checking for $ac_header" >&5
4015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4017 echo $ECHO_N "(cached) $ECHO_C" >&6
4920 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4921 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4922 $as_echo_n "checking for $ac_header... " >&6; }
4923 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4924 $as_echo_n "(cached) " >&6
40184925 else
40194926 cat >conftest.$ac_ext <<_ACEOF
40204927 /* confdefs.h. */
40274934 #include <$ac_header>
40284935 _ACEOF
40294936 rm -f conftest.$ac_objext
4030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4031 (eval $ac_compile) 2>conftest.er1
4937 if { (ac_try="$ac_compile"
4938 case "(($ac_try" in
4939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4940 *) ac_try_echo=$ac_try;;
4941 esac
4942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4943 $as_echo "$ac_try_echo") >&5
4944 (eval "$ac_compile") 2>conftest.er1
40324945 ac_status=$?
40334946 grep -v '^ *+' conftest.er1 >conftest.err
40344947 rm -f conftest.er1
40354948 cat conftest.err >&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); } &&
4038 { ac_try='test -z "$ac_c_werror_flag"
4039 || test ! -s conftest.err'
4040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4041 (eval $ac_try) 2>&5
4042 ac_status=$?
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); }; } &&
4045 { ac_try='test -s conftest.$ac_objext'
4046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4047 (eval $ac_try) 2>&5
4048 ac_status=$?
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); }; }; then
4949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); } && {
4951 test -z "$ac_c_werror_flag" ||
4952 test ! -s conftest.err
4953 } && test -s conftest.$ac_objext; then
40514954 eval "$as_ac_Header=yes"
40524955 else
4053 echo "$as_me: failed program was:" >&5
4956 $as_echo "$as_me: failed program was:" >&5
40544957 sed 's/^/| /' conftest.$ac_ext >&5
40554958
4056 eval "$as_ac_Header=no"
4057 fi
4058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4059 fi
4060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4959 eval "$as_ac_Header=no"
4960 fi
4961
4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4963 fi
4964 ac_res=`eval 'as_val=${'$as_ac_Header'}
4965 $as_echo "$as_val"'`
4966 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4967 $as_echo "$ac_res" >&6; }
4968 as_val=`eval 'as_val=${'$as_ac_Header'}
4969 $as_echo "$as_val"'`
4970 if test "x$as_val" = x""yes; then
40634971 cat >>confdefs.h <<_ACEOF
4064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4972 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
40654973 _ACEOF
40664974
40674975 fi
40734981
40744982 for ac_header in hdf.h hdf/hdf.h
40754983 do
4076 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4078 echo "$as_me:$LINENO: checking for $ac_header" >&5
4079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4081 echo $ECHO_N "(cached) $ECHO_C" >&6
4082 fi
4083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4984 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4985 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4986 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4987 $as_echo_n "checking for $ac_header... " >&6; }
4988 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4989 $as_echo_n "(cached) " >&6
4990 fi
4991 ac_res=`eval 'as_val=${'$as_ac_Header'}
4992 $as_echo "$as_val"'`
4993 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4994 $as_echo "$ac_res" >&6; }
40854995 else
40864996 # Is the header compilable?
4087 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4088 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4997 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4998 $as_echo_n "checking $ac_header usability... " >&6; }
40894999 cat >conftest.$ac_ext <<_ACEOF
40905000 /* confdefs.h. */
40915001 _ACEOF
40965006 #include <$ac_header>
40975007 _ACEOF
40985008 rm -f conftest.$ac_objext
4099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4100 (eval $ac_compile) 2>conftest.er1
5009 if { (ac_try="$ac_compile"
5010 case "(($ac_try" in
5011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5012 *) ac_try_echo=$ac_try;;
5013 esac
5014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5015 $as_echo "$ac_try_echo") >&5
5016 (eval "$ac_compile") 2>conftest.er1
41015017 ac_status=$?
41025018 grep -v '^ *+' conftest.er1 >conftest.err
41035019 rm -f conftest.er1
41045020 cat conftest.err >&5
4105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106 (exit $ac_status); } &&
4107 { ac_try='test -z "$ac_c_werror_flag"
4108 || test ! -s conftest.err'
4109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4110 (eval $ac_try) 2>&5
4111 ac_status=$?
4112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4113 (exit $ac_status); }; } &&
4114 { ac_try='test -s conftest.$ac_objext'
4115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4116 (eval $ac_try) 2>&5
4117 ac_status=$?
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); }; }; then
5021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); } && {
5023 test -z "$ac_c_werror_flag" ||
5024 test ! -s conftest.err
5025 } && test -s conftest.$ac_objext; then
41205026 ac_header_compiler=yes
41215027 else
4122 echo "$as_me: failed program was:" >&5
5028 $as_echo "$as_me: failed program was:" >&5
41235029 sed 's/^/| /' conftest.$ac_ext >&5
41245030
4125 ac_header_compiler=no
4126 fi
4127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4128 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4129 echo "${ECHO_T}$ac_header_compiler" >&6
5031 ac_header_compiler=no
5032 fi
5033
5034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5035 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5036 $as_echo "$ac_header_compiler" >&6; }
41305037
41315038 # Is the header present?
4132 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4133 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5039 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5040 $as_echo_n "checking $ac_header presence... " >&6; }
41345041 cat >conftest.$ac_ext <<_ACEOF
41355042 /* confdefs.h. */
41365043 _ACEOF
41395046 /* end confdefs.h. */
41405047 #include <$ac_header>
41415048 _ACEOF
4142 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4143 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5049 if { (ac_try="$ac_cpp conftest.$ac_ext"
5050 case "(($ac_try" in
5051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5052 *) ac_try_echo=$ac_try;;
5053 esac
5054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5055 $as_echo "$ac_try_echo") >&5
5056 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
41445057 ac_status=$?
41455058 grep -v '^ *+' conftest.er1 >conftest.err
41465059 rm -f conftest.er1
41475060 cat conftest.err >&5
4148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149 (exit $ac_status); } >/dev/null; then
4150 if test -s conftest.err; then
4151 ac_cpp_err=$ac_c_preproc_warn_flag
4152 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4153 else
4154 ac_cpp_err=
4155 fi
4156 else
4157 ac_cpp_err=yes
4158 fi
4159 if test -z "$ac_cpp_err"; then
5061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); } >/dev/null && {
5063 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5064 test ! -s conftest.err
5065 }; then
41605066 ac_header_preproc=yes
41615067 else
4162 echo "$as_me: failed program was:" >&5
5068 $as_echo "$as_me: failed program was:" >&5
41635069 sed 's/^/| /' conftest.$ac_ext >&5
41645070
41655071 ac_header_preproc=no
41665072 fi
5073
41675074 rm -f conftest.err conftest.$ac_ext
4168 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4169 echo "${ECHO_T}$ac_header_preproc" >&6
5075 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5076 $as_echo "$ac_header_preproc" >&6; }
41705077
41715078 # So? What about this header?
41725079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41735080 yes:no: )
4174 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4175 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4177 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5081 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5082 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5083 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5084 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41785085 ac_header_preproc=yes
41795086 ;;
41805087 no:yes:* )
4181 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4182 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4183 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4184 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4185 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4186 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4187 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4188 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4190 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4191 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4192 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4193 (
4194 cat <<\_ASBOX
5088 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5089 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5090 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5091 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5092 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5093 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5095 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5097 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5099 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5100 ( cat <<\_ASBOX
41955101 ## ----------------------------------- ##
41965102 ## Report this to stevenj@alum.mit.edu ##
41975103 ## ----------------------------------- ##
41985104 _ASBOX
4199 ) |
4200 sed "s/^/$as_me: WARNING: /" >&2
5105 ) | sed "s/^/$as_me: WARNING: /" >&2
42015106 ;;
42025107 esac
4203 echo "$as_me:$LINENO: checking for $ac_header" >&5
4204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
5108 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5109 $as_echo_n "checking for $ac_header... " >&6; }
5110 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5111 $as_echo_n "(cached) " >&6
42075112 else
42085113 eval "$as_ac_Header=\$ac_header_preproc"
42095114 fi
4210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4212
4213 fi
4214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5115 ac_res=`eval 'as_val=${'$as_ac_Header'}
5116 $as_echo "$as_val"'`
5117 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5118 $as_echo "$ac_res" >&6; }
5119
5120 fi
5121 as_val=`eval 'as_val=${'$as_ac_Header'}
5122 $as_echo "$as_val"'`
5123 if test "x$as_val" = x""yes; then
42155124 cat >>confdefs.h <<_ACEOF
4216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5125 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
42175126 _ACEOF
42185127
42195128 fi
42255134
42265135 ###########################################################################
42275136
4228 echo "$as_me:$LINENO: checking for H5Fopen in -lhdf5" >&5
4229 echo $ECHO_N "checking for H5Fopen in -lhdf5... $ECHO_C" >&6
5137 { $as_echo "$as_me:$LINENO: checking for H5Fopen in -lhdf5" >&5
5138 $as_echo_n "checking for H5Fopen in -lhdf5... " >&6; }
42305139 if test "${ac_cv_lib_hdf5_H5Fopen+set}" = set; then
4231 echo $ECHO_N "(cached) $ECHO_C" >&6
5140 $as_echo_n "(cached) " >&6
42325141 else
42335142 ac_check_lib_save_LIBS=$LIBS
42345143 LIBS="-lhdf5 $LIBS"
42395148 cat >>conftest.$ac_ext <<_ACEOF
42405149 /* end confdefs.h. */
42415150
4242 /* Override any gcc2 internal prototype to avoid an error. */
5151 /* Override any GCC internal prototype to avoid an error.
5152 Use char because int might match the return type of a GCC
5153 builtin and then its argument prototype would still apply. */
42435154 #ifdef __cplusplus
42445155 extern "C"
42455156 #endif
4246 /* We use char because int might match the return type of a gcc2
4247 builtin and then its argument prototype would still apply. */
42485157 char H5Fopen ();
42495158 int
42505159 main ()
42515160 {
4252 H5Fopen ();
5161 return H5Fopen ();
42535162 ;
42545163 return 0;
42555164 }
42565165 _ACEOF
42575166 rm -f conftest.$ac_objext conftest$ac_exeext
4258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4259 (eval $ac_link) 2>conftest.er1
5167 if { (ac_try="$ac_link"
5168 case "(($ac_try" in
5169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5170 *) ac_try_echo=$ac_try;;
5171 esac
5172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5173 $as_echo "$ac_try_echo") >&5
5174 (eval "$ac_link") 2>conftest.er1
42605175 ac_status=$?
42615176 grep -v '^ *+' conftest.er1 >conftest.err
42625177 rm -f conftest.er1
42635178 cat conftest.err >&5
4264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265 (exit $ac_status); } &&
4266 { ac_try='test -z "$ac_c_werror_flag"
4267 || test ! -s conftest.err'
4268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4269 (eval $ac_try) 2>&5
4270 ac_status=$?
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; } &&
4273 { ac_try='test -s conftest$ac_exeext'
4274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4275 (eval $ac_try) 2>&5
4276 ac_status=$?
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); }; }; then
5179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180 (exit $ac_status); } && {
5181 test -z "$ac_c_werror_flag" ||
5182 test ! -s conftest.err
5183 } && test -s conftest$ac_exeext && {
5184 test "$cross_compiling" = yes ||
5185 $as_test_x conftest$ac_exeext
5186 }; then
42795187 ac_cv_lib_hdf5_H5Fopen=yes
42805188 else
4281 echo "$as_me: failed program was:" >&5
5189 $as_echo "$as_me: failed program was:" >&5
42825190 sed 's/^/| /' conftest.$ac_ext >&5
42835191
4284 ac_cv_lib_hdf5_H5Fopen=no
4285 fi
4286 rm -f conftest.err conftest.$ac_objext \
5192 ac_cv_lib_hdf5_H5Fopen=no
5193 fi
5194
5195 rm -rf conftest.dSYM
5196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42875197 conftest$ac_exeext conftest.$ac_ext
42885198 LIBS=$ac_check_lib_save_LIBS
42895199 fi
4290 echo "$as_me:$LINENO: result: $ac_cv_lib_hdf5_H5Fopen" >&5
4291 echo "${ECHO_T}$ac_cv_lib_hdf5_H5Fopen" >&6
4292 if test $ac_cv_lib_hdf5_H5Fopen = yes; then
5200 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hdf5_H5Fopen" >&5
5201 $as_echo "$ac_cv_lib_hdf5_H5Fopen" >&6; }
5202 if test "x$ac_cv_lib_hdf5_H5Fopen" = x""yes; then
42935203 LIBS="-lhdf5 $LIBS"
42945204 else
4295 { { echo "$as_me:$LINENO: error: hdf5 libraries are required for compilation" >&5
4296 echo "$as_me: error: hdf5 libraries are required for compilation" >&2;}
5205 { { $as_echo "$as_me:$LINENO: error: hdf5 libraries are required for compilation" >&5
5206 $as_echo "$as_me: error: hdf5 libraries are required for compilation" >&2;}
42975207 { (exit 1); exit 1; }; }
42985208 fi
42995209
43015211 ###########################################################################
43025212
43035213
4304 # Check whether --with-octave or --without-octave was given.
5214 # Check whether --with-octave was given.
43055215 if test "${with_octave+set}" = set; then
4306 withval="$with_octave"
4307 ok=$withval
5216 withval=$with_octave; ok=$withval
43085217 else
43095218 ok=yes
4310 fi;
5219 fi
5220
43115221
43125222 H5READ=""
43135223 OCT_INSTALL_DIR=""
43175227 do
43185228 # Extract the first word of "$ac_prog", so it can be a program name with args.
43195229 set dummy $ac_prog; ac_word=$2
4320 echo "$as_me:$LINENO: checking for $ac_word" >&5
4321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5230 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5231 $as_echo_n "checking for $ac_word... " >&6; }
43225232 if test "${ac_cv_prog_MKOCTFILE+set}" = set; then
4323 echo $ECHO_N "(cached) $ECHO_C" >&6
5233 $as_echo_n "(cached) " >&6
43245234 else
43255235 if test -n "$MKOCTFILE"; then
43265236 ac_cv_prog_MKOCTFILE="$MKOCTFILE" # Let the user override the test.
43315241 IFS=$as_save_IFS
43325242 test -z "$as_dir" && as_dir=.
43335243 for ac_exec_ext in '' $ac_executable_extensions; do
4334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43355245 ac_cv_prog_MKOCTFILE="$ac_prog"
4336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43375247 break 2
43385248 fi
43395249 done
43405250 done
5251 IFS=$as_save_IFS
43415252
43425253 fi
43435254 fi
43445255 MKOCTFILE=$ac_cv_prog_MKOCTFILE
43455256 if test -n "$MKOCTFILE"; then
4346 echo "$as_me:$LINENO: result: $MKOCTFILE" >&5
4347 echo "${ECHO_T}$MKOCTFILE" >&6
4348 else
4349 echo "$as_me:$LINENO: result: no" >&5
4350 echo "${ECHO_T}no" >&6
4351 fi
5257 { $as_echo "$as_me:$LINENO: result: $MKOCTFILE" >&5
5258 $as_echo "$MKOCTFILE" >&6; }
5259 else
5260 { $as_echo "$as_me:$LINENO: result: no" >&5
5261 $as_echo "no" >&6; }
5262 fi
5263
43525264
43535265 test -n "$MKOCTFILE" && break
43545266 done
43555267 test -n "$MKOCTFILE" || MKOCTFILE="echo"
43565268
43575269 if test "$MKOCTFILE" = "echo"; then
4358 { echo "$as_me:$LINENO: WARNING: can't find mkoctfile: won't be able to compile h5read.oct" >&5
4359 echo "$as_me: WARNING: can't find mkoctfile: won't be able to compile h5read.oct" >&2;}
5270 { $as_echo "$as_me:$LINENO: WARNING: can't find mkoctfile: won't be able to compile h5read.oct" >&5
5271 $as_echo "$as_me: WARNING: can't find mkoctfile: won't be able to compile h5read.oct" >&2;}
43605272 else
43615273 # try to find installation directory
43625274 for ac_prog in octave
43635275 do
43645276 # Extract the first word of "$ac_prog", so it can be a program name with args.
43655277 set dummy $ac_prog; ac_word=$2
4366 echo "$as_me:$LINENO: checking for $ac_word" >&5
4367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5278 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5279 $as_echo_n "checking for $ac_word... " >&6; }
43685280 if test "${ac_cv_prog_OCTAVE+set}" = set; then
4369 echo $ECHO_N "(cached) $ECHO_C" >&6
5281 $as_echo_n "(cached) " >&6
43705282 else
43715283 if test -n "$OCTAVE"; then
43725284 ac_cv_prog_OCTAVE="$OCTAVE" # Let the user override the test.
43775289 IFS=$as_save_IFS
43785290 test -z "$as_dir" && as_dir=.
43795291 for ac_exec_ext in '' $ac_executable_extensions; do
4380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43815293 ac_cv_prog_OCTAVE="$ac_prog"
4382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43835295 break 2
43845296 fi
43855297 done
43865298 done
5299 IFS=$as_save_IFS
43875300
43885301 fi
43895302 fi
43905303 OCTAVE=$ac_cv_prog_OCTAVE
43915304 if test -n "$OCTAVE"; then
4392 echo "$as_me:$LINENO: result: $OCTAVE" >&5
4393 echo "${ECHO_T}$OCTAVE" >&6
4394 else
4395 echo "$as_me:$LINENO: result: no" >&5
4396 echo "${ECHO_T}no" >&6
4397 fi
5305 { $as_echo "$as_me:$LINENO: result: $OCTAVE" >&5
5306 $as_echo "$OCTAVE" >&6; }
5307 else
5308 { $as_echo "$as_me:$LINENO: result: no" >&5
5309 $as_echo "no" >&6; }
5310 fi
5311
43985312
43995313 test -n "$OCTAVE" && break
44005314 done
44015315 test -n "$OCTAVE" || OCTAVE="echo"
44025316
4403 echo "$as_me:$LINENO: checking where octave plugins go" >&5
4404 echo $ECHO_N "checking where octave plugins go... $ECHO_C" >&6
4405 OCT_INSTALL_DIR=`echo "DEFAULT_LOADPATH" | $OCTAVE -q | tr ':' '\n' | grep "site/oct" | head -1`
5317 { $as_echo "$as_me:$LINENO: checking where octave plugins go" >&5
5318 $as_echo_n "checking where octave plugins go... " >&6; }
5319 OCT_INSTALL_DIR=`echo "path" | $OCTAVE -q 2> /dev/null | grep "/oct/" | head -1`
5320 if test -z "$OCT_INSTALL_DIR"; then
5321 OCT_INSTALL_DIR=`echo "DEFAULT_LOADPATH" | $OCTAVE -q 2> /dev/null | tr ':' '\n' | grep "site/oct" | head -1`
5322 fi
44065323 if test -n "$OCT_INSTALL_DIR"; then
4407 echo "$as_me:$LINENO: result: $OCT_INSTALL_DIR" >&5
4408 echo "${ECHO_T}$OCT_INSTALL_DIR" >&6
5324 { $as_echo "$as_me:$LINENO: result: $OCT_INSTALL_DIR" >&5
5325 $as_echo "$OCT_INSTALL_DIR" >&6; }
44095326 H5READ=h5read.oct
44105327 else
4411 echo "$as_me:$LINENO: result: unknown" >&5
4412 echo "${ECHO_T}unknown" >&6
4413 { echo "$as_me:$LINENO: WARNING: can't find where to install octave plugins: won't be able to compile h5read.oct" >&5
4414 echo "$as_me: WARNING: can't find where to install octave plugins: won't be able to compile h5read.oct" >&2;}
5328 { $as_echo "$as_me:$LINENO: result: unknown" >&5
5329 $as_echo "unknown" >&6; }
5330 { $as_echo "$as_me:$LINENO: WARNING: can't find where to install octave plugins: won't be able to compile h5read.oct" >&5
5331 $as_echo "$as_me: WARNING: can't find where to install octave plugins: won't be able to compile h5read.oct" >&2;}
44155332 fi
44165333 fi
44175334 fi
44225339 ###########################################################################
44235340
44245341
4425 # Check whether --with-v5d or --without-v5d was given.
5342 # Check whether --with-v5d was given.
44265343 if test "${with_v5d+set}" = set; then
4427 withval="$with_v5d"
4428 ok=$withval
5344 withval=$with_v5d; ok=$withval
44295345 else
44305346 ok=yes
4431 fi;
5347 fi
5348
44325349 H5TOV5D=no
44335350 V5D_FILES=""
44345351 V5D_INCLUDES=""
44355352 if test "$ok" = "yes"; then
4436 echo "$as_me:$LINENO: checking for v5dCreate in -lv5d" >&5
4437 echo $ECHO_N "checking for v5dCreate in -lv5d... $ECHO_C" >&6
5353 { $as_echo "$as_me:$LINENO: checking for v5dCreate in -lv5d" >&5
5354 $as_echo_n "checking for v5dCreate in -lv5d... " >&6; }
44385355 if test "${ac_cv_lib_v5d_v5dCreate+set}" = set; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
5356 $as_echo_n "(cached) " >&6
44405357 else
44415358 ac_check_lib_save_LIBS=$LIBS
44425359 LIBS="-lv5d $LIBS"
44475364 cat >>conftest.$ac_ext <<_ACEOF
44485365 /* end confdefs.h. */
44495366
4450 /* Override any gcc2 internal prototype to avoid an error. */
5367 /* Override any GCC internal prototype to avoid an error.
5368 Use char because int might match the return type of a GCC
5369 builtin and then its argument prototype would still apply. */
44515370 #ifdef __cplusplus
44525371 extern "C"
44535372 #endif
4454 /* We use char because int might match the return type of a gcc2
4455 builtin and then its argument prototype would still apply. */
44565373 char v5dCreate ();
44575374 int
44585375 main ()
44595376 {
4460 v5dCreate ();
5377 return v5dCreate ();
44615378 ;
44625379 return 0;
44635380 }
44645381 _ACEOF
44655382 rm -f conftest.$ac_objext conftest$ac_exeext
4466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4467 (eval $ac_link) 2>conftest.er1
5383 if { (ac_try="$ac_link"
5384 case "(($ac_try" in
5385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5386 *) ac_try_echo=$ac_try;;
5387 esac
5388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5389 $as_echo "$ac_try_echo") >&5
5390 (eval "$ac_link") 2>conftest.er1
44685391 ac_status=$?
44695392 grep -v '^ *+' conftest.er1 >conftest.err
44705393 rm -f conftest.er1
44715394 cat conftest.err >&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); } &&
4474 { ac_try='test -z "$ac_c_werror_flag"
4475 || test ! -s conftest.err'
4476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4477 (eval $ac_try) 2>&5
4478 ac_status=$?
4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480 (exit $ac_status); }; } &&
4481 { ac_try='test -s conftest$ac_exeext'
4482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4483 (eval $ac_try) 2>&5
4484 ac_status=$?
4485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4486 (exit $ac_status); }; }; then
5395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); } && {
5397 test -z "$ac_c_werror_flag" ||
5398 test ! -s conftest.err
5399 } && test -s conftest$ac_exeext && {
5400 test "$cross_compiling" = yes ||
5401 $as_test_x conftest$ac_exeext
5402 }; then
44875403 ac_cv_lib_v5d_v5dCreate=yes
44885404 else
4489 echo "$as_me: failed program was:" >&5
5405 $as_echo "$as_me: failed program was:" >&5
44905406 sed 's/^/| /' conftest.$ac_ext >&5
44915407
4492 ac_cv_lib_v5d_v5dCreate=no
4493 fi
4494 rm -f conftest.err conftest.$ac_objext \
5408 ac_cv_lib_v5d_v5dCreate=no
5409 fi
5410
5411 rm -rf conftest.dSYM
5412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44955413 conftest$ac_exeext conftest.$ac_ext
44965414 LIBS=$ac_check_lib_save_LIBS
44975415 fi
4498 echo "$as_me:$LINENO: result: $ac_cv_lib_v5d_v5dCreate" >&5
4499 echo "${ECHO_T}$ac_cv_lib_v5d_v5dCreate" >&6
4500 if test $ac_cv_lib_v5d_v5dCreate = yes; then
5416 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_v5d_v5dCreate" >&5
5417 $as_echo "$ac_cv_lib_v5d_v5dCreate" >&6; }
5418 if test "x$ac_cv_lib_v5d_v5dCreate" = x""yes; then
45015419 V5D_FILES="-lv5d"; H5TOV5D=yes
45025420 fi
45035421
45045422
45055423 for ac_header in vis5d/v5d.h
45065424 do
4507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4509 echo "$as_me:$LINENO: checking for $ac_header" >&5
4510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4513 fi
4514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5425 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5426 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5427 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5428 $as_echo_n "checking for $ac_header... " >&6; }
5429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5430 $as_echo_n "(cached) " >&6
5431 fi
5432 ac_res=`eval 'as_val=${'$as_ac_Header'}
5433 $as_echo "$as_val"'`
5434 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5435 $as_echo "$ac_res" >&6; }
45165436 else
45175437 # Is the header compilable?
4518 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5438 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5439 $as_echo_n "checking $ac_header usability... " >&6; }
45205440 cat >conftest.$ac_ext <<_ACEOF
45215441 /* confdefs.h. */
45225442 _ACEOF
45275447 #include <$ac_header>
45285448 _ACEOF
45295449 rm -f conftest.$ac_objext
4530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4531 (eval $ac_compile) 2>conftest.er1
5450 if { (ac_try="$ac_compile"
5451 case "(($ac_try" in
5452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5453 *) ac_try_echo=$ac_try;;
5454 esac
5455 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5456 $as_echo "$ac_try_echo") >&5
5457 (eval "$ac_compile") 2>conftest.er1
45325458 ac_status=$?
45335459 grep -v '^ *+' conftest.er1 >conftest.err
45345460 rm -f conftest.er1
45355461 cat conftest.err >&5
4536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537 (exit $ac_status); } &&
4538 { ac_try='test -z "$ac_c_werror_flag"
4539 || test ! -s conftest.err'
4540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4541 (eval $ac_try) 2>&5
4542 ac_status=$?
4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544 (exit $ac_status); }; } &&
4545 { ac_try='test -s conftest.$ac_objext'
4546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4547 (eval $ac_try) 2>&5
4548 ac_status=$?
4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550 (exit $ac_status); }; }; then
5462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5463 (exit $ac_status); } && {
5464 test -z "$ac_c_werror_flag" ||
5465 test ! -s conftest.err
5466 } && test -s conftest.$ac_objext; then
45515467 ac_header_compiler=yes
45525468 else
4553 echo "$as_me: failed program was:" >&5
5469 $as_echo "$as_me: failed program was:" >&5
45545470 sed 's/^/| /' conftest.$ac_ext >&5
45555471
4556 ac_header_compiler=no
4557 fi
4558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4560 echo "${ECHO_T}$ac_header_compiler" >&6
5472 ac_header_compiler=no
5473 fi
5474
5475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5476 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5477 $as_echo "$ac_header_compiler" >&6; }
45615478
45625479 # Is the header present?
4563 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5480 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5481 $as_echo_n "checking $ac_header presence... " >&6; }
45655482 cat >conftest.$ac_ext <<_ACEOF
45665483 /* confdefs.h. */
45675484 _ACEOF
45705487 /* end confdefs.h. */
45715488 #include <$ac_header>
45725489 _ACEOF
4573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4574 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5490 if { (ac_try="$ac_cpp conftest.$ac_ext"
5491 case "(($ac_try" in
5492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5493 *) ac_try_echo=$ac_try;;
5494 esac
5495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5496 $as_echo "$ac_try_echo") >&5
5497 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45755498 ac_status=$?
45765499 grep -v '^ *+' conftest.er1 >conftest.err
45775500 rm -f conftest.er1
45785501 cat conftest.err >&5
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); } >/dev/null; then
4581 if test -s conftest.err; then
4582 ac_cpp_err=$ac_c_preproc_warn_flag
4583 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4584 else
4585 ac_cpp_err=
4586 fi
4587 else
4588 ac_cpp_err=yes
4589 fi
4590 if test -z "$ac_cpp_err"; then
5502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503 (exit $ac_status); } >/dev/null && {
5504 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5505 test ! -s conftest.err
5506 }; then
45915507 ac_header_preproc=yes
45925508 else
4593 echo "$as_me: failed program was:" >&5
5509 $as_echo "$as_me: failed program was:" >&5
45945510 sed 's/^/| /' conftest.$ac_ext >&5
45955511
45965512 ac_header_preproc=no
45975513 fi
5514
45985515 rm -f conftest.err conftest.$ac_ext
4599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4600 echo "${ECHO_T}$ac_header_preproc" >&6
5516 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5517 $as_echo "$ac_header_preproc" >&6; }
46015518
46025519 # So? What about this header?
46035520 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
46045521 yes:no: )
4605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4606 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4608 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5522 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5523 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5524 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5525 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
46095526 ac_header_preproc=yes
46105527 ;;
46115528 no:yes:* )
4612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4616 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4617 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4618 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4619 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4622 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4623 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4624 (
4625 cat <<\_ASBOX
5529 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5530 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5531 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5532 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5533 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5534 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5535 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5536 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5537 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5538 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5539 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5540 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5541 ( cat <<\_ASBOX
46265542 ## ----------------------------------- ##
46275543 ## Report this to stevenj@alum.mit.edu ##
46285544 ## ----------------------------------- ##
46295545 _ASBOX
4630 ) |
4631 sed "s/^/$as_me: WARNING: /" >&2
5546 ) | sed "s/^/$as_me: WARNING: /" >&2
46325547 ;;
46335548 esac
4634 echo "$as_me:$LINENO: checking for $ac_header" >&5
4635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
5549 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5550 $as_echo_n "checking for $ac_header... " >&6; }
5551 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5552 $as_echo_n "(cached) " >&6
46385553 else
46395554 eval "$as_ac_Header=\$ac_header_preproc"
46405555 fi
4641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4643
4644 fi
4645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5556 ac_res=`eval 'as_val=${'$as_ac_Header'}
5557 $as_echo "$as_val"'`
5558 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5559 $as_echo "$ac_res" >&6; }
5560
5561 fi
5562 as_val=`eval 'as_val=${'$as_ac_Header'}
5563 $as_echo "$as_val"'`
5564 if test "x$as_val" = x""yes; then
46465565 cat >>confdefs.h <<_ACEOF
4647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5566 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
46485567 _ACEOF
46495568
46505569 fi
46525571 done
46535572
46545573 if test "${ac_cv_header_vis5dp_v5d_h+set}" = set; then
4655 echo "$as_me:$LINENO: checking for vis5d+/v5d.h" >&5
4656 echo $ECHO_N "checking for vis5d+/v5d.h... $ECHO_C" >&6
5574 { $as_echo "$as_me:$LINENO: checking for vis5d+/v5d.h" >&5
5575 $as_echo_n "checking for vis5d+/v5d.h... " >&6; }
46575576 if test "${ac_cv_header_vis5dp_v5d_h+set}" = set; then
4658 echo $ECHO_N "(cached) $ECHO_C" >&6
4659 fi
4660 echo "$as_me:$LINENO: result: $ac_cv_header_vis5dp_v5d_h" >&5
4661 echo "${ECHO_T}$ac_cv_header_vis5dp_v5d_h" >&6
5577 $as_echo_n "(cached) " >&6
5578 fi
5579 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_vis5dp_v5d_h" >&5
5580 $as_echo "$ac_cv_header_vis5dp_v5d_h" >&6; }
46625581 else
46635582 # Is the header compilable?
4664 echo "$as_me:$LINENO: checking vis5d+/v5d.h usability" >&5
4665 echo $ECHO_N "checking vis5d+/v5d.h usability... $ECHO_C" >&6
5583 { $as_echo "$as_me:$LINENO: checking vis5d+/v5d.h usability" >&5
5584 $as_echo_n "checking vis5d+/v5d.h usability... " >&6; }
46665585 cat >conftest.$ac_ext <<_ACEOF
46675586 /* confdefs.h. */
46685587 _ACEOF
46735592 #include <vis5d+/v5d.h>
46745593 _ACEOF
46755594 rm -f conftest.$ac_objext
4676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4677 (eval $ac_compile) 2>conftest.er1
5595 if { (ac_try="$ac_compile"
5596 case "(($ac_try" in
5597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5598 *) ac_try_echo=$ac_try;;
5599 esac
5600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5601 $as_echo "$ac_try_echo") >&5
5602 (eval "$ac_compile") 2>conftest.er1
46785603 ac_status=$?
46795604 grep -v '^ *+' conftest.er1 >conftest.err
46805605 rm -f conftest.er1
46815606 cat conftest.err >&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); } &&
4684 { ac_try='test -z "$ac_c_werror_flag"
4685 || test ! -s conftest.err'
4686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4687 (eval $ac_try) 2>&5
4688 ac_status=$?
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); }; } &&
4691 { ac_try='test -s conftest.$ac_objext'
4692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4693 (eval $ac_try) 2>&5
4694 ac_status=$?
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); }; }; then
5607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); } && {
5609 test -z "$ac_c_werror_flag" ||
5610 test ! -s conftest.err
5611 } && test -s conftest.$ac_objext; then
46975612 ac_header_compiler=yes
46985613 else
4699 echo "$as_me: failed program was:" >&5
5614 $as_echo "$as_me: failed program was:" >&5
47005615 sed 's/^/| /' conftest.$ac_ext >&5
47015616
4702 ac_header_compiler=no
4703 fi
4704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4705 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4706 echo "${ECHO_T}$ac_header_compiler" >&6
5617 ac_header_compiler=no
5618 fi
5619
5620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5621 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5622 $as_echo "$ac_header_compiler" >&6; }
47075623
47085624 # Is the header present?
4709 echo "$as_me:$LINENO: checking vis5d+/v5d.h presence" >&5
4710 echo $ECHO_N "checking vis5d+/v5d.h presence... $ECHO_C" >&6
5625 { $as_echo "$as_me:$LINENO: checking vis5d+/v5d.h presence" >&5
5626 $as_echo_n "checking vis5d+/v5d.h presence... " >&6; }
47115627 cat >conftest.$ac_ext <<_ACEOF
47125628 /* confdefs.h. */
47135629 _ACEOF
47165632 /* end confdefs.h. */
47175633 #include <vis5d+/v5d.h>
47185634 _ACEOF
4719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4720 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5635 if { (ac_try="$ac_cpp conftest.$ac_ext"
5636 case "(($ac_try" in
5637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5638 *) ac_try_echo=$ac_try;;
5639 esac
5640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5641 $as_echo "$ac_try_echo") >&5
5642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
47215643 ac_status=$?
47225644 grep -v '^ *+' conftest.er1 >conftest.err
47235645 rm -f conftest.er1
47245646 cat conftest.err >&5
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); } >/dev/null; then
4727 if test -s conftest.err; then
4728 ac_cpp_err=$ac_c_preproc_warn_flag
4729 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4730 else
4731 ac_cpp_err=
4732 fi
4733 else
4734 ac_cpp_err=yes
4735 fi
4736 if test -z "$ac_cpp_err"; then
5647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); } >/dev/null && {
5649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5650 test ! -s conftest.err
5651 }; then
47375652 ac_header_preproc=yes
47385653 else
4739 echo "$as_me: failed program was:" >&5
5654 $as_echo "$as_me: failed program was:" >&5
47405655 sed 's/^/| /' conftest.$ac_ext >&5
47415656
47425657 ac_header_preproc=no
47435658 fi
5659
47445660 rm -f conftest.err conftest.$ac_ext
4745 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4746 echo "${ECHO_T}$ac_header_preproc" >&6
5661 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5662 $as_echo "$ac_header_preproc" >&6; }
47475663
47485664 # So? What about this header?
47495665 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
47505666 yes:no: )
4751 { echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: accepted by the compiler, rejected by the preprocessor!" >&5
4752 echo "$as_me: WARNING: vis5d+/v5d.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4753 { echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: proceeding with the compiler's result" >&5
4754 echo "$as_me: WARNING: vis5d+/v5d.h: proceeding with the compiler's result" >&2;}
5667 { $as_echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: accepted by the compiler, rejected by the preprocessor!" >&5
5668 $as_echo "$as_me: WARNING: vis5d+/v5d.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5669 { $as_echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: proceeding with the compiler's result" >&5
5670 $as_echo "$as_me: WARNING: vis5d+/v5d.h: proceeding with the compiler's result" >&2;}
47555671 ac_header_preproc=yes
47565672 ;;
47575673 no:yes:* )
4758 { echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: present but cannot be compiled" >&5
4759 echo "$as_me: WARNING: vis5d+/v5d.h: present but cannot be compiled" >&2;}
4760 { echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: check for missing prerequisite headers?" >&5
4761 echo "$as_me: WARNING: vis5d+/v5d.h: check for missing prerequisite headers?" >&2;}
4762 { echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: see the Autoconf documentation" >&5
4763 echo "$as_me: WARNING: vis5d+/v5d.h: see the Autoconf documentation" >&2;}
4764 { echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: section \"Present But Cannot Be Compiled\"" >&5
4765 echo "$as_me: WARNING: vis5d+/v5d.h: section \"Present But Cannot Be Compiled\"" >&2;}
4766 { echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: proceeding with the preprocessor's result" >&5
4767 echo "$as_me: WARNING: vis5d+/v5d.h: proceeding with the preprocessor's result" >&2;}
4768 { echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: in the future, the compiler will take precedence" >&5
4769 echo "$as_me: WARNING: vis5d+/v5d.h: in the future, the compiler will take precedence" >&2;}
4770 (
4771 cat <<\_ASBOX
5674 { $as_echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: present but cannot be compiled" >&5
5675 $as_echo "$as_me: WARNING: vis5d+/v5d.h: present but cannot be compiled" >&2;}
5676 { $as_echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: check for missing prerequisite headers?" >&5
5677 $as_echo "$as_me: WARNING: vis5d+/v5d.h: check for missing prerequisite headers?" >&2;}
5678 { $as_echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: see the Autoconf documentation" >&5
5679 $as_echo "$as_me: WARNING: vis5d+/v5d.h: see the Autoconf documentation" >&2;}
5680 { $as_echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: section \"Present But Cannot Be Compiled\"" >&5
5681 $as_echo "$as_me: WARNING: vis5d+/v5d.h: section \"Present But Cannot Be Compiled\"" >&2;}
5682 { $as_echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: proceeding with the preprocessor's result" >&5
5683 $as_echo "$as_me: WARNING: vis5d+/v5d.h: proceeding with the preprocessor's result" >&2;}
5684 { $as_echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: in the future, the compiler will take precedence" >&5
5685 $as_echo "$as_me: WARNING: vis5d+/v5d.h: in the future, the compiler will take precedence" >&2;}
5686 ( cat <<\_ASBOX
47725687 ## ----------------------------------- ##
47735688 ## Report this to stevenj@alum.mit.edu ##
47745689 ## ----------------------------------- ##
47755690 _ASBOX
4776 ) |
4777 sed "s/^/$as_me: WARNING: /" >&2
5691 ) | sed "s/^/$as_me: WARNING: /" >&2
47785692 ;;
47795693 esac
4780 echo "$as_me:$LINENO: checking for vis5d+/v5d.h" >&5
4781 echo $ECHO_N "checking for vis5d+/v5d.h... $ECHO_C" >&6
5694 { $as_echo "$as_me:$LINENO: checking for vis5d+/v5d.h" >&5
5695 $as_echo_n "checking for vis5d+/v5d.h... " >&6; }
47825696 if test "${ac_cv_header_vis5dp_v5d_h+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
5697 $as_echo_n "(cached) " >&6
47845698 else
47855699 ac_cv_header_vis5dp_v5d_h=$ac_header_preproc
47865700 fi
4787 echo "$as_me:$LINENO: result: $ac_cv_header_vis5dp_v5d_h" >&5
4788 echo "${ECHO_T}$ac_cv_header_vis5dp_v5d_h" >&6
4789
4790 fi
4791 if test $ac_cv_header_vis5dp_v5d_h = yes; then
5701 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_vis5dp_v5d_h" >&5
5702 $as_echo "$ac_cv_header_vis5dp_v5d_h" >&6; }
5703
5704 fi
5705 if test "x$ac_cv_header_vis5dp_v5d_h" = x""yes; then
47925706
47935707 cat >>confdefs.h <<\_ACEOF
47945708 #define HAVE_VIS5Dp_V5D_H 1
47985712
47995713
48005714 elif test "$ok" != "no"; then
4801 echo "$as_me:$LINENO: checking for Vis5d object files and headers" >&5
4802 echo $ECHO_N "checking for Vis5d object files and headers... $ECHO_C" >&6
5715 { $as_echo "$as_me:$LINENO: checking for Vis5d object files and headers" >&5
5716 $as_echo_n "checking for Vis5d object files and headers... " >&6; }
48035717 if test -r "$ok/src/v5d.o" -a -r "$ok/src/binio.o" -a -r "$ok/src/v5d.h" -a -r "$ok/src/binio.h"; then
48045718 V5D_FILES="$ok/src/v5d.o $ok/src/binio.o"
48055719 V5D_INCLUDES="-I$ok/src"
48085722 V5D_INCLUDES="-I$ok"
48095723 fi
48105724 if test -z "$V5D_FILES"; then
4811 echo "$as_me:$LINENO: result: not found" >&5
4812 echo "${ECHO_T}not found" >&6
4813 { { echo "$as_me:$LINENO: error: couldn't read Vis5D object files in $ok" >&5
4814 echo "$as_me: error: couldn't read Vis5D object files in $ok" >&2;}
5725 { $as_echo "$as_me:$LINENO: result: not found" >&5
5726 $as_echo "not found" >&6; }
5727 { { $as_echo "$as_me:$LINENO: error: couldn't read Vis5D object files in $ok" >&5
5728 $as_echo "$as_me: error: couldn't read Vis5D object files in $ok" >&2;}
48155729 { (exit 1); exit 1; }; }
48165730 else
4817 echo "$as_me:$LINENO: result: found" >&5
4818 echo "${ECHO_T}found" >&6
5731 { $as_echo "$as_me:$LINENO: result: found" >&5
5732 $as_echo "found" >&6; }
48195733 fi
48205734 H5TOV5D=yes
48215735 fi
48225736 if test $H5TOV5D = yes; then
4823 MORE_H5UTILS="h5tov5d $MORE_H5UTILS"
5737 MORE_H5UTILS="h5tov5d\$(EXEEXT) $MORE_H5UTILS"
48245738 MORE_H5UTILS_MANS="h5tov5d.1 $MORE_H5UTILS_MANS"
48255739 fi
48265740
48295743 ###########################################################################
48305744
48315745
4832 for ac_header in netinet/in.h
5746
5747
5748
5749 for ac_header in arpa/inet.h netinet/in.h stdint.h inttypes.h
48335750 do
4834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4836 echo "$as_me:$LINENO: checking for $ac_header" >&5
4837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4839 echo $ECHO_N "(cached) $ECHO_C" >&6
4840 fi
4841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5751 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5752 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5753 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5754 $as_echo_n "checking for $ac_header... " >&6; }
5755 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5756 $as_echo_n "(cached) " >&6
5757 fi
5758 ac_res=`eval 'as_val=${'$as_ac_Header'}
5759 $as_echo "$as_val"'`
5760 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5761 $as_echo "$ac_res" >&6; }
48435762 else
48445763 # Is the header compilable?
4845 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4846 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5764 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5765 $as_echo_n "checking $ac_header usability... " >&6; }
48475766 cat >conftest.$ac_ext <<_ACEOF
48485767 /* confdefs.h. */
48495768 _ACEOF
48545773 #include <$ac_header>
48555774 _ACEOF
48565775 rm -f conftest.$ac_objext
4857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4858 (eval $ac_compile) 2>conftest.er1
5776 if { (ac_try="$ac_compile"
5777 case "(($ac_try" in
5778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5779 *) ac_try_echo=$ac_try;;
5780 esac
5781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5782 $as_echo "$ac_try_echo") >&5
5783 (eval "$ac_compile") 2>conftest.er1
48595784 ac_status=$?
48605785 grep -v '^ *+' conftest.er1 >conftest.err
48615786 rm -f conftest.er1
48625787 cat conftest.err >&5
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864 (exit $ac_status); } &&
4865 { ac_try='test -z "$ac_c_werror_flag"
4866 || test ! -s conftest.err'
4867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4868 (eval $ac_try) 2>&5
4869 ac_status=$?
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); }; } &&
4872 { ac_try='test -s conftest.$ac_objext'
4873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4874 (eval $ac_try) 2>&5
4875 ac_status=$?
4876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877 (exit $ac_status); }; }; then
5788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789 (exit $ac_status); } && {
5790 test -z "$ac_c_werror_flag" ||
5791 test ! -s conftest.err
5792 } && test -s conftest.$ac_objext; then
48785793 ac_header_compiler=yes
48795794 else
4880 echo "$as_me: failed program was:" >&5
5795 $as_echo "$as_me: failed program was:" >&5
48815796 sed 's/^/| /' conftest.$ac_ext >&5
48825797
4883 ac_header_compiler=no
4884 fi
4885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4886 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4887 echo "${ECHO_T}$ac_header_compiler" >&6
5798 ac_header_compiler=no
5799 fi
5800
5801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5802 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5803 $as_echo "$ac_header_compiler" >&6; }
48885804
48895805 # Is the header present?
4890 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4891 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5806 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5807 $as_echo_n "checking $ac_header presence... " >&6; }
48925808 cat >conftest.$ac_ext <<_ACEOF
48935809 /* confdefs.h. */
48945810 _ACEOF
48975813 /* end confdefs.h. */
48985814 #include <$ac_header>
48995815 _ACEOF
4900 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4901 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5816 if { (ac_try="$ac_cpp conftest.$ac_ext"
5817 case "(($ac_try" in
5818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5819 *) ac_try_echo=$ac_try;;
5820 esac
5821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5822 $as_echo "$ac_try_echo") >&5
5823 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
49025824 ac_status=$?
49035825 grep -v '^ *+' conftest.er1 >conftest.err
49045826 rm -f conftest.er1
49055827 cat conftest.err >&5
4906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907 (exit $ac_status); } >/dev/null; then
4908 if test -s conftest.err; then
4909 ac_cpp_err=$ac_c_preproc_warn_flag
4910 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4911 else
4912 ac_cpp_err=
4913 fi
4914 else
4915 ac_cpp_err=yes
4916 fi
4917 if test -z "$ac_cpp_err"; then
5828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829 (exit $ac_status); } >/dev/null && {
5830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5831 test ! -s conftest.err
5832 }; then
49185833 ac_header_preproc=yes
49195834 else
4920 echo "$as_me: failed program was:" >&5
5835 $as_echo "$as_me: failed program was:" >&5
49215836 sed 's/^/| /' conftest.$ac_ext >&5
49225837
49235838 ac_header_preproc=no
49245839 fi
5840
49255841 rm -f conftest.err conftest.$ac_ext
4926 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4927 echo "${ECHO_T}$ac_header_preproc" >&6
5842 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5843 $as_echo "$ac_header_preproc" >&6; }
49285844
49295845 # So? What about this header?
49305846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
49315847 yes:no: )
4932 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4933 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4935 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5848 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5849 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5850 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5851 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
49365852 ac_header_preproc=yes
49375853 ;;
49385854 no:yes:* )
4939 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4940 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4941 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4942 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4943 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4944 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4945 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4946 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4948 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4949 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4950 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4951 (
4952 cat <<\_ASBOX
5855 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5856 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5857 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5858 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5859 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5860 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5861 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5862 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5863 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5864 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5865 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5866 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5867 ( cat <<\_ASBOX
49535868 ## ----------------------------------- ##
49545869 ## Report this to stevenj@alum.mit.edu ##
49555870 ## ----------------------------------- ##
49565871 _ASBOX
4957 ) |
4958 sed "s/^/$as_me: WARNING: /" >&2
5872 ) | sed "s/^/$as_me: WARNING: /" >&2
49595873 ;;
49605874 esac
4961 echo "$as_me:$LINENO: checking for $ac_header" >&5
4962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4964 echo $ECHO_N "(cached) $ECHO_C" >&6
5875 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5876 $as_echo_n "checking for $ac_header... " >&6; }
5877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5878 $as_echo_n "(cached) " >&6
49655879 else
49665880 eval "$as_ac_Header=\$ac_header_preproc"
49675881 fi
4968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4970
4971 fi
4972 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5882 ac_res=`eval 'as_val=${'$as_ac_Header'}
5883 $as_echo "$as_val"'`
5884 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5885 $as_echo "$ac_res" >&6; }
5886
5887 fi
5888 as_val=`eval 'as_val=${'$as_ac_Header'}
5889 $as_echo "$as_val"'`
5890 if test "x$as_val" = x""yes; then
49735891 cat >>confdefs.h <<_ACEOF
4974 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
49755893 _ACEOF
49765894
49775895 fi
49785896
49795897 done
49805898
4981
4982 echo "$as_me:$LINENO: checking for htons" >&5
4983 echo $ECHO_N "checking for htons... $ECHO_C" >&6
5899 { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
5900 $as_echo_n "checking for uint16_t... " >&6; }
5901 if test "${ac_cv_type_uint16_t+set}" = set; then
5902 $as_echo_n "(cached) " >&6
5903 else
5904 ac_cv_type_uint16_t=no
49845905 cat >conftest.$ac_ext <<_ACEOF
49855906 /* confdefs.h. */
49865907 _ACEOF
49875908 cat confdefs.h >>conftest.$ac_ext
49885909 cat >>conftest.$ac_ext <<_ACEOF
49895910 /* end confdefs.h. */
4990 #ifdef HAVE_NETINET_IN_H
5911 $ac_includes_default
5912 int
5913 main ()
5914 {
5915 if (sizeof (uint16_t))
5916 return 0;
5917 ;
5918 return 0;
5919 }
5920 _ACEOF
5921 rm -f conftest.$ac_objext
5922 if { (ac_try="$ac_compile"
5923 case "(($ac_try" in
5924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5925 *) ac_try_echo=$ac_try;;
5926 esac
5927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5928 $as_echo "$ac_try_echo") >&5
5929 (eval "$ac_compile") 2>conftest.er1
5930 ac_status=$?
5931 grep -v '^ *+' conftest.er1 >conftest.err
5932 rm -f conftest.er1
5933 cat conftest.err >&5
5934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); } && {
5936 test -z "$ac_c_werror_flag" ||
5937 test ! -s conftest.err
5938 } && test -s conftest.$ac_objext; then
5939 cat >conftest.$ac_ext <<_ACEOF
5940 /* confdefs.h. */
5941 _ACEOF
5942 cat confdefs.h >>conftest.$ac_ext
5943 cat >>conftest.$ac_ext <<_ACEOF
5944 /* end confdefs.h. */
5945 $ac_includes_default
5946 int
5947 main ()
5948 {
5949 if (sizeof ((uint16_t)))
5950 return 0;
5951 ;
5952 return 0;
5953 }
5954 _ACEOF
5955 rm -f conftest.$ac_objext
5956 if { (ac_try="$ac_compile"
5957 case "(($ac_try" in
5958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5959 *) ac_try_echo=$ac_try;;
5960 esac
5961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5962 $as_echo "$ac_try_echo") >&5
5963 (eval "$ac_compile") 2>conftest.er1
5964 ac_status=$?
5965 grep -v '^ *+' conftest.er1 >conftest.err
5966 rm -f conftest.er1
5967 cat conftest.err >&5
5968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5969 (exit $ac_status); } && {
5970 test -z "$ac_c_werror_flag" ||
5971 test ! -s conftest.err
5972 } && test -s conftest.$ac_objext; then
5973 :
5974 else
5975 $as_echo "$as_me: failed program was:" >&5
5976 sed 's/^/| /' conftest.$ac_ext >&5
5977
5978 ac_cv_type_uint16_t=yes
5979 fi
5980
5981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5982 else
5983 $as_echo "$as_me: failed program was:" >&5
5984 sed 's/^/| /' conftest.$ac_ext >&5
5985
5986
5987 fi
5988
5989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5990 fi
5991 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
5992 $as_echo "$ac_cv_type_uint16_t" >&6; }
5993 if test "x$ac_cv_type_uint16_t" = x""yes; then
5994
5995 cat >>confdefs.h <<_ACEOF
5996 #define HAVE_UINT16_T 1
5997 _ACEOF
5998
5999
6000 fi
6001 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
6002 $as_echo_n "checking for uint32_t... " >&6; }
6003 if test "${ac_cv_type_uint32_t+set}" = set; then
6004 $as_echo_n "(cached) " >&6
6005 else
6006 ac_cv_type_uint32_t=no
6007 cat >conftest.$ac_ext <<_ACEOF
6008 /* confdefs.h. */
6009 _ACEOF
6010 cat confdefs.h >>conftest.$ac_ext
6011 cat >>conftest.$ac_ext <<_ACEOF
6012 /* end confdefs.h. */
6013 $ac_includes_default
6014 int
6015 main ()
6016 {
6017 if (sizeof (uint32_t))
6018 return 0;
6019 ;
6020 return 0;
6021 }
6022 _ACEOF
6023 rm -f conftest.$ac_objext
6024 if { (ac_try="$ac_compile"
6025 case "(($ac_try" in
6026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6027 *) ac_try_echo=$ac_try;;
6028 esac
6029 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6030 $as_echo "$ac_try_echo") >&5
6031 (eval "$ac_compile") 2>conftest.er1
6032 ac_status=$?
6033 grep -v '^ *+' conftest.er1 >conftest.err
6034 rm -f conftest.er1
6035 cat conftest.err >&5
6036 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); } && {
6038 test -z "$ac_c_werror_flag" ||
6039 test ! -s conftest.err
6040 } && test -s conftest.$ac_objext; then
6041 cat >conftest.$ac_ext <<_ACEOF
6042 /* confdefs.h. */
6043 _ACEOF
6044 cat confdefs.h >>conftest.$ac_ext
6045 cat >>conftest.$ac_ext <<_ACEOF
6046 /* end confdefs.h. */
6047 $ac_includes_default
6048 int
6049 main ()
6050 {
6051 if (sizeof ((uint32_t)))
6052 return 0;
6053 ;
6054 return 0;
6055 }
6056 _ACEOF
6057 rm -f conftest.$ac_objext
6058 if { (ac_try="$ac_compile"
6059 case "(($ac_try" in
6060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6061 *) ac_try_echo=$ac_try;;
6062 esac
6063 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6064 $as_echo "$ac_try_echo") >&5
6065 (eval "$ac_compile") 2>conftest.er1
6066 ac_status=$?
6067 grep -v '^ *+' conftest.er1 >conftest.err
6068 rm -f conftest.er1
6069 cat conftest.err >&5
6070 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); } && {
6072 test -z "$ac_c_werror_flag" ||
6073 test ! -s conftest.err
6074 } && test -s conftest.$ac_objext; then
6075 :
6076 else
6077 $as_echo "$as_me: failed program was:" >&5
6078 sed 's/^/| /' conftest.$ac_ext >&5
6079
6080 ac_cv_type_uint32_t=yes
6081 fi
6082
6083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6084 else
6085 $as_echo "$as_me: failed program was:" >&5
6086 sed 's/^/| /' conftest.$ac_ext >&5
6087
6088
6089 fi
6090
6091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6092 fi
6093 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
6094 $as_echo "$ac_cv_type_uint32_t" >&6; }
6095 if test "x$ac_cv_type_uint32_t" = x""yes; then
6096
6097 cat >>confdefs.h <<_ACEOF
6098 #define HAVE_UINT32_T 1
6099 _ACEOF
6100
6101
6102 fi
6103
6104
6105 { $as_echo "$as_me:$LINENO: checking for htons" >&5
6106 $as_echo_n "checking for htons... " >&6; }
6107 cat >conftest.$ac_ext <<_ACEOF
6108 /* confdefs.h. */
6109 _ACEOF
6110 cat confdefs.h >>conftest.$ac_ext
6111 cat >>conftest.$ac_ext <<_ACEOF
6112 /* end confdefs.h. */
6113 #if defined(HAVE_ARPA_INET_H)
6114 #include <arpa/inet.h>
6115 #elif defined(HAVE_NETINET_IN_H)
49916116 #include <netinet/in.h>
49926117 #endif
49936118 int
49996124 }
50006125 _ACEOF
50016126 rm -f conftest.$ac_objext conftest$ac_exeext
5002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5003 (eval $ac_link) 2>conftest.er1
6127 if { (ac_try="$ac_link"
6128 case "(($ac_try" in
6129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6130 *) ac_try_echo=$ac_try;;
6131 esac
6132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6133 $as_echo "$ac_try_echo") >&5
6134 (eval "$ac_link") 2>conftest.er1
50046135 ac_status=$?
50056136 grep -v '^ *+' conftest.er1 >conftest.err
50066137 rm -f conftest.er1
50076138 cat conftest.err >&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); } &&
5010 { ac_try='test -z "$ac_c_werror_flag"
5011 || test ! -s conftest.err'
5012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5013 (eval $ac_try) 2>&5
5014 ac_status=$?
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); }; } &&
5017 { ac_try='test -s conftest$ac_exeext'
5018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5019 (eval $ac_try) 2>&5
5020 ac_status=$?
5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); }; }; then
6139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); } && {
6141 test -z "$ac_c_werror_flag" ||
6142 test ! -s conftest.err
6143 } && test -s conftest$ac_exeext && {
6144 test "$cross_compiling" = yes ||
6145 $as_test_x conftest$ac_exeext
6146 }; then
50236147 htons=yes
50246148
50256149 cat >>confdefs.h <<\_ACEOF
50276151 _ACEOF
50286152
50296153 else
5030 echo "$as_me: failed program was:" >&5
6154 $as_echo "$as_me: failed program was:" >&5
50316155 sed 's/^/| /' conftest.$ac_ext >&5
50326156
5033 htons=no
5034 fi
5035 rm -f conftest.err conftest.$ac_objext \
6157 htons=no
6158 fi
6159
6160 rm -rf conftest.dSYM
6161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
50366162 conftest$ac_exeext conftest.$ac_ext
5037 echo "$as_me:$LINENO: result: $htons" >&5
5038 echo "${ECHO_T}$htons" >&6
5039
5040 echo "$as_me:$LINENO: checking for unsigned long" >&5
5041 echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
5042 if test "${ac_cv_type_unsigned_long+set}" = set; then
5043 echo $ECHO_N "(cached) $ECHO_C" >&6
5044 else
5045 cat >conftest.$ac_ext <<_ACEOF
6163 { $as_echo "$as_me:$LINENO: result: $htons" >&5
6164 $as_echo "$htons" >&6; }
6165
6166 # The cast to long int works around a bug in the HP C Compiler
6167 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6168 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6169 # This bug is HP SR number 8606223364.
6170 { $as_echo "$as_me:$LINENO: checking size of float" >&5
6171 $as_echo_n "checking size of float... " >&6; }
6172 if test "${ac_cv_sizeof_float+set}" = set; then
6173 $as_echo_n "(cached) " >&6
6174 else
6175 if test "$cross_compiling" = yes; then
6176 # Depending upon the size, compute the lo and hi bounds.
6177 cat >conftest.$ac_ext <<_ACEOF
50466178 /* confdefs.h. */
50476179 _ACEOF
50486180 cat confdefs.h >>conftest.$ac_ext
50526184 int
50536185 main ()
50546186 {
5055 if ((unsigned long *) 0)
5056 return 0;
5057 if (sizeof (unsigned long))
5058 return 0;
6187 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= 0)];
6188 test_array [0] = 0
6189
50596190 ;
50606191 return 0;
50616192 }
50626193 _ACEOF
50636194 rm -f conftest.$ac_objext
5064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5065 (eval $ac_compile) 2>conftest.er1
6195 if { (ac_try="$ac_compile"
6196 case "(($ac_try" in
6197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6198 *) ac_try_echo=$ac_try;;
6199 esac
6200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6201 $as_echo "$ac_try_echo") >&5
6202 (eval "$ac_compile") 2>conftest.er1
50666203 ac_status=$?
50676204 grep -v '^ *+' conftest.er1 >conftest.err
50686205 rm -f conftest.er1
50696206 cat conftest.err >&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); } &&
5072 { ac_try='test -z "$ac_c_werror_flag"
5073 || test ! -s conftest.err'
5074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5075 (eval $ac_try) 2>&5
5076 ac_status=$?
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); }; } &&
5079 { ac_try='test -s conftest.$ac_objext'
5080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5081 (eval $ac_try) 2>&5
5082 ac_status=$?
5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5084 (exit $ac_status); }; }; then
5085 ac_cv_type_unsigned_long=yes
5086 else
5087 echo "$as_me: failed program was:" >&5
5088 sed 's/^/| /' conftest.$ac_ext >&5
5089
5090 ac_cv_type_unsigned_long=no
5091 fi
5092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5093 fi
5094 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
5095 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
5096
5097 echo "$as_me:$LINENO: checking size of unsigned long" >&5
5098 echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
5099 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
5100 echo $ECHO_N "(cached) $ECHO_C" >&6
5101 else
5102 if test "$ac_cv_type_unsigned_long" = yes; then
5103 # The cast to unsigned long works around a bug in the HP C Compiler
5104 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5105 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5106 # This bug is HP SR number 8606223364.
5107 if test "$cross_compiling" = yes; then
5108 # Depending upon the size, compute the lo and hi bounds.
5109 cat >conftest.$ac_ext <<_ACEOF
6207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); } && {
6209 test -z "$ac_c_werror_flag" ||
6210 test ! -s conftest.err
6211 } && test -s conftest.$ac_objext; then
6212 ac_lo=0 ac_mid=0
6213 while :; do
6214 cat >conftest.$ac_ext <<_ACEOF
51106215 /* confdefs.h. */
51116216 _ACEOF
51126217 cat confdefs.h >>conftest.$ac_ext
51166221 int
51176222 main ()
51186223 {
5119 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
6224 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)];
51206225 test_array [0] = 0
51216226
51226227 ;
51246229 }
51256230 _ACEOF
51266231 rm -f conftest.$ac_objext
5127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5128 (eval $ac_compile) 2>conftest.er1
6232 if { (ac_try="$ac_compile"
6233 case "(($ac_try" in
6234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6235 *) ac_try_echo=$ac_try;;
6236 esac
6237 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6238 $as_echo "$ac_try_echo") >&5
6239 (eval "$ac_compile") 2>conftest.er1
51296240 ac_status=$?
51306241 grep -v '^ *+' conftest.er1 >conftest.err
51316242 rm -f conftest.er1
51326243 cat conftest.err >&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); } &&
5135 { ac_try='test -z "$ac_c_werror_flag"
5136 || test ! -s conftest.err'
5137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5138 (eval $ac_try) 2>&5
5139 ac_status=$?
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141 (exit $ac_status); }; } &&
5142 { ac_try='test -s conftest.$ac_objext'
5143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5144 (eval $ac_try) 2>&5
5145 ac_status=$?
5146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147 (exit $ac_status); }; }; then
5148 ac_lo=0 ac_mid=0
5149 while :; do
5150 cat >conftest.$ac_ext <<_ACEOF
6244 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); } && {
6246 test -z "$ac_c_werror_flag" ||
6247 test ! -s conftest.err
6248 } && test -s conftest.$ac_objext; then
6249 ac_hi=$ac_mid; break
6250 else
6251 $as_echo "$as_me: failed program was:" >&5
6252 sed 's/^/| /' conftest.$ac_ext >&5
6253
6254 ac_lo=`expr $ac_mid + 1`
6255 if test $ac_lo -le $ac_mid; then
6256 ac_lo= ac_hi=
6257 break
6258 fi
6259 ac_mid=`expr 2 '*' $ac_mid + 1`
6260 fi
6261
6262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6263 done
6264 else
6265 $as_echo "$as_me: failed program was:" >&5
6266 sed 's/^/| /' conftest.$ac_ext >&5
6267
6268 cat >conftest.$ac_ext <<_ACEOF
51516269 /* confdefs.h. */
51526270 _ACEOF
51536271 cat confdefs.h >>conftest.$ac_ext
51576275 int
51586276 main ()
51596277 {
5160 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
6278 static int test_array [1 - 2 * !(((long int) (sizeof (float))) < 0)];
51616279 test_array [0] = 0
51626280
51636281 ;
51656283 }
51666284 _ACEOF
51676285 rm -f conftest.$ac_objext
5168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5169 (eval $ac_compile) 2>conftest.er1
6286 if { (ac_try="$ac_compile"
6287 case "(($ac_try" in
6288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6289 *) ac_try_echo=$ac_try;;
6290 esac
6291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6292 $as_echo "$ac_try_echo") >&5
6293 (eval "$ac_compile") 2>conftest.er1
51706294 ac_status=$?
51716295 grep -v '^ *+' conftest.er1 >conftest.err
51726296 rm -f conftest.er1
51736297 cat conftest.err >&5
5174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 (exit $ac_status); } &&
5176 { ac_try='test -z "$ac_c_werror_flag"
5177 || test ! -s conftest.err'
5178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5179 (eval $ac_try) 2>&5
5180 ac_status=$?
5181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 (exit $ac_status); }; } &&
5183 { ac_try='test -s conftest.$ac_objext'
5184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5185 (eval $ac_try) 2>&5
5186 ac_status=$?
5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188 (exit $ac_status); }; }; then
5189 ac_hi=$ac_mid; break
5190 else
5191 echo "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.$ac_ext >&5
5193
5194 ac_lo=`expr $ac_mid + 1`
5195 if test $ac_lo -le $ac_mid; then
5196 ac_lo= ac_hi=
5197 break
5198 fi
5199 ac_mid=`expr 2 '*' $ac_mid + 1`
5200 fi
5201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5202 done
5203 else
5204 echo "$as_me: failed program was:" >&5
5205 sed 's/^/| /' conftest.$ac_ext >&5
5206
5207 cat >conftest.$ac_ext <<_ACEOF
6298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); } && {
6300 test -z "$ac_c_werror_flag" ||
6301 test ! -s conftest.err
6302 } && test -s conftest.$ac_objext; then
6303 ac_hi=-1 ac_mid=-1
6304 while :; do
6305 cat >conftest.$ac_ext <<_ACEOF
52086306 /* confdefs.h. */
52096307 _ACEOF
52106308 cat confdefs.h >>conftest.$ac_ext
52146312 int
52156313 main ()
52166314 {
5217 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
6315 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= $ac_mid)];
52186316 test_array [0] = 0
52196317
52206318 ;
52226320 }
52236321 _ACEOF
52246322 rm -f conftest.$ac_objext
5225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5226 (eval $ac_compile) 2>conftest.er1
6323 if { (ac_try="$ac_compile"
6324 case "(($ac_try" in
6325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6326 *) ac_try_echo=$ac_try;;
6327 esac
6328 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6329 $as_echo "$ac_try_echo") >&5
6330 (eval "$ac_compile") 2>conftest.er1
52276331 ac_status=$?
52286332 grep -v '^ *+' conftest.er1 >conftest.err
52296333 rm -f conftest.er1
52306334 cat conftest.err >&5
5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232 (exit $ac_status); } &&
5233 { ac_try='test -z "$ac_c_werror_flag"
5234 || test ! -s conftest.err'
5235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5236 (eval $ac_try) 2>&5
5237 ac_status=$?
5238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5239 (exit $ac_status); }; } &&
5240 { ac_try='test -s conftest.$ac_objext'
5241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5242 (eval $ac_try) 2>&5
5243 ac_status=$?
5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5245 (exit $ac_status); }; }; then
5246 ac_hi=-1 ac_mid=-1
5247 while :; do
5248 cat >conftest.$ac_ext <<_ACEOF
6335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336 (exit $ac_status); } && {
6337 test -z "$ac_c_werror_flag" ||
6338 test ! -s conftest.err
6339 } && test -s conftest.$ac_objext; then
6340 ac_lo=$ac_mid; break
6341 else
6342 $as_echo "$as_me: failed program was:" >&5
6343 sed 's/^/| /' conftest.$ac_ext >&5
6344
6345 ac_hi=`expr '(' $ac_mid ')' - 1`
6346 if test $ac_mid -le $ac_hi; then
6347 ac_lo= ac_hi=
6348 break
6349 fi
6350 ac_mid=`expr 2 '*' $ac_mid`
6351 fi
6352
6353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6354 done
6355 else
6356 $as_echo "$as_me: failed program was:" >&5
6357 sed 's/^/| /' conftest.$ac_ext >&5
6358
6359 ac_lo= ac_hi=
6360 fi
6361
6362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6363 fi
6364
6365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6366 # Binary search between lo and hi bounds.
6367 while test "x$ac_lo" != "x$ac_hi"; do
6368 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6369 cat >conftest.$ac_ext <<_ACEOF
52496370 /* confdefs.h. */
52506371 _ACEOF
52516372 cat confdefs.h >>conftest.$ac_ext
52556376 int
52566377 main ()
52576378 {
5258 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
6379 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)];
52596380 test_array [0] = 0
52606381
52616382 ;
52636384 }
52646385 _ACEOF
52656386 rm -f conftest.$ac_objext
5266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5267 (eval $ac_compile) 2>conftest.er1
6387 if { (ac_try="$ac_compile"
6388 case "(($ac_try" in
6389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6390 *) ac_try_echo=$ac_try;;
6391 esac
6392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6393 $as_echo "$ac_try_echo") >&5
6394 (eval "$ac_compile") 2>conftest.er1
52686395 ac_status=$?
52696396 grep -v '^ *+' conftest.er1 >conftest.err
52706397 rm -f conftest.er1
52716398 cat conftest.err >&5
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); } &&
5274 { ac_try='test -z "$ac_c_werror_flag"
5275 || test ! -s conftest.err'
5276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5277 (eval $ac_try) 2>&5
6399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); } && {
6401 test -z "$ac_c_werror_flag" ||
6402 test ! -s conftest.err
6403 } && test -s conftest.$ac_objext; then
6404 ac_hi=$ac_mid
6405 else
6406 $as_echo "$as_me: failed program was:" >&5
6407 sed 's/^/| /' conftest.$ac_ext >&5
6408
6409 ac_lo=`expr '(' $ac_mid ')' + 1`
6410 fi
6411
6412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6413 done
6414 case $ac_lo in
6415 ?*) ac_cv_sizeof_float=$ac_lo;;
6416 '') if test "$ac_cv_type_float" = yes; then
6417 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6419 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float)
6420 See \`config.log' for more details." >&5
6421 $as_echo "$as_me: error: cannot compute sizeof (float)
6422 See \`config.log' for more details." >&2;}
6423 { (exit 77); exit 77; }; }; }
6424 else
6425 ac_cv_sizeof_float=0
6426 fi ;;
6427 esac
6428 else
6429 cat >conftest.$ac_ext <<_ACEOF
6430 /* confdefs.h. */
6431 _ACEOF
6432 cat confdefs.h >>conftest.$ac_ext
6433 cat >>conftest.$ac_ext <<_ACEOF
6434 /* end confdefs.h. */
6435 $ac_includes_default
6436 static long int longval () { return (long int) (sizeof (float)); }
6437 static unsigned long int ulongval () { return (long int) (sizeof (float)); }
6438 #include <stdio.h>
6439 #include <stdlib.h>
6440 int
6441 main ()
6442 {
6443
6444 FILE *f = fopen ("conftest.val", "w");
6445 if (! f)
6446 return 1;
6447 if (((long int) (sizeof (float))) < 0)
6448 {
6449 long int i = longval ();
6450 if (i != ((long int) (sizeof (float))))
6451 return 1;
6452 fprintf (f, "%ld", i);
6453 }
6454 else
6455 {
6456 unsigned long int i = ulongval ();
6457 if (i != ((long int) (sizeof (float))))
6458 return 1;
6459 fprintf (f, "%lu", i);
6460 }
6461 /* Do not output a trailing newline, as this causes \r\n confusion
6462 on some platforms. */
6463 return ferror (f) || fclose (f) != 0;
6464
6465 ;
6466 return 0;
6467 }
6468 _ACEOF
6469 rm -f conftest$ac_exeext
6470 if { (ac_try="$ac_link"
6471 case "(($ac_try" in
6472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6473 *) ac_try_echo=$ac_try;;
6474 esac
6475 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6476 $as_echo "$ac_try_echo") >&5
6477 (eval "$ac_link") 2>&5
52786478 ac_status=$?
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); }; } &&
5281 { ac_try='test -s conftest.$ac_objext'
5282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5283 (eval $ac_try) 2>&5
6479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6481 { (case "(($ac_try" in
6482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6483 *) ac_try_echo=$ac_try;;
6484 esac
6485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6486 $as_echo "$ac_try_echo") >&5
6487 (eval "$ac_try") 2>&5
52846488 ac_status=$?
5285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
52866490 (exit $ac_status); }; }; then
5287 ac_lo=$ac_mid; break
5288 else
5289 echo "$as_me: failed program was:" >&5
6491 ac_cv_sizeof_float=`cat conftest.val`
6492 else
6493 $as_echo "$as_me: program exited with status $ac_status" >&5
6494 $as_echo "$as_me: failed program was:" >&5
52906495 sed 's/^/| /' conftest.$ac_ext >&5
52916496
5292 ac_hi=`expr '(' $ac_mid ')' - 1`
5293 if test $ac_mid -le $ac_hi; then
5294 ac_lo= ac_hi=
5295 break
5296 fi
5297 ac_mid=`expr 2 '*' $ac_mid`
5298 fi
5299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5300 done
5301 else
5302 echo "$as_me: failed program was:" >&5
6497 ( exit $ac_status )
6498 if test "$ac_cv_type_float" = yes; then
6499 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6501 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float)
6502 See \`config.log' for more details." >&5
6503 $as_echo "$as_me: error: cannot compute sizeof (float)
6504 See \`config.log' for more details." >&2;}
6505 { (exit 77); exit 77; }; }; }
6506 else
6507 ac_cv_sizeof_float=0
6508 fi
6509 fi
6510 rm -rf conftest.dSYM
6511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6512 fi
6513 rm -f conftest.val
6514 fi
6515 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
6516 $as_echo "$ac_cv_sizeof_float" >&6; }
6517
6518
6519
6520 cat >>confdefs.h <<_ACEOF
6521 #define SIZEOF_FLOAT $ac_cv_sizeof_float
6522 _ACEOF
6523
6524
6525
6526 { $as_echo "$as_me:$LINENO: checking for htonl" >&5
6527 $as_echo_n "checking for htonl... " >&6; }
6528 cat >conftest.$ac_ext <<_ACEOF
6529 /* confdefs.h. */
6530 _ACEOF
6531 cat confdefs.h >>conftest.$ac_ext
6532 cat >>conftest.$ac_ext <<_ACEOF
6533 /* end confdefs.h. */
6534 #if defined(HAVE_ARPA_INET_H)
6535 #include <arpa/inet.h>
6536 #elif defined(HAVE_NETINET_IN_H)
6537 #include <netinet/in.h>
6538 #endif
6539 int
6540 main ()
6541 {
6542 unsigned long i; htonl(i);
6543 ;
6544 return 0;
6545 }
6546 _ACEOF
6547 rm -f conftest.$ac_objext conftest$ac_exeext
6548 if { (ac_try="$ac_link"
6549 case "(($ac_try" in
6550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6551 *) ac_try_echo=$ac_try;;
6552 esac
6553 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6554 $as_echo "$ac_try_echo") >&5
6555 (eval "$ac_link") 2>conftest.er1
6556 ac_status=$?
6557 grep -v '^ *+' conftest.er1 >conftest.err
6558 rm -f conftest.er1
6559 cat conftest.err >&5
6560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); } && {
6562 test -z "$ac_c_werror_flag" ||
6563 test ! -s conftest.err
6564 } && test -s conftest$ac_exeext && {
6565 test "$cross_compiling" = yes ||
6566 $as_test_x conftest$ac_exeext
6567 }; then
6568 htonl=yes
6569
6570 cat >>confdefs.h <<\_ACEOF
6571 #define HAVE_HTONL 1
6572 _ACEOF
6573
6574 else
6575 $as_echo "$as_me: failed program was:" >&5
53036576 sed 's/^/| /' conftest.$ac_ext >&5
53046577
5305 ac_lo= ac_hi=
5306 fi
5307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5308 fi
5309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5310 # Binary search between lo and hi bounds.
5311 while test "x$ac_lo" != "x$ac_hi"; do
5312 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6578 htonl=no
6579 fi
6580
6581 rm -rf conftest.dSYM
6582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6583 conftest$ac_exeext conftest.$ac_ext
6584 { $as_echo "$as_me:$LINENO: result: $htonl" >&5
6585 $as_echo "$htonl" >&6; }
6586
6587 if test "x$htons" != xyes -o "x$htonl" != xyes; then
6588
6589 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
6590 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
6591 if test "${ac_cv_c_bigendian+set}" = set; then
6592 $as_echo_n "(cached) " >&6
6593 else
6594 ac_cv_c_bigendian=unknown
6595 # See if we're dealing with a universal compiler.
6596 cat >conftest.$ac_ext <<_ACEOF
6597 /* confdefs.h. */
6598 _ACEOF
6599 cat confdefs.h >>conftest.$ac_ext
6600 cat >>conftest.$ac_ext <<_ACEOF
6601 /* end confdefs.h. */
6602 #ifndef __APPLE_CC__
6603 not a universal capable compiler
6604 #endif
6605 typedef int dummy;
6606
6607 _ACEOF
6608 rm -f conftest.$ac_objext
6609 if { (ac_try="$ac_compile"
6610 case "(($ac_try" in
6611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6612 *) ac_try_echo=$ac_try;;
6613 esac
6614 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6615 $as_echo "$ac_try_echo") >&5
6616 (eval "$ac_compile") 2>conftest.er1
6617 ac_status=$?
6618 grep -v '^ *+' conftest.er1 >conftest.err
6619 rm -f conftest.er1
6620 cat conftest.err >&5
6621 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622 (exit $ac_status); } && {
6623 test -z "$ac_c_werror_flag" ||
6624 test ! -s conftest.err
6625 } && test -s conftest.$ac_objext; then
6626
6627 # Check for potential -arch flags. It is not universal unless
6628 # there are some -arch flags. Note that *ppc* also matches
6629 # ppc64. This check is also rather less than ideal.
6630 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
6631 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
6632 esac
6633 else
6634 $as_echo "$as_me: failed program was:" >&5
6635 sed 's/^/| /' conftest.$ac_ext >&5
6636
6637
6638 fi
6639
6640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6641 if test $ac_cv_c_bigendian = unknown; then
6642 # See if sys/param.h defines the BYTE_ORDER macro.
6643 cat >conftest.$ac_ext <<_ACEOF
6644 /* confdefs.h. */
6645 _ACEOF
6646 cat confdefs.h >>conftest.$ac_ext
6647 cat >>conftest.$ac_ext <<_ACEOF
6648 /* end confdefs.h. */
6649 #include <sys/types.h>
6650 #include <sys/param.h>
6651
6652 int
6653 main ()
6654 {
6655 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6656 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6657 && LITTLE_ENDIAN)
6658 bogus endian macros
6659 #endif
6660
6661 ;
6662 return 0;
6663 }
6664 _ACEOF
6665 rm -f conftest.$ac_objext
6666 if { (ac_try="$ac_compile"
6667 case "(($ac_try" in
6668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6669 *) ac_try_echo=$ac_try;;
6670 esac
6671 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6672 $as_echo "$ac_try_echo") >&5
6673 (eval "$ac_compile") 2>conftest.er1
6674 ac_status=$?
6675 grep -v '^ *+' conftest.er1 >conftest.err
6676 rm -f conftest.er1
6677 cat conftest.err >&5
6678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); } && {
6680 test -z "$ac_c_werror_flag" ||
6681 test ! -s conftest.err
6682 } && test -s conftest.$ac_objext; then
6683 # It does; now see whether it defined to BIG_ENDIAN or not.
6684 cat >conftest.$ac_ext <<_ACEOF
6685 /* confdefs.h. */
6686 _ACEOF
6687 cat confdefs.h >>conftest.$ac_ext
6688 cat >>conftest.$ac_ext <<_ACEOF
6689 /* end confdefs.h. */
6690 #include <sys/types.h>
6691 #include <sys/param.h>
6692
6693 int
6694 main ()
6695 {
6696 #if BYTE_ORDER != BIG_ENDIAN
6697 not big endian
6698 #endif
6699
6700 ;
6701 return 0;
6702 }
6703 _ACEOF
6704 rm -f conftest.$ac_objext
6705 if { (ac_try="$ac_compile"
6706 case "(($ac_try" in
6707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6708 *) ac_try_echo=$ac_try;;
6709 esac
6710 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6711 $as_echo "$ac_try_echo") >&5
6712 (eval "$ac_compile") 2>conftest.er1
6713 ac_status=$?
6714 grep -v '^ *+' conftest.er1 >conftest.err
6715 rm -f conftest.er1
6716 cat conftest.err >&5
6717 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6718 (exit $ac_status); } && {
6719 test -z "$ac_c_werror_flag" ||
6720 test ! -s conftest.err
6721 } && test -s conftest.$ac_objext; then
6722 ac_cv_c_bigendian=yes
6723 else
6724 $as_echo "$as_me: failed program was:" >&5
6725 sed 's/^/| /' conftest.$ac_ext >&5
6726
6727 ac_cv_c_bigendian=no
6728 fi
6729
6730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6731 else
6732 $as_echo "$as_me: failed program was:" >&5
6733 sed 's/^/| /' conftest.$ac_ext >&5
6734
6735
6736 fi
6737
6738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6739 fi
6740 if test $ac_cv_c_bigendian = unknown; then
6741 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6742 cat >conftest.$ac_ext <<_ACEOF
6743 /* confdefs.h. */
6744 _ACEOF
6745 cat confdefs.h >>conftest.$ac_ext
6746 cat >>conftest.$ac_ext <<_ACEOF
6747 /* end confdefs.h. */
6748 #include <limits.h>
6749
6750 int
6751 main ()
6752 {
6753 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6754 bogus endian macros
6755 #endif
6756
6757 ;
6758 return 0;
6759 }
6760 _ACEOF
6761 rm -f conftest.$ac_objext
6762 if { (ac_try="$ac_compile"
6763 case "(($ac_try" in
6764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6765 *) ac_try_echo=$ac_try;;
6766 esac
6767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6768 $as_echo "$ac_try_echo") >&5
6769 (eval "$ac_compile") 2>conftest.er1
6770 ac_status=$?
6771 grep -v '^ *+' conftest.er1 >conftest.err
6772 rm -f conftest.er1
6773 cat conftest.err >&5
6774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); } && {
6776 test -z "$ac_c_werror_flag" ||
6777 test ! -s conftest.err
6778 } && test -s conftest.$ac_objext; then
6779 # It does; now see whether it defined to _BIG_ENDIAN or not.
6780 cat >conftest.$ac_ext <<_ACEOF
6781 /* confdefs.h. */
6782 _ACEOF
6783 cat confdefs.h >>conftest.$ac_ext
6784 cat >>conftest.$ac_ext <<_ACEOF
6785 /* end confdefs.h. */
6786 #include <limits.h>
6787
6788 int
6789 main ()
6790 {
6791 #ifndef _BIG_ENDIAN
6792 not big endian
6793 #endif
6794
6795 ;
6796 return 0;
6797 }
6798 _ACEOF
6799 rm -f conftest.$ac_objext
6800 if { (ac_try="$ac_compile"
6801 case "(($ac_try" in
6802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6803 *) ac_try_echo=$ac_try;;
6804 esac
6805 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6806 $as_echo "$ac_try_echo") >&5
6807 (eval "$ac_compile") 2>conftest.er1
6808 ac_status=$?
6809 grep -v '^ *+' conftest.er1 >conftest.err
6810 rm -f conftest.er1
6811 cat conftest.err >&5
6812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 (exit $ac_status); } && {
6814 test -z "$ac_c_werror_flag" ||
6815 test ! -s conftest.err
6816 } && test -s conftest.$ac_objext; then
6817 ac_cv_c_bigendian=yes
6818 else
6819 $as_echo "$as_me: failed program was:" >&5
6820 sed 's/^/| /' conftest.$ac_ext >&5
6821
6822 ac_cv_c_bigendian=no
6823 fi
6824
6825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6826 else
6827 $as_echo "$as_me: failed program was:" >&5
6828 sed 's/^/| /' conftest.$ac_ext >&5
6829
6830
6831 fi
6832
6833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6834 fi
6835 if test $ac_cv_c_bigendian = unknown; then
6836 # Compile a test program.
6837 if test "$cross_compiling" = yes; then
6838 # Try to guess by grepping values from an object file.
6839 cat >conftest.$ac_ext <<_ACEOF
6840 /* confdefs.h. */
6841 _ACEOF
6842 cat confdefs.h >>conftest.$ac_ext
6843 cat >>conftest.$ac_ext <<_ACEOF
6844 /* end confdefs.h. */
6845 short int ascii_mm[] =
6846 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6847 short int ascii_ii[] =
6848 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6849 int use_ascii (int i) {
6850 return ascii_mm[i] + ascii_ii[i];
6851 }
6852 short int ebcdic_ii[] =
6853 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6854 short int ebcdic_mm[] =
6855 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6856 int use_ebcdic (int i) {
6857 return ebcdic_mm[i] + ebcdic_ii[i];
6858 }
6859 extern int foo;
6860
6861 int
6862 main ()
6863 {
6864 return use_ascii (foo) == use_ebcdic (foo);
6865 ;
6866 return 0;
6867 }
6868 _ACEOF
6869 rm -f conftest.$ac_objext
6870 if { (ac_try="$ac_compile"
6871 case "(($ac_try" in
6872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6873 *) ac_try_echo=$ac_try;;
6874 esac
6875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6876 $as_echo "$ac_try_echo") >&5
6877 (eval "$ac_compile") 2>conftest.er1
6878 ac_status=$?
6879 grep -v '^ *+' conftest.er1 >conftest.err
6880 rm -f conftest.er1
6881 cat conftest.err >&5
6882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); } && {
6884 test -z "$ac_c_werror_flag" ||
6885 test ! -s conftest.err
6886 } && test -s conftest.$ac_objext; then
6887 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
6888 ac_cv_c_bigendian=yes
6889 fi
6890 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6891 if test "$ac_cv_c_bigendian" = unknown; then
6892 ac_cv_c_bigendian=no
6893 else
6894 # finding both strings is unlikely to happen, but who knows?
6895 ac_cv_c_bigendian=unknown
6896 fi
6897 fi
6898 else
6899 $as_echo "$as_me: failed program was:" >&5
6900 sed 's/^/| /' conftest.$ac_ext >&5
6901
6902
6903 fi
6904
6905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6906 else
53136907 cat >conftest.$ac_ext <<_ACEOF
53146908 /* confdefs.h. */
53156909 _ACEOF
53206914 int
53216915 main ()
53226916 {
5323 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
5324 test_array [0] = 0
6917
6918 /* Are we little or big endian? From Harbison&Steele. */
6919 union
6920 {
6921 long int l;
6922 char c[sizeof (long int)];
6923 } u;
6924 u.l = 1;
6925 return u.c[sizeof (long int) - 1] == 1;
53256926
53266927 ;
53276928 return 0;
53286929 }
53296930 _ACEOF
5330 rm -f conftest.$ac_objext
5331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5332 (eval $ac_compile) 2>conftest.er1
6931 rm -f conftest$ac_exeext
6932 if { (ac_try="$ac_link"
6933 case "(($ac_try" in
6934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6935 *) ac_try_echo=$ac_try;;
6936 esac
6937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6938 $as_echo "$ac_try_echo") >&5
6939 (eval "$ac_link") 2>&5
53336940 ac_status=$?
5334 grep -v '^ *+' conftest.er1 >conftest.err
5335 rm -f conftest.er1
5336 cat conftest.err >&5
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); } &&
5339 { ac_try='test -z "$ac_c_werror_flag"
5340 || test ! -s conftest.err'
5341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5342 (eval $ac_try) 2>&5
6941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6943 { (case "(($ac_try" in
6944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6945 *) ac_try_echo=$ac_try;;
6946 esac
6947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6948 $as_echo "$ac_try_echo") >&5
6949 (eval "$ac_try") 2>&5
53436950 ac_status=$?
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); }; } &&
5346 { ac_try='test -s conftest.$ac_objext'
5347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5348 (eval $ac_try) 2>&5
5349 ac_status=$?
5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351 (exit $ac_status); }; }; then
5352 ac_hi=$ac_mid
5353 else
5354 echo "$as_me: failed program was:" >&5
5355 sed 's/^/| /' conftest.$ac_ext >&5
5356
5357 ac_lo=`expr '(' $ac_mid ')' + 1`
5358 fi
5359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5360 done
5361 case $ac_lo in
5362 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
5363 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
5364 See \`config.log' for more details." >&5
5365 echo "$as_me: error: cannot compute sizeof (unsigned long), 77
5366 See \`config.log' for more details." >&2;}
5367 { (exit 1); exit 1; }; } ;;
5368 esac
5369 else
5370 if test "$cross_compiling" = yes; then
5371 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5372 See \`config.log' for more details." >&5
5373 echo "$as_me: error: cannot run test program while cross compiling
5374 See \`config.log' for more details." >&2;}
5375 { (exit 1); exit 1; }; }
5376 else
5377 cat >conftest.$ac_ext <<_ACEOF
5378 /* confdefs.h. */
5379 _ACEOF
5380 cat confdefs.h >>conftest.$ac_ext
5381 cat >>conftest.$ac_ext <<_ACEOF
5382 /* end confdefs.h. */
5383 $ac_includes_default
5384 long longval () { return (long) (sizeof (unsigned long)); }
5385 unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
5386 #include <stdio.h>
5387 #include <stdlib.h>
5388 int
5389 main ()
5390 {
5391
5392 FILE *f = fopen ("conftest.val", "w");
5393 if (! f)
5394 exit (1);
5395 if (((long) (sizeof (unsigned long))) < 0)
5396 {
5397 long i = longval ();
5398 if (i != ((long) (sizeof (unsigned long))))
5399 exit (1);
5400 fprintf (f, "%ld\n", i);
5401 }
5402 else
5403 {
5404 unsigned long i = ulongval ();
5405 if (i != ((long) (sizeof (unsigned long))))
5406 exit (1);
5407 fprintf (f, "%lu\n", i);
5408 }
5409 exit (ferror (f) || fclose (f) != 0);
5410
5411 ;
5412 return 0;
5413 }
5414 _ACEOF
5415 rm -f conftest$ac_exeext
5416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5417 (eval $ac_link) 2>&5
5418 ac_status=$?
5419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5422 (eval $ac_try) 2>&5
5423 ac_status=$?
5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425 (exit $ac_status); }; }; then
5426 ac_cv_sizeof_unsigned_long=`cat conftest.val`
5427 else
5428 echo "$as_me: program exited with status $ac_status" >&5
5429 echo "$as_me: failed program was:" >&5
5430 sed 's/^/| /' conftest.$ac_ext >&5
5431
5432 ( exit $ac_status )
5433 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
5434 See \`config.log' for more details." >&5
5435 echo "$as_me: error: cannot compute sizeof (unsigned long), 77
5436 See \`config.log' for more details." >&2;}
5437 { (exit 1); exit 1; }; }
5438 fi
5439 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5440 fi
5441 fi
5442 rm -f conftest.val
5443 else
5444 ac_cv_sizeof_unsigned_long=0
5445 fi
5446 fi
5447 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
5448 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
5449 cat >>confdefs.h <<_ACEOF
5450 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
5451 _ACEOF
5452
5453
5454 echo "$as_me:$LINENO: checking for float" >&5
5455 echo $ECHO_N "checking for float... $ECHO_C" >&6
5456 if test "${ac_cv_type_float+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 else
5459 cat >conftest.$ac_ext <<_ACEOF
5460 /* confdefs.h. */
5461 _ACEOF
5462 cat confdefs.h >>conftest.$ac_ext
5463 cat >>conftest.$ac_ext <<_ACEOF
5464 /* end confdefs.h. */
5465 $ac_includes_default
5466 int
5467 main ()
5468 {
5469 if ((float *) 0)
5470 return 0;
5471 if (sizeof (float))
5472 return 0;
5473 ;
5474 return 0;
5475 }
5476 _ACEOF
5477 rm -f conftest.$ac_objext
5478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5479 (eval $ac_compile) 2>conftest.er1
5480 ac_status=$?
5481 grep -v '^ *+' conftest.er1 >conftest.err
5482 rm -f conftest.er1
5483 cat conftest.err >&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); } &&
5486 { ac_try='test -z "$ac_c_werror_flag"
5487 || test ! -s conftest.err'
5488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5489 (eval $ac_try) 2>&5
5490 ac_status=$?
5491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492 (exit $ac_status); }; } &&
5493 { ac_try='test -s conftest.$ac_objext'
5494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5495 (eval $ac_try) 2>&5
5496 ac_status=$?
5497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498 (exit $ac_status); }; }; then
5499 ac_cv_type_float=yes
5500 else
5501 echo "$as_me: failed program was:" >&5
5502 sed 's/^/| /' conftest.$ac_ext >&5
5503
5504 ac_cv_type_float=no
5505 fi
5506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5507 fi
5508 echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5
5509 echo "${ECHO_T}$ac_cv_type_float" >&6
5510
5511 echo "$as_me:$LINENO: checking size of float" >&5
5512 echo $ECHO_N "checking size of float... $ECHO_C" >&6
5513 if test "${ac_cv_sizeof_float+set}" = set; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5515 else
5516 if test "$ac_cv_type_float" = yes; then
5517 # The cast to unsigned long works around a bug in the HP C Compiler
5518 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5519 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5520 # This bug is HP SR number 8606223364.
5521 if test "$cross_compiling" = yes; then
5522 # Depending upon the size, compute the lo and hi bounds.
5523 cat >conftest.$ac_ext <<_ACEOF
5524 /* confdefs.h. */
5525 _ACEOF
5526 cat confdefs.h >>conftest.$ac_ext
5527 cat >>conftest.$ac_ext <<_ACEOF
5528 /* end confdefs.h. */
5529 $ac_includes_default
5530 int
5531 main ()
5532 {
5533 static int test_array [1 - 2 * !(((long) (sizeof (float))) >= 0)];
5534 test_array [0] = 0
5535
5536 ;
5537 return 0;
5538 }
5539 _ACEOF
5540 rm -f conftest.$ac_objext
5541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5542 (eval $ac_compile) 2>conftest.er1
5543 ac_status=$?
5544 grep -v '^ *+' conftest.er1 >conftest.err
5545 rm -f conftest.er1
5546 cat conftest.err >&5
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); } &&
5549 { ac_try='test -z "$ac_c_werror_flag"
5550 || test ! -s conftest.err'
5551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5552 (eval $ac_try) 2>&5
5553 ac_status=$?
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); }; } &&
5556 { ac_try='test -s conftest.$ac_objext'
5557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5558 (eval $ac_try) 2>&5
5559 ac_status=$?
5560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); }; }; then
5562 ac_lo=0 ac_mid=0
5563 while :; do
5564 cat >conftest.$ac_ext <<_ACEOF
5565 /* confdefs.h. */
5566 _ACEOF
5567 cat confdefs.h >>conftest.$ac_ext
5568 cat >>conftest.$ac_ext <<_ACEOF
5569 /* end confdefs.h. */
5570 $ac_includes_default
5571 int
5572 main ()
5573 {
5574 static int test_array [1 - 2 * !(((long) (sizeof (float))) <= $ac_mid)];
5575 test_array [0] = 0
5576
5577 ;
5578 return 0;
5579 }
5580 _ACEOF
5581 rm -f conftest.$ac_objext
5582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5583 (eval $ac_compile) 2>conftest.er1
5584 ac_status=$?
5585 grep -v '^ *+' conftest.er1 >conftest.err
5586 rm -f conftest.er1
5587 cat conftest.err >&5
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); } &&
5590 { ac_try='test -z "$ac_c_werror_flag"
5591 || test ! -s conftest.err'
5592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5593 (eval $ac_try) 2>&5
5594 ac_status=$?
5595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596 (exit $ac_status); }; } &&
5597 { ac_try='test -s conftest.$ac_objext'
5598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5599 (eval $ac_try) 2>&5
5600 ac_status=$?
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); }; }; then
5603 ac_hi=$ac_mid; break
5604 else
5605 echo "$as_me: failed program was:" >&5
5606 sed 's/^/| /' conftest.$ac_ext >&5
5607
5608 ac_lo=`expr $ac_mid + 1`
5609 if test $ac_lo -le $ac_mid; then
5610 ac_lo= ac_hi=
5611 break
5612 fi
5613 ac_mid=`expr 2 '*' $ac_mid + 1`
5614 fi
5615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5616 done
5617 else
5618 echo "$as_me: failed program was:" >&5
5619 sed 's/^/| /' conftest.$ac_ext >&5
5620
5621 cat >conftest.$ac_ext <<_ACEOF
5622 /* confdefs.h. */
5623 _ACEOF
5624 cat confdefs.h >>conftest.$ac_ext
5625 cat >>conftest.$ac_ext <<_ACEOF
5626 /* end confdefs.h. */
5627 $ac_includes_default
5628 int
5629 main ()
5630 {
5631 static int test_array [1 - 2 * !(((long) (sizeof (float))) < 0)];
5632 test_array [0] = 0
5633
5634 ;
5635 return 0;
5636 }
5637 _ACEOF
5638 rm -f conftest.$ac_objext
5639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5640 (eval $ac_compile) 2>conftest.er1
5641 ac_status=$?
5642 grep -v '^ *+' conftest.er1 >conftest.err
5643 rm -f conftest.er1
5644 cat conftest.err >&5
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); } &&
5647 { ac_try='test -z "$ac_c_werror_flag"
5648 || test ! -s conftest.err'
5649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5650 (eval $ac_try) 2>&5
5651 ac_status=$?
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); }; } &&
5654 { ac_try='test -s conftest.$ac_objext'
5655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5656 (eval $ac_try) 2>&5
5657 ac_status=$?
5658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5659 (exit $ac_status); }; }; then
5660 ac_hi=-1 ac_mid=-1
5661 while :; do
5662 cat >conftest.$ac_ext <<_ACEOF
5663 /* confdefs.h. */
5664 _ACEOF
5665 cat confdefs.h >>conftest.$ac_ext
5666 cat >>conftest.$ac_ext <<_ACEOF
5667 /* end confdefs.h. */
5668 $ac_includes_default
5669 int
5670 main ()
5671 {
5672 static int test_array [1 - 2 * !(((long) (sizeof (float))) >= $ac_mid)];
5673 test_array [0] = 0
5674
5675 ;
5676 return 0;
5677 }
5678 _ACEOF
5679 rm -f conftest.$ac_objext
5680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5681 (eval $ac_compile) 2>conftest.er1
5682 ac_status=$?
5683 grep -v '^ *+' conftest.er1 >conftest.err
5684 rm -f conftest.er1
5685 cat conftest.err >&5
5686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5687 (exit $ac_status); } &&
5688 { ac_try='test -z "$ac_c_werror_flag"
5689 || test ! -s conftest.err'
5690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5691 (eval $ac_try) 2>&5
5692 ac_status=$?
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); }; } &&
5695 { ac_try='test -s conftest.$ac_objext'
5696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5697 (eval $ac_try) 2>&5
5698 ac_status=$?
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); }; }; then
5701 ac_lo=$ac_mid; break
5702 else
5703 echo "$as_me: failed program was:" >&5
5704 sed 's/^/| /' conftest.$ac_ext >&5
5705
5706 ac_hi=`expr '(' $ac_mid ')' - 1`
5707 if test $ac_mid -le $ac_hi; then
5708 ac_lo= ac_hi=
5709 break
5710 fi
5711 ac_mid=`expr 2 '*' $ac_mid`
5712 fi
5713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5714 done
5715 else
5716 echo "$as_me: failed program was:" >&5
5717 sed 's/^/| /' conftest.$ac_ext >&5
5718
5719 ac_lo= ac_hi=
5720 fi
5721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5722 fi
5723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5724 # Binary search between lo and hi bounds.
5725 while test "x$ac_lo" != "x$ac_hi"; do
5726 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5727 cat >conftest.$ac_ext <<_ACEOF
5728 /* confdefs.h. */
5729 _ACEOF
5730 cat confdefs.h >>conftest.$ac_ext
5731 cat >>conftest.$ac_ext <<_ACEOF
5732 /* end confdefs.h. */
5733 $ac_includes_default
5734 int
5735 main ()
5736 {
5737 static int test_array [1 - 2 * !(((long) (sizeof (float))) <= $ac_mid)];
5738 test_array [0] = 0
5739
5740 ;
5741 return 0;
5742 }
5743 _ACEOF
5744 rm -f conftest.$ac_objext
5745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5746 (eval $ac_compile) 2>conftest.er1
5747 ac_status=$?
5748 grep -v '^ *+' conftest.er1 >conftest.err
5749 rm -f conftest.er1
5750 cat conftest.err >&5
5751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752 (exit $ac_status); } &&
5753 { ac_try='test -z "$ac_c_werror_flag"
5754 || test ! -s conftest.err'
5755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5756 (eval $ac_try) 2>&5
5757 ac_status=$?
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); }; } &&
5760 { ac_try='test -s conftest.$ac_objext'
5761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5762 (eval $ac_try) 2>&5
5763 ac_status=$?
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); }; }; then
5766 ac_hi=$ac_mid
5767 else
5768 echo "$as_me: failed program was:" >&5
5769 sed 's/^/| /' conftest.$ac_ext >&5
5770
5771 ac_lo=`expr '(' $ac_mid ')' + 1`
5772 fi
5773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5774 done
5775 case $ac_lo in
5776 ?*) ac_cv_sizeof_float=$ac_lo;;
5777 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (float), 77
5778 See \`config.log' for more details." >&5
5779 echo "$as_me: error: cannot compute sizeof (float), 77
5780 See \`config.log' for more details." >&2;}
5781 { (exit 1); exit 1; }; } ;;
5782 esac
5783 else
5784 if test "$cross_compiling" = yes; then
5785 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5786 See \`config.log' for more details." >&5
5787 echo "$as_me: error: cannot run test program while cross compiling
5788 See \`config.log' for more details." >&2;}
5789 { (exit 1); exit 1; }; }
5790 else
5791 cat >conftest.$ac_ext <<_ACEOF
5792 /* confdefs.h. */
5793 _ACEOF
5794 cat confdefs.h >>conftest.$ac_ext
5795 cat >>conftest.$ac_ext <<_ACEOF
5796 /* end confdefs.h. */
5797 $ac_includes_default
5798 long longval () { return (long) (sizeof (float)); }
5799 unsigned long ulongval () { return (long) (sizeof (float)); }
5800 #include <stdio.h>
5801 #include <stdlib.h>
5802 int
5803 main ()
5804 {
5805
5806 FILE *f = fopen ("conftest.val", "w");
5807 if (! f)
5808 exit (1);
5809 if (((long) (sizeof (float))) < 0)
5810 {
5811 long i = longval ();
5812 if (i != ((long) (sizeof (float))))
5813 exit (1);
5814 fprintf (f, "%ld\n", i);
5815 }
5816 else
5817 {
5818 unsigned long i = ulongval ();
5819 if (i != ((long) (sizeof (float))))
5820 exit (1);
5821 fprintf (f, "%lu\n", i);
5822 }
5823 exit (ferror (f) || fclose (f) != 0);
5824
5825 ;
5826 return 0;
5827 }
5828 _ACEOF
5829 rm -f conftest$ac_exeext
5830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5831 (eval $ac_link) 2>&5
5832 ac_status=$?
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5836 (eval $ac_try) 2>&5
5837 ac_status=$?
5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839 (exit $ac_status); }; }; then
5840 ac_cv_sizeof_float=`cat conftest.val`
5841 else
5842 echo "$as_me: program exited with status $ac_status" >&5
5843 echo "$as_me: failed program was:" >&5
5844 sed 's/^/| /' conftest.$ac_ext >&5
5845
5846 ( exit $ac_status )
5847 { { echo "$as_me:$LINENO: error: cannot compute sizeof (float), 77
5848 See \`config.log' for more details." >&5
5849 echo "$as_me: error: cannot compute sizeof (float), 77
5850 See \`config.log' for more details." >&2;}
5851 { (exit 1); exit 1; }; }
5852 fi
5853 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5854 fi
5855 fi
5856 rm -f conftest.val
5857 else
5858 ac_cv_sizeof_float=0
5859 fi
5860 fi
5861 echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
5862 echo "${ECHO_T}$ac_cv_sizeof_float" >&6
5863 cat >>confdefs.h <<_ACEOF
5864 #define SIZEOF_FLOAT $ac_cv_sizeof_float
5865 _ACEOF
5866
5867
5868
5869 if test "x$ac_cv_sizeof_unsigned_long" = "x$ac_cv_sizeof_float"; then
5870 echo "$as_me:$LINENO: checking for htonl" >&5
5871 echo $ECHO_N "checking for htonl... $ECHO_C" >&6
5872 cat >conftest.$ac_ext <<_ACEOF
5873 /* confdefs.h. */
5874 _ACEOF
5875 cat confdefs.h >>conftest.$ac_ext
5876 cat >>conftest.$ac_ext <<_ACEOF
5877 /* end confdefs.h. */
5878 #ifdef HAVE_NETINET_IN_H
5879 #include <netinet/in.h>
5880 #endif
5881 int
5882 main ()
5883 {
5884 unsigned short i; htonl(i);
5885 ;
5886 return 0;
5887 }
5888 _ACEOF
5889 rm -f conftest.$ac_objext conftest$ac_exeext
5890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5891 (eval $ac_link) 2>conftest.er1
5892 ac_status=$?
5893 grep -v '^ *+' conftest.er1 >conftest.err
5894 rm -f conftest.er1
5895 cat conftest.err >&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); } &&
5898 { ac_try='test -z "$ac_c_werror_flag"
5899 || test ! -s conftest.err'
5900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5901 (eval $ac_try) 2>&5
5902 ac_status=$?
5903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5904 (exit $ac_status); }; } &&
5905 { ac_try='test -s conftest$ac_exeext'
5906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5907 (eval $ac_try) 2>&5
5908 ac_status=$?
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); }; }; then
5911 htonl=yes
5912
5913 cat >>confdefs.h <<\_ACEOF
5914 #define HAVE_HTONL 1
5915 _ACEOF
5916
5917 else
5918 echo "$as_me: failed program was:" >&5
5919 sed 's/^/| /' conftest.$ac_ext >&5
5920
5921 htonl=no
5922 fi
5923 rm -f conftest.err conftest.$ac_objext \
5924 conftest$ac_exeext conftest.$ac_ext
5925 echo "$as_me:$LINENO: result: $htonl" >&5
5926 echo "${ECHO_T}$htonl" >&6
5927 fi
5928
5929 if test "x$htons" != xyes -o "x$htonl" != xyes; then
5930 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
5931 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
5932 if test "${ac_cv_c_bigendian+set}" = set; then
5933 echo $ECHO_N "(cached) $ECHO_C" >&6
5934 else
5935 # See if sys/param.h defines the BYTE_ORDER macro.
5936 cat >conftest.$ac_ext <<_ACEOF
5937 /* confdefs.h. */
5938 _ACEOF
5939 cat confdefs.h >>conftest.$ac_ext
5940 cat >>conftest.$ac_ext <<_ACEOF
5941 /* end confdefs.h. */
5942 #include <sys/types.h>
5943 #include <sys/param.h>
5944
5945 int
5946 main ()
5947 {
5948 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
5949 bogus endian macros
5950 #endif
5951
5952 ;
5953 return 0;
5954 }
5955 _ACEOF
5956 rm -f conftest.$ac_objext
5957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5958 (eval $ac_compile) 2>conftest.er1
5959 ac_status=$?
5960 grep -v '^ *+' conftest.er1 >conftest.err
5961 rm -f conftest.er1
5962 cat conftest.err >&5
5963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5964 (exit $ac_status); } &&
5965 { ac_try='test -z "$ac_c_werror_flag"
5966 || test ! -s conftest.err'
5967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5968 (eval $ac_try) 2>&5
5969 ac_status=$?
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); }; } &&
5972 { ac_try='test -s conftest.$ac_objext'
5973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5974 (eval $ac_try) 2>&5
5975 ac_status=$?
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); }; }; then
5978 # It does; now see whether it defined to BIG_ENDIAN or not.
5979 cat >conftest.$ac_ext <<_ACEOF
5980 /* confdefs.h. */
5981 _ACEOF
5982 cat confdefs.h >>conftest.$ac_ext
5983 cat >>conftest.$ac_ext <<_ACEOF
5984 /* end confdefs.h. */
5985 #include <sys/types.h>
5986 #include <sys/param.h>
5987
5988 int
5989 main ()
5990 {
5991 #if BYTE_ORDER != BIG_ENDIAN
5992 not big endian
5993 #endif
5994
5995 ;
5996 return 0;
5997 }
5998 _ACEOF
5999 rm -f conftest.$ac_objext
6000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6001 (eval $ac_compile) 2>conftest.er1
6002 ac_status=$?
6003 grep -v '^ *+' conftest.er1 >conftest.err
6004 rm -f conftest.er1
6005 cat conftest.err >&5
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); } &&
6008 { ac_try='test -z "$ac_c_werror_flag"
6009 || test ! -s conftest.err'
6010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6011 (eval $ac_try) 2>&5
6012 ac_status=$?
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); }; } &&
6015 { ac_try='test -s conftest.$ac_objext'
6016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6017 (eval $ac_try) 2>&5
6018 ac_status=$?
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); }; }; then
6021 ac_cv_c_bigendian=yes
6022 else
6023 echo "$as_me: failed program was:" >&5
6024 sed 's/^/| /' conftest.$ac_ext >&5
6025
6026 ac_cv_c_bigendian=no
6027 fi
6028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6029 else
6030 echo "$as_me: failed program was:" >&5
6031 sed 's/^/| /' conftest.$ac_ext >&5
6032
6033 # It does not; compile a test program.
6034 if test "$cross_compiling" = yes; then
6035 # try to guess the endianness by grepping values into an object file
6036 ac_cv_c_bigendian=unknown
6037 cat >conftest.$ac_ext <<_ACEOF
6038 /* confdefs.h. */
6039 _ACEOF
6040 cat confdefs.h >>conftest.$ac_ext
6041 cat >>conftest.$ac_ext <<_ACEOF
6042 /* end confdefs.h. */
6043 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6044 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6045 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
6046 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6047 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6048 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
6049 int
6050 main ()
6051 {
6052 _ascii (); _ebcdic ();
6053 ;
6054 return 0;
6055 }
6056 _ACEOF
6057 rm -f conftest.$ac_objext
6058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6059 (eval $ac_compile) 2>conftest.er1
6060 ac_status=$?
6061 grep -v '^ *+' conftest.er1 >conftest.err
6062 rm -f conftest.er1
6063 cat conftest.err >&5
6064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6065 (exit $ac_status); } &&
6066 { ac_try='test -z "$ac_c_werror_flag"
6067 || test ! -s conftest.err'
6068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6069 (eval $ac_try) 2>&5
6070 ac_status=$?
6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072 (exit $ac_status); }; } &&
6073 { ac_try='test -s conftest.$ac_objext'
6074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6075 (eval $ac_try) 2>&5
6076 ac_status=$?
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); }; }; then
6079 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
6080 ac_cv_c_bigendian=yes
6081 fi
6082 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6083 if test "$ac_cv_c_bigendian" = unknown; then
6084 ac_cv_c_bigendian=no
6085 else
6086 # finding both strings is unlikely to happen, but who knows?
6087 ac_cv_c_bigendian=unknown
6088 fi
6089 fi
6090 else
6091 echo "$as_me: failed program was:" >&5
6092 sed 's/^/| /' conftest.$ac_ext >&5
6093
6094 fi
6095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6096 else
6097 cat >conftest.$ac_ext <<_ACEOF
6098 /* confdefs.h. */
6099 _ACEOF
6100 cat confdefs.h >>conftest.$ac_ext
6101 cat >>conftest.$ac_ext <<_ACEOF
6102 /* end confdefs.h. */
6103 int
6104 main ()
6105 {
6106 /* Are we little or big endian? From Harbison&Steele. */
6107 union
6108 {
6109 long l;
6110 char c[sizeof (long)];
6111 } u;
6112 u.l = 1;
6113 exit (u.c[sizeof (long) - 1] == 1);
6114 }
6115 _ACEOF
6116 rm -f conftest$ac_exeext
6117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6118 (eval $ac_link) 2>&5
6119 ac_status=$?
6120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6121 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6123 (eval $ac_try) 2>&5
6124 ac_status=$?
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
61266952 (exit $ac_status); }; }; then
61276953 ac_cv_c_bigendian=no
61286954 else
6129 echo "$as_me: program exited with status $ac_status" >&5
6130 echo "$as_me: failed program was:" >&5
6955 $as_echo "$as_me: program exited with status $ac_status" >&5
6956 $as_echo "$as_me: failed program was:" >&5
61316957 sed 's/^/| /' conftest.$ac_ext >&5
61326958
61336959 ( exit $ac_status )
61346960 ac_cv_c_bigendian=yes
61356961 fi
6136 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6137 fi
6138 fi
6139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6140 fi
6141 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
6142 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
6143 case $ac_cv_c_bigendian in
6144 yes)
6962 rm -rf conftest.dSYM
6963 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6964 fi
6965
6966
6967 fi
6968 fi
6969 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
6970 $as_echo "$ac_cv_c_bigendian" >&6; }
6971 case $ac_cv_c_bigendian in #(
6972 yes)
6973 cat >>confdefs.h <<\_ACEOF
6974 #define WORDS_BIGENDIAN 1
6975 _ACEOF
6976 ;; #(
6977 no)
6978 ;; #(
6979 universal)
61456980
61466981 cat >>confdefs.h <<\_ACEOF
6147 #define WORDS_BIGENDIAN 1
6148 _ACEOF
6149 ;;
6150 no)
6151 ;;
6152 *)
6153 { { echo "$as_me:$LINENO: error: unknown endianness
6154 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
6155 echo "$as_me: error: unknown endianness
6156 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
6982 #define AC_APPLE_UNIVERSAL_BUILD 1
6983 _ACEOF
6984
6985 ;; #(
6986 *)
6987 { { $as_echo "$as_me:$LINENO: error: unknown endianness
6988 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
6989 $as_echo "$as_me: error: unknown endianness
6990 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
61576991 { (exit 1); exit 1; }; } ;;
6158 esac
6992 esac
61596993
61606994 fi
61616995
61677001 save_prefix=$prefix
61687002 test "x$prefix" = xNONE && prefix=$ac_default_prefix
61697003 eval datadir_val=$datadir
7004 eval datadir_val=$datadir_val
61707005 prefix=$save_prefix
61717006
61727007
61817016
61827017 ###########################################################################
61837018
6184 ac_config_files="$ac_config_files Makefile h5topng.1"
7019 ac_config_files="$ac_config_files Makefile h5topng.1"
61857020
61867021 cat >confcache <<\_ACEOF
61877022 # This file is a shell script that caches the results of configure
62017036
62027037 # The following way of writing the cache mishandles newlines in values,
62037038 # but we know of no workaround that is simple, portable, and efficient.
6204 # So, don't put newlines in cache variables' values.
7039 # So, we kill variables containing newlines.
62057040 # Ultrix sh set writes to stderr and can't be redirected directly,
62067041 # and sets the high bit in the cache file unless we assign to the vars.
6207 {
7042 (
7043 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7044 eval ac_val=\$$ac_var
7045 case $ac_val in #(
7046 *${as_nl}*)
7047 case $ac_var in #(
7048 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
7049 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7050 esac
7051 case $ac_var in #(
7052 _ | IFS | as_nl) ;; #(
7053 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7054 *) $as_unset $ac_var ;;
7055 esac ;;
7056 esac
7057 done
7058
62087059 (set) 2>&1 |
6209 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6210 *ac_space=\ *)
7060 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7061 *${as_nl}ac_space=\ *)
62117062 # `set' does not quote correctly, so add quotes (double-quote
62127063 # substitution turns \\\\ into \\, and sed turns \\ into \).
62137064 sed -n \
62147065 "s/'/'\\\\''/g;
62157066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6216 ;;
7067 ;; #(
62177068 *)
62187069 # `set' quotes correctly as required by POSIX, so do not add quotes.
6219 sed -n \
6220 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7070 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
62217071 ;;
6222 esac;
6223 } |
7072 esac |
7073 sort
7074 ) |
62247075 sed '
7076 /^ac_cv_env_/b end
62257077 t clear
6226 : clear
7078 :clear
62277079 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
62287080 t end
6229 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6230 : end' >>confcache
6231 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6232 if test -w $cache_file; then
6233 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7081 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7082 :end' >>confcache
7083 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7084 if test -w "$cache_file"; then
7085 test "x$cache_file" != "x/dev/null" &&
7086 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
7087 $as_echo "$as_me: updating cache $cache_file" >&6;}
62347088 cat confcache >$cache_file
62357089 else
6236 echo "not updating unwritable cache $cache_file"
7090 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7091 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
62377092 fi
62387093 fi
62397094 rm -f confcache
62417096 test "x$prefix" = xNONE && prefix=$ac_default_prefix
62427097 # Let make expand exec_prefix.
62437098 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6244
6245 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6246 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6247 # trailing colons and then remove the whole line if VPATH becomes empty
6248 # (actually we leave an empty line to preserve line numbers).
6249 if test "x$srcdir" = x.; then
6250 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6251 s/:*\$(srcdir):*/:/;
6252 s/:*\${srcdir}:*/:/;
6253 s/:*@srcdir@:*/:/;
6254 s/^\([^=]*=[ ]*\):*/\1/;
6255 s/:*$//;
6256 s/^[^=]*=[ ]*$//;
6257 }'
6258 fi
62597099
62607100 DEFS=-DHAVE_CONFIG_H
62617101
62637103 ac_ltlibobjs=
62647104 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
62657105 # 1. Remove the extension, and $U if already installed.
6266 ac_i=`echo "$ac_i" |
6267 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6268 # 2. Add them.
6269 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6270 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7106 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7107 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7108 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7109 # will be set to the directory where LIBOBJS objects are built.
7110 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7111 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
62717112 done
62727113 LIBOBJS=$ac_libobjs
62737114
62747115 LTLIBOBJS=$ac_ltlibobjs
62757116
62767117
7118 if test -n "$EXEEXT"; then
7119 am__EXEEXT_TRUE=
7120 am__EXEEXT_FALSE='#'
7121 else
7122 am__EXEEXT_TRUE='#'
7123 am__EXEEXT_FALSE=
7124 fi
7125
62777126 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6278 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7127 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
62797128 Usually this means the macro was only invoked conditionally." >&5
6280 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7129 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
62817130 Usually this means the macro was only invoked conditionally." >&2;}
62827131 { (exit 1); exit 1; }; }
62837132 fi
62847133 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6285 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7134 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
62867135 Usually this means the macro was only invoked conditionally." >&5
6287 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7136 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
62887137 Usually this means the macro was only invoked conditionally." >&2;}
62897138 { (exit 1); exit 1; }; }
62907139 fi
62917140 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6292 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7141 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
62937142 Usually this means the macro was only invoked conditionally." >&5
6294 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7143 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
62957144 Usually this means the macro was only invoked conditionally." >&2;}
62967145 { (exit 1); exit 1; }; }
62977146 fi
62987147
7148
62997149 : ${CONFIG_STATUS=./config.status}
7150 ac_write_fail=0
63007151 ac_clean_files_save=$ac_clean_files
63017152 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6302 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6303 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6304 cat >$CONFIG_STATUS <<_ACEOF
7153 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7154 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7155 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
63057156 #! $SHELL
63067157 # Generated by $as_me.
63077158 # Run this file to recreate the current configuration.
63147165 SHELL=\${CONFIG_SHELL-$SHELL}
63157166 _ACEOF
63167167
6317 cat >>$CONFIG_STATUS <<\_ACEOF
7168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
63187169 ## --------------------- ##
63197170 ## M4sh Initialization. ##
63207171 ## --------------------- ##
63217172
6322 # Be Bourne compatible
7173 # Be more Bourne compatible
7174 DUALCASE=1; export DUALCASE # for MKS sh
63237175 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
63247176 emulate sh
63257177 NULLCMD=:
6326 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7178 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
63277179 # is contrary to our usage. Disable this feature.
63287180 alias -g '${1+"$@"}'='"$@"'
6329 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6330 set -o posix
6331 fi
6332 DUALCASE=1; export DUALCASE # for MKS sh
6333
6334 # Support unset when possible.
6335 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6336 as_unset=unset
6337 else
6338 as_unset=false
6339 fi
6340
6341
6342 # Work around bugs in pre-3.0 UWIN ksh.
6343 $as_unset ENV MAIL MAILPATH
6344 PS1='$ '
6345 PS2='> '
6346 PS4='+ '
6347
6348 # NLS nuisances.
6349 for as_var in \
6350 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6351 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6352 LC_TELEPHONE LC_TIME
6353 do
6354 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6355 eval $as_var=C; export $as_var
6356 else
6357 $as_unset $as_var
6358 fi
6359 done
6360
6361 # Required to use basename.
6362 if expr a : '\(a\)' >/dev/null 2>&1; then
6363 as_expr=expr
6364 else
6365 as_expr=false
6366 fi
6367
6368 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6369 as_basename=basename
6370 else
6371 as_basename=false
6372 fi
6373
6374
6375 # Name of the executable.
6376 as_me=`$as_basename "$0" ||
6377 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6378 X"$0" : 'X\(//\)$' \| \
6379 X"$0" : 'X\(/\)$' \| \
6380 . : '\(.\)' 2>/dev/null ||
6381 echo X/"$0" |
6382 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6383 /^X\/\(\/\/\)$/{ s//\1/; q; }
6384 /^X\/\(\/\).*/{ s//\1/; q; }
6385 s/.*/./; q'`
6386
6387
6388 # PATH needs CR, and LINENO needs CR and PATH.
7181 setopt NO_GLOB_SUBST
7182 else
7183 case `(set -o) 2>/dev/null` in
7184 *posix*) set -o posix ;;
7185 esac
7186
7187 fi
7188
7189
7190
7191
7192 # PATH needs CR
63897193 # Avoid depending upon Character Ranges.
63907194 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
63917195 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
63937197 as_cr_digits='0123456789'
63947198 as_cr_alnum=$as_cr_Letters$as_cr_digits
63957199
7200 as_nl='
7201 '
7202 export as_nl
7203 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7204 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7205 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7206 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7207 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7208 as_echo='printf %s\n'
7209 as_echo_n='printf %s'
7210 else
7211 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7212 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7213 as_echo_n='/usr/ucb/echo -n'
7214 else
7215 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7216 as_echo_n_body='eval
7217 arg=$1;
7218 case $arg in
7219 *"$as_nl"*)
7220 expr "X$arg" : "X\\(.*\\)$as_nl";
7221 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7222 esac;
7223 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7224 '
7225 export as_echo_n_body
7226 as_echo_n='sh -c $as_echo_n_body as_echo'
7227 fi
7228 export as_echo_body
7229 as_echo='sh -c $as_echo_body as_echo'
7230 fi
7231
63967232 # The user is always right.
63977233 if test "${PATH_SEPARATOR+set}" != set; then
6398 echo "#! /bin/sh" >conf$$.sh
6399 echo "exit 0" >>conf$$.sh
6400 chmod +x conf$$.sh
6401 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6402 PATH_SEPARATOR=';'
6403 else
6404 PATH_SEPARATOR=:
6405 fi
6406 rm -f conf$$.sh
6407 fi
6408
6409
6410 as_lineno_1=$LINENO
6411 as_lineno_2=$LINENO
6412 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6413 test "x$as_lineno_1" != "x$as_lineno_2" &&
6414 test "x$as_lineno_3" = "x$as_lineno_2" || {
6415 # Find who we are. Look in the path if we contain no path at all
6416 # relative or not.
6417 case $0 in
6418 *[\\/]* ) as_myself=$0 ;;
6419 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 PATH_SEPARATOR=:
7235 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7236 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7237 PATH_SEPARATOR=';'
7238 }
7239 fi
7240
7241 # Support unset when possible.
7242 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7243 as_unset=unset
7244 else
7245 as_unset=false
7246 fi
7247
7248
7249 # IFS
7250 # We need space, tab and new line, in precisely that order. Quoting is
7251 # there to prevent editors from complaining about space-tab.
7252 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7253 # splitting by setting IFS to empty value.)
7254 IFS=" "" $as_nl"
7255
7256 # Find who we are. Look in the path if we contain no directory separator.
7257 case $0 in
7258 *[\\/]* ) as_myself=$0 ;;
7259 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64207260 for as_dir in $PATH
64217261 do
64227262 IFS=$as_save_IFS
64237263 test -z "$as_dir" && as_dir=.
64247264 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
64257265 done
6426
6427 ;;
6428 esac
6429 # We did not find ourselves, most probably we were run as `sh COMMAND'
6430 # in which case we are not to be found in the path.
6431 if test "x$as_myself" = x; then
6432 as_myself=$0
6433 fi
6434 if test ! -f "$as_myself"; then
6435 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6436 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6437 { (exit 1); exit 1; }; }
6438 fi
6439 case $CONFIG_SHELL in
6440 '')
6441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6442 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6443 do
6444 IFS=$as_save_IFS
6445 test -z "$as_dir" && as_dir=.
6446 for as_base in sh bash ksh sh5; do
6447 case $as_dir in
6448 /*)
6449 if ("$as_dir/$as_base" -c '
7266 IFS=$as_save_IFS
7267
7268 ;;
7269 esac
7270 # We did not find ourselves, most probably we were run as `sh COMMAND'
7271 # in which case we are not to be found in the path.
7272 if test "x$as_myself" = x; then
7273 as_myself=$0
7274 fi
7275 if test ! -f "$as_myself"; then
7276 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7277 { (exit 1); exit 1; }
7278 fi
7279
7280 # Work around bugs in pre-3.0 UWIN ksh.
7281 for as_var in ENV MAIL MAILPATH
7282 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7283 done
7284 PS1='$ '
7285 PS2='> '
7286 PS4='+ '
7287
7288 # NLS nuisances.
7289 LC_ALL=C
7290 export LC_ALL
7291 LANGUAGE=C
7292 export LANGUAGE
7293
7294 # Required to use basename.
7295 if expr a : '\(a\)' >/dev/null 2>&1 &&
7296 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7297 as_expr=expr
7298 else
7299 as_expr=false
7300 fi
7301
7302 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7303 as_basename=basename
7304 else
7305 as_basename=false
7306 fi
7307
7308
7309 # Name of the executable.
7310 as_me=`$as_basename -- "$0" ||
7311 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7312 X"$0" : 'X\(//\)$' \| \
7313 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7314 $as_echo X/"$0" |
7315 sed '/^.*\/\([^/][^/]*\)\/*$/{
7316 s//\1/
7317 q
7318 }
7319 /^X\/\(\/\/\)$/{
7320 s//\1/
7321 q
7322 }
7323 /^X\/\(\/\).*/{
7324 s//\1/
7325 q
7326 }
7327 s/.*/./; q'`
7328
7329 # CDPATH.
7330 $as_unset CDPATH
7331
7332
7333
64507334 as_lineno_1=$LINENO
64517335 as_lineno_2=$LINENO
6452 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
64537336 test "x$as_lineno_1" != "x$as_lineno_2" &&
6454 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6455 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6456 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6457 CONFIG_SHELL=$as_dir/$as_base
6458 export CONFIG_SHELL
6459 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6460 fi;;
6461 esac
6462 done
6463 done
6464 ;;
6465 esac
7337 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
64667338
64677339 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
64687340 # uniformly replaced by the line number. The first 'sed' inserts a
6469 # line-number line before each line; the second 'sed' does the real
6470 # work. The second script uses 'N' to pair each line-number line
6471 # with the numbered line, and appends trailing '-' during
6472 # substitution so that $LINENO is not a special case at line end.
7341 # line-number line after each line using $LINENO; the second 'sed'
7342 # does the real work. The second script uses 'N' to pair each
7343 # line-number line with the line containing $LINENO, and appends
7344 # trailing '-' during substitution so that $LINENO is not a special
7345 # case at line end.
64737346 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6474 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6475 sed '=' <$as_myself |
7347 # scripts with optimization help from Paolo Bonzini. Blame Lee
7348 # E. McMahon (1931-1989) for sed's syntax. :-)
7349 sed -n '
7350 p
7351 /[$]LINENO/=
7352 ' <$as_myself |
64767353 sed '
7354 s/[$]LINENO.*/&-/
7355 t lineno
7356 b
7357 :lineno
64777358 N
6478 s,$,-,
6479 : loop
6480 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7359 :loop
7360 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
64817361 t loop
6482 s,-$,,
6483 s,^['$as_cr_digits']*\n,,
7362 s/-\n.*//
64847363 ' >$as_me.lineno &&
6485 chmod +x $as_me.lineno ||
6486 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6487 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7364 chmod +x "$as_me.lineno" ||
7365 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
64887366 { (exit 1); exit 1; }; }
64897367
64907368 # Don't try to exec as it changes $[0], causing all sort of problems
64917369 # (the dirname of $[0] is not the place where we might find the
6492 # original and so on. Autoconf is especially sensible to this).
6493 . ./$as_me.lineno
7370 # original and so on. Autoconf is especially sensitive to this).
7371 . "./$as_me.lineno"
64947372 # Exit status is that of the last command.
64957373 exit
64967374 }
64977375
64987376
6499 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6500 *c*,-n*) ECHO_N= ECHO_C='
6501 ' ECHO_T=' ' ;;
6502 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6503 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6504 esac
6505
6506 if expr a : '\(a\)' >/dev/null 2>&1; then
7377 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7378 as_dirname=dirname
7379 else
7380 as_dirname=false
7381 fi
7382
7383 ECHO_C= ECHO_N= ECHO_T=
7384 case `echo -n x` in
7385 -n*)
7386 case `echo 'x\c'` in
7387 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7388 *) ECHO_C='\c';;
7389 esac;;
7390 *)
7391 ECHO_N='-n';;
7392 esac
7393 if expr a : '\(a\)' >/dev/null 2>&1 &&
7394 test "X`expr 00001 : '.*\(...\)'`" = X001; then
65077395 as_expr=expr
65087396 else
65097397 as_expr=false
65107398 fi
65117399
65127400 rm -f conf$$ conf$$.exe conf$$.file
6513 echo >conf$$.file
6514 if ln -s conf$$.file conf$$ 2>/dev/null; then
6515 # We could just check for DJGPP; but this test a) works b) is more generic
6516 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6517 if test -f conf$$.exe; then
6518 # Don't use ln at all; we don't have any links
7401 if test -d conf$$.dir; then
7402 rm -f conf$$.dir/conf$$.file
7403 else
7404 rm -f conf$$.dir
7405 mkdir conf$$.dir 2>/dev/null
7406 fi
7407 if (echo >conf$$.file) 2>/dev/null; then
7408 if ln -s conf$$.file conf$$ 2>/dev/null; then
7409 as_ln_s='ln -s'
7410 # ... but there are two gotchas:
7411 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7412 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7413 # In both cases, we have to default to `cp -p'.
7414 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7415 as_ln_s='cp -p'
7416 elif ln conf$$.file conf$$ 2>/dev/null; then
7417 as_ln_s=ln
7418 else
65197419 as_ln_s='cp -p'
6520 else
6521 as_ln_s='ln -s'
65227420 fi
6523 elif ln conf$$.file conf$$ 2>/dev/null; then
6524 as_ln_s=ln
65257421 else
65267422 as_ln_s='cp -p'
65277423 fi
6528 rm -f conf$$ conf$$.exe conf$$.file
7424 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7425 rmdir conf$$.dir 2>/dev/null
65297426
65307427 if mkdir -p . 2>/dev/null; then
65317428 as_mkdir_p=:
65347431 as_mkdir_p=false
65357432 fi
65367433
6537 as_executable_p="test -f"
7434 if test -x / >/dev/null 2>&1; then
7435 as_test_x='test -x'
7436 else
7437 if ls -dL / >/dev/null 2>&1; then
7438 as_ls_L_option=L
7439 else
7440 as_ls_L_option=
7441 fi
7442 as_test_x='
7443 eval sh -c '\''
7444 if test -d "$1"; then
7445 test -d "$1/.";
7446 else
7447 case $1 in
7448 -*)set "./$1";;
7449 esac;
7450 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7451 ???[sx]*):;;*)false;;esac;fi
7452 '\'' sh
7453 '
7454 fi
7455 as_executable_p=$as_test_x
65387456
65397457 # Sed expression to map a string onto a valid CPP name.
65407458 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
65437461 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
65447462
65457463
6546 # IFS
6547 # We need space, tab and new line, in precisely that order.
6548 as_nl='
6549 '
6550 IFS=" $as_nl"
6551
6552 # CDPATH.
6553 $as_unset CDPATH
6554
65557464 exec 6>&1
65567465
6557 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7466 # Save the log message, to keep $[0] and so on meaningful, and to
65587467 # report actual input values of CONFIG_FILES etc. instead of their
6559 # values after options handling. Logging --version etc. is OK.
7468 # values after options handling.
7469 ac_log="
7470 This file was extended by h5utils $as_me 1.12, which was
7471 generated by GNU Autoconf 2.63. Invocation command line was
7472
7473 CONFIG_FILES = $CONFIG_FILES
7474 CONFIG_HEADERS = $CONFIG_HEADERS
7475 CONFIG_LINKS = $CONFIG_LINKS
7476 CONFIG_COMMANDS = $CONFIG_COMMANDS
7477 $ $0 $@
7478
7479 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7480 "
7481
7482 _ACEOF
7483
7484 case $ac_config_files in *"
7485 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7486 esac
7487
7488 case $ac_config_headers in *"
7489 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7490 esac
7491
7492
7493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7494 # Files that config.status was made for.
7495 config_files="$ac_config_files"
7496 config_headers="$ac_config_headers"
7497 config_commands="$ac_config_commands"
7498
7499 _ACEOF
7500
7501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7502 ac_cs_usage="\
7503 \`$as_me' instantiates files from templates according to the
7504 current configuration.
7505
7506 Usage: $0 [OPTION]... [FILE]...
7507
7508 -h, --help print this help, then exit
7509 -V, --version print version number and configuration settings, then exit
7510 -q, --quiet, --silent
7511 do not print progress messages
7512 -d, --debug don't remove temporary files
7513 --recheck update $as_me by reconfiguring in the same conditions
7514 --file=FILE[:TEMPLATE]
7515 instantiate the configuration file FILE
7516 --header=FILE[:TEMPLATE]
7517 instantiate the configuration header FILE
7518
7519 Configuration files:
7520 $config_files
7521
7522 Configuration headers:
7523 $config_headers
7524
7525 Configuration commands:
7526 $config_commands
7527
7528 Report bugs to <bug-autoconf@gnu.org>."
7529
7530 _ACEOF
7531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7532 ac_cs_version="\\
7533 h5utils config.status 1.12
7534 configured by $0, generated by GNU Autoconf 2.63,
7535 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7536
7537 Copyright (C) 2008 Free Software Foundation, Inc.
7538 This config.status script is free software; the Free Software Foundation
7539 gives unlimited permission to copy, distribute and modify it."
7540
7541 ac_pwd='$ac_pwd'
7542 srcdir='$srcdir'
7543 INSTALL='$INSTALL'
7544 MKDIR_P='$MKDIR_P'
7545 AWK='$AWK'
7546 test -n "\$AWK" || AWK=awk
7547 _ACEOF
7548
7549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7550 # The default lists apply if the user does not specify any file.
7551 ac_need_defaults=:
7552 while test $# != 0
7553 do
7554 case $1 in
7555 --*=*)
7556 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7557 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7558 ac_shift=:
7559 ;;
7560 *)
7561 ac_option=$1
7562 ac_optarg=$2
7563 ac_shift=shift
7564 ;;
7565 esac
7566
7567 case $ac_option in
7568 # Handling of the options.
7569 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7570 ac_cs_recheck=: ;;
7571 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7572 $as_echo "$ac_cs_version"; exit ;;
7573 --debug | --debu | --deb | --de | --d | -d )
7574 debug=: ;;
7575 --file | --fil | --fi | --f )
7576 $ac_shift
7577 case $ac_optarg in
7578 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7579 esac
7580 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
7581 ac_need_defaults=false;;
7582 --header | --heade | --head | --hea )
7583 $ac_shift
7584 case $ac_optarg in
7585 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7586 esac
7587 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
7588 ac_need_defaults=false;;
7589 --he | --h)
7590 # Conflict between --help and --header
7591 { $as_echo "$as_me: error: ambiguous option: $1
7592 Try \`$0 --help' for more information." >&2
7593 { (exit 1); exit 1; }; };;
7594 --help | --hel | -h )
7595 $as_echo "$ac_cs_usage"; exit ;;
7596 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7597 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7598 ac_cs_silent=: ;;
7599
7600 # This is an error.
7601 -*) { $as_echo "$as_me: error: unrecognized option: $1
7602 Try \`$0 --help' for more information." >&2
7603 { (exit 1); exit 1; }; } ;;
7604
7605 *) ac_config_targets="$ac_config_targets $1"
7606 ac_need_defaults=false ;;
7607
7608 esac
7609 shift
7610 done
7611
7612 ac_configure_extra_args=
7613
7614 if $ac_cs_silent; then
7615 exec 6>/dev/null
7616 ac_configure_extra_args="$ac_configure_extra_args --silent"
7617 fi
7618
7619 _ACEOF
7620 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7621 if \$ac_cs_recheck; then
7622 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7623 shift
7624 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7625 CONFIG_SHELL='$SHELL'
7626 export CONFIG_SHELL
7627 exec "\$@"
7628 fi
7629
7630 _ACEOF
7631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
65607632 exec 5>>config.log
65617633 {
65627634 echo
65637635 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
65647636 ## Running $as_me. ##
65657637 _ASBOX
7638 $as_echo "$ac_log"
65667639 } >&5
6567 cat >&5 <<_CSEOF
6568
6569 This file was extended by h5utils $as_me 1.10, which was
6570 generated by GNU Autoconf 2.59. Invocation command line was
6571
6572 CONFIG_FILES = $CONFIG_FILES
6573 CONFIG_HEADERS = $CONFIG_HEADERS
6574 CONFIG_LINKS = $CONFIG_LINKS
6575 CONFIG_COMMANDS = $CONFIG_COMMANDS
6576 $ $0 $@
6577
6578 _CSEOF
6579 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6580 echo >&5
6581 _ACEOF
6582
6583 # Files that config.status was made for.
6584 if test -n "$ac_config_files"; then
6585 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6586 fi
6587
6588 if test -n "$ac_config_headers"; then
6589 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6590 fi
6591
6592 if test -n "$ac_config_links"; then
6593 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6594 fi
6595
6596 if test -n "$ac_config_commands"; then
6597 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6598 fi
6599
6600 cat >>$CONFIG_STATUS <<\_ACEOF
6601
6602 ac_cs_usage="\
6603 \`$as_me' instantiates files from templates according to the
6604 current configuration.
6605
6606 Usage: $0 [OPTIONS] [FILE]...
6607
6608 -h, --help print this help, then exit
6609 -V, --version print version number, then exit
6610 -q, --quiet do not print progress messages
6611 -d, --debug don't remove temporary files
6612 --recheck update $as_me by reconfiguring in the same conditions
6613 --file=FILE[:TEMPLATE]
6614 instantiate the configuration file FILE
6615 --header=FILE[:TEMPLATE]
6616 instantiate the configuration header FILE
6617
6618 Configuration files:
6619 $config_files
6620
6621 Configuration headers:
6622 $config_headers
6623
6624 Configuration commands:
6625 $config_commands
6626
6627 Report bugs to <bug-autoconf@gnu.org>."
6628 _ACEOF
6629
6630 cat >>$CONFIG_STATUS <<_ACEOF
6631 ac_cs_version="\\
6632 h5utils config.status 1.10
6633 configured by $0, generated by GNU Autoconf 2.59,
6634 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6635
6636 Copyright (C) 2003 Free Software Foundation, Inc.
6637 This config.status script is free software; the Free Software Foundation
6638 gives unlimited permission to copy, distribute and modify it."
6639 srcdir=$srcdir
6640 INSTALL="$INSTALL"
6641 _ACEOF
6642
6643 cat >>$CONFIG_STATUS <<\_ACEOF
6644 # If no file are specified by the user, then we need to provide default
6645 # value. By we need to know if files were specified by the user.
6646 ac_need_defaults=:
6647 while test $# != 0
6648 do
6649 case $1 in
6650 --*=*)
6651 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6652 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6653 ac_shift=:
6654 ;;
6655 -*)
6656 ac_option=$1
6657 ac_optarg=$2
6658 ac_shift=shift
6659 ;;
6660 *) # This is not an option, so the user has probably given explicit
6661 # arguments.
6662 ac_option=$1
6663 ac_need_defaults=false;;
6664 esac
6665
6666 case $ac_option in
6667 # Handling of the options.
6668 _ACEOF
6669 cat >>$CONFIG_STATUS <<\_ACEOF
6670 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6671 ac_cs_recheck=: ;;
6672 --version | --vers* | -V )
6673 echo "$ac_cs_version"; exit 0 ;;
6674 --he | --h)
6675 # Conflict between --help and --header
6676 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6677 Try \`$0 --help' for more information." >&5
6678 echo "$as_me: error: ambiguous option: $1
6679 Try \`$0 --help' for more information." >&2;}
6680 { (exit 1); exit 1; }; };;
6681 --help | --hel | -h )
6682 echo "$ac_cs_usage"; exit 0 ;;
6683 --debug | --d* | -d )
6684 debug=: ;;
6685 --file | --fil | --fi | --f )
6686 $ac_shift
6687 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6688 ac_need_defaults=false;;
6689 --header | --heade | --head | --hea )
6690 $ac_shift
6691 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6692 ac_need_defaults=false;;
6693 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6694 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6695 ac_cs_silent=: ;;
6696
6697 # This is an error.
6698 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6699 Try \`$0 --help' for more information." >&5
6700 echo "$as_me: error: unrecognized option: $1
6701 Try \`$0 --help' for more information." >&2;}
6702 { (exit 1); exit 1; }; } ;;
6703
6704 *) ac_config_targets="$ac_config_targets $1" ;;
6705
6706 esac
6707 shift
6708 done
6709
6710 ac_configure_extra_args=
6711
6712 if $ac_cs_silent; then
6713 exec 6>/dev/null
6714 ac_configure_extra_args="$ac_configure_extra_args --silent"
6715 fi
6716
6717 _ACEOF
6718 cat >>$CONFIG_STATUS <<_ACEOF
6719 if \$ac_cs_recheck; then
6720 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6721 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6722 fi
6723
6724 _ACEOF
6725
6726 cat >>$CONFIG_STATUS <<_ACEOF
7640
7641 _ACEOF
7642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67277643 #
6728 # INIT-COMMANDS section.
7644 # INIT-COMMANDS
67297645 #
6730
67317646 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
67327647
67337648 _ACEOF
67347649
6735
6736
6737 cat >>$CONFIG_STATUS <<\_ACEOF
7650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7651
7652 # Handling of arguments.
67387653 for ac_config_target in $ac_config_targets
67397654 do
6740 case "$ac_config_target" in
6741 # Handling of arguments.
6742 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6743 "h5topng.1" ) CONFIG_FILES="$CONFIG_FILES h5topng.1" ;;
6744 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6745 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6746 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6747 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7655 case $ac_config_target in
7656 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7657 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7658 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7659 "h5topng.1") CONFIG_FILES="$CONFIG_FILES h5topng.1" ;;
7660
7661 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7662 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
67487663 { (exit 1); exit 1; }; };;
67497664 esac
67507665 done
7666
67517667
67527668 # If the user did not use the arguments to specify the items to instantiate,
67537669 # then the envvar interface is used. Set only those that are not.
67607676 fi
67617677
67627678 # Have a temporary directory for convenience. Make it in the build tree
6763 # simply because there is no reason to put it here, and in addition,
7679 # simply because there is no reason against having it here, and in addition,
67647680 # creating and moving files from /tmp can sometimes cause problems.
6765 # Create a temporary directory, and hook for its removal unless debugging.
7681 # Hook for its removal unless debugging.
7682 # Note that there is a small window in which the directory will not be cleaned:
7683 # after its creation but before its name has been assigned to `$tmp'.
67667684 $debug ||
67677685 {
6768 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7686 tmp=
7687 trap 'exit_status=$?
7688 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7689 ' 0
67697690 trap '{ (exit 1); exit 1; }' 1 2 13 15
67707691 }
6771
67727692 # Create a (secure) tmp directory for tmp files.
67737693
67747694 {
6775 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7695 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67767696 test -n "$tmp" && test -d "$tmp"
67777697 } ||
67787698 {
6779 tmp=./confstat$$-$RANDOM
6780 (umask 077 && mkdir $tmp)
7699 tmp=./conf$$-$RANDOM
7700 (umask 077 && mkdir "$tmp")
67817701 } ||
67827702 {
6783 echo "$me: cannot create a temporary directory in ." >&2
7703 $as_echo "$as_me: cannot create a temporary directory in ." >&2
67847704 { (exit 1); exit 1; }
67857705 }
67867706
6787 _ACEOF
6788
6789 cat >>$CONFIG_STATUS <<_ACEOF
6790
6791 #
6792 # CONFIG_FILES section.
6793 #
6794
6795 # No need to generate the scripts if there are no CONFIG_FILES.
6796 # This happens for instance when ./config.status config.h
6797 if test -n "\$CONFIG_FILES"; then
6798 # Protect against being on the right side of a sed subst in config.status.
6799 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6800 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6801 s,@SHELL@,$SHELL,;t t
6802 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6803 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6804 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6805 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6806 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6807 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6808 s,@exec_prefix@,$exec_prefix,;t t
6809 s,@prefix@,$prefix,;t t
6810 s,@program_transform_name@,$program_transform_name,;t t
6811 s,@bindir@,$bindir,;t t
6812 s,@sbindir@,$sbindir,;t t
6813 s,@libexecdir@,$libexecdir,;t t
6814 s,@datadir@,$datadir,;t t
6815 s,@sysconfdir@,$sysconfdir,;t t
6816 s,@sharedstatedir@,$sharedstatedir,;t t
6817 s,@localstatedir@,$localstatedir,;t t
6818 s,@libdir@,$libdir,;t t
6819 s,@includedir@,$includedir,;t t
6820 s,@oldincludedir@,$oldincludedir,;t t
6821 s,@infodir@,$infodir,;t t
6822 s,@mandir@,$mandir,;t t
6823 s,@build_alias@,$build_alias,;t t
6824 s,@host_alias@,$host_alias,;t t
6825 s,@target_alias@,$target_alias,;t t
6826 s,@DEFS@,$DEFS,;t t
6827 s,@ECHO_C@,$ECHO_C,;t t
6828 s,@ECHO_N@,$ECHO_N,;t t
6829 s,@ECHO_T@,$ECHO_T,;t t
6830 s,@LIBS@,$LIBS,;t t
6831 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6832 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6833 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6834 s,@CYGPATH_W@,$CYGPATH_W,;t t
6835 s,@PACKAGE@,$PACKAGE,;t t
6836 s,@VERSION@,$VERSION,;t t
6837 s,@ACLOCAL@,$ACLOCAL,;t t
6838 s,@AUTOCONF@,$AUTOCONF,;t t
6839 s,@AUTOMAKE@,$AUTOMAKE,;t t
6840 s,@AUTOHEADER@,$AUTOHEADER,;t t
6841 s,@MAKEINFO@,$MAKEINFO,;t t
6842 s,@install_sh@,$install_sh,;t t
6843 s,@STRIP@,$STRIP,;t t
6844 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6845 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6846 s,@mkdir_p@,$mkdir_p,;t t
6847 s,@AWK@,$AWK,;t t
6848 s,@SET_MAKE@,$SET_MAKE,;t t
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
6853 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6854 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6855 s,@MAINT@,$MAINT,;t t
6856 s,@CC@,$CC,;t t
6857 s,@CFLAGS@,$CFLAGS,;t t
6858 s,@LDFLAGS@,$LDFLAGS,;t t
6859 s,@CPPFLAGS@,$CPPFLAGS,;t t
6860 s,@ac_ct_CC@,$ac_ct_CC,;t t
6861 s,@EXEEXT@,$EXEEXT,;t t
6862 s,@OBJEXT@,$OBJEXT,;t t
6863 s,@DEPDIR@,$DEPDIR,;t t
6864 s,@am__include@,$am__include,;t t
6865 s,@am__quote@,$am__quote,;t t
6866 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6867 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6868 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6869 s,@CCDEPMODE@,$CCDEPMODE,;t t
6870 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6871 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6872 s,@CPP@,$CPP,;t t
6873 s,@EGREP@,$EGREP,;t t
6874 s,@H5TOPNG_MAN@,$H5TOPNG_MAN,;t t
6875 s,@PNG_LIBS@,$PNG_LIBS,;t t
6876 s,@H4TOH5@,$H4TOH5,;t t
6877 s,@H5TOH4@,$H5TOH4,;t t
6878 s,@H4_LIBS@,$H4_LIBS,;t t
6879 s,@MKOCTFILE@,$MKOCTFILE,;t t
6880 s,@OCTAVE@,$OCTAVE,;t t
6881 s,@H5READ@,$H5READ,;t t
6882 s,@OCT_INSTALL_DIR@,$OCT_INSTALL_DIR,;t t
6883 s,@V5D_FILES@,$V5D_FILES,;t t
6884 s,@V5D_INCLUDES@,$V5D_INCLUDES,;t t
6885 s,@datadir_val@,$datadir_val,;t t
6886 s,@MORE_H5UTILS@,$MORE_H5UTILS,;t t
6887 s,@MORE_H5UTILS_MANS@,$MORE_H5UTILS_MANS,;t t
6888 s,@LIBOBJS@,$LIBOBJS,;t t
6889 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6890 CEOF
6891
6892 _ACEOF
6893
6894 cat >>$CONFIG_STATUS <<\_ACEOF
6895 # Split the substitutions into bite-sized pieces for seds with
6896 # small command number limits, like on Digital OSF/1 and HP-UX.
6897 ac_max_sed_lines=48
6898 ac_sed_frag=1 # Number of current file.
6899 ac_beg=1 # First line for current file.
6900 ac_end=$ac_max_sed_lines # Line after last line for current file.
6901 ac_more_lines=:
6902 ac_sed_cmds=
6903 while $ac_more_lines; do
6904 if test $ac_beg -gt 1; then
6905 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6906 else
6907 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7707 # Set up the scripts for CONFIG_FILES section.
7708 # No need to generate them if there are no CONFIG_FILES.
7709 # This happens for instance with `./config.status config.h'.
7710 if test -n "$CONFIG_FILES"; then
7711
7712
7713 ac_cr='
7714 '
7715 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7716 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7717 ac_cs_awk_cr='\\r'
7718 else
7719 ac_cs_awk_cr=$ac_cr
7720 fi
7721
7722 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7723 _ACEOF
7724
7725
7726 {
7727 echo "cat >conf$$subs.awk <<_ACEOF" &&
7728 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7729 echo "_ACEOF"
7730 } >conf$$subs.sh ||
7731 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7732 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7733 { (exit 1); exit 1; }; }
7734 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
7735 ac_delim='%!_!# '
7736 for ac_last_try in false false false false false :; do
7737 . ./conf$$subs.sh ||
7738 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7739 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7740 { (exit 1); exit 1; }; }
7741
7742 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7743 if test $ac_delim_n = $ac_delim_num; then
7744 break
7745 elif $ac_last_try; then
7746 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7747 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7748 { (exit 1); exit 1; }; }
7749 else
7750 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7751 fi
7752 done
7753 rm -f conf$$subs.sh
7754
7755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7756 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
7757 _ACEOF
7758 sed -n '
7759 h
7760 s/^/S["/; s/!.*/"]=/
7761 p
7762 g
7763 s/^[^!]*!//
7764 :repl
7765 t repl
7766 s/'"$ac_delim"'$//
7767 t delim
7768 :nl
7769 h
7770 s/\(.\{148\}\).*/\1/
7771 t more1
7772 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7773 p
7774 n
7775 b repl
7776 :more1
7777 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7778 p
7779 g
7780 s/.\{148\}//
7781 t nl
7782 :delim
7783 h
7784 s/\(.\{148\}\).*/\1/
7785 t more2
7786 s/["\\]/\\&/g; s/^/"/; s/$/"/
7787 p
7788 b
7789 :more2
7790 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7791 p
7792 g
7793 s/.\{148\}//
7794 t delim
7795 ' <conf$$subs.awk | sed '
7796 /^[^""]/{
7797 N
7798 s/\n//
7799 }
7800 ' >>$CONFIG_STATUS || ac_write_fail=1
7801 rm -f conf$$subs.awk
7802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7803 _ACAWK
7804 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
7805 for (key in S) S_is_set[key] = 1
7806 FS = ""
7807
7808 }
7809 {
7810 line = $ 0
7811 nfields = split(line, field, "@")
7812 substed = 0
7813 len = length(field[1])
7814 for (i = 2; i < nfields; i++) {
7815 key = field[i]
7816 keylen = length(key)
7817 if (S_is_set[key]) {
7818 value = S[key]
7819 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7820 len += length(value) + length(field[++i])
7821 substed = 1
7822 } else
7823 len += 1 + keylen
7824 }
7825
7826 print line
7827 }
7828
7829 _ACAWK
7830 _ACEOF
7831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7832 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7833 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7834 else
7835 cat
7836 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
7837 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
7838 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
7839 { (exit 1); exit 1; }; }
7840 _ACEOF
7841
7842 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7843 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7844 # trailing colons and then remove the whole line if VPATH becomes empty
7845 # (actually we leave an empty line to preserve line numbers).
7846 if test "x$srcdir" = x.; then
7847 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7848 s/:*\$(srcdir):*/:/
7849 s/:*\${srcdir}:*/:/
7850 s/:*@srcdir@:*/:/
7851 s/^\([^=]*=[ ]*\):*/\1/
7852 s/:*$//
7853 s/^[^=]*=[ ]*$//
7854 }'
7855 fi
7856
7857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7858 fi # test -n "$CONFIG_FILES"
7859
7860 # Set up the scripts for CONFIG_HEADERS section.
7861 # No need to generate them if there are no CONFIG_HEADERS.
7862 # This happens for instance with `./config.status Makefile'.
7863 if test -n "$CONFIG_HEADERS"; then
7864 cat >"$tmp/defines.awk" <<\_ACAWK ||
7865 BEGIN {
7866 _ACEOF
7867
7868 # Transform confdefs.h into an awk script `defines.awk', embedded as
7869 # here-document in config.status, that substitutes the proper values into
7870 # config.h.in to produce config.h.
7871
7872 # Create a delimiter string that does not exist in confdefs.h, to ease
7873 # handling of long lines.
7874 ac_delim='%!_!# '
7875 for ac_last_try in false false :; do
7876 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
7877 if test -z "$ac_t"; then
7878 break
7879 elif $ac_last_try; then
7880 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
7881 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
7882 { (exit 1); exit 1; }; }
7883 else
7884 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7885 fi
7886 done
7887
7888 # For the awk script, D is an array of macro values keyed by name,
7889 # likewise P contains macro parameters if any. Preserve backslash
7890 # newline sequences.
7891
7892 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7893 sed -n '
7894 s/.\{148\}/&'"$ac_delim"'/g
7895 t rset
7896 :rset
7897 s/^[ ]*#[ ]*define[ ][ ]*/ /
7898 t def
7899 d
7900 :def
7901 s/\\$//
7902 t bsnl
7903 s/["\\]/\\&/g
7904 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7905 D["\1"]=" \3"/p
7906 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7907 d
7908 :bsnl
7909 s/["\\]/\\&/g
7910 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7911 D["\1"]=" \3\\\\\\n"\\/p
7912 t cont
7913 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7914 t cont
7915 d
7916 :cont
7917 n
7918 s/.\{148\}/&'"$ac_delim"'/g
7919 t clear
7920 :clear
7921 s/\\$//
7922 t bsnlc
7923 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7924 d
7925 :bsnlc
7926 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7927 b cont
7928 ' <confdefs.h | sed '
7929 s/'"$ac_delim"'/"\\\
7930 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7931
7932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7933 for (key in D) D_is_set[key] = 1
7934 FS = ""
7935 }
7936 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7937 line = \$ 0
7938 split(line, arg, " ")
7939 if (arg[1] == "#") {
7940 defundef = arg[2]
7941 mac1 = arg[3]
7942 } else {
7943 defundef = substr(arg[1], 2)
7944 mac1 = arg[2]
7945 }
7946 split(mac1, mac2, "(") #)
7947 macro = mac2[1]
7948 prefix = substr(line, 1, index(line, defundef) - 1)
7949 if (D_is_set[macro]) {
7950 # Preserve the white space surrounding the "#".
7951 print prefix "define", macro P[macro] D[macro]
7952 next
7953 } else {
7954 # Replace #undef with comments. This is necessary, for example,
7955 # in the case of _POSIX_SOURCE, which is predefined and required
7956 # on some systems where configure will not decide to define it.
7957 if (defundef == "undef") {
7958 print "/*", prefix defundef, macro, "*/"
7959 next
7960 }
7961 }
7962 }
7963 { print }
7964 _ACAWK
7965 _ACEOF
7966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7967 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
7968 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
7969 { (exit 1); exit 1; }; }
7970 fi # test -n "$CONFIG_HEADERS"
7971
7972
7973 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7974 shift
7975 for ac_tag
7976 do
7977 case $ac_tag in
7978 :[FHLC]) ac_mode=$ac_tag; continue;;
7979 esac
7980 case $ac_mode$ac_tag in
7981 :[FHL]*:*);;
7982 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
7983 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
7984 { (exit 1); exit 1; }; };;
7985 :[FH]-) ac_tag=-:-;;
7986 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7987 esac
7988 ac_save_IFS=$IFS
7989 IFS=:
7990 set x $ac_tag
7991 IFS=$ac_save_IFS
7992 shift
7993 ac_file=$1
7994 shift
7995
7996 case $ac_mode in
7997 :L) ac_source=$1;;
7998 :[FH])
7999 ac_file_inputs=
8000 for ac_f
8001 do
8002 case $ac_f in
8003 -) ac_f="$tmp/stdin";;
8004 *) # Look for the file first in the build tree, then in the source tree
8005 # (if the path is not absolute). The absolute path cannot be DOS-style,
8006 # because $ac_f cannot contain `:'.
8007 test -f "$ac_f" ||
8008 case $ac_f in
8009 [\\/$]*) false;;
8010 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8011 esac ||
8012 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8013 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8014 { (exit 1); exit 1; }; };;
8015 esac
8016 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8017 ac_file_inputs="$ac_file_inputs '$ac_f'"
8018 done
8019
8020 # Let's still pretend it is `configure' which instantiates (i.e., don't
8021 # use $as_me), people would be surprised to read:
8022 # /* config.h. Generated by config.status. */
8023 configure_input='Generated from '`
8024 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8025 `' by configure.'
8026 if test x"$ac_file" != x-; then
8027 configure_input="$ac_file. $configure_input"
8028 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
8029 $as_echo "$as_me: creating $ac_file" >&6;}
69088030 fi
6909 if test ! -s $tmp/subs.frag; then
6910 ac_more_lines=false
6911 else
6912 # The purpose of the label and of the branching condition is to
6913 # speed up the sed processing (if there are no `@' at all, there
6914 # is no need to browse any of the substitutions).
6915 # These are the two extra sed commands mentioned above.
6916 (echo ':t
6917 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6918 if test -z "$ac_sed_cmds"; then
6919 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6920 else
6921 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6922 fi
6923 ac_sed_frag=`expr $ac_sed_frag + 1`
6924 ac_beg=$ac_end
6925 ac_end=`expr $ac_end + $ac_max_sed_lines`
6926 fi
6927 done
6928 if test -z "$ac_sed_cmds"; then
6929 ac_sed_cmds=cat
6930 fi
6931 fi # test -n "$CONFIG_FILES"
6932
6933 _ACEOF
6934 cat >>$CONFIG_STATUS <<\_ACEOF
6935 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6936 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6937 case $ac_file in
6938 - | *:- | *:-:* ) # input from stdin
6939 cat >$tmp/stdin
6940 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6941 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6942 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6943 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6944 * ) ac_file_in=$ac_file.in ;;
8031 # Neutralize special characters interpreted by sed in replacement strings.
8032 case $configure_input in #(
8033 *\&* | *\|* | *\\* )
8034 ac_sed_conf_input=`$as_echo "$configure_input" |
8035 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8036 *) ac_sed_conf_input=$configure_input;;
8037 esac
8038
8039 case $ac_tag in
8040 *:-:* | *:-) cat >"$tmp/stdin" \
8041 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8042 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8043 { (exit 1); exit 1; }; } ;;
8044 esac
8045 ;;
69458046 esac
69468047
6947 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6948 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8048 ac_dir=`$as_dirname -- "$ac_file" ||
69498049 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
69508050 X"$ac_file" : 'X\(//\)[^/]' \| \
69518051 X"$ac_file" : 'X\(//\)$' \| \
6952 X"$ac_file" : 'X\(/\)' \| \
6953 . : '\(.\)' 2>/dev/null ||
6954 echo X"$ac_file" |
6955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6956 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6957 /^X\(\/\/\)$/{ s//\1/; q; }
6958 /^X\(\/\).*/{ s//\1/; q; }
6959 s/.*/./; q'`
6960 { if $as_mkdir_p; then
6961 mkdir -p "$ac_dir"
6962 else
6963 as_dir="$ac_dir"
8052 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8053 $as_echo X"$ac_file" |
8054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8055 s//\1/
8056 q
8057 }
8058 /^X\(\/\/\)[^/].*/{
8059 s//\1/
8060 q
8061 }
8062 /^X\(\/\/\)$/{
8063 s//\1/
8064 q
8065 }
8066 /^X\(\/\).*/{
8067 s//\1/
8068 q
8069 }
8070 s/.*/./; q'`
8071 { as_dir="$ac_dir"
8072 case $as_dir in #(
8073 -*) as_dir=./$as_dir;;
8074 esac
8075 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
69648076 as_dirs=
6965 while test ! -d "$as_dir"; do
6966 as_dirs="$as_dir $as_dirs"
6967 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8077 while :; do
8078 case $as_dir in #(
8079 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8080 *) as_qdir=$as_dir;;
8081 esac
8082 as_dirs="'$as_qdir' $as_dirs"
8083 as_dir=`$as_dirname -- "$as_dir" ||
69688084 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
69698085 X"$as_dir" : 'X\(//\)[^/]' \| \
69708086 X"$as_dir" : 'X\(//\)$' \| \
6971 X"$as_dir" : 'X\(/\)' \| \
6972 . : '\(.\)' 2>/dev/null ||
6973 echo X"$as_dir" |
6974 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6975 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6976 /^X\(\/\/\)$/{ s//\1/; q; }
6977 /^X\(\/\).*/{ s//\1/; q; }
6978 s/.*/./; q'`
8087 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8088 $as_echo X"$as_dir" |
8089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8090 s//\1/
8091 q
8092 }
8093 /^X\(\/\/\)[^/].*/{
8094 s//\1/
8095 q
8096 }
8097 /^X\(\/\/\)$/{
8098 s//\1/
8099 q
8100 }
8101 /^X\(\/\).*/{
8102 s//\1/
8103 q
8104 }
8105 s/.*/./; q'`
8106 test -d "$as_dir" && break
69798107 done
6980 test ! -n "$as_dirs" || mkdir $as_dirs
6981 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6982 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8108 test -z "$as_dirs" || eval "mkdir $as_dirs"
8109 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8110 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
69838111 { (exit 1); exit 1; }; }; }
6984
69858112 ac_builddir=.
69868113
6987 if test "$ac_dir" != .; then
6988 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6989 # A "../" for each directory in $ac_dir_suffix.
6990 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6991 else
6992 ac_dir_suffix= ac_top_builddir=
6993 fi
8114 case "$ac_dir" in
8115 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8116 *)
8117 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8118 # A ".." for each directory in $ac_dir_suffix.
8119 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8120 case $ac_top_builddir_sub in
8121 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8122 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8123 esac ;;
8124 esac
8125 ac_abs_top_builddir=$ac_pwd
8126 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8127 # for backward compatibility:
8128 ac_top_builddir=$ac_top_build_prefix
69948129
69958130 case $srcdir in
6996 .) # No --srcdir option. We are building in place.
8131 .) # We are building in place.
69978132 ac_srcdir=.
6998 if test -z "$ac_top_builddir"; then
6999 ac_top_srcdir=.
7000 else
7001 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7002 fi ;;
7003 [\\/]* | ?:[\\/]* ) # Absolute path.
8133 ac_top_srcdir=$ac_top_builddir_sub
8134 ac_abs_top_srcdir=$ac_pwd ;;
8135 [\\/]* | ?:[\\/]* ) # Absolute name.
70048136 ac_srcdir=$srcdir$ac_dir_suffix;
7005 ac_top_srcdir=$srcdir ;;
7006 *) # Relative path.
7007 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7008 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7009 esac
7010
7011 # Do not use `cd foo && pwd` to compute absolute paths, because
7012 # the directories may not exist.
7013 case `pwd` in
7014 .) ac_abs_builddir="$ac_dir";;
7015 *)
7016 case "$ac_dir" in
7017 .) ac_abs_builddir=`pwd`;;
7018 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7019 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7020 esac;;
7021 esac
7022 case $ac_abs_builddir in
7023 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7024 *)
7025 case ${ac_top_builddir}. in
7026 .) ac_abs_top_builddir=$ac_abs_builddir;;
7027 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7028 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7029 esac;;
7030 esac
7031 case $ac_abs_builddir in
7032 .) ac_abs_srcdir=$ac_srcdir;;
7033 *)
7034 case $ac_srcdir in
7035 .) ac_abs_srcdir=$ac_abs_builddir;;
7036 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7037 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7038 esac;;
7039 esac
7040 case $ac_abs_builddir in
7041 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7042 *)
7043 case $ac_top_srcdir in
7044 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7045 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7046 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7047 esac;;
7048 esac
7049
8137 ac_top_srcdir=$srcdir
8138 ac_abs_top_srcdir=$srcdir ;;
8139 *) # Relative name.
8140 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8141 ac_top_srcdir=$ac_top_build_prefix$srcdir
8142 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8143 esac
8144 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8145
8146
8147 case $ac_mode in
8148 :F)
8149 #
8150 # CONFIG_FILE
8151 #
70508152
70518153 case $INSTALL in
70528154 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7053 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8155 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
70548156 esac
7055
7056 if test x"$ac_file" != x-; then
7057 { echo "$as_me:$LINENO: creating $ac_file" >&5
7058 echo "$as_me: creating $ac_file" >&6;}
7059 rm -f "$ac_file"
7060 fi
7061 # Let's still pretend it is `configure' which instantiates (i.e., don't
7062 # use $as_me), people would be surprised to read:
7063 # /* config.h. Generated by config.status. */
7064 if test x"$ac_file" = x-; then
7065 configure_input=
7066 else
7067 configure_input="$ac_file. "
7068 fi
7069 configure_input=$configure_input"Generated from `echo $ac_file_in |
7070 sed 's,.*/,,'` by configure."
7071
7072 # First look for the input files in the build tree, otherwise in the
7073 # src tree.
7074 ac_file_inputs=`IFS=:
7075 for f in $ac_file_in; do
7076 case $f in
7077 -) echo $tmp/stdin ;;
7078 [\\/$]*)
7079 # Absolute (can't be DOS-style, as IFS=:)
7080 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7081 echo "$as_me: error: cannot find input file: $f" >&2;}
7082 { (exit 1); exit 1; }; }
7083 echo "$f";;
7084 *) # Relative
7085 if test -f "$f"; then
7086 # Build tree
7087 echo "$f"
7088 elif test -f "$srcdir/$f"; then
7089 # Source tree
7090 echo "$srcdir/$f"
7091 else
7092 # /dev/null tree
7093 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7094 echo "$as_me: error: cannot find input file: $f" >&2;}
7095 { (exit 1); exit 1; }; }
7096 fi;;
7097 esac
7098 done` || { (exit 1); exit 1; }
7099 _ACEOF
7100 cat >>$CONFIG_STATUS <<_ACEOF
7101 sed "$ac_vpsub
8157 ac_MKDIR_P=$MKDIR_P
8158 case $MKDIR_P in
8159 [\\/$]* | ?:[\\/]* ) ;;
8160 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8161 esac
8162 _ACEOF
8163
8164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8165 # If the template does not know about datarootdir, expand it.
8166 # FIXME: This hack should be removed a few years after 2.60.
8167 ac_datarootdir_hack=; ac_datarootdir_seen=
8168
8169 ac_sed_dataroot='
8170 /datarootdir/ {
8171 p
8172 q
8173 }
8174 /@datadir@/p
8175 /@docdir@/p
8176 /@infodir@/p
8177 /@localedir@/p
8178 /@mandir@/p
8179 '
8180 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8181 *datarootdir*) ac_datarootdir_seen=yes;;
8182 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8183 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8184 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8185 _ACEOF
8186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8187 ac_datarootdir_hack='
8188 s&@datadir@&$datadir&g
8189 s&@docdir@&$docdir&g
8190 s&@infodir@&$infodir&g
8191 s&@localedir@&$localedir&g
8192 s&@mandir@&$mandir&g
8193 s&\\\${datarootdir}&$datarootdir&g' ;;
8194 esac
8195 _ACEOF
8196
8197 # Neutralize VPATH when `$srcdir' = `.'.
8198 # Shell code in configure.ac might set extrasub.
8199 # FIXME: do we really want to maintain this feature?
8200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8201 ac_sed_extra="$ac_vpsub
71028202 $extrasub
71038203 _ACEOF
7104 cat >>$CONFIG_STATUS <<\_ACEOF
8204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
71058205 :t
71068206 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7107 s,@configure_input@,$configure_input,;t t
7108 s,@srcdir@,$ac_srcdir,;t t
7109 s,@abs_srcdir@,$ac_abs_srcdir,;t t
7110 s,@top_srcdir@,$ac_top_srcdir,;t t
7111 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7112 s,@builddir@,$ac_builddir,;t t
7113 s,@abs_builddir@,$ac_abs_builddir,;t t
7114 s,@top_builddir@,$ac_top_builddir,;t t
7115 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7116 s,@INSTALL@,$ac_INSTALL,;t t
7117 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7118 rm -f $tmp/stdin
8207 s|@configure_input@|$ac_sed_conf_input|;t t
8208 s&@top_builddir@&$ac_top_builddir_sub&;t t
8209 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8210 s&@srcdir@&$ac_srcdir&;t t
8211 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8212 s&@top_srcdir@&$ac_top_srcdir&;t t
8213 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8214 s&@builddir@&$ac_builddir&;t t
8215 s&@abs_builddir@&$ac_abs_builddir&;t t
8216 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8217 s&@INSTALL@&$ac_INSTALL&;t t
8218 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8219 $ac_datarootdir_hack
8220 "
8221 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8222 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8223 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8224 { (exit 1); exit 1; }; }
8225
8226 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8227 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8228 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8229 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8230 which seems to be undefined. Please make sure it is defined." >&5
8231 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8232 which seems to be undefined. Please make sure it is defined." >&2;}
8233
8234 rm -f "$tmp/stdin"
8235 case $ac_file in
8236 -) cat "$tmp/out" && rm -f "$tmp/out";;
8237 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8238 esac \
8239 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8240 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8241 { (exit 1); exit 1; }; }
8242 ;;
8243 :H)
8244 #
8245 # CONFIG_HEADER
8246 #
71198247 if test x"$ac_file" != x-; then
7120 mv $tmp/out $ac_file
7121 else
7122 cat $tmp/out
7123 rm -f $tmp/out
7124 fi
7125
7126 done
7127 _ACEOF
7128 cat >>$CONFIG_STATUS <<\_ACEOF
7129
7130 #
7131 # CONFIG_HEADER section.
7132 #
7133
7134 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7135 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7136 #
7137 # ac_d sets the value in "#define NAME VALUE" lines.
7138 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7139 ac_dB='[ ].*$,\1#\2'
7140 ac_dC=' '
7141 ac_dD=',;t'
7142 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7143 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7144 ac_uB='$,\1#\2define\3'
7145 ac_uC=' '
7146 ac_uD=',;t'
7147
7148 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
7149 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7150 case $ac_file in
7151 - | *:- | *:-:* ) # input from stdin
7152 cat >$tmp/stdin
7153 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7154 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7155 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7156 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7157 * ) ac_file_in=$ac_file.in ;;
7158 esac
7159
7160 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7161 echo "$as_me: creating $ac_file" >&6;}
7162
7163 # First look for the input files in the build tree, otherwise in the
7164 # src tree.
7165 ac_file_inputs=`IFS=:
7166 for f in $ac_file_in; do
7167 case $f in
7168 -) echo $tmp/stdin ;;
7169 [\\/$]*)
7170 # Absolute (can't be DOS-style, as IFS=:)
7171 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7172 echo "$as_me: error: cannot find input file: $f" >&2;}
8248 {
8249 $as_echo "/* $configure_input */" \
8250 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8251 } >"$tmp/config.h" \
8252 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8253 $as_echo "$as_me: error: could not create $ac_file" >&2;}
71738254 { (exit 1); exit 1; }; }
7174 # Do quote $f, to prevent DOS paths from being IFS'd.
7175 echo "$f";;
7176 *) # Relative
7177 if test -f "$f"; then
7178 # Build tree
7179 echo "$f"
7180 elif test -f "$srcdir/$f"; then
7181 # Source tree
7182 echo "$srcdir/$f"
7183 else
7184 # /dev/null tree
7185 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7186 echo "$as_me: error: cannot find input file: $f" >&2;}
8255 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8256 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8257 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8258 else
8259 rm -f "$ac_file"
8260 mv "$tmp/config.h" "$ac_file" \
8261 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8262 $as_echo "$as_me: error: could not create $ac_file" >&2;}
71878263 { (exit 1); exit 1; }; }
7188 fi;;
7189 esac
7190 done` || { (exit 1); exit 1; }
7191 # Remove the trailing spaces.
7192 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7193
7194 _ACEOF
7195
7196 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7197 # `conftest.undefs', that substitutes the proper values into
7198 # config.h.in to produce config.h. The first handles `#define'
7199 # templates, and the second `#undef' templates.
7200 # And first: Protect against being on the right side of a sed subst in
7201 # config.status. Protect against being in an unquoted here document
7202 # in config.status.
7203 rm -f conftest.defines conftest.undefs
7204 # Using a here document instead of a string reduces the quoting nightmare.
7205 # Putting comments in sed scripts is not portable.
7206 #
7207 # `end' is used to avoid that the second main sed command (meant for
7208 # 0-ary CPP macros) applies to n-ary macro definitions.
7209 # See the Autoconf documentation for `clear'.
7210 cat >confdef2sed.sed <<\_ACEOF
7211 s/[\\&,]/\\&/g
7212 s,[\\$`],\\&,g
7213 t clear
7214 : clear
7215 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7216 t end
7217 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7218 : end
7219 _ACEOF
7220 # If some macros were called several times there might be several times
7221 # the same #defines, which is useless. Nevertheless, we may not want to
7222 # sort them, since we want the *last* AC-DEFINE to be honored.
7223 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7224 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7225 rm -f confdef2sed.sed
7226
7227 # This sed command replaces #undef with comments. This is necessary, for
7228 # example, in the case of _POSIX_SOURCE, which is predefined and required
7229 # on some systems where configure will not decide to define it.
7230 cat >>conftest.undefs <<\_ACEOF
7231 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7232 _ACEOF
7233
7234 # Break up conftest.defines because some shells have a limit on the size
7235 # of here documents, and old seds have small limits too (100 cmds).
7236 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7237 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7238 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7239 echo ' :' >>$CONFIG_STATUS
7240 rm -f conftest.tail
7241 while grep . conftest.defines >/dev/null
7242 do
7243 # Write a limited-size here document to $tmp/defines.sed.
7244 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7245 # Speed up: don't consider the non `#define' lines.
7246 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7247 # Work around the forget-to-reset-the-flag bug.
7248 echo 't clr' >>$CONFIG_STATUS
7249 echo ': clr' >>$CONFIG_STATUS
7250 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7251 echo 'CEOF
7252 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7253 rm -f $tmp/in
7254 mv $tmp/out $tmp/in
7255 ' >>$CONFIG_STATUS
7256 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7257 rm -f conftest.defines
7258 mv conftest.tail conftest.defines
7259 done
7260 rm -f conftest.defines
7261 echo ' fi # grep' >>$CONFIG_STATUS
7262 echo >>$CONFIG_STATUS
7263
7264 # Break up conftest.undefs because some shells have a limit on the size
7265 # of here documents, and old seds have small limits too (100 cmds).
7266 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7267 rm -f conftest.tail
7268 while grep . conftest.undefs >/dev/null
7269 do
7270 # Write a limited-size here document to $tmp/undefs.sed.
7271 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7272 # Speed up: don't consider the non `#undef'
7273 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7274 # Work around the forget-to-reset-the-flag bug.
7275 echo 't clr' >>$CONFIG_STATUS
7276 echo ': clr' >>$CONFIG_STATUS
7277 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7278 echo 'CEOF
7279 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7280 rm -f $tmp/in
7281 mv $tmp/out $tmp/in
7282 ' >>$CONFIG_STATUS
7283 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7284 rm -f conftest.undefs
7285 mv conftest.tail conftest.undefs
7286 done
7287 rm -f conftest.undefs
7288
7289 cat >>$CONFIG_STATUS <<\_ACEOF
7290 # Let's still pretend it is `configure' which instantiates (i.e., don't
7291 # use $as_me), people would be surprised to read:
7292 # /* config.h. Generated by config.status. */
7293 if test x"$ac_file" = x-; then
7294 echo "/* Generated by configure. */" >$tmp/config.h
7295 else
7296 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7297 fi
7298 cat $tmp/in >>$tmp/config.h
7299 rm -f $tmp/in
7300 if test x"$ac_file" != x-; then
7301 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7302 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7303 echo "$as_me: $ac_file is unchanged" >&6;}
7304 else
7305 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7306 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7307 X"$ac_file" : 'X\(//\)[^/]' \| \
7308 X"$ac_file" : 'X\(//\)$' \| \
7309 X"$ac_file" : 'X\(/\)' \| \
7310 . : '\(.\)' 2>/dev/null ||
7311 echo X"$ac_file" |
7312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7313 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7314 /^X\(\/\/\)$/{ s//\1/; q; }
7315 /^X\(\/\).*/{ s//\1/; q; }
7316 s/.*/./; q'`
7317 { if $as_mkdir_p; then
7318 mkdir -p "$ac_dir"
7319 else
7320 as_dir="$ac_dir"
7321 as_dirs=
7322 while test ! -d "$as_dir"; do
7323 as_dirs="$as_dir $as_dirs"
7324 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7325 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7326 X"$as_dir" : 'X\(//\)[^/]' \| \
7327 X"$as_dir" : 'X\(//\)$' \| \
7328 X"$as_dir" : 'X\(/\)' \| \
7329 . : '\(.\)' 2>/dev/null ||
7330 echo X"$as_dir" |
7331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7332 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7333 /^X\(\/\/\)$/{ s//\1/; q; }
7334 /^X\(\/\).*/{ s//\1/; q; }
7335 s/.*/./; q'`
7336 done
7337 test ! -n "$as_dirs" || mkdir $as_dirs
7338 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7339 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7340 { (exit 1); exit 1; }; }; }
7341
7342 rm -f $ac_file
7343 mv $tmp/config.h $ac_file
73448264 fi
73458265 else
7346 cat $tmp/config.h
7347 rm -f $tmp/config.h
8266 $as_echo "/* $configure_input */" \
8267 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8268 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
8269 $as_echo "$as_me: error: could not create -" >&2;}
8270 { (exit 1); exit 1; }; }
73488271 fi
7349 # Compute $ac_file's index in $config_headers.
8272 # Compute "$ac_file"'s index in $config_headers.
8273 _am_arg="$ac_file"
73508274 _am_stamp_count=1
73518275 for _am_header in $config_headers :; do
73528276 case $_am_header in
7353 $ac_file | $ac_file:* )
8277 $_am_arg | $_am_arg:* )
73548278 break ;;
73558279 * )
73568280 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73578281 esac
73588282 done
7359 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7360 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7361 X$ac_file : 'X\(//\)[^/]' \| \
7362 X$ac_file : 'X\(//\)$' \| \
7363 X$ac_file : 'X\(/\)' \| \
7364 . : '\(.\)' 2>/dev/null ||
7365 echo X$ac_file |
7366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7367 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7368 /^X\(\/\/\)$/{ s//\1/; q; }
7369 /^X\(\/\).*/{ s//\1/; q; }
7370 s/.*/./; q'`/stamp-h$_am_stamp_count
7371 done
7372 _ACEOF
7373 cat >>$CONFIG_STATUS <<\_ACEOF
7374
7375 #
7376 # CONFIG_COMMANDS section.
7377 #
7378 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7379 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7380 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7381 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7382 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7383 X"$ac_dest" : 'X\(//\)[^/]' \| \
7384 X"$ac_dest" : 'X\(//\)$' \| \
7385 X"$ac_dest" : 'X\(/\)' \| \
7386 . : '\(.\)' 2>/dev/null ||
7387 echo X"$ac_dest" |
7388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7389 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7390 /^X\(\/\/\)$/{ s//\1/; q; }
7391 /^X\(\/\).*/{ s//\1/; q; }
7392 s/.*/./; q'`
7393 { if $as_mkdir_p; then
7394 mkdir -p "$ac_dir"
7395 else
7396 as_dir="$ac_dir"
8283 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8284 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8285 X"$_am_arg" : 'X\(//\)[^/]' \| \
8286 X"$_am_arg" : 'X\(//\)$' \| \
8287 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8288 $as_echo X"$_am_arg" |
8289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8290 s//\1/
8291 q
8292 }
8293 /^X\(\/\/\)[^/].*/{
8294 s//\1/
8295 q
8296 }
8297 /^X\(\/\/\)$/{
8298 s//\1/
8299 q
8300 }
8301 /^X\(\/\).*/{
8302 s//\1/
8303 q
8304 }
8305 s/.*/./; q'`/stamp-h$_am_stamp_count
8306 ;;
8307
8308 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
8309 $as_echo "$as_me: executing $ac_file commands" >&6;}
8310 ;;
8311 esac
8312
8313
8314 case $ac_file$ac_mode in
8315 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8316 # Autoconf 2.62 quotes --file arguments for eval, but not when files
8317 # are listed without --file. Let's play safe and only enable the eval
8318 # if we detect the quoting.
8319 case $CONFIG_FILES in
8320 *\'*) eval set x "$CONFIG_FILES" ;;
8321 *) set x $CONFIG_FILES ;;
8322 esac
8323 shift
8324 for mf
8325 do
8326 # Strip MF so we end up with the name of the file.
8327 mf=`echo "$mf" | sed -e 's/:.*$//'`
8328 # Check whether this is an Automake generated Makefile or not.
8329 # We used to match only the files named `Makefile.in', but
8330 # some people rename them; so instead we look at the file content.
8331 # Grep'ing the first line is not enough: some people post-process
8332 # each Makefile.in and add a new line on top of each file to say so.
8333 # Grep'ing the whole file is not good either: AIX grep has a line
8334 # limit of 2048, but all sed's we know have understand at least 4000.
8335 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8336 dirpart=`$as_dirname -- "$mf" ||
8337 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8338 X"$mf" : 'X\(//\)[^/]' \| \
8339 X"$mf" : 'X\(//\)$' \| \
8340 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8341 $as_echo X"$mf" |
8342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8343 s//\1/
8344 q
8345 }
8346 /^X\(\/\/\)[^/].*/{
8347 s//\1/
8348 q
8349 }
8350 /^X\(\/\/\)$/{
8351 s//\1/
8352 q
8353 }
8354 /^X\(\/\).*/{
8355 s//\1/
8356 q
8357 }
8358 s/.*/./; q'`
8359 else
8360 continue
8361 fi
8362 # Extract the definition of DEPDIR, am__include, and am__quote
8363 # from the Makefile without running `make'.
8364 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8365 test -z "$DEPDIR" && continue
8366 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8367 test -z "am__include" && continue
8368 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8369 # When using ansi2knr, U may be empty or an underscore; expand it
8370 U=`sed -n 's/^U = //p' < "$mf"`
8371 # Find all dependency output files, they are included files with
8372 # $(DEPDIR) in their names. We invoke sed twice because it is the
8373 # simplest approach to changing $(DEPDIR) to its actual value in the
8374 # expansion.
8375 for file in `sed -n "
8376 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8377 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8378 # Make sure the directory exists.
8379 test -f "$dirpart/$file" && continue
8380 fdir=`$as_dirname -- "$file" ||
8381 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8382 X"$file" : 'X\(//\)[^/]' \| \
8383 X"$file" : 'X\(//\)$' \| \
8384 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8385 $as_echo X"$file" |
8386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8387 s//\1/
8388 q
8389 }
8390 /^X\(\/\/\)[^/].*/{
8391 s//\1/
8392 q
8393 }
8394 /^X\(\/\/\)$/{
8395 s//\1/
8396 q
8397 }
8398 /^X\(\/\).*/{
8399 s//\1/
8400 q
8401 }
8402 s/.*/./; q'`
8403 { as_dir=$dirpart/$fdir
8404 case $as_dir in #(
8405 -*) as_dir=./$as_dir;;
8406 esac
8407 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
73978408 as_dirs=
7398 while test ! -d "$as_dir"; do
7399 as_dirs="$as_dir $as_dirs"
7400 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8409 while :; do
8410 case $as_dir in #(
8411 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8412 *) as_qdir=$as_dir;;
8413 esac
8414 as_dirs="'$as_qdir' $as_dirs"
8415 as_dir=`$as_dirname -- "$as_dir" ||
74018416 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74028417 X"$as_dir" : 'X\(//\)[^/]' \| \
74038418 X"$as_dir" : 'X\(//\)$' \| \
7404 X"$as_dir" : 'X\(/\)' \| \
7405 . : '\(.\)' 2>/dev/null ||
7406 echo X"$as_dir" |
7407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7408 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7409 /^X\(\/\/\)$/{ s//\1/; q; }
7410 /^X\(\/\).*/{ s//\1/; q; }
7411 s/.*/./; q'`
8419 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8420 $as_echo X"$as_dir" |
8421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8422 s//\1/
8423 q
8424 }
8425 /^X\(\/\/\)[^/].*/{
8426 s//\1/
8427 q
8428 }
8429 /^X\(\/\/\)$/{
8430 s//\1/
8431 q
8432 }
8433 /^X\(\/\).*/{
8434 s//\1/
8435 q
8436 }
8437 s/.*/./; q'`
8438 test -d "$as_dir" && break
74128439 done
7413 test ! -n "$as_dirs" || mkdir $as_dirs
7414 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7415 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8440 test -z "$as_dirs" || eval "mkdir $as_dirs"
8441 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8442 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
74168443 { (exit 1); exit 1; }; }; }
7417
7418 ac_builddir=.
7419
7420 if test "$ac_dir" != .; then
7421 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7422 # A "../" for each directory in $ac_dir_suffix.
7423 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7424 else
7425 ac_dir_suffix= ac_top_builddir=
7426 fi
7427
7428 case $srcdir in
7429 .) # No --srcdir option. We are building in place.
7430 ac_srcdir=.
7431 if test -z "$ac_top_builddir"; then
7432 ac_top_srcdir=.
7433 else
7434 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7435 fi ;;
7436 [\\/]* | ?:[\\/]* ) # Absolute path.
7437 ac_srcdir=$srcdir$ac_dir_suffix;
7438 ac_top_srcdir=$srcdir ;;
7439 *) # Relative path.
7440 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7441 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7442 esac
7443
7444 # Do not use `cd foo && pwd` to compute absolute paths, because
7445 # the directories may not exist.
7446 case `pwd` in
7447 .) ac_abs_builddir="$ac_dir";;
7448 *)
7449 case "$ac_dir" in
7450 .) ac_abs_builddir=`pwd`;;
7451 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7452 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7453 esac;;
7454 esac
7455 case $ac_abs_builddir in
7456 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7457 *)
7458 case ${ac_top_builddir}. in
7459 .) ac_abs_top_builddir=$ac_abs_builddir;;
7460 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7461 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7462 esac;;
7463 esac
7464 case $ac_abs_builddir in
7465 .) ac_abs_srcdir=$ac_srcdir;;
7466 *)
7467 case $ac_srcdir in
7468 .) ac_abs_srcdir=$ac_abs_builddir;;
7469 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7470 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7471 esac;;
7472 esac
7473 case $ac_abs_builddir in
7474 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7475 *)
7476 case $ac_top_srcdir in
7477 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7478 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7479 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7480 esac;;
7481 esac
7482
7483
7484 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7485 echo "$as_me: executing $ac_dest commands" >&6;}
7486 case $ac_dest in
7487 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7488 # Strip MF so we end up with the name of the file.
7489 mf=`echo "$mf" | sed -e 's/:.*$//'`
7490 # Check whether this is an Automake generated Makefile or not.
7491 # We used to match only the files named `Makefile.in', but
7492 # some people rename them; so instead we look at the file content.
7493 # Grep'ing the first line is not enough: some people post-process
7494 # each Makefile.in and add a new line on top of each file to say so.
7495 # So let's grep whole file.
7496 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7497 dirpart=`(dirname "$mf") 2>/dev/null ||
7498 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7499 X"$mf" : 'X\(//\)[^/]' \| \
7500 X"$mf" : 'X\(//\)$' \| \
7501 X"$mf" : 'X\(/\)' \| \
7502 . : '\(.\)' 2>/dev/null ||
7503 echo X"$mf" |
7504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7505 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7506 /^X\(\/\/\)$/{ s//\1/; q; }
7507 /^X\(\/\).*/{ s//\1/; q; }
7508 s/.*/./; q'`
7509 else
7510 continue
7511 fi
7512 # Extract the definition of DEPDIR, am__include, and am__quote
7513 # from the Makefile without running `make'.
7514 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
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"`
7519 # When using ansi2knr, U may be empty or an underscore; expand it
7520 U=`sed -n 's/^U = //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" | \
7527 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7528 # Make sure the directory exists.
7529 test -f "$dirpart/$file" && continue
7530 fdir=`(dirname "$file") 2>/dev/null ||
7531 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7532 X"$file" : 'X\(//\)[^/]' \| \
7533 X"$file" : 'X\(//\)$' \| \
7534 X"$file" : 'X\(/\)' \| \
7535 . : '\(.\)' 2>/dev/null ||
7536 echo X"$file" |
7537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7538 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7539 /^X\(\/\/\)$/{ s//\1/; q; }
7540 /^X\(\/\).*/{ s//\1/; q; }
7541 s/.*/./; q'`
7542 { if $as_mkdir_p; then
7543 mkdir -p $dirpart/$fdir
7544 else
7545 as_dir=$dirpart/$fdir
7546 as_dirs=
7547 while test ! -d "$as_dir"; do
7548 as_dirs="$as_dir $as_dirs"
7549 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7550 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7551 X"$as_dir" : 'X\(//\)[^/]' \| \
7552 X"$as_dir" : 'X\(//\)$' \| \
7553 X"$as_dir" : 'X\(/\)' \| \
7554 . : '\(.\)' 2>/dev/null ||
7555 echo X"$as_dir" |
7556 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7557 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7558 /^X\(\/\/\)$/{ s//\1/; q; }
7559 /^X\(\/\).*/{ s//\1/; q; }
7560 s/.*/./; q'`
8444 # echo "creating $dirpart/$file"
8445 echo '# dummy' > "$dirpart/$file"
75618446 done
7562 test ! -n "$as_dirs" || mkdir $as_dirs
7563 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7564 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7565 { (exit 1); exit 1; }; }; }
7566
7567 # echo "creating $dirpart/$file"
7568 echo '# dummy' > "$dirpart/$file"
75698447 done
7570 done
8448 }
75718449 ;;
8450
75728451 esac
7573 done
7574 _ACEOF
7575
7576 cat >>$CONFIG_STATUS <<\_ACEOF
8452 done # for ac_tag
8453
75778454
75788455 { (exit 0); exit 0; }
75798456 _ACEOF
75808457 chmod +x $CONFIG_STATUS
75818458 ac_clean_files=$ac_clean_files_save
8459
8460 test $ac_write_fail = 0 ||
8461 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
8462 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
8463 { (exit 1); exit 1; }; }
75828464
75838465
75848466 # configure is writing to config.log, and then calls config.status.
76018483 # would make configure fail if this is the last instruction.
76028484 $ac_cs_success || { (exit 1); exit 1; }
76038485 fi
7604
8486 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8487 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8488 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8489 fi
8490
00 # Process this file with autoconf to produce a configure script.
1 AC_INIT(h5utils, 1.10, stevenj@alum.mit.edu)
1 AC_INIT(h5utils, 1.12, stevenj@alum.mit.edu)
22 AM_INIT_AUTOMAKE(1.6)
33 AC_CONFIG_SRCDIR([h5topng.c])
44 AM_CONFIG_HEADER(config.h)
66
77 # Checks for programs.
88 AC_PROG_CC
9 AM_PROG_CC_C_O
910
1011 # Checks for header files.
1112 AC_HEADER_STDC
5253 fi
5354
5455 if test $H5TOPNG = yes; then
55 MORE_H5UTILS="h5topng $MORE_H5UTILS"
56 MORE_H5UTILS="h5topng\$(EXEEXT) $MORE_H5UTILS"
5657 H5TOPNG_MAN=h5topng.1
5758 fi
5859
6465 AC_CHECK_LIB(matheval, evaluator_get_variables, H5MATH=yes, H5MATH=no)
6566
6667 if test $H5MATH = yes; then
67 MORE_H5UTILS="h5math $MORE_H5UTILS"
68 MORE_H5UTILS="h5math\$(EXEEXT) $MORE_H5UTILS"
6869 MORE_H5UTILS_MANS="h5math.1 $MORE_H5UTILS_MANS"
6970 else
7071 AC_MSG_WARN([can't find libmatheval: won't be able to compile h5math])
9899
99100 if test $HDF4 = yes; then
100101 if test "x$H4TOH5" != xh4toh5; then
101 MORE_H5UTILS="h5fromh4 $MORE_H5UTILS"
102 MORE_H5UTILS="h5fromh4\$(EXEEXT) $MORE_H5UTILS"
102103 MORE_H5UTILS_MANS="h5fromh4.1 $MORE_H5UTILS_MANS"
103104 fi
104105 if test "x$H5TOH4" != xh5toh4; then
105 MORE_H5UTILS="h4fromh5 $MORE_H5UTILS"
106 MORE_H5UTILS="h4fromh5\$(EXEEXT) $MORE_H5UTILS"
106107 # MORE_H5UTILS_MANS="h4fromh5.1 $MORE_H5UTILS_MANS"
107108 fi
108109 fi
131132 # try to find installation directory
132133 AC_CHECK_PROGS(OCTAVE, octave, echo)
133134 AC_MSG_CHECKING(where octave plugins go)
134 OCT_INSTALL_DIR=`echo "DEFAULT_LOADPATH" | $OCTAVE -q | tr ':' '\n' | grep "site/oct" | head -1`
135 OCT_INSTALL_DIR=`echo "path" | $OCTAVE -q 2> /dev/null | grep "/oct/" | head -1`
136 if test -z "$OCT_INSTALL_DIR"; then
137 OCT_INSTALL_DIR=`echo "DEFAULT_LOADPATH" | $OCTAVE -q 2> /dev/null | tr ':' '\n' | grep "site/oct" | head -1`
138 fi
135139 if test -n "$OCT_INSTALL_DIR"; then
136140 AC_MSG_RESULT($OCT_INSTALL_DIR)
137141 H5READ=h5read.oct
173177 H5TOV5D=yes
174178 fi
175179 if test $H5TOV5D = yes; then
176 MORE_H5UTILS="h5tov5d $MORE_H5UTILS"
180 MORE_H5UTILS="h5tov5d\$(EXEEXT) $MORE_H5UTILS"
177181 MORE_H5UTILS_MANS="h5tov5d.1 $MORE_H5UTILS_MANS"
178182 fi
179183 AC_SUBST(V5D_FILES)
181185
182186 ###########################################################################
183187
184 AC_CHECK_HEADERS([netinet/in.h])
188 AC_CHECK_HEADERS([arpa/inet.h netinet/in.h stdint.h inttypes.h])
189 AC_CHECK_TYPES([uint16_t, uint32_t])
185190
186191 AC_MSG_CHECKING([for htons])
187 AC_TRY_LINK([#ifdef HAVE_NETINET_IN_H
192 AC_TRY_LINK([#if defined(HAVE_ARPA_INET_H)
193 #include <arpa/inet.h>
194 #elif defined(HAVE_NETINET_IN_H)
188195 #include <netinet/in.h>
189196 #endif], [unsigned short i; htons(i);], [htons=yes
190197 AC_DEFINE([HAVE_HTONS],1,[Define if you have htons.])], htons=no)
191198 AC_MSG_RESULT($htons)
192199
193 AC_CHECK_SIZEOF(unsigned long)
194200 AC_CHECK_SIZEOF(float)
195201
196 if test "x$ac_cv_sizeof_unsigned_long" = "x$ac_cv_sizeof_float"; then
197 AC_MSG_CHECKING([for htonl])
198 AC_TRY_LINK([#ifdef HAVE_NETINET_IN_H
202 AC_MSG_CHECKING([for htonl])
203 AC_TRY_LINK([#if defined(HAVE_ARPA_INET_H)
204 #include <arpa/inet.h>
205 #elif defined(HAVE_NETINET_IN_H)
199206 #include <netinet/in.h>
200 #endif], [unsigned short i; htonl(i);], [htonl=yes
201 AC_DEFINE([HAVE_HTONL],1,[Define if you have htonl.])], htonl=no)
202 AC_MSG_RESULT($htonl)
203 fi
207 #endif], [unsigned long i; htonl(i);], [htonl=yes
208 AC_DEFINE([HAVE_HTONL],1,[Define if you have htonl.])], htonl=no)
209 AC_MSG_RESULT($htonl)
204210
205211 if test "x$htons" != xyes -o "x$htonl" != xyes; then
206212 AC_C_BIGENDIAN
214220 save_prefix=$prefix
215221 test "x$prefix" = xNONE && prefix=$ac_default_prefix
216222 eval datadir_val=$datadir
223 eval datadir_val=$datadir_val
217224 prefix=$save_prefix
218225
219226 AC_DEFINE_UNQUOTED(DATADIR, "$datadir_val", [datadir installation prefix])
33 /* License and copyright string for inclusion in program output: */
44
55 #define COPYRIGHT \
6 "Copyright (c) 2005 Massachusetts Institute of Technology\n"\
6 "Copyright (c) 1999-2009 Massachusetts Institute of Technology\n"\
77 "\n"\
88 "Permission is hereby granted, free of charge, to any person obtaining\n"\
99 "a copy of this software and associated documentation files (the\n"\
00 #! /bin/sh
11 # depcomp - compile a program generating dependencies as side-effects
22
3 scriptversion=2005-02-09.22
4
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
3 scriptversion=2009-04-28.21; # UTC
4
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
6 # Software Foundation, Inc.
67
78 # This program is free software; you can redistribute it and/or modify
89 # it under the terms of the GNU General Public License as published by
1516 # GNU General Public License for more details.
1617
1718 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20 # 02111-1307, USA.
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
2120
2221 # As a special exception to the GNU General Public License, if you
2322 # distribute this file as part of a program that contains a
8584 depmode=dashmstdout
8685 fi
8786
87 cygpath_u="cygpath -u -f -"
88 if test "$depmode" = msvcmsys; then
89 # This is just like msvisualcpp but w/o cygpath translation.
90 # Just convert the backslash-escaped backslashes to single forward
91 # slashes to satisfy depend.m4
92 cygpath_u="sed s,\\\\\\\\,/,g"
93 depmode=msvisualcpp
94 fi
95
8896 case "$depmode" in
8997 gcc3)
9098 ## gcc 3 implements dependency tracking that does exactly what
9199 ## we want. Yay! Note: for some reason libtool 1.4 doesn't like
92100 ## it if -MD -MP comes after the -MF stuff. Hmm.
93 "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
101 ## Unfortunately, FreeBSD c89 acceptance of flags depends upon
102 ## the command line argument order; so add the flags where they
103 ## appear in depend2.am. Note that the slowdown incurred here
104 ## affects only configure: in makefiles, %FASTDEP% shortcuts this.
105 for arg
106 do
107 case $arg in
108 -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
109 *) set fnord "$@" "$arg" ;;
110 esac
111 shift # fnord
112 shift # $arg
113 done
114 "$@"
94115 stat=$?
95116 if test $stat -eq 0; then :
96117 else
177198 ' < "$tmpdepfile" \
178199 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
179200 tr '
180 ' ' ' >> $depfile
181 echo >> $depfile
201 ' ' ' >> "$depfile"
202 echo >> "$depfile"
182203
183204 # The second pass generates a dummy entry for each header file.
184205 tr ' ' '
185206 ' < "$tmpdepfile" \
186207 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
187 >> $depfile
208 >> "$depfile"
188209 else
189210 # The sourcefile does not contain any dependencies, so just
190211 # store a dummy comment line, to avoid errors with the Makefile
200221 # current directory. Also, the AIX compiler puts `$object:' at the
201222 # start of each line; $object doesn't have directory information.
202223 # Version 6 uses the directory in both cases.
203 stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
204 tmpdepfile="$stripped.u"
224 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
225 test "x$dir" = "x$object" && dir=
226 base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
205227 if test "$libtool" = yes; then
228 tmpdepfile1=$dir$base.u
229 tmpdepfile2=$base.u
230 tmpdepfile3=$dir.libs/$base.u
206231 "$@" -Wc,-M
207232 else
233 tmpdepfile1=$dir$base.u
234 tmpdepfile2=$dir$base.u
235 tmpdepfile3=$dir$base.u
208236 "$@" -M
209237 fi
210238 stat=$?
211239
212 if test -f "$tmpdepfile"; then :
213 else
214 stripped=`echo "$stripped" | sed 's,^.*/,,'`
215 tmpdepfile="$stripped.u"
216 fi
217
218240 if test $stat -eq 0; then :
219241 else
220 rm -f "$tmpdepfile"
242 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
221243 exit $stat
222244 fi
223245
246 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
247 do
248 test -f "$tmpdepfile" && break
249 done
224250 if test -f "$tmpdepfile"; then
225 outname="$stripped.o"
226251 # Each line is of the form `foo.o: dependent.h'.
227252 # Do two passes, one to just change these to
228253 # `$object: dependent.h' and one to simply `dependent.h:'.
229 sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
230 sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
254 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
255 # That's a tab and a space in the [].
256 sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
231257 else
232258 # The sourcefile does not contain any dependencies, so just
233259 # store a dummy comment line, to avoid errors with the Makefile
275301 rm -f "$tmpdepfile"
276302 ;;
277303
304 hp2)
305 # The "hp" stanza above does not work with aCC (C++) and HP's ia64
306 # compilers, which have integrated preprocessors. The correct option
307 # to use with these is +Maked; it writes dependencies to a file named
308 # 'foo.d', which lands next to the object file, wherever that
309 # happens to be.
310 # Much of this is similar to the tru64 case; see comments there.
311 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
312 test "x$dir" = "x$object" && dir=
313 base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
314 if test "$libtool" = yes; then
315 tmpdepfile1=$dir$base.d
316 tmpdepfile2=$dir.libs/$base.d
317 "$@" -Wc,+Maked
318 else
319 tmpdepfile1=$dir$base.d
320 tmpdepfile2=$dir$base.d
321 "$@" +Maked
322 fi
323 stat=$?
324 if test $stat -eq 0; then :
325 else
326 rm -f "$tmpdepfile1" "$tmpdepfile2"
327 exit $stat
328 fi
329
330 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
331 do
332 test -f "$tmpdepfile" && break
333 done
334 if test -f "$tmpdepfile"; then
335 sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
336 # Add `dependent.h:' lines.
337 sed -ne '2,${
338 s/^ *//
339 s/ \\*$//
340 s/$/:/
341 p
342 }' "$tmpdepfile" >> "$depfile"
343 else
344 echo "#dummy" > "$depfile"
345 fi
346 rm -f "$tmpdepfile" "$tmpdepfile2"
347 ;;
348
278349 tru64)
279350 # The Tru64 compiler uses -MD to generate dependencies as a side
280351 # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
287358
288359 if test "$libtool" = yes; then
289360 # 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
361 # static library. This mechanism is used in libtool 1.4 series to
291362 # handle both shared and static libraries in a single compilation.
292363 # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
293364 #
294365 # With libtool 1.5 this exception was removed, and libtool now
295366 # generates 2 separate objects for the 2 libraries. These two
296 # compilations output dependencies in in $dir.libs/$base.o.d and
367 # compilations output dependencies in $dir.libs/$base.o.d and
297368 # in $dir$base.o.d. We have to check for both files, because
298369 # one of the two compilations can be disabled. We should prefer
299370 # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
344415
345416 # Remove the call to Libtool.
346417 if test "$libtool" = yes; then
347 while test $1 != '--mode=compile'; do
418 while test "X$1" != 'X--mode=compile'; do
348419 shift
349420 done
350421 shift
395466 "$@" || exit $?
396467 # Remove any Libtool call
397468 if test "$libtool" = yes; then
398 while test $1 != '--mode=compile'; do
469 while test "X$1" != 'X--mode=compile'; do
399470 shift
400471 done
401472 shift
402473 fi
403474 # X makedepend
404475 shift
405 cleared=no
406 for arg in "$@"; do
476 cleared=no eat=no
477 for arg
478 do
407479 case $cleared in
408480 no)
409481 set ""; shift
410482 cleared=yes ;;
411483 esac
484 if test $eat = yes; then
485 eat=no
486 continue
487 fi
412488 case "$arg" in
413489 -D*|-I*)
414490 set fnord "$@" "$arg"; shift ;;
415491 # Strip any option that makedepend may not understand. Remove
416492 # the object too, otherwise makedepend will parse it as a source file.
493 -arch)
494 eat=yes ;;
417495 -*|$object)
418496 ;;
419497 *)
420498 set fnord "$@" "$arg"; shift ;;
421499 esac
422500 done
423 obj_suffix="`echo $object | sed 's/^.*\././'`"
501 obj_suffix=`echo "$object" | sed 's/^.*\././'`
424502 touch "$tmpdepfile"
425503 ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
426504 rm -f "$depfile"
440518
441519 # Remove the call to Libtool.
442520 if test "$libtool" = yes; then
443 while test $1 != '--mode=compile'; do
521 while test "X$1" != 'X--mode=compile'; do
444522 shift
445523 done
446524 shift
466544 done
467545
468546 "$@" -E |
469 sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
547 sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
548 -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
470549 sed '$ s: \\$::' > "$tmpdepfile"
471550 rm -f "$depfile"
472551 echo "$object : \\" > "$depfile"
477556
478557 msvisualcpp)
479558 # Important note: in order to support this mode, a compiler *must*
480 # always write the preprocessed file to stdout, regardless of -o,
481 # because we must use -o when running libtool.
559 # always write the preprocessed file to stdout.
482560 "$@" || exit $?
561
562 # Remove the call to Libtool.
563 if test "$libtool" = yes; then
564 while test "X$1" != 'X--mode=compile'; do
565 shift
566 done
567 shift
568 fi
569
483570 IFS=" "
484571 for arg
485572 do
486573 case "$arg" in
574 -o)
575 shift
576 ;;
577 $object)
578 shift
579 ;;
487580 "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
488581 set fnord "$@"
489582 shift
496589 ;;
497590 esac
498591 done
499 "$@" -E |
500 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
592 "$@" -E 2>/dev/null |
593 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
501594 rm -f "$depfile"
502595 echo "$object : \\" > "$depfile"
503 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
596 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
504597 echo " " >> "$depfile"
505 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
598 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
506599 rm -f "$tmpdepfile"
600 ;;
601
602 msvcmsys)
603 # This case exists only to let depend.m4 do its work. It works by
604 # looking at the text of this script. This case will never be run,
605 # since it is checked for above.
606 exit 1
507607 ;;
508608
509609 none)
524624 # eval: (add-hook 'write-file-hooks 'time-stamp)
525625 # time-stamp-start: "scriptversion="
526626 # time-stamp-format: "%:y-%02m-%02d.%02H"
527 # time-stamp-end: "$"
627 # time-stamp-time-zone: "UTC"
628 # time-stamp-end: "; # UTC"
528629 # End:
0 /* Copyright (c) 2005 Massachusetts Institute of Technology
0 /* Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 *
22 * Permission is hereby granted, free of charge, to any person obtaining
33 * a copy of this software and associated documentation files (the
0 .\" Copyright (c) 2005 Massachusetts Institute of Technology
0 .\" Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 .\"
22 .\" Permission is hereby granted, free of charge, to any person obtaining
33 .\" a copy of this software and associated documentation files (the
0 /* Copyright (c) 2005 Massachusetts Institute of Technology
0 /* Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 *
22 * Permission is hereby granted, free of charge, to any person obtaining
33 * a copy of this software and associated documentation files (the
0 /* Copyright (c) 2005 Massachusetts Institute of Technology
0 /* Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 *
22 * Permission is hereby granted, free of charge, to any person obtaining
33 * a copy of this software and associated documentation files (the
0 .\" Copyright (c) 2005 Massachusetts Institute of Technology
0 .\" Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 .\"
22 .\" Permission is hereby granted, free of charge, to any person obtaining
33 .\" a copy of this software and associated documentation files (the
0 /* Copyright (c) 2005 Massachusetts Institute of Technology
0 /* Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 *
22 * Permission is hereby granted, free of charge, to any person obtaining
33 * a copy of this software and associated documentation files (the
0 .\" Copyright (c) 2005 Massachusetts Institute of Technology
0 .\" Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 .\"
22 .\" Permission is hereby granted, free of charge, to any person obtaining
33 .\" a copy of this software and associated documentation files (the
0 /* Copyright (c) 2005 Massachusetts Institute of Technology
0 /* Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 *
22 * Permission is hereby granted, free of charge, to any person obtaining
33 * a copy of this software and associated documentation files (the
0 /* Copyright (c) 2005 Massachusetts Institute of Technology
0 /* Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 *
22 * Permission is hereby granted, free of charge, to any person obtaining
33 * a copy of this software and associated documentation files (the
0 .\" Copyright (c) 2005 Massachusetts Institute of Technology
0 .\" Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 .\"
22 .\" Permission is hereby granted, free of charge, to any person obtaining
33 .\" a copy of this software and associated documentation files (the
0 /* Copyright (c) 2005 Massachusetts Institute of Technology
0 /* Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 *
22 * Permission is hereby granted, free of charge, to any person obtaining
33 * a copy of this software and associated documentation files (the
0 .\" Copyright (c) 2005 Massachusetts Institute of Technology
0 .\" Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 .\"
22 .\" Permission is hereby granted, free of charge, to any person obtaining
33 .\" a copy of this software and associated documentation files (the
0 /* Copyright (c) 2005 Massachusetts Institute of Technology
0 /* Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 *
22 * [ IMPORTANT: Note that the following is DIFFERENT from the license
33 * for the rest of the h5utils package. ]
305305 return EXIT_SUCCESS;
306306 case 'V':
307307 printf("h5tov5d " PACKAGE_VERSION " by Steven G. Johnson\n"
308 "Copyright (c) 2005 Massachusetts Institute of Technology\n"
308 "Copyright (c) 1999-2009 Massachusetts Institute of Technology\n"
309309 "\n"
310310 "This program is free software; you can redistribute it and/or modify\n"
311311 "it under the terms of the GNU General Public License as published by\n"
8080 you specify coordinates in one (or more) slice dimension(s), via the
8181 .B -xyzt
8282 options.
83 .SH OPTIONS
8483 .TP
8584 \fB\-1\fR, \fB\-2\fR, \fB\-4\fR
8685 Use 1 , 2, or 4 bytes to store each data point in the
0 /* Copyright (c) 2005 Massachusetts Institute of Technology
0 /* Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 *
22 * Permission is hereby granted, free of charge, to any person obtaining
33 * a copy of this software and associated documentation files (the
2727
2828 #include <unistd.h>
2929
30 #ifdef HAVE_NETINET_IN_H
30 #include "config.h"
31
32 #ifdef HAVE_STDINT_H
33 # include <stdint.h>
34 #endif
35 #ifdef HAVE_INTTYPES_H
36 # include <inttypes.h>
37 #endif
38
39 #if defined(HAVE_ARPA_INET_H)
40 # include <arpa/inet.h>
41 #elif defined(HAVE_NETINET_IN_H)
3142 # include <netinet/in.h>
3243 #endif
3344
34 #include "config.h"
3545 #include "arrayh5.h"
3646 #include "copyright.h"
3747 #include "h5utils.h"
48
49 #ifdef HAVE_UINT16_T
50 typedef uint16_t my_uint16_t;
51 #else
52 typedef unsigned short my_uint16_t;
53 #endif
54 #ifdef HAVE_UINT32_T
55 typedef uint32_t my_uint32_t;
56 #else
57 typedef unsigned long my_uint32_t;
58 #endif
3859
3960 #define CHECK(cond, msg) { if (!(cond)) { fprintf(stderr, "h5tovtk error: %s\n", msg); exit(EXIT_FAILURE); } }
4061
93114 "ORIGIN %g %g %g\n"
94115 "SPACING %g %g %g\n",
95116 is_binary ? "BINARY" : "ASCII",
96 nz, ny, nx,
97 oz, oy, ox, sz, sy, sx);
117 nx, ny, nz,
118 ox, oy, oz, sx, sy, sz);
98119 }
99120
100121 static void write_vtk_value(FILE *f, double v, int store_bytes, int fix_bytes,
115136 }
116137 case 2:
117138 {
118 unsigned short i;
139 my_uint16_t i;
119140 i = floor((v - min) * 65535.0 / (max - min) + 0.5);
120141 if (fix_bytes) {
121142 #if defined(HAVE_HTONS)
133154 {
134155 float fv = v;
135156 if (fix_bytes) {
136 #if defined(HAVE_HTONL) && (SIZEOF_FLOAT == SIZEOF_UNSIGNED_LONG)
137 unsigned long *i = (unsigned long *) &fv;
157 #if defined(HAVE_HTONL) && (SIZEOF_FLOAT == 4)
158 my_uint32_t *i = (my_uint32_t *) &fv;
138159 *i = htonl(*i);
139160 #elif ! defined(WORDS_BIGENDIAN)
140161 unsigned char swap, *bytes;
246267
247268 CHECK(store_bytes != 4 || sizeof(float) == 4,
248269 "'float' is wrong size for -4");
249 CHECK(store_bytes != 2 || sizeof(unsigned short) == 4,
250 "'short' is wrong size for -2");
270 CHECK(store_bytes != 4 || sizeof(my_uint32_t) == 4,
271 "missing 4-byte integer type for -4");
272 CHECK(store_bytes != 2 || sizeof(my_uint16_t) == 2,
273 "missing 2-byte integer type for -2");
251274
252275 a = (arrayh5*) malloc(sizeof(arrayh5) * (na = argc - optind));
253276 CHECK(a, "out of memory");
301324
302325 if (!combine) {
303326 FILE *f;
304 int i, N = nx * ny * nz;
327 int ix, iy, iz, N = nx * ny * nz;
305328
306329 if (verbose)
307330 printf("writing \"%s\" from %dx%dx%d input data.\n",
322345 "LOOKUP_TABLE default\n",
323346 N, found_dname, vtk_datatype[store_bytes]);
324347
325 for (i = 0; i < N; ++i)
348 for (iz = 0; iz < nz; ++iz)
349 for (iy = 0; iy < ny; ++iy)
350 for (ix = 0; ix < nx; ++ix) {
351 int i = (ix*ny + iy)*nz + iz;
326352 write_vtk_value(f, a[ia].data[i], store_bytes,
327353 fix_byte_order, min, max, invert);
354 }
328355
329356 if (f != stdout)
330357 fclose(f);
337364
338365 if (combine) {
339366 FILE *f;
340 int i, N = nx * ny * nz;
367 int ix, iy, iz, N = nx * ny * nz;
341368
342369 if (verbose)
343370 printf("writing \"%s\" from %dx%dx%d input data.\n",
367394 na, N, vtk_datatype[store_bytes]);
368395 }
369396
370 for (i = 0; i < N; ++i) {
371 int ia;
397 for (iz = 0; iz < nz; ++iz)
398 for (iy = 0; iy < ny; ++iy)
399 for (ix = 0; ix < nx; ++ix) {
400 int ia, i = (ix*ny + iy)*nz + iz;
372401 for (ia = 0; ia < na; ++ia)
373402 write_vtk_value(f, a[ia].data[i], store_bytes,
374403 fix_byte_order, min, max, invert);
0 /* Copyright (c) 2005 Massachusetts Institute of Technology
0 /* Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 *
22 * Permission is hereby granted, free of charge, to any person obtaining
33 * a copy of this software and associated documentation files (the
0 /* Copyright (c) 1999, 2000, 2001, 2002 Massachusetts Institute of Technology
0 /* Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 *
22 * Permission is hereby granted, free of charge, to any person obtaining
33 * a copy of this software and associated documentation files (the
00 #!/bin/sh
11 # install - install a program, script, or datafile
22
3 scriptversion=2005-02-02.21
3 scriptversion=2009-04-28.21; # UTC
44
55 # This originates from X11R5 (mit/util/scripts/install.sh), which was
66 # later released in X11R6 (xc/config/util/install.sh) with the
3838 # when there is no Makefile.
3939 #
4040 # This script is compatible with the BSD install script, but was written
41 # from scratch. It can only install one file at a time, a restriction
42 # shared with many OS's install programs.
41 # from scratch.
42
43 nl='
44 '
45 IFS=" "" $nl"
4346
4447 # set DOITPROG to echo to test this script
4548
4649 # Don't use :- since 4.3BSD and earlier shells don't like it.
47 doit="${DOITPROG-}"
48
49 # put in absolute paths if you don't have them in your path; or use env. vars.
50
51 mvprog="${MVPROG-mv}"
52 cpprog="${CPPROG-cp}"
53 chmodprog="${CHMODPROG-chmod}"
54 chownprog="${CHOWNPROG-chown}"
55 chgrpprog="${CHGRPPROG-chgrp}"
56 stripprog="${STRIPPROG-strip}"
57 rmprog="${RMPROG-rm}"
58 mkdirprog="${MKDIRPROG-mkdir}"
59
60 chmodcmd="$chmodprog 0755"
50 doit=${DOITPROG-}
51 if test -z "$doit"; then
52 doit_exec=exec
53 else
54 doit_exec=$doit
55 fi
56
57 # Put in absolute file names if you don't have them in your path;
58 # or use environment vars.
59
60 chgrpprog=${CHGRPPROG-chgrp}
61 chmodprog=${CHMODPROG-chmod}
62 chownprog=${CHOWNPROG-chown}
63 cmpprog=${CMPPROG-cmp}
64 cpprog=${CPPROG-cp}
65 mkdirprog=${MKDIRPROG-mkdir}
66 mvprog=${MVPROG-mv}
67 rmprog=${RMPROG-rm}
68 stripprog=${STRIPPROG-strip}
69
70 posix_glob='?'
71 initialize_posix_glob='
72 test "$posix_glob" != "?" || {
73 if (set -f) 2>/dev/null; then
74 posix_glob=
75 else
76 posix_glob=:
77 fi
78 }
79 '
80
81 posix_mkdir=
82
83 # Desired mode of installed file.
84 mode=0755
85
86 chgrpcmd=
87 chmodcmd=$chmodprog
6188 chowncmd=
62 chgrpcmd=
89 mvcmd=$mvprog
90 rmcmd="$rmprog -f"
6391 stripcmd=
64 rmcmd="$rmprog -f"
65 mvcmd="$mvprog"
92
6693 src=
6794 dst=
6895 dir_arg=
69 dstarg=
96 dst_arg=
97
98 copy_on_change=false
7099 no_target_directory=
71100
72 usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
101 usage="\
102 Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
73103 or: $0 [OPTION]... SRCFILES... DIRECTORY
74104 or: $0 [OPTION]... -t DIRECTORY SRCFILES...
75105 or: $0 [OPTION]... -d DIRECTORIES...
79109 In the 4th, create DIRECTORIES.
80110
81111 Options:
82 -c (ignored)
83 -d create directories instead of installing files.
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.
90 --help display this help and exit.
91 --version display version info and exit.
112 --help display this help and exit.
113 --version display version info and exit.
114
115 -c (ignored)
116 -C install only if different (preserve the last data modification time)
117 -d create directories instead of installing files.
118 -g GROUP $chgrpprog installed files to GROUP.
119 -m MODE $chmodprog installed files to MODE.
120 -o USER $chownprog installed files to USER.
121 -s $stripprog installed files.
122 -t DIRECTORY install into DIRECTORY.
123 -T report an error if DSTFILE is a directory.
92124
93125 Environment variables override the default commands:
94 CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
126 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
127 RMPROG STRIPPROG
95128 "
96129
97 while test -n "$1"; do
130 while test $# -ne 0; do
98131 case $1 in
99 -c) shift
100 continue;;
101
102 -d) dir_arg=true
103 shift
104 continue;;
132 -c) ;;
133
134 -C) copy_on_change=true;;
135
136 -d) dir_arg=true;;
105137
106138 -g) chgrpcmd="$chgrpprog $2"
107 shift
108 shift
109 continue;;
139 shift;;
110140
111141 --help) echo "$usage"; exit $?;;
112142
113 -m) chmodcmd="$chmodprog $2"
114 shift
115 shift
116 continue;;
143 -m) mode=$2
144 case $mode in
145 *' '* | *' '* | *'
146 '* | *'*'* | *'?'* | *'['*)
147 echo "$0: invalid mode: $mode" >&2
148 exit 1;;
149 esac
150 shift;;
117151
118152 -o) chowncmd="$chownprog $2"
119 shift
120 shift
121 continue;;
122
123 -s) stripcmd=$stripprog
124 shift
125 continue;;
126
127 -t) dstarg=$2
128 shift
129 shift
130 continue;;
131
132 -T) no_target_directory=true
133 shift
134 continue;;
153 shift;;
154
155 -s) stripcmd=$stripprog;;
156
157 -t) dst_arg=$2
158 shift;;
159
160 -T) no_target_directory=true;;
135161
136162 --version) echo "$0 $scriptversion"; exit $?;;
137163
138 *) # When -d is used, all remaining arguments are directories to create.
139 # When -t is used, the destination is already specified.
140 test -n "$dir_arg$dstarg" && break
141 # Otherwise, the last argument is the destination. Remove it from $@.
142 for arg
143 do
144 if test -n "$dstarg"; then
145 # $@ is not empty: it contains at least $arg.
146 set fnord "$@" "$dstarg"
147 shift # fnord
148 fi
149 shift # arg
150 dstarg=$arg
151 done
164 --) shift
152165 break;;
166
167 -*) echo "$0: invalid option: $1" >&2
168 exit 1;;
169
170 *) break;;
153171 esac
172 shift
154173 done
155174
156 if test -z "$1"; then
175 if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
176 # When -d is used, all remaining arguments are directories to create.
177 # When -t is used, the destination is already specified.
178 # Otherwise, the last argument is the destination. Remove it from $@.
179 for arg
180 do
181 if test -n "$dst_arg"; then
182 # $@ is not empty: it contains at least $arg.
183 set fnord "$@" "$dst_arg"
184 shift # fnord
185 fi
186 shift # arg
187 dst_arg=$arg
188 done
189 fi
190
191 if test $# -eq 0; then
157192 if test -z "$dir_arg"; then
158193 echo "$0: no input file specified." >&2
159194 exit 1
163198 exit 0
164199 fi
165200
201 if test -z "$dir_arg"; then
202 trap '(exit $?); exit' 1 2 13 15
203
204 # Set umask so as not to create temps with too-generous modes.
205 # However, 'strip' requires both read and write access to temps.
206 case $mode in
207 # Optimize common cases.
208 *644) cp_umask=133;;
209 *755) cp_umask=22;;
210
211 *[0-7])
212 if test -z "$stripcmd"; then
213 u_plus_rw=
214 else
215 u_plus_rw='% 200'
216 fi
217 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
218 *)
219 if test -z "$stripcmd"; then
220 u_plus_rw=
221 else
222 u_plus_rw=,u+rw
223 fi
224 cp_umask=$mode$u_plus_rw;;
225 esac
226 fi
227
166228 for src
167229 do
168230 # Protect names starting with `-'.
169231 case $src in
170 -*) src=./$src ;;
232 -*) src=./$src;;
171233 esac
172234
173235 if test -n "$dir_arg"; then
174236 dst=$src
175 src=
176
177 if test -d "$dst"; then
178 mkdircmd=:
179 chmodcmd=
180 else
181 mkdircmd=$mkdirprog
182 fi
237 dstdir=$dst
238 test -d "$dstdir"
239 dstdir_status=$?
183240 else
241
184242 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
185243 # might cause directories to be created, which would be especially bad
186244 # if $src (and thus $dsttmp) contains '*'.
189247 exit 1
190248 fi
191249
192 if test -z "$dstarg"; then
250 if test -z "$dst_arg"; then
193251 echo "$0: no destination specified." >&2
194252 exit 1
195253 fi
196254
197 dst=$dstarg
255 dst=$dst_arg
198256 # Protect names starting with `-'.
199257 case $dst in
200 -*) dst=./$dst ;;
258 -*) dst=./$dst;;
201259 esac
202260
203261 # If destination is a directory, append the input filename; won't work
204262 # if double slashes aren't ignored.
205263 if test -d "$dst"; then
206264 if test -n "$no_target_directory"; then
207 echo "$0: $dstarg: Is a directory" >&2
265 echo "$0: $dst_arg: Is a directory" >&2
208266 exit 1
209267 fi
210 dst=$dst/`basename "$src"`
268 dstdir=$dst
269 dst=$dstdir/`basename "$src"`
270 dstdir_status=0
271 else
272 # Prefer dirname, but fall back on a substitute if dirname fails.
273 dstdir=`
274 (dirname "$dst") 2>/dev/null ||
275 expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
276 X"$dst" : 'X\(//\)[^/]' \| \
277 X"$dst" : 'X\(//\)$' \| \
278 X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
279 echo X"$dst" |
280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
281 s//\1/
282 q
283 }
284 /^X\(\/\/\)[^/].*/{
285 s//\1/
286 q
287 }
288 /^X\(\/\/\)$/{
289 s//\1/
290 q
291 }
292 /^X\(\/\).*/{
293 s//\1/
294 q
295 }
296 s/.*/./; q'
297 `
298
299 test -d "$dstdir"
300 dstdir_status=$?
211301 fi
212302 fi
213303
214 # This sed command emulates the dirname command.
215 dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
216
217 # Make sure that the destination directory exists.
218
219 # Skip lots of stat calls in the usual case.
220 if test ! -d "$dstdir"; then
221 defaultIFS='
222 '
223 IFS="${IFS-$defaultIFS}"
224
225 oIFS=$IFS
226 # Some sh's can't handle IFS=/ for some reason.
227 IFS='%'
228 set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
229 shift
230 IFS=$oIFS
231
232 pathcomp=
233
234 while test $# -ne 0 ; do
235 pathcomp=$pathcomp$1
304 obsolete_mkdir_used=false
305
306 if test $dstdir_status != 0; then
307 case $posix_mkdir in
308 '')
309 # Create intermediate dirs using mode 755 as modified by the umask.
310 # This is like FreeBSD 'install' as of 1997-10-28.
311 umask=`umask`
312 case $stripcmd.$umask in
313 # Optimize common cases.
314 *[2367][2367]) mkdir_umask=$umask;;
315 .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
316
317 *[0-7])
318 mkdir_umask=`expr $umask + 22 \
319 - $umask % 100 % 40 + $umask % 20 \
320 - $umask % 10 % 4 + $umask % 2
321 `;;
322 *) mkdir_umask=$umask,go-w;;
323 esac
324
325 # With -d, create the new directory with the user-specified mode.
326 # Otherwise, rely on $mkdir_umask.
327 if test -n "$dir_arg"; then
328 mkdir_mode=-m$mode
329 else
330 mkdir_mode=
331 fi
332
333 posix_mkdir=false
334 case $umask in
335 *[123567][0-7][0-7])
336 # POSIX mkdir -p sets u+wx bits regardless of umask, which
337 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
338 ;;
339 *)
340 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
341 trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
342
343 if (umask $mkdir_umask &&
344 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
345 then
346 if test -z "$dir_arg" || {
347 # Check for POSIX incompatibilities with -m.
348 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
349 # other-writeable bit of parent directory when it shouldn't.
350 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
351 ls_ld_tmpdir=`ls -ld "$tmpdir"`
352 case $ls_ld_tmpdir in
353 d????-?r-*) different_mode=700;;
354 d????-?--*) different_mode=755;;
355 *) false;;
356 esac &&
357 $mkdirprog -m$different_mode -p -- "$tmpdir" && {
358 ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
359 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
360 }
361 }
362 then posix_mkdir=:
363 fi
364 rmdir "$tmpdir/d" "$tmpdir"
365 else
366 # Remove any dirs left behind by ancient mkdir implementations.
367 rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
368 fi
369 trap '' 0;;
370 esac;;
371 esac
372
373 if
374 $posix_mkdir && (
375 umask $mkdir_umask &&
376 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
377 )
378 then :
379 else
380
381 # The umask is ridiculous, or mkdir does not conform to POSIX,
382 # or it failed possibly due to a race condition. Create the
383 # directory the slow way, step by step, checking for races as we go.
384
385 case $dstdir in
386 /*) prefix='/';;
387 -*) prefix='./';;
388 *) prefix='';;
389 esac
390
391 eval "$initialize_posix_glob"
392
393 oIFS=$IFS
394 IFS=/
395 $posix_glob set -f
396 set fnord $dstdir
236397 shift
237 if test ! -d "$pathcomp"; then
238 $mkdirprog "$pathcomp"
239 # mkdir can fail with a `File exist' error in case several
240 # install-sh are creating the directory concurrently. This
241 # is OK.
242 test -d "$pathcomp" || exit
398 $posix_glob set +f
399 IFS=$oIFS
400
401 prefixes=
402
403 for d
404 do
405 test -z "$d" && continue
406
407 prefix=$prefix$d
408 if test -d "$prefix"; then
409 prefixes=
410 else
411 if $posix_mkdir; then
412 (umask=$mkdir_umask &&
413 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
414 # Don't fail if two instances are running concurrently.
415 test -d "$prefix" || exit 1
416 else
417 case $prefix in
418 *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
419 *) qprefix=$prefix;;
420 esac
421 prefixes="$prefixes '$qprefix'"
422 fi
423 fi
424 prefix=$prefix/
425 done
426
427 if test -n "$prefixes"; then
428 # Don't fail if two instances are running concurrently.
429 (umask $mkdir_umask &&
430 eval "\$doit_exec \$mkdirprog $prefixes") ||
431 test -d "$dstdir" || exit 1
432 obsolete_mkdir_used=true
243433 fi
244 pathcomp=$pathcomp/
245 done
434 fi
246435 fi
247436
248437 if test -n "$dir_arg"; then
249 $doit $mkdircmd "$dst" \
250 && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
251 && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
252 && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
253 && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
254
438 { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
439 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
440 { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
441 test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
255442 else
256 dstfile=`basename "$dst"`
257443
258444 # Make a couple of temp file names in the proper directory.
259445 dsttmp=$dstdir/_inst.$$_
261447
262448 # Trap to clean up those temp files at exit.
263449 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
264 trap '(exit $?); exit' 1 2 13 15
265450
266451 # Copy the file name to the temp name.
267 $doit $cpprog "$src" "$dsttmp" &&
452 (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
268453
269454 # and set any options; do chmod last to preserve setuid bits.
270455 #
272457 # ignore errors from any of these, just make sure not to ignore
273458 # errors from the above "$doit $cpprog $src $dsttmp" command.
274459 #
275 { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
276 && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
277 && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
278 && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
279
280 # Now rename the file to the real destination.
281 { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
282 || {
283 # The rename failed, perhaps because mv can't rename something else
284 # to itself, or perhaps because mv is so ancient that it does not
285 # support -f.
286
287 # Now remove or move aside any old file at destination location.
288 # We try this two ways since rm can't unlink itself on some
289 # systems and the destination file might be busy for other
290 # reasons. In this case, the final cleanup might fail but the new
291 # file should still install successfully.
292 {
293 if test -f "$dstdir/$dstfile"; then
294 $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
295 || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
296 || {
297 echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
298 (exit 1); exit 1
299 }
300 else
301 :
302 fi
303 } &&
304
305 # Now rename the file to the real destination.
306 $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
307 }
308 }
309 fi || { (exit 1); exit 1; }
460 { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
461 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
462 { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
463 { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
464
465 # If -C, don't bother to copy if it wouldn't change the file.
466 if $copy_on_change &&
467 old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
468 new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
469
470 eval "$initialize_posix_glob" &&
471 $posix_glob set -f &&
472 set X $old && old=:$2:$4:$5:$6 &&
473 set X $new && new=:$2:$4:$5:$6 &&
474 $posix_glob set +f &&
475
476 test "$old" = "$new" &&
477 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
478 then
479 rm -f "$dsttmp"
480 else
481 # Rename the file to the real destination.
482 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
483
484 # The rename failed, perhaps because mv can't rename something else
485 # to itself, or perhaps because mv is so ancient that it does not
486 # support -f.
487 {
488 # Now remove or move aside any old file at destination location.
489 # We try this two ways since rm can't unlink itself on some
490 # systems and the destination file might be busy for other
491 # reasons. In this case, the final cleanup might fail but the new
492 # file should still install successfully.
493 {
494 test ! -f "$dst" ||
495 $doit $rmcmd -f "$dst" 2>/dev/null ||
496 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
497 { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
498 } ||
499 { echo "$0: cannot unlink or rename $dst" >&2
500 (exit 1); exit 1
501 }
502 } &&
503
504 # Now rename the file to the real destination.
505 $doit $mvcmd "$dsttmp" "$dst"
506 }
507 fi || exit 1
508
509 trap '' 0
510 fi
310511 done
311
312 # The final little trick to "correctly" pass the exit status to the exit trap.
313 {
314 (exit 0); exit 0
315 }
316512
317513 # Local variables:
318514 # eval: (add-hook 'write-file-hooks 'time-stamp)
319515 # time-stamp-start: "scriptversion="
320516 # time-stamp-format: "%:y-%02m-%02d.%02H"
321 # time-stamp-end: "$"
517 # time-stamp-time-zone: "UTC"
518 # time-stamp-end: "; # UTC"
322519 # End:
00 #! /bin/sh
11 # Common stub for a few missing GNU programs while installing.
22
3 scriptversion=2005-02-08.22
4
5 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
6 # Free Software Foundation, Inc.
3 scriptversion=2009-04-28.21; # UTC
4
5 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
6 # 2008, 2009 Free Software Foundation, Inc.
77 # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
88
99 # This program is free software; you can redistribute it and/or modify
1717 # GNU General Public License for more details.
1818
1919 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22 # 02111-1307, USA.
20 # along with this program. If not, see <http://www.gnu.org/licenses/>.
2321
2422 # As a special exception to the GNU General Public License, if you
2523 # distribute this file as part of a program that contains a
3230 fi
3331
3432 run=:
33 sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
34 sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
3535
3636 # In the cases where this matters, `missing' is being run in the
3737 # srcdir already.
4343
4444 msg="missing on your system"
4545
46 case "$1" in
46 case $1 in
4747 --run)
4848 # Try to run requested program, and just exit if it succeeds.
4949 run=
7676 aclocal touch file \`aclocal.m4'
7777 autoconf touch file \`configure'
7878 autoheader touch file \`config.h.in'
79 autom4te touch the output file, or create a stub one
7980 automake touch all \`Makefile.in' files
8081 bison create \`y.tab.[ch]', if possible, from existing .[ch]
8182 flex create \`lex.yy.c', if possible, from existing .c
8586 tar try tar, gnutar, gtar, then tar without non-portable flags
8687 yacc create \`y.tab.[ch]', if possible, from existing .[ch]
8788
89 Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
90 \`g' are ignored when checking the name.
91
8892 Send bug reports to <bug-automake@gnu.org>."
8993 exit $?
9094 ;;
102106
103107 esac
104108
109 # normalize program name to check for.
110 program=`echo "$1" | sed '
111 s/^gnu-//; t
112 s/^gnu//; t
113 s/^g//; t'`
114
105115 # Now exit if we have it, but it failed. Also exit now if we
106116 # don't have it and --version was passed (most likely to detect
107 # the program).
108 case "$1" in
109 lex|yacc)
117 # the program). This is about non-GNU programs, so use $1 not
118 # $program.
119 case $1 in
120 lex*|yacc*)
110121 # Not GNU programs, they don't have --version.
111122 ;;
112123
113 tar)
124 tar*)
114125 if test -n "$run"; then
115126 echo 1>&2 "ERROR: \`tar' requires --run"
116127 exit 1
134145
135146 # If it does not exist, or fails to run (possibly an outdated version),
136147 # try to emulate it.
137 case "$1" in
148 case $program in
138149 aclocal*)
139150 echo 1>&2 "\
140151 WARNING: \`$1' is $msg. You should only need it if
144155 touch aclocal.m4
145156 ;;
146157
147 autoconf)
158 autoconf*)
148159 echo 1>&2 "\
149160 WARNING: \`$1' is $msg. You should only need it if
150161 you modified \`${configure_ac}'. You might want to install the
153164 touch configure
154165 ;;
155166
156 autoheader)
167 autoheader*)
157168 echo 1>&2 "\
158169 WARNING: \`$1' is $msg. You should only need it if
159170 you modified \`acconfig.h' or \`${configure_ac}'. You might want
163174 test -z "$files" && files="config.h"
164175 touch_files=
165176 for f in $files; do
166 case "$f" in
177 case $f in
167178 *:*) touch_files="$touch_files "`echo "$f" |
168179 sed -e 's/^[^:]*://' -e 's/:.*//'`;;
169180 *) touch_files="$touch_files $f.in";;
183194 while read f; do touch "$f"; done
184195 ;;
185196
186 autom4te)
197 autom4te*)
187198 echo 1>&2 "\
188199 WARNING: \`$1' is needed, but is $msg.
189200 You might have modified some files without having the
191202 You can get \`$1' as part of \`Autoconf' from any GNU
192203 archive site."
193204
194 file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
195 test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
205 file=`echo "$*" | sed -n "$sed_output"`
206 test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
196207 if test -f "$file"; then
197208 touch $file
198209 else
206217 fi
207218 ;;
208219
209 bison|yacc)
220 bison*|yacc*)
210221 echo 1>&2 "\
211222 WARNING: \`$1' $msg. You should only need it if
212223 you modified a \`.y' file. You may need the \`Bison' package
213224 in order for those modifications to take effect. You can get
214225 \`Bison' from any GNU archive site."
215226 rm -f y.tab.c y.tab.h
216 if [ $# -ne 1 ]; then
227 if test $# -ne 1; then
217228 eval LASTARG="\${$#}"
218 case "$LASTARG" in
229 case $LASTARG in
219230 *.y)
220231 SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
221 if [ -f "$SRCFILE" ]; then
232 if test -f "$SRCFILE"; then
222233 cp "$SRCFILE" y.tab.c
223234 fi
224235 SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
225 if [ -f "$SRCFILE" ]; then
236 if test -f "$SRCFILE"; then
226237 cp "$SRCFILE" y.tab.h
227238 fi
228239 ;;
229240 esac
230241 fi
231 if [ ! -f y.tab.h ]; then
242 if test ! -f y.tab.h; then
232243 echo >y.tab.h
233244 fi
234 if [ ! -f y.tab.c ]; then
245 if test ! -f y.tab.c; then
235246 echo 'main() { return 0; }' >y.tab.c
236247 fi
237248 ;;
238249
239 lex|flex)
250 lex*|flex*)
240251 echo 1>&2 "\
241252 WARNING: \`$1' is $msg. You should only need it if
242253 you modified a \`.l' file. You may need the \`Flex' package
243254 in order for those modifications to take effect. You can get
244255 \`Flex' from any GNU archive site."
245256 rm -f lex.yy.c
246 if [ $# -ne 1 ]; then
257 if test $# -ne 1; then
247258 eval LASTARG="\${$#}"
248 case "$LASTARG" in
259 case $LASTARG in
249260 *.l)
250261 SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
251 if [ -f "$SRCFILE" ]; then
262 if test -f "$SRCFILE"; then
252263 cp "$SRCFILE" lex.yy.c
253264 fi
254265 ;;
255266 esac
256267 fi
257 if [ ! -f lex.yy.c ]; then
268 if test ! -f lex.yy.c; then
258269 echo 'main() { return 0; }' >lex.yy.c
259270 fi
260271 ;;
261272
262 help2man)
273 help2man*)
263274 echo 1>&2 "\
264275 WARNING: \`$1' is $msg. You should only need it if
265276 you modified a dependency of a manual page. You may need the
266277 \`Help2man' package in order for those modifications to take
267278 effect. You can get \`Help2man' from any GNU archive site."
268279
269 file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
270 if test -z "$file"; then
271 file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
272 fi
273 if [ -f "$file" ]; then
280 file=`echo "$*" | sed -n "$sed_output"`
281 test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
282 if test -f "$file"; then
274283 touch $file
275284 else
276285 test -z "$file" || exec >$file
277286 echo ".ab help2man is required to generate this page"
278 exit 1
279 fi
280 ;;
281
282 makeinfo)
287 exit $?
288 fi
289 ;;
290
291 makeinfo*)
283292 echo 1>&2 "\
284293 WARNING: \`$1' is $msg. You should only need it if
285294 you modified a \`.texi' or \`.texinfo' file, or any other file
288297 DU, IRIX). You might want to install the \`Texinfo' package or
289298 the \`GNU make' package. Grab either from any GNU archive site."
290299 # The file to touch is that specified with -o ...
291 file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
300 file=`echo "$*" | sed -n "$sed_output"`
301 test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
292302 if test -z "$file"; then
293303 # ... or it is the one specified with @setfilename ...
294304 infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
295 file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
305 file=`sed -n '
306 /^@setfilename/{
307 s/.* \([^ ]*\) *$/\1/
308 p
309 q
310 }' $infile`
296311 # ... or it is derived from the source name (dir/f.texi becomes f.info)
297312 test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
298313 fi
314 # If the file does not exist, the user really needs makeinfo;
315 # let's fail without touching anything.
316 test -f $file || exit 1
299317 touch $file
300318 ;;
301319
302 tar)
320 tar*)
303321 shift
304322
305323 # We have already tried tar in the generic part.
313331 fi
314332 firstarg="$1"
315333 if shift; then
316 case "$firstarg" in
334 case $firstarg in
317335 *o*)
318336 firstarg=`echo "$firstarg" | sed s/o//`
319337 tar "$firstarg" "$@" && exit 0
320338 ;;
321339 esac
322 case "$firstarg" in
340 case $firstarg in
323341 *h*)
324342 firstarg=`echo "$firstarg" | sed s/h//`
325343 tar "$firstarg" "$@" && exit 0
352370 # eval: (add-hook 'write-file-hooks 'time-stamp)
353371 # time-stamp-start: "scriptversion="
354372 # time-stamp-format: "%:y-%02m-%02d.%02H"
355 # time-stamp-end: "$"
373 # time-stamp-time-zone: "UTC"
374 # time-stamp-end: "; # UTC"
356375 # End:
0 /* Copyright (c) 2005 Massachusetts Institute of Technology
0 /* Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 *
22 * Permission is hereby granted, free of charge, to any person obtaining
33 * a copy of this software and associated documentation files (the
382382 return;
383383 }
384384 }
385 for (row = 0; row < height; ++row) {
385 for (row = height-1; row >= 0; --row) {
386386 REAL x = row * scalex;
387387 int n = PIN(0,(int) (x + 0.5), data_height-1);
388388 double delta = x - n;
400400 data_height,
401401 mask ? mask + (n%mny) : NULL,
402402 mask ? mask + (n3%mny) : NULL,
403 mask_thresh, mask_prev, row == 0,
403 mask_thresh, mask_prev, row == height-1,
404404 mask_byte, mnx, mny,
405405 overlay != 0,
406406 overlay + (n%ony), overlay + (n2%ony),
414414 1,
415415 mask ? mask + (n%mnx) * mny : NULL,
416416 mask ? mask + (n3%mnx) * mny : NULL,
417 mask_thresh, mask_prev, row == 0,
417 mask_thresh, mask_prev, row == height-1,
418418 mask_byte, mny, 1,
419419 overlay != 0,
420420 overlay + (n%onx) * ony,
0 /* Copyright (c) 1999, 2000, 2001, 2002 Massachusetts Institute of Technology
0 /* Copyright (c) 1999-2009 Massachusetts Institute of Technology
11 *
22 * Permission is hereby granted, free of charge, to any person obtaining
33 * a copy of this software and associated documentation files (the