File: ChangeLog.11

package info (click to toggle)
automake-1.14 1:1.14.1-4+deb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 13,176 kB
  • ctags: 705
  • sloc: sh: 57,794; perl: 11,754; pascal: 644; makefile: 104; ansic: 9
file content (13107 lines) | stat: -rw-r--r-- 565,041 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
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
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
2011-12-27  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: drop unnecessary requirement in 'subpkg.test'
	* tests/subpkg.test ($required): Drop "bison", it is not required
	anymore since commit `v1.11-502-g7e5ae80'.

2011-12-27  Stefano Lattarini  <stefano.lattarini@gmail.com>

	gitlog-to-changelog: new auxiliary script, synced from gnulib

	We have plans to stop maintaining a version-controlled ChangeLog
	file in the Automake repository, and instead begin to generate it
	automatically from the git log messages.  To do so, we will use
	the `gitlog-to-changelog' script from gnulib.

	* lib/gitlog-to-changelog: New, synced from gnulib.
	* Makefile.am (fetch): Fetch and sync it.
	* lib/Makefile.am (EXTRA_DIST): Distribute it.

2011-12-27  Stefano Lattarini  <stefano.lattarini@gmail.com>

	regex: remove obsolete macro AM_WITH_REGEX
	Today, practically nobody uses the GNU rx library, which, according
	to its own website <http://www.gnu.org/software/rx/rx.html>, has
	been "decommissioned".  Consequently, the automake-provided macro
	AM_WITH_REGEX is not used nor required anymore.
	* m4/regex.m4: Delete.
	* m4/Makefile.am (dist_automake_ac_DATA): Do not list it anymore.
	* doc/automake.texi (Obsolete Macros): Remove description, and in
	fact any mention, of `AM_WITH_REGEX'.
	* tests/regex.test: Delete.
	* tests/help-regex.test: Likewise.
	* tests/regex-obsolete.test: Likewise.
	* tests/list-of-tests.mk: Do not list them anymore.
	* NEWS: Update.
	See also commits `v1.11-587-g5f335be' and `v1.11-433-g37b0aee',
	where that macro had been deprecated.

2011-12-27  Stefano Lattarini  <stefano.lattarini@gmail.com>

	cosmetics: be more consistent in copyright notices in tests
	* tests/cond39.test: Update the heading copyright notice, to be
	consistent with the formulation used in the other files.
	* tests/cond40.test: Likewise.
	* tests/cond41.test: Likewise.
	* tests/cond42.test: Likewise.
	* tests/cond43.test: Likewise.
	* tests/conflnk4.test: Likewise.
	* tests/extra8.test: Likewise.
	* tests/extra9.test: Likewise.
	* tests/suffix13.test: Likewise.
	* tests/vala.test: Likewise.
	* tests/vala1.test: Likewise.
	* tests/vala2.test: Likewise.
	* tests/vala3.test: Likewise.
	* tests/vala4.test: Likewise.
	* tests/vala5.test: Likewise.
	* lib/Automake/tests/Condition.pl: Likewise.
	* lib/Automake/tests/Condition-t.pl: Likewise.
	* lib/Automake/tests/DisjConditions.pl: Likewise.
	* lib/Automake/tests/DisjConditions-t.pl: Likewise.
	* lib/Automake/tests/Version.pl: Likewise.
	* lib/Automake/tests/Wrap.pl: Likewise.
	* lib/Automake/tests/Cond2.pl: Add copyright notice.
	* lib/Automake/tests/Cond3.pl: Likewise.
	* lib/Automake/tests/DisjCon2.pl: Likewise.
	* lib/Automake/tests/DisjCon3.pl: Likewise.
	* lib/Automake/tests/Version2.pl: Likewise.
	* lib/Automake/tests/Version3.pl: Likewise.

2011-12-27  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/awk: "Bail out!" recognized also after leading whitespace
	Newer versions of TAP::Harness (e.g., 3.23 on Perl 5.14.1)
	recognize a "Bail out!" directive also when it is prepended by
	leading whitespace; this was not the case for older TAP:Harness
	versions, (e.g., for version 3.17 on Perl 5.12.4), and for our
	TAP driver implemented in awk.
	* lib/tap-driver.sh: Handle the "Bail out!" directive also when
	it is preceded by leading whitespace.
	* tests/tap-spurious.test: Remove the tests checking that a
	"Bail out!" string coming right after leading whitespace does
	not trigger a bailout action.
	* tests/tap-bailout-leading-space.test: New test.
	* tests/list-of-tests.mk: Add it.
	Problem reported by Jim Meyering in automake bug#10374.

2011-12-27  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failure of cond29.test
	* tests/cond29.test: Limit the amount of virtual memory available
	to the automake process to ~ 150 MB, rather than only ~ 20 MB, to
	account for higher (but still acceptable) memory usages on some
	systems (in this case, a Fedora 16 distro on ppc64).  To be
	sure not to reduce coverage, increase the number of potential
	combinations of automake conditionals from 2**22 = 4194304 to
	2**24 = 16777216.
	We have actually verified that the new version of the test case
	catches the Automake 1.7 it is intended to check against, using
	the Automake 1.7.9 tarball downloaded from:
	  <http://ftp.gnu.org/gnu/automake/automake-1.7.9.tar.gz>
	Reported by Jim Meyering in automake bug#10374.

2011-12-27  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs: "aclocal --install -I /abs/dir" actually copies files

	This change is for automake bug#8407.

	In the past, there had been some debate and confusion about
	whether "aclocal --install" should copy third-party .m4 files
	in the first directory passed to the `-I' option even when
	such directory was given as an absolute path, or whether it
	was better to do so only for directories specified with a
	relative path.

	The rationale for this latter behaviour was that, before the
	existence of the `ACLOCAL_PATH' variable, the only way (a poor
	way, I might add) for a common user to extend the search path
	of a system-wide installation of aclocal was to export something
	like ACLOCAL="aclocal -I /my/extra/macros" in the environment.
	Today, the correct way to proceed is undoubtedly through the
	use of ACLOCAL_PATH, so we can settle the question once and for
	all, and start verifying the correct behaviour of `-I' with a
	new test.

	* tests/aclocal-install-absdir.test: New test.
	* tests/Makefile.am (TESTS): Add it.
	* doc/automake.texi (aclocal Options): Be more explicit about
	this part of `--install' semantics.

2011-12-26  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs: fix node names for automake and aclocal invocations

	With the older node names, an "info automake" command issued
	from the command line would have opened the node about the
	invocation of the automake program, rather than the Top node
	of the automake documentation.  To invoke the Top node, one
	had to issue the command "info Automake" instead (note the
	different capitalization).  This was suboptimal, and certainly
	confusing.

	With this change, "info automake" will open the Top node of the
	automake documentation; to access the nodes about the invocation
	of the automake and aclocal program, one has now to issue "info
	automake-invocation" and "info aclocal-invocation" respectively.

	This change fixes automake bug#8071.

	See also commits `v2.61a-22-ge9215d1' and `v2.61a-72-g8c07b48' in
	the autoconf git repository, which tackled a similar issue.

	* doc/automake.texi (@direntry): Rename nodes `aclocal' and
	`automake' to `aclocal-invocation' and `automake-invocation'
	respectively.
	* NEWS: Update.

2011-12-26  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: tweak tests on silent-rules for makes without nested vars
	* tests/silent-nested-vars.test: Define $MAKE to `./mymake' in
	the environment, so that it will be automatically picked up by
	configure.  Related tweaks and simplifications.
	Remove the checks verifying that silent rules are respected also
	when the 'subdir-objects' option is set, the checks testing the
	old syntax for user-defined silent rules, and the tests using
	the default $MAKE programs: they are redundant w.r.t. other test
	cases.  Related simplifications.
	Remove the temporary files used in a sanity check as soon as they
	are not needed anymore.
	Do not capture also the standard error of configure: we only want
	to grep its standard output.
	Consistently use `stdout' for the name of files where to save the
	standard output captured from make and configure, for consistency
	with other tests.
	Make grepping of configure output and of the generated Makefile
	stricter.
	Improve and tweak the `mymake' script a little.
	* tests/silent6.test: Make grepping of make stdout slightly
	stricter.  After having configured with silent rules disabled,
	try to force the use silent rules with `make V=1'.

2011-12-25  Paul Eggert  <eggert@cs.ucla.edu>

	silent-rules: fallback for makes without nested vars

	This fixes two problems reported for Automake (Bug#9928, Bug#10237)
	and is in response to a bug report for building coreutils on HP
	NonStop OS (Bug#10234).  The problem is that HP NonStop 'make'
	treats a line like "AM_V_CC = $(am__v_CC_$(V))" as one that
	expands a macro with the funny name am__v_CC_$(V instead of the
	desired name am__v_CC_1 or am__v_CC_0, and since the funny macro
	is not defined the line is equivalent to "AM_V_CC = )"; this
	inserts a stray ")" when $(AM_V_CC) is used, which eventually
	causes 'make' to fail.

	The basic idea is that instead of generating Makefile.in lines like
	"AM_V_CC = $(am__v_CC_$(V))", we generate
	"AM_V_CC = $(am__v_CC_@AM_V@)".  We then AC_SUBST $(V) for @AM_V@
	in the usual case where `make' supports nested variables,
	and substitute 1 (or 0) otherwise.  Similarly for usages like
	$(am__v_CC_$(AM_DEFAULT_VERBOSITY)).

	With this change, make implementations that doesn't grasp nested
	variable expansions will still be able to run Makefiles generated
	using the silent-rules option.  They won't allow the user to
	override the make verbosity at runtime through redefinition of
	$(V) (as in "make V=0"); but this is still an improvement over not
	being able to work at all.

	* NEWS: Document this.
	* automake.in (define_verbose_var): When defining the variables,
	use @AM_V@ rather than $(V), and use @AM_DEFAULT_V@ rather than
	$(AM_DEFAULT_VERBOSITY).
	* doc/automake.texi (Automake silent-rules Option): Explain new system.
	* m4/silent.m4 (AM_SILENT_RULES): Check whether `make' supports
	nested variables, and substitute AM_V and AM_DEFAULT_V accordingly.
	* tests/silent-nested-vars.test: New test.
	* tests/Makefile.am (TESTS): Add it.

2011-12-24  Stefano Lattarini  <stefano.lattarini@gmail.com>

	gitignore: use only one .gitignore file, in the top-level directory
	* doc/.gitignore, doc/amhello/.gitignore, lib/Automake/.gitignore,
	lib/Automake/tests/.gitignore, tests/.gitignore: Deleted, their
	contents merged into ...
	* .gitignore: ... this top-level file.  Since we are at it, improve
	it by anchoring files where it makes sense.

2011-12-24  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: one more fixlet for gettext macros requirement
	* tests/gettext-macros.test (configure.in): Add calls to
	AC_INIT and AC_PROG_CC, to avoid a spurious failure in the
	later aclocal invocation.
	Luckily, this wart wasn't causing any spurious SKIP or FAIL,
	but only the redundant addition to the `-Wno-syntax' option
	to some aclocal invocations in the gettext tests.

2011-12-24  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix handling of gettext macros requirement

	The code introduced in the earlier change `v1.11-581-gb7d67d5'
	and aimed at automatically fetching all the .m4 files provided by
	gettext has proven inadequate, since it hasn't managed to truly
	and always get *all* the required .m4 files.  For example, it has
	failed to fetch the file `intldir.m4' (present in gettext 0.18.1,
	and where the macro `AM_GNU_GETTEXT_INTL_SUBDIR' is defined),
	which in turn has caused spurious SKIPs of at least the test
	`gettext3.test'.

	The reason for this debacle is that autopoint looks at the version
	specified in AM_GNU_GETTEXT_VERSION to decide which version of the
	gettext infrastructure to bring in; since we were unconditionally
	specifying the older 0.10.35 version, the newer `.m4' files weren't
	brought in.

	* tests/gettext-macros.test: In AM_GNU_GETTEXT_VERSION, instead
	of unconditionally specifying the older 0.10.35 version, specify
	the version of the available `gettextize' or `autopoint' program,
	dynamically extracted with the help of ...
	(extract_program_version):... this new function, and saved ...
	($autopoint_version): ... in this new variable.

2011-12-23  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: automatically handle deps also for generated tests
	* tests/gen-testsuite-part: The test scripts are now scanned for
	automatic dependency generation *after* the auto-generated tests
	have been created, so they too will be scanned.  It is a little
	tricky to ensure that the freshly-generated tests are correctly
	scanned, and we do that with the help of ...
	(@generated_tests): ... this new variable.
	Other related minor changes and refactorings.

2011-12-23  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: auto-generate deps for tests requiring libtool/gettext
	* tests/gen-testsuite-part: Tests requiring libtool (or related
	programs) will need libtool-provided m4 macros, so they should
	be run after `libtool-macros.test'.  Similarly for gettext tests.
	So, generate proper declarations of such dependencies.
	* tests/Makefile.am: Remove now-unneeded hand-written declaration
	of those dependencies.

2011-12-23  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: remove FIXME comments from tricks to pacify syntax checks
	Originally, I myself had insisted on adding those "FIXME" comments
	near every unusual construct or use of "creative quoting" whose
	only purpose was to avoid false positive from out syntax checks.
	I did that with the expectation that we could have easily and soon
	added a whitelisting capability to our maintainer-specific syntax
	checks.  This hasn't been the case unfortunately, and now those
	"FIXME" in the comments are just distracting noise, making it more
	difficult to grep the test cases for stuff that could really use a
	fix or an improvement.  So just get rid of them.
	* tests/instdir-ltlib.test: Remove that extra "FIXME".
	* tests/instdir-prog.test: Likewise.
	* tests/parallel-tests3.test: Likewise.
	* tests/parallel-tests-dry-run.test: Likewise.
	* tests/parallel-tests-console-output.test: Likewise.
	* tests/parallel-tests-no-color-in-log.test: Likewise.
	* tests/tap-realtime.test: Likewise.
	* tests/test-trs-recover.test: Likewise.
	* tests/tap-deps.test: Likewise.

2011-12-23  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: few minor fixlets, improvements and tweakings
	* tests/defs-static.in ($top_testbuilddir): New, for consistency
	and completeness.
	* tests/Makefile.am (do_subst): Substitute @abs_top_testbuilddir@
	as well.
	* tests/java-compile-run-mested.test: Prefer AM_TESTS_ENVIRONMENT
	over TESTS_ENVIRONMENT, now that the former has become available.
	* tests/java-compile-run-flat.test: Correct a botched "FIXME"
	comment.
	* tests/tap-realtime.test: Remove extra whitespace in comments.
	* tests/missing-tar.test: Use `get_shell_script' to bring in the
	`missing' script, to increase coverage.  Remove redundant call to
	`set -e'.  Fix a typo in comments.
	* tests/get-sysconf.test: Remove redundant definitions of
	`$top_testsrcdir', `testbuilddir' and `$top_testbuilddir'.

2011-12-23  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: remove redundant uses of `set -e'
	* tests/deleted-am.test: Do not set the `errexit' shell flag, as
	it is already set by `tests/defs'.
	* tests/deleted-m4.test: Likewise.
	* tests/dist-missing-am.test: Likewise.
	* tests/dist-missing-am.test: Likewise.
	* tests/dist-missing-m4.test: Likewise.
	* tests/dist-missing-included-m4.test: Likewise.
	* tests/get-sysconf.test: Likewise.
	* tests/makefile-deps.test: Likewise.
	* tests/remake-m4-pr10111.test: Likewise.
	* tests/remake-am-pr10111.test: Likewise.
	* tests/remake-deleted-am.test: Likewise.
	* tests/remake-deleted-am2.test: Likewise.
	* tests/remake-deleted-am-subdir.test: Likewise.
	* tests/remake-renamed-am.test: Likewise.

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix failure due to debugging code forgotten into a test
	* tests/missing-tar.test: Don't ever call the `missing' script
	with `sh -x'; this was used for debugging, but an instance of
	it slipped into the committed test case.  Bug revealed by a
	failure on a Solaris 10 system with GNU tar installed as `gtar'.

2011-12-23  Stefano Lattarini  <stefano.lattarini@gmail.com>

	Merge branch 'master' into testsuite-work
	* tests/gettext-macros.test: In the generated `get.sh' file,
	use `skip_all_', not `skip_'.
	* tests/libtool-macros.test: Likewise.
	* tests/list-of-tests.mk: Update.

2011-12-23  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: avoid spurious failure of libtool and gettext tests

	On Solaris 10 (and presumably earlier), /bin/sh trips up on
	here-documents that contains a command substitution *and* are
	fed to a shell function:

	  # All as expected.
	  $ cat <<END
	  `pwd`
	  END
	  /home/stefano
	  $ echo status = $?
	  status = 0

	  # An apparently innocuous function ...
	  $ kitty () { cat; }
	  # ... but hilarity ensues!
	  $ kitty <<END
	  `pwd`
	  END
	  /tmp/sh137723: cannot open
	  $ echo status = $?
	  status = 1

	We need to work around this misbehaviour in a couple of our
	tests (whose failures where causing cascading failures in a
	lot of other tests).

	* tests/gettext-macros.test: Avoid the use of command substitution
	in a here-document passed to the `indent' function, by using the
	`echo' builtin instead.
	* tests/libtool-macros.test: Likewise.

	See also:
	<http://lists.gnu.org/archive/html/bug-autoconf/2011-12/msg00001.html>

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	Merge branch 'maint' into master.
	* m4/regex.m4: Bump serial number by some notches, for good
	measure.  Prefer the deprecation message from maint over that
	from master.
	* m4/python.m4: Bump serial number.
	* tests/Makefile.am (canon6.log): Depend on `libtool-macros.log'.
	(canon7.log): Likewise.
	(extradep2.log): Likewise.
	(ar-lib4.log): Likewise.
	(ar-lib6a.log): Likewise.
	(ar-lib6b.log): Likewise.
	(vartypo2): Likewise.
	(posixsubst-ltlibraries.log): Likewise.
	* tests/defs: Adjust the path of the included `get.sh' scripts
	generated by `libtool-macros.test' and `gettext-macros.test'.
	* aclocal.m4: Delete, it's auto-generated now.
	* configure: Likewise.
	* Makefile.in: Likewise.
	* doc/Makefile.in: Likewise.
	* m4/Makefile.in: Likewise.
	* tests/Makefile.in: Likewise.
	* lib/Makefile.in: Likewise.
	* lib/am/Makefile.in: Likewise.
	* lib/Automake/Makefile.in: Likewise.
	* lib/Automake/tests/Makefile.in: Likewise.
	* .gitignore: Correctly ignored the autogenerated files
	that are not committed anymore.

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	hacking: distribute it, and mention it in the ChangeLog
	Not distributing the HACKING file might make it more difficult,
	for some random curious user, to get informed about or interested
	in the Automake development process, or to send us patches.
	* Makefile.am (EXTRA_DIST): Add HACKING.
	* HACKING: It's OK to distribute this file, and to mention it in
	the ChangeLog.

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	regex: deprecate the obsolete macro AM_WITH_REGEX
	This is a backport of commit v1.11-433-g37b0aee.
	Today, practically nobody uses the GNU rx library, which, according
	to its own website <http://www.gnu.org/software/rx/rx.html>, has
	been "decommissioned".  Consequently, the automake-provided macro
	AM_WITH_REGEX is not used nor required anymore.  Deprecate it, so
	that it will be possible to safely remove it in the next major
	automake version.
	* m4/regex.m4 (AM_WITH_REGEX): Give a warning of the class
	`obsolete' when this macro is used.
	* doc/automake.texi (Public Macros): Move description of
	`AM_WITH_REGEX' from here ...
	(Obsolete Macros): ... to here, and declare it as obsolete
	and "to be removed in a future version".
	* tests/regex-obsolete.test: New test.
	* tests/Makefile.am (TESTS): Add it.
	* NEWS: Update.
	See also:
	<http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00131.html>

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	maint: distribute .xz tarballs, not .bz2 ones
	Many GNU packages are moving towards xz-compressed tarballs, so
	let's follow suit, by dropping the creation and distribution of
	a bzip2-compressed tarball and switching to xz instead.
	For compatibility and safeness, we will continue to create and
	distribute a gzip-compressed tarball as well.
	* configure.ac (AM_INIT_AUTOMAKE): Drop `dist-bzip2', add
	`dist-xz'.
	* NEWS: Update
	Suggested by Jim Meyering.

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	include: avoid "deleted .am file" problem
	* automake.in (handle_configure): When processing `configure.am',
	also expand `HAVE-MAKEFILE-IN-DEPS' to a boolean telling whether
	`MAKEFILE-IN-DEPS' is empty or not.
	* lib/am/configure.am [?HAVE-MAKEFILE-IN-DEPS?]
	(%MAKEFILE-IN-DEPS%): New target without dependencies, to
	avoid the "deleted .am file" problem.  Emit this only when
	`?HAVE-MAKEFILE-IN-DEPS?' is true, to avoid generating an
	"empty" dependency declaration.
	* tests/deleted-am.test: Make grepping of error message stricter.
	* tests/dist-missing-am.test: Likewise.
	* tests/remake-deleted-am.test: New test.
	* tests/remake-deleted-am-2.test: Likewise.
	* tests/remake-deleted-am-subdir.test: Likewise.
	* tests/remake-renamed-am.test: Likewise.
	* tests/makefile-deps.test: Likewise.
	* tests/Makefile.am (TESTS): Add the new tests.
	* NEWS: Update.
	Fixes automake bug#9768.
	Report by Peter Johansson.
	See also commit `Release-1-10-40-gd0ebf71', which fixed a similar
	problem for .m4 files included by configure.ac.

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	maint: better use of autoconf 2.68 features
	* configure.ac: Now that Automake requires autoconf 2.68 for its
	own bootstrapping and build system, we can assume that PACKAGE_URL
	gets automatically AC_SUBT'd.

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	cosmetics: use proper m4 quoting in configure.ac
	* configure.ac (AC_CONFIG_SRCDIR): Use proper m4 quoting
	for its arguments.
	(AC_CONFIG_AUX_DIR): Likewise.
	(AC_PROG_PATH): Likewise.

2011-12-14  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: better handling of gettext and libtool requirements

	This change fixes automake bug#9807.

	Before this change, the automake testsuite only looked for the
	`.m4' files containing libtool and gettext macros definitions in
	the directory `${prefix}/share/aclocal' (and in the directories
	specified by the `dirlist' file in there, if any), where ${prefix}
	was the configure-time automake installation prefix (defaulting
	to `/usr/local').

	This approach had various shortcomings and disadvantages.  Let's
	briefly describe the three major ones.

	First, on most GNU/Linux systems, a libtool or gettext installed
	from distro-provided packages (e.g., by dpkg on Debian/Ubuntu, or
	by rmp on RedHat/Fedora) would have `/usr', not `/usr/local', as
	its ${prefix}; so, trying to run the automake testsuite with a
	simple "./configure && make && make check" would have failed to
	execute the libtool and gettext tests on most GNU/Linux distros.
	It's true that it was quite easy to work around this issue, by
	creating a proper `/usr/local/share/aclocal/dirlist' file with
	an entry pointing to `/usr/share/aclocal' (a workaround in fact
	used by most automake developers); but the typical user wasn't
	aware of the necessity of this trick, so the libtool and gettext
	tests was usually skipped on testsuite runs "in the wild", thus
	needlessly reducing coverage.

	Second, the older testsuite behaviour made more difficult for
	the developers to run the testsuite with non-default libtool or
	gettext.  For example, assume the developer is working on a system
	that has a default libtool version 1.5 installed in the /usr/local
	hierarchy; to improve coverage, the developer installs also a more
	modern libtool version, say 2.4, in its home directory, let's say
	in ~/libtool-2.4; he then tries to run the automake testsuite with
	this more modern libtool by doing an (apparently) simple:
	  $ PATH=$HOME/libtool-2.4:$PATH make check
	But the automake testsuite would still look for libtool macros in
	/usr/local/share/aclocal, not in ~/libtool-2.4/share/aclocal, so
	the wrong version of the macros would be picked up, and the tests
	would either fail spuriously or (which would be worse) pass without
	truly covering the libtool version the developers was thinking to
	be testing with.
	Worse again, the automake testsuite would *unconditionally* look
	for libtool macros in /usr/local/share/aclocal, so even something
	like:
	  $ export ACLOCAL_PATH=$HOME/libtool-2.4/share/aclocal
	  $ PATH=$HOME/libtool-2.4:$PATH make check
	wouldn't work.

	Third and last, during a "make distcheck", automake is configured
	with a ${prefix} pointing to a proper subdirectory of the build
	directory (usually `pwd`/_inst), which gets created on-the-fly;
	in this case, with the old approach, the automake testsuite never
	found the libtool and gettext macro files, ans so the libtool and
	gettext tests was *always* skipped in a "make distcheck".

	* tests/libtool-macros.test: New helper test, looking (with the
	help of the `libtoolize' script) for libtool macro files required
	by most libtool tests, and making them easily accessible.
	* tests/gettext-macros.test: New helper test, looking (with the
	help of the `libtoolize' script) for libtool macro files required
	by most libtool tests, and making them easily accessible.
	* tests/defs.in: Update to make it rely on the results and setups
	of `libtool-macros.test' and `gettext-macros.test'.
	* tests/Makefile.am: Declare dependency of all the logs of libtool
	tests from `libtool-macros.log', and all the logs of gettext tests
	from `gettext-macros.log'.
	(TESTS): Add the new tests.

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	fix: typos and grammaros in comments of the new test
	* tests/get-sysconf.test: Fix few typos, grammaros and botched
	wording.  Reported by Eric Blake.

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: report useful system information in 'test-suite.log'
	It has already happened various times that a user has run the
	automake testsuite, experienced a failure, read the messages
	telling him "See tests/test-suite.log" and "Please report to
	bug-automake@gnu.org", and done exactly that -- sending us only
	the contents of `tests/test-suite.log', which are usually not
	enough to start debugging the reported failure.  So we have to
	ask him for more details, and usually also for the `config.log'
	file generated by configure.  It's time to fix this recurring
	feedback inefficiency.  We do so by creating a dummy test case
	that takes care of copying the contents of `config.log', plus
	other useful system information, in the final `test-suite.log'.
	* tests/get-sysconf.test: New test, gathering system information
	and then always terminating with a SKIP, so that its output gets
	copied in `test-suite.log'.
	* tests/Makefile.am (TESTS): Add it.

2011-12-07  Reuben Thomas  <rrt@sc3d.org>  (tiny change)

	python: remove relics for Python 1.5 support
	* m4/python.m4: The comments in here claim to support only
	Python >= 2.0, yet this file still has specific support for
	Python 1.5.  Just remove it, python 1.5 is 12 years old now,
	and practically defunct.
	* NEWS: Update.
	See also commit `Release-1-10-205-gd5bec12', "Support for
	Python 3.0, drop support for pre-2.0."

2011-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>

	configure: remove extraneous 'eval's from AM_RUN_LOG invocations
	* configure.ac: Remove extra 'eval's from AM_RUN_LOG invocations;
	for example, instead of "AM_RUN_LOG([eval $PERL --version])",
	simply use "AM_RUN_LOG([$PERL --version])"

2011-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>

	configure: report TeX version in config.log
	* configure.ac: If possible, report the version of the selected
	TeX program; this should render the logs more informative.

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	maint: snapshots from `maint' are still development snapshots
	The maintenance-oriented development line in the `maint' branch,
	while being usually pretty stable and 99% backward-compatible,
	is not always right off production-quality; but until now, the
	Automake package version declared in configure.ac hid this fact,
	since it appeared to be the version of a stable release (e.g.,
	11.1).  Fix this.
	* configure.ac (AC_INIT): Bump version to "1.11.0a".

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	configure: print proper message for test releases
	* configure.ac: If the current release is detected to be a test
	release or a development snapshot, print a proper warning for
	the user.
	* README-alpha: Delete, it's obsolete now (and in fact this file
	hasn't been touched in eleven years, since release 1.4b or so).
	* HACKING (Release procedure): Don't say to update README-alpha.

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	devel: help in comparing Makefile.in from different commits
	Now that the generated Makefile.in, configure and aclocal.m4 files
	are no longer committed in Automake's git repository, a simple
	"git diff" or "git log" no longer shows if and how a change in
	Automake results in changes to the Makefile.in files and/or
	configure script of its own build system.  Still, the ability to
	peek so easily at such differences has proved itself quite useful
	in the past, often revealing inconsistencies and blunders, and
	sometimes even bugs; so it would be a pity to lose that altogether.
	With this change, we add a new maintainer recipe that re-introduces
	much of that capability, by generating and comparing on the fly the
	Makefile.in, configure and aclocal.m4 derived from two arbitrary
	commits of the Automake repository.
	* Makefile.am (autodiffs, compare-autodiffs): New phony targets.

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	repo: don't commit generated files in the git repository anymore
	It has been quite some time since autoconf and libtool have stopped
	committing the generated autotools files in their git repositories,
	with no significant ill effects we're aware of.  It's true that the
	autoconf bootstrap process has now the minor annoyance that a
	pre-installed autoconf is required to complete it; but luckily
	automake will not have a similar annoyance, since our bootstrap
	script take care, through some hoops, to use the very automake and
	aclocal versions from the current git checkout to generate the
	required aclocal.m4 and Makefile.in files.  In fact, this has been
	a necessity also in the past, because automake has been known to
	use in its own build system new development features that hadn't
	been present in any previously released automake distribution.
	* .gitignore: Ignore configure, aclocal.m4, and all the
	Makefile.in files.
	* configure.ac (AC_PREREQ): New macro call, to require the
	latest autoconf (2.68 for the moment).

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	missing: don't try to re-run tar with a munged command line
	* lib/missing: If the default `tar' program fails with the given
	arguments, and GNU tar is not available, don't try to re-run the
	default `tar' with a munged command line (e.g., ditching possibly
	unportable options), as that could be subtly alter the intended
	semantics (and maybe even create a somewhat corrupted tarball).
	Also, it's worth noting that the main purpose of the `missing'
	script is to allow a non-developer to build the package in the
	face of slightly-skewed timestamps, not to provide wrappers for
	all the maintainer tools -- so we don't have to try too hard
	when `missing' is just called to wrap `tar'.
	* tests/missing-tar.test: New test.
	* tests/Makefile.am (TESTS): Add it.

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	missing: inform the user if GNU tar is called
	* lib/missing: If the code trying to run GNU tar is reached, it
	means that the previous attempt to run the default tar program
	has failed, very likely producing some error message.  At this
	point, just running GNU tar without further comments might be
	confusing.

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	missing: if GNU tar exists but fails when called, give up
	* lib/missing: If the code trying to run GNU tar is reached,
	don't continue if the invoked GNU tar program fails, as there
	is little point in doing so (and can even be confusing and
	counter-productive).

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	missing: miscellaneous fixlets
	* lib/missing: Some shells, such as Solaris or FreeBSD /bin/sh,
	warn about missing programs before performing redirections.
	Therefore, where we have to silently check whether a program
	exists, perform redirections on a subshell.
	Remove redundant uses of double-quotes in variable definitions.
	Delete an extra blank line.

2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	maint: remove executable bit from automake.in
	* automake.in: This file is not meant to be executed, only to
	be preprocessed to create the `automake' script; so don't leave
	it executable.

2011-12-20  Peter Rosin  <peda@lysator.liu.se>

	tests: fix spurious failure on systems lacking unistd.h
	This is for automake bug#10324.
	* tests/silent-lex-generic.test (foo.l): Add a dummy #define of
	YY_NO_UNISTD_H,	so that the generated foo.c file won't require
	unistd.h to be present (it is not present when compiling with,
	e.g., MSVC 9).

2011-12-20  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failure on MSYS/MinGW and Cygwin
	* tests/primary-prefix-couples-force-valid.test (Makefile.am):
	Correctly append $(EXEEXT) to the path of built binaries.

2011-12-16  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: hack to support autoconf-wrapper programs
	* tests/defs-static.in ($AUTOCONF): Add a dummy `-B' option to the
	autoconf invocation, so that, when the Debian autoconf wrapper is
	involved, it will correctly dispatch an autoconf >= 2.50 instead of
	defaulting to autoconf 2.13.
	($AUTOHEADER, $AUTORECONF): Likewise, but for autoheader and
	autoreconf respectively.
	Reported by Bruno Haible:
	<http://lists.gnu.org/archive/html/automake/2011-12/msg00039.html>

2011-12-16  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix a minor spurious failure with FreeBSD make
	* tests/remake-am-pr10111.test: Avoid using `#' comments in
	makefile recipes, as these have been confusing FreeBSD make.
	The failure was masked by the fact that this test is currently
	expected to fail.
	Suggested by a report from Bruno Haible.

2011-12-16  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: make two test scripts executable
	* tests/remake-am-pr10111.test: Make executable.
	* tests/remake-m4-pr10111.test: Likewise.

2011-12-27  Stefano Lattarini  <stefano.lattarini@gmail.com>

	yacc/lex tests: remove an unneeded workaround for bug#8485

	* tests/yacc-d-cxx.test: Remove the workaround previously required
	to avoid spurious failures due to automake bug#8485: that bug has
	been solved with commit `v1.11-512-g40c3432'.

2011-12-27  Stefano Lattarini  <stefano.lattarini@gmail.com>

	yacc/lex tests: avoid too much failures with FreeBSD make

	In various Yacc/Lex tests, we used to run "make distcheck" commands
	whose value was mostly dubious, and, even when it was there, was
	very, very little.  The presence of these extra distchecks had two
	disadvantages: it slowed down our already-too-slow testsuite even
	more, and, much worse, caused a lot of extra failures with FreeBSD,
	all due to automake bug#7884, which is already exposed by the test
	case `yacc-dist-nobuild.test'.

	We can improve this situation by simply removing "make distcheck"
	calls from a few testcases, or making them conditional to the use
	of GNU make.

	* tests/lex-clean-cxx.test: Do not call "make distcheck".
	* tests/lex-clean.test: Likewise.
	* tests/yacc-clean-cxx.test: Likewise.
	* tests/yacc-clean.test: Likewise.
	* tests/yflags-force-override.test: Likewise.
	* tests/yacc-nodist.test: Only run "make distcheck" if make
	is GNU make.

2011-12-15  Stefano Lattarini  <stefano.lattarini@gmail.com>

	Merge branch 'maint' into 'yacc-work'
	* tests/silent-lex.test: Provide a dummy `yywrap()' function, to
	avoid link errors on systems that doesn't provide a "lex library".
	See also commit `v1.11-546-gca0ba5d'.

2011-12-14  Stefano Lattarini  <stefano.lattarini@gmail.com>

	readme: reference webpages for automake mailing lists
	* README: Rationalize and reorganize the (brief) description of
	the automake mailing lists.   In particular, instead of suggesting
	the reader to write to the `-request' addresses to subscribe to
	mailing lists, point him to the relevant webpages, where he can
	also subscribe via a web form.

2011-12-14  Stefano Lattarini  <stefano.lattarini@gmail.com>

	readme: update advice about testsuite execution
	* README: Now that the automake testsuite uses the parallel-tests
	driver, there is no need for the user to capture the stdout of
	"make check" to determine which tests have failed: a detailed log
	is automatically saved into the `tests/test-suite.log' file.
	Since we are at it, improve the wording by dropping an extra
	"please".

2011-12-14  Stefano Lattarini  <stefano.lattarini@gmail.com>

	readme: don't reference the old homepage at sources.redhat.com
	* README: Don't reference the old homepage at sources.redhat.com,
	which is no longer active; reference the homepage on www.gnu.org
	instead.  See also automake bug#10157 and bug#10248.
	* tests/README: Likewise, and remove related extra-pedantic advice
	about copyright papers for test cases (we'll ask for those papers
	explicitly when we think they are warranted).

2011-12-12  Stefano Lattarini  <stefano.lattarini@gmail.com>

	hacking: some more fixlets
	* HACKING (Release Procedure): Place the list of pre-release
	bootstrap-and-test commands on a line of its own, so it's easy to
	select and then paste it into a terminal window.
	Fix the explanation of "make git-release", as, since the previous
	change, "make git-release" would simply run "make dist" rather
	than "make distcheck".
	Suggestion from Jim Meyering.

2011-12-12  Peter Rosin  <peda@lysator.liu.se>

	* NEWS: Fix typo in 'make dist-bzip2' description.

2011-12-10  Stefano Lattarini  <stefano.lattarini@gmail.com>

	release: don't run "make distcheck" automatically
	* Makefile.am (git-dist): The developers should test extensively
	before finally creating the release tarball; so don't run "make
	distcheck" on their behalf here; instead ...
	* HACKING (Release procedure): ... state here that "make check"
	and "make distcheck" should be run before calling "make git-dist".

2011-12-15  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failure in 'color2.test'
	* tests/color2.test: (expect-make): Add an "expect eof" directive,
	so that the collected output from the spawned make program will be
	displayed on stdout, as desired.
	Since we are at it, also correctly remove a temporary file which
	we was trying to delete using a wrong filename.
	Problem introduced in merge `v1.11-1579-g8d3466c', probably by a
	botched edit or conflict resolution.

2011-12-15  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failure in 'lex3.test'
	* tests/lex3.test (foo.l): Remove duplicated definition of
	`yywrap'.  Problem introduced in merge `v1.11-1579-g8d3466c'.

2011-12-09  Jim Meyering  <meyering@redhat.com>
	    Stefano Lattarini  <stefano.lattarini@gmail.com>

	dist-xz, dist-bzip2: don't hard-code -9, honor envvar settings
	Before the present change, automake-generated `dist-xz' rule used
	a hard-coded `xz -9'.  That was a problem because on this front,
	xz differs from gzip and bzip2.  While the latter two don't incur
	any run-time decompression penalty for using a higher compression
	level, specifying -9 with xz imposes a potentially fatal virtual
	memory requirement on any client that wants to decompress your
	tar.xz file.
	People have complained that a tarball compressed with -9 cannot
	be uncompressed in a low-memory environment (wrt-based embedded).
	Hence, instead of defaulting to -9, which is useful only for very
	large tarballs, it defaults to -e (equivalent to -6e).  This
	limits the default memory requirements imposed on decompressors,
	yet still gives very good compression ratios.
	* lib/am/distdir.am (dist-xz): Do not hard-code xz's -9: that made
	it impossible to override.  Actually don't default to -9, either,
	since that induced inordinately large virtual memory usage when
	merely decompressing.  Instead, use its XZ_OPT envvar, defaulting
	to -e if not defined.  Suggested by Lasse Collin.
	(dist-bzip2): Similarly, do not hard-code -9, but do continue to
	use -9 by default.  Honor the BZIP2 envvar.
	* NEWS: Update.
	* doc/automake.texi (The Types of Distributions): Describe the
	newly enabled environment variables.

2011-12-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	* NEWS: Fix typos, grammaros and suboptimal wording.
	Reported by Jim Meyering.

2011-12-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	maint: sync auxiliary files from upstream
	* lib/texinfo.tex: Synced from upstream, by "make fetch".
	* lib/config.guess: Likewise.
	* lib/config.sub: Likewise.

2011-12-04  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failures due to missing 'yywrap()' function

	The AC_PROG_LEX Autoconf macro does not diagnose a failure to find
	the "lex library" expected to provide a `yywrap' function (function
	which is required to link most lex-generated programs).  On the
	contrary, when all the link attempts (i.e., with `-ll' and `-lfl')
	fail, configure declares that no lex library is needed, and simply
	proceeds with the configuration process -- only for the build to
	possibly fail later, at make time.

	This behaviour is intended; the Autoconf manual reads:
	 ``You are encouraged to use Flex in your sources, since it is
	   both more pleasant to use than plain Lex and the C source it
	   produces is portable.  In order to ensure portability, however,
	   you must either provide a function `yywrap' or, if you don't use
	   it (e.g., your scanner has no `#include'-like feature), simply
	   include a `%noyywrap' statement in the scanner's source.''

	This AC_PROG_LEX behaviour is causing some spurious failures of
	the Automake testsuite in environments which lack a proper library
	providing `yywrap' (this happens for example on Fedora-based
	systems).   The proper workaround is to simply provide a fall-back
	implementation of `yywrap' in our lexers.

	See also partially-overlapping commit `v1.11-871-geb147a1' (from
	the 'testsuite-work' branch), which was motivated by similar
	spurious failures experienced when cross-compiling.

	From a report by Jim Meyering:
	<http://lists.gnu.org/archive/html/automake-patches/2011-10/msg00092.html>

	* tests/cond35.test: Provide a dummy `yywrap' function.
	* tests/lex3.test: Likewise.
	* tests/silent-lex-generic.test: Likewise.
	* tests/silent-lex-gcc.test: Likewise.
	* tests/silent-many-generic.test: Likewise.
	* tests/silent-many-gcc.test: Likewise.

2011-12-04  Paul Eggert  <eggert@cs.ucla.edu>

	depcomp: spelling fix
	* lib/depcomp (-h): Fix misspelling in usage diagnostic.

2011-11-28  Peter Rosin  <peda@lysator.liu.se>

	tests: fix 'distcheck-override-infodir.test' on Cygwin
	* tests/distcheck-override-infodir.test (Makefile.am): Do not add
	any `/' between $(DESTDIR) and the following paths.  Otherwise,
	when $(DESTDIR) is empty, the recipes will try to access files
	with a leading double slash, which have an implementation-defined
	interpretation (e.g., for Cygwin, they mean UNC paths).

2011-11-24  Stefano Lattarini  <stefano.lattarini@gmail.com>

	cosmetics: typofix in comments
	* tests/remake-am-pr10111.test (Makefile.am): Fix typo in comments.
	* THANKS: Update.
	Reported by Krzysztof Żelechowski.

2011-11-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: undistributed '.am' and '.m4' files are diagnosed
	The stub rules emitted to work around the "deleted header problem"
	for `.m4' files (included by autoconf in e.g., configure.ac) and
	for `.am' files (included by automake in e.g., Makefile.am) should
	not prevent "make" from correctly complaining when such a required
	file is missing from a distribution tarball.
	* tests/dist-missing-am.test: New test.
	* tests/dist-missing-m4.test: Likewise.
	* tests/dist-missing-included-m4.test: Likewise.
	* tests/Makefile.am (TESTS): Add them.
	Suggestion by Ralf Wildenhues.

2011-11-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: required but missing '.am' and '.m4' files are diagnosed
	The stub rules emitted to work around the "deleted header problem"
	for `.m4' files (included by autoconf in e.g., configure.ac) and
	for `.am' files (included by automake in e.g., Makefile.am) should
	not prevent the remake rules from correctly erroring out when a
	still-required file is missing.
	* tests/deleted-am.test: New test.
	* tests/deleted-m4.test: Likewise.
	* tests/Makefile.am (TESTS): Add them.

2011-11-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: expose automake bug#10111 in the testsuite
	* tests/remake-am-pr10111.test: New test, xfailing.
	* tests/remake-m4-pr10111.test: Likewise.
	* tests/Makefile.am (TESTS, XFAIL_TESTS): Add them.

2011-11-19  Stefano Lattarini  <stefano.lattarini@gmail.com>

	texinfo: work around Solaris 10 xpg4 shell bug in install rules
	* lib/am/texinfos.am (install-html-am): Use an extra variable
	indirection to work around a bug in Solaris 10 /usr/xpg4/bin/sh.
	Bug revealed by a failure of `txinfo21.test'.  See also:
	<http://lists.gnu.org/archive/html/bug-autoconf/2011-11/msg00005.html>
	<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10026#23>

2011-11-17  Stefano Lattarini  <stefano.lattarini@gmail.com>

	configure: report perl version in config.log
	* configure.ac: Report the version of the selected perl interpreter
	in config.log; this should render the logs more informative.

2011-11-13  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failure with older install-info
	* tests/install-info-dir.test (foo.texi): Also add proper
	`@settitle', `@dircategory' and `@direntry' directive, otherwise
	older versions of `install-info' (e.g., 4.8) will fail to create
	the `dir' index file in ${infodir}.
	Problem revealed by a failure on NetBSD 5.1.

2011-11-12  Stefano Lattarini  <stefano.lattarini@gmail.com>

	maintcheck: fix spurious failure in 'color2.test'
	* tests/color2.test: Avoid creative quoting to avoid a spurious
	failure of the `sc_tests_Exit_not_exit' maintainer check.

2011-11-12  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious error in 'uninstall-fail.test' on Solaris
	* tests/uninstall-fail.test: Solaris 10 /usr/xpg4/bin/sh can add
	a line number before the `:' in the error messages issued by shell
	builtins.  Account for that in our grepping of make output.

2011-11-12  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix typo in 'uninstall-fail.test'
	* tests/uninstall-fail.test: Always use `$rm_f_is_silent_on_error'
	instead of the bogus `$rm_f_is_silent_on_failure'.

2011-11-19  Paul Eggert  <eggert@cs.ucla.edu>

	* lib/install-sh: Spelling fix in comment.

2011-11-10  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: avoid a spurious failure of 'ltinit.test' MinGW
	* tests/ltinit.test: Be laxer in grepping configure output, to
	avoid spurious failures on systems which lack POSIX dynamic
	linking (e.g., MinGW), or when cross-compiling for such systems.
	See also commit `v1.11-855-ge9e5d4a'.
	Report and suggestion from Peter Rosin.

2011-11-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: testsuite is now safe to run with dmake in parallel mode
	* tests/defs.in: Unset variables DMAKE_CHILD, DMAKE_DEF_PRINTED
	and DMAKE_MAX_JOBS, which are exported by Solaris dmake when run
	in parallel mode, and which might confuse make processes spawned
	by our testsuite.

2011-11-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failures w.r.t. parallel make and colorization
	* tests/color2.test: Skip the test if the $MAKE program fails to
	consider the standard output as a tty when spawned by `expect'.
	This is required for make implementations, like FreeBSD make and
	Solaris dmake, that redirect the output of recipes to temporary
	files or pipes when run in parallel mode.  Since we are at it,
	simplify the detection of a working `expect' program, and throw
	in other minor simplifications.

2011-11-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failure in 'distcheck-override-infodir.test'
	* tests/distcheck-override-infodir.test ($required): Add
	'install-info'.

2011-11-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: avoid another failure of 'uninstall-fail.test' on Solaris
	* tests/uninstall-fail.test: On Solaris 10, if `/bin/rm' is run
	with the `-f' option, it doesn't print any error message when
	failing to remove a file (due to e.g., "Permission denied").
	Yikes.  Cater to this incompatibility, by relaxing the test when
	a faulty `rm' is detected.

2011-11-10  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: various minor tweakings, mostly related to AM_PROG_AR
	* tests/alloca2.test: Ensure we don't experience a spurious failure
	due to a missing `AM_PROG_AR' macro or a missing `ar-lib' auxiliary
	script.
	* tests/libtool4.test: Likewise.
	* tests/ldadd.test: Likewise.  Since we are at it, make grepping of
	automake stderr stricter.
	* tests/reqd2.test: Likewise.
	* tests/pr211.test: Ensure automake fails also with `-Wnone', since
	the error we are testing for is an hard error, not a mere warning.
	* tests/syntax.test: Likewise, and ensure we don't fail to other
	errors by removing use of `lib_LTLIBRARIES' in Makefile.am.  Since
	we are at it, make grepping of automake stderr stricter.

2011-11-05  Stefano Lattarini  <stefano.lattarini@gmail.com>

	ar-lib: fix configure output for "unrecognized archiver interface"
	* m4/ar-lib.m4: Ensure that, even when an error is hit while trying
	to determine the archiver interface kind, the "checking archiver
	interface" message from configure is properly terminated before
	an error message is printed, to avoid slightly garbled output.
	* tests/ar4.test: Enhance.
	* tests/ar5.test: Likewise.

2011-11-04  Stefano Lattarini  <stefano.lattarini@gmail.com>

	warnings: fix buglets for portability warnings
	* lib/Automake/ChannelDefs.pm (switch_warning): Ensure the
	correct implications and inter-dependencies between warnings
	in the categories `portability', `extra-portability' and
	`recursive-portability' are respected.  Also add detailed
	explicative comments, and references to the relevant tests.
	* tests/dollarvar2.test: Update and extend.  Also, remove
	some unnecessary uses of `--force' option in automake calls.
	* tests/extra-portability3.test: New test.
	* tests/Makefile.am (TESTS): Add it.

2011-11-04  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: extend tests on 'extra-portability' warning category
	* tests/extra-portability.test: Redefine `$AUTOMAKE' to ensure we
	have complete control over the automake options.  Extend by using
	also a setup where no `portability' warning is present (only an
	`extra-portability' warning is).  Other minor extensions.  Remove
	some redundant, verbose comments about the expected diagnostic.

2011-11-03  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: various minor tweakings, mostly related to AM_PROG_AR
	* tests/alloca.test: Adjust to new portability requirements due
	to the new AM_PROG_AR macro.
	* tests/discover.test: Likewise.
	* tests/libobj3.test: Likewise.
	* tests/pluseq7.test: Likewise.  Also, make grepping of automake
	expected error message stricter.
	* tests/stdlib.test: Likewise, and extend the test a bit.
	* tests/parse.test (configure.in): Remove redundant call to
	AC_PROG_RANLIB.
	* tests/library2.test: Adjust to new portability requirements
	due to the new AM_PROG_AR macro.  Also ...
	(configure.in): ... add call to AC_PROG_CC, to ensure automake
	really fails for the expected reason.

2011-11-05  Stefano Lattarini  <stefano.lattarini@gmail.com>

	ar-lib: fix configure output for "unrecognized archiver interface"
	* m4/ar-lib.m4: Ensure that, even when an error is hit while trying
	to determine the archiver interface kind, the "checking archiver
	interface" message from configure is properly terminated before
	an error message is printed, to avoid slightly garbled output.
	* tests/ar4.test: Enhance.
	* tests/ar5.test: Likewise.

2011-11-05  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: more faithful 'installcheck' support in few tests
	* tests/ar-lib5a.test: Use the `$am_scriptdir' variable instead
	of "$testsrcdir/../lib" or "$top_testsrcdir/lib", to test more
	faithfully under "make installcheck".
	* tests/ar-lib5a.test: Likewise.
	* tests/libobj-basic.test: Likewise.
	* tests/libobj19.test: Likewise.
	* tests/suffix5.test: Likewise.

2011-11-05  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: remove redundant settings of `errexit' shell flag
	* tests/aclocal-path-install-serial.test: Do not set the
	`errexit' shell flag, as it is already set by `tests/defs'.
	* tests/ar-lib2.test: Likewise.
	* tests/ar-lib3.test: Likewise.
	* tests/ar-lib4.test: Likewise.
	* tests/ar-lib5a.test: Likewise.
	* tests/ar-lib5b.test: Likewise.
	* tests/ar-lib6a.test: Likewise.
	* tests/ar-lib6b.test: Likewise.
	* tests/ar-lib7.test: Likewise.
	* tests/ar3.test: Likewise.
	* tests/ar4.test: Likewise.
	* tests/ar5.test: Likewise.
	* tests/extra-portability.test: Likewise.
	* tests/extra-portability2.test: Likewise.
	* tests/extra-portability3.test: Likewise.
	* tests/install-info-dir.test: Likewise.
	* tests/maintmode-configure-msg.test: Likewise.

2011-11-05  Stefano Lattarini  <stefano.lattarini@gmail.com>

	generated tests: avoid extra "FIXME" comments
	* tests/gen-testsuite-part: Avoid putting too much "FIXME"
	comments in the generated test scripts, since they end up
	being just counter-productive noise when one has to grep
	the test scripts looking for real "FIXME" items.

2011-09-12  Stefano Lattarini  <stefano.lattarini@gmail.com>

	cosmetics: fix typo in 'prove-runner' script
	* tests/prove-runner: Remove erroneously-repeated word.
	* THANKS: Update.
	Reported by Dave Hart.

2011-11-05  Stefano Lattarini  <stefano.lattarini@gmail.com>

	Merge branch 'master' into testsuite-work
	* tests/extra-portability.test: Use `$am_original_AUTOMAKE'
	instead of the obsolete `$original_AUTOMAKE'.
	* tests/extra-portability3.test: Likewise.
	* tests/list-of-tests.mk: Update.

2011-11-05  Stefano Lattarini  <stefano.lattarini@gmail.com>

	Merge branch 'msvc' into master
	* tests/extra-portability3.test: Use `$original_AUTOMAKE' instead
	of hackishly extracting the first component of `$AUTOMAKE'.
	* tests/extra-portability.test: Likewise.  Also, since we are at
	it, throw in a couple of small extensions and tweakings (suggested
	by the minor merge conflicts).

2011-11-04  Stefano Lattarini  <stefano.lattarini@gmail.com>

	warnings: fix buglets for portability warnings
	* lib/Automake/ChannelDefs.pm (switch_warning): Ensure the
	correct implications and inter-dependencies between warnings
	in the categories `portability', `extra-portability' and
	`recursive-portability' are respected.  Also add detailed
	explicative comments, and references to the relevant tests.
	* tests/dollarvar2.test: Update and extend.  Also, remove
	some unnecessary uses of `--force' option in automake calls.
	* tests/extra-portability3.test: New test.
	* tests/Makefile.am (TESTS): Add it.

2011-11-04  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: extend tests on 'extra-portability' warning category
	* tests/extra-portability.test: Redefine `$AUTOMAKE' to ensure we
	have complete control over the automake options.  Extend by using
	also a setup where no `portability' warning is present (only an
	`extra-portability' warning is).  Other minor extensions.  Remove
	some redundant, verbose comments about the expected diagnostic.

2011-11-04  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: new functions to analyze configure help screen
	* tests/defs (extract_configure_help, grep_configure_help): New
	functions.
	* tests/maintmode-configure-msg.test: Use them, reducing code
	duplication and test brittleness.
	* tests/help-depend.test: Likewise.
	* tests/help-depend2.test: Likewise.
	* tests/help-dmalloc.test: Likewise.
	* tests/help-lispdir.test: Likewise.
	* tests/help-multilib.test: Likewise.
	* tests/help-python.test: Likewise.
	* tests/help-regex.test: Likewise.
	* tests/help-silent.test: Likewise.
	* tests/help-upc.test: Likewise.
	* tests/help-init.test: Make grepping of configure help screen
	slightly stricter.
	* tests/self-check-configure-help.test: New self test.
	* tests/Makefile.am (TESTS): Add it.
	From a report by Jim Meyering.

2011-11-03  Stefano Lattarini  <stefano.lattarini@gmail.com>

	Merge branch 'master' into testsuite-work

	* tests/instspc.tap: Adjust to new portability requirements
	due to the new AM_PROG_AR macro.
	* tests/lex-lib.test: Likewise.
	* tests/extra-portability2.test: Use `$am_original_AUTOMAKE'
	instead of the obsolete `$original_AUTOMAKE'.
	* tests/list-of-tests.mk: Update.

2011-11-03  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: various minor tweakings, mostly related to AM_PROG_AR
	* tests/alloca.test: Adjust to new portability requirements due
	to the new AM_PROG_AR macro.
	* tests/discover.test: Likewise.
	* tests/libobj3.test: Likewise.
	* tests/pluseq7.test: Likewise.  Also, make grepping of automake
	expected error message stricter.
	* tests/stdlib.test: Likewise, and extend the test a bit.
	* tests/parse.test (configure.in): Remove redundant call to
	AC_PROG_RANLIB.
	* tests/library2.test: Adjust to new portability requirements
	due to the new AM_PROG_AR macro.  Also ...
	(configure.in): ... add call to AC_PROG_CC, to ensure automake
	really fails for the expected reason.

2011-11-03  Stefano Lattarini  <stefano.lattarini@gmail.com>

	Merge branch 'msvc' into master

	* tests/instspc-tests.sh: Adjust to new portability requirements
	due to the new AM_PROG_AR macro.
	* tests/libobj-basic.test: Likewise.
	* tests/libobj2.test: Likewise.
	* tests/libobj15a.test: Likewise.
	* tests/libobj15b.test: Likewise.
	* tests/libobj15c.test: Likewise.
	* tests/libobj16a.test: Likewise.
	* tests/libobj16b.test: Likewise.
	* tests/libobj17.test: Likewise.
	* tests/libobj18.test: Likewise.
	* tests/libobj19.test: Likewise.
	* tests/libobj20a.test: Likewise.
	* tests/libobj20b.test: Likewise.
	* tests/libobj20c.test: Likewise.
	* tests/canon6.test: Likewise.
	* tests/canon6.test: Likewise.
	* tests/canon7.tests: Likewise.
	* tests/extra9.test: Likewise.
	* tests/extradep.test: Likewise.
	* tests/extradep2.test: Likewise.
	* tests/posixsubst-ldadd.test: Likewise.
	* tests/posixsubst-libraries.test: Likewise.
	* tests/posixsubst-ltlibraries.test: Likewise.
	* tests/python-virtualenv.test: Likewise.
	* tests/vartypos.test: Likewise.
	* tests/vartypo2.test: Likewise.
	* tests/suffix.test: Update to take into account previous
	master-only changes.
	* tests/suffix2.test: Likewise.
	* tests/libobj7.test: Call automake with the `--add-missing'
	option, instead of creating a dummy `ar-lib' file, since this
	test now also runs "./configure" and "make".
	* tests/suffix5.test: Copy the real `ar-lib' script file,
	instead of creating a dummy one, since this test now also
	runs "./configure" and "make".
	* tests/extra-portability2.test: Fix this test not to rely
	on the older, faulty semantics of "strictness specification
	always reset warning level", which has been fixed in commit
	v1.11-623-g1609491 (see also automake bug#7669 a.k.a. PR/547).
	Since we are at it, throw inf few other minor unrelated
	improvements.
	* tests/extra-portability.test: Explicitly pass `-Wall' to
	automake calls, for clarity.

2011-10-21  Peter Rosin  <peda@lysator.liu.se>

	warnings: new 'extra-portability' category, for AM_PROG_AR
	* lib/Automake/ChannelDefs.pm: Register new extra-portability
	warning channel.
	(switch_warning): Turn off extra-portability if portability is
	turned off, and turn on portability if extra-portability is
	turned on.
	(set_strictness): Silence extra-portability for --gnits, --gnu
	and --foreign.
	* tests/extra-portability2.test: New test, checking that the
	extra-portability channel is silenced by --gnits, --gnu and
	--foreign.
	* doc/automake.texi (Invoking Automake): Document the new warning
	category and its interaction with the portability category.
	* tests/extra-portability.test: New test, checking the interaction
	between the portability and extra-portability warning categories.
	* automake.in (handle_libraries, handle_ltlibraries): Move the
	AM_PROG_AR warnings to the new extra-portability channel.
	* tests/ar2.test: Adjust to the new warning channel.
	* tests/pr300-lib.test: Likewise.
	* tests/pr300-ltlib.test: Likewise.
	* tests/pr307.test: Likewise.
	* tests/pr401.test: Likewise.
	* tests/pr401b.test: Likewise.
	* tests/pr401c.test: Likewise.
	* tests/pr72.test: Likewise.
	* NEWS: Likewise.
	* tests/Makefile.am (TESTS): Update.

2011-10-21  Peter Rosin  <peda@lysator.liu.se>
	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
	    Stefano Lattarini  <stefano.lattarini@gmail.com>

	Add new 'AM_PROG_AR' macro, triggering the 'ar-lib' script.
	* m4/ar-lib.m4: New macro AM_PROG_AR, which locates an
	archiver and triggers the auxiliary 'ar-lib' script if needed.
	* m4/Makefile.am (dist_m4data_DATA): Update.
	* automake.in ($seen_ar): New variable.
	(scan_autoconf_traces): Set it.
	(handle_libraries, handle_ltlibraries): Require AM_PROG_AR for
	portability.
	* doc/automake.texi (Public Macros): Mention the new
	'AM_PROG_AR' macro.
	(Subpackages): Add AM_PROG_AR to the example.
	(A Library): Adjust recommendations for AR given the new
	AM_PROG_AR macro.
	* All relevant tests: Adjust to new portability requirements due
	to the new AM_PROG_AR macro.
	* tests/ar-lib2.test: New test, checking that AM_PROG_AR triggers
	install of ar-lib.
	* tests/ar-lib3.test: New test, checking that lib_LIBRARIES
	requires AM_PROG_AR.
	* tests/ar-lib4.test: New test, checking that lib_LTLIBRARIES
	requires AM_PROG_AR.
	* tests/ar-lib5a.test: New test, checking that AM_PROG_AR triggers
	use of ar-lib when the archiver is Microsoft lib.
	* tests/ar-lib5b.test: New test, checking that AM_PROG_AR triggers
	use of ar-lib when the archiver is a faked lib.
	* tests/ar-lib6a.test: New test, checking the ordering of
	AM_PROG_AR and LT_INIT.
	* tests/ar-lib6b.test: New test, checking the ordering of
	AM_PROG_AR and AC_PROG_LIBTOOL.
	* tests/ar-lib7.test: New test, checking that automake warns
	if ar-lib is missing.
	* tests/ar3.test: New test, checking that AR and ARFLAGS may
	be overridden by the user even if AM_PROG_AR is used.
	* tests/ar4.test: New test, checking that AM_PROG_AR bails out
	if it cannot determine the archiver interface.
	* tests/ar5.test: New test, checking that AM_PROG_AR runs its
	optional argument if it cannot determine the archiver interface.
	* tests/defs.in: New required entry 'lib'.
	* tests/Makefile.am (TESTS): Update.
	* NEWS: Update.

2011-11-03  Zack Weinberg <zackw@panix.com>  (tiny change)
	    Stefano Lattarini  <stefano.lattarini@gmail.com>

	maint-mode: fix botched configure messages
	This change fixes automake bug#9890.
	* m4/maintainer.m4 (AM_MAINTAINER_MODE): Fix the "checking ..."
	configure message related to the enabling/disabling of maintainer
	mode.
	* tests/help-maintainer.test: Renamed ...
	* tests/maintmode-configure-msg.test: ... to this, and extended
	to cover the fixed bug.  Also, since we are at it, make grepping
	of configure help screens stricter, and throw in some few other
	changes to reduce code duplication and enhance readability.
	* tests/Makefile.am (TESTS): Update.
	* THANKS: Update with Zack's new e-mail address.
	Report and initial patch by Zack Weinberg, test cases added by
	Stefano Lattarini.

2011-10-23  Stefano Lattarini  <stefano.lattarini@gmail.com>

	info: allow user to inhibit creation/update of '${infodir}/dir'
	With this change, we allow the user to request the install-info
	rules not to update the `${infodir}/dir' file, by setting the
	environment variable `AM_UPDATE_INFO_DIR' to the value "no".
	This is especially useful to distro packagers, and is a definite
	improvement over our previous hack of looking whether the
	`install-info' program was the Debian or GNU version -- hack
	which had been silently broken with recent versions of debian
	install-info BTW (probably since dpkg 1.15.4, 2009-09-06).
	This change fixes automake bug#9773.  See also Debian Bug#543992.
	* lib/am/texinfos.am: Don't look anymore at the output of
	`install-info --version' to decide whether to use it to update
	the `${infodir}/dir' or not; instead, honour the environment
	variable `AM_UPDATE_INFO_DIR'.
	* tests/install-info-dir.test: New test.
	* tests/Makefile.am (TESTS): Add it.
	* tests/defs: Also unset `AM_UPDATE_INFO_DIR', to avoid unwanted
	interferences from the environment.
	* doc/automake.texi (Texinfo): Update.
	* NEWS: Likewise.
	* THANKS: Likewise.
	Report by Jonathan Nieder.

2011-10-25  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: new function 'am_keeping_testdirs', for better APIs

	This change is meant to make it easier for TAP-based test scripts
	to remove files left over by completed (sub)tests, while still
	honoring the user-provided `$keep_testdirs' setting.

	* tests/defs (am_keeping_testdirs): New function, telling whether
	we should keep the test directories around, even in case of
	success (by default, we don't).
	(exit trap): Use it.
	* tests/depmod.tap: Likewise.
	* tests/instspc.tap: Likewise.  Also, fix some pre-existing
	"copy & paste" bugs, and a typo in comments.

2011-10-25  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: remove redundant `set -e', and other minor improvements
	* tests/dejagnu-absolute-builddir.test: Do not set the `errexit'
	shell flag, as it is already set by `tests/defs'.
	* tests/dejagnu-relative-srcdir.test: Likewise.
	* tests/dejagnu-siteexp-append.test: Likewise.
	* tests/dejagnu-siteexp-useredit.test: Likewise, and fix a typo
	in comments.
	* tests/dejagnu-siteexp-extend.test: Likewise, and prefer the
	use of `$distdir' over hard-coded `$me-1.0'.  Also ...
	(write_check_for): ... use `unindent' when writing from an
	here-doc, for better code indentation.

2011-10-20  Stefano Lattarini  <stefano.lattarini@gmail.com>

	deps: partially revert commit `v1.11-512-geeee551'
	This change partly reverts commit "Create subdirs for generated
	sources even when not dep tracking", of 2011-04-02.
	That commit had caused the bugs #8485 and #8526.  Since we are
	nearing the bug-fixing automake release 1.11.2, the safest policy
	at the moment is to just revert the problematic hunks: an older,
	known bug is better than a regression.
	* automake.in (handle_single_transform): Don't add a dirstamp
	dependency, even when $object is derived and lands in a subdir.
	* tests/Makefile.am (XFAIL_TESTS): Add lex-subobj-nodep.test,
	remove yacc-dist-nobuild-subdir.test.

2011-10-25  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: few improvements to some `ar-lib' related tests

	* tests/ar-lib5a.test (Makefile.am): Also check that the target
	library has truly been created.
	(ar-lib): Use the real `ar-lib' script (mildly patched) rather
	than a dummy one, to ensure better "real-life coverage".  Fix
	botched shebang line.
	* tests/ar-lib5b.test: Extend the PATH variable to make the dummy
	`lib' script accessible, instead of explicitly calling it by its
	relative/absolute path.
	(ar-lib): Fix botched shebang line.
	(bin/lib): Likewise.  Also, add explicative comments, and make
	slightly stricter.

2011-10-24  Peter Rosin  <peda@lysator.liu.se>

	Merge branch 'maint' into msvc

	* tests/subpkg-yacc.test: Adjust to new portability requirements due
	to the new AM_PROG_AR macro.

2011-10-19  Stefano Lattarini  <stefano.lattarini@gmail.com>

	dejagnu: allow the package developer to extend site.exp
	Fixes automake bug#7873.
	* lib/am/dejagnu.am (site.exp): Depend from the files listed in
	$(EXTRA_DEJAGNU_SITE_CONFIG), if any.  Append their contents to
	the generated site.exp (still preserving user edits).
	* doc/automake.texi (Dejagnu Tests): Update.
	* tests/dejagnu-siteexp-append.test: New test.
	* tests/dejagnu-siteexp-extend.test: Likewise.
	* tests/dejagnu-siteexp-useredit.test: Likewise.
	* tests/Makefile.am (TESTS): Update.
	* NEWS: Update.
	Suggestion by Rainer Orth.

2011-10-19  Stefano Lattarini  <stefano.lattarini@gmail.com>

	dejagnu: ensure 'srcdir' is defined as a relative directory
	This change fixes automake bug#7833.
	* lib/am/dejagnu.am (check-DEJAGNU): Prefer using plain $(srcdir)
	over calculating and using the absolute path of $(srcdir).
	* tests/dejagnu-relative-srcdir.test: New test.
	* tests/dejagnu-absolute-builddir.test: Likewise.
	* tests/Makefile.am (TESTS): Update.
	Report by Ian Lance Taylor.  Suggestions by Ralf Wildenhues.

2010-12-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	Fix testsuite failure of check12.test without DejaGNU.
	* tests/check12.test: Require runtest.

2010-12-10  Stefano Lattarini  <stefano.lattarini@gmail.com>

	Extend and improve tests on DejaGnu support.
	* tests/dejagnu.test: Do not create useless dummy test script.
	Add trailing `:' command.  In heading comments, add reference
	to ...
	* tests/check12.test: ... this new "semantic" test, covering
	concurrent use of dejagnu tests, simple tests and `check-local'
	target.
	* tests/dejagnu2.test: Make test more reliable, by avoid weak
	grepping of make output.  Prefer `cat' over `echo' to append
	to configure.in.  Quote literal dots in grep regexps.  Prefer
	`grep -c ...' over `grep ... | wc -l'.  Make grepping of
	automake stderr slightly stricter.  Add trailing `:' command.
	* tests/dejagnu3.test: Prefer `cat' over `echo' to append to
	configure.in.  Check stderr of expected-to-fail "make" call.
	Remove extra blank lines from Makefile.am.
	* tests/dejagnu4.test: Prefer `cat' over `echo' to append to
	configure.in.  Prefer `mv -f' over plain `mv' when the target
	file already exists.  Avoid extra mkdir calls by creating more
	directories at once.  Better use of blank lines.  Check that
	the `*.log' and `*.sum' files are created by runtest also when
	"make check" fails.
	* tests/dejagnu7.test: Prefer `cat' over `echo' to append to
	configure.in.  Better use of blank lines.  Add a trailing `:'
	command.
	* tests/dejagnu6.test: Likewise, and give the dejagnu test a
	more descriptive name.
	* tests/dejagnu5.test: Likewise.  Also, simply define package
	name to `$me' rather than using a non-obvious sed script to
	extract it from `AC_INIT', and write the Makefile.am with only
	one command.
	* tests/Makefile.am (TESTS): Updated.

2011-10-21  Peter Rosin  <peda@lysator.liu.se>

	* THANKS: Fix whitespace issue.

2011-10-25  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failures due to missing 'yywrap()' function

	The AC_PROG_LEX Autoconf macro does not diagnose a failure to find
	the "lex library" expected to provide a `yywrap' function (function
	which is required to link most lex-generated programs).  On the
	contrary, when all the link attempts (i.e., with `-ll' and `-lfl')
	fail, configure declares that no lex library is needed, and simply
	proceeds with the configuration process -- only for the build to
	possibly fail later, at make time.

	This behaviour is intended; the Autoconf manual reads:
	 ``You are encouraged to use Flex in your sources, since it is
	   both more pleasant to use than plain Lex and the C source it
	   produces is portable.  In order to ensure portability, however,
	   you must either provide a function `yywrap' or, if you don't use
	   it (e.g., your scanner has no `#include'-like feature), simply
	   include a `%noyywrap' statement in the scanner's source.''

	This AC_PROG_LEX behaviour is causing some spurious failures of
	the Automake testsuite in environments which lack a proper library
	providing `yywrap' (this happens for example on Fedora-based
	systems).   The proper workaround is to simply provide a fall-back
	implementation of `yywrap' in our lexers.

	See also partially-overlapping commit `v1.11-871-geb147a1' (from
	the 'testsuite-work' branch), which was motivated by similar
	spurious failures experienced when cross-compiling.

	Reported by Jim Meyering:
	<http://lists.gnu.org/archive/html/automake-patches/2011-10/msg00092.html>

	* tests/cond35.test: Provide a dummy `yywrap' function.
	* tests/lex3.test: Likewise.
	* tests/lexvpath.test: Likewise.
	* tests/silent-lex-generic.test: Likewise.
	* tests/silent-lex-gcc.test: Likewise.

2011-10-21  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: more faithful 'installcheck' support in few tests
	* tests/test-driver-acsubst.test: Use the `$am_scriptdir'
	variable instead of `$testsrcdir/../lib', to test more
	faithfully under "make installcheck".
	* tests/test-driver-cond.test: Likewise.
	* tests/dist-auxfile.test: Likewise, and add one more use
	of `fatal_' to report hard errors.
	* tests/tests/dist-auxdir-many-subdirs.test: Likewise.

2011-10-21  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: remove redundant settings of `errexit' shell flag
	* tests/aclocal-path-install-serial.test: Do not set the
	`errexit' shell flag, as it is already set by `tests/defs'.
	* tests/aclocal-path-install.test: Likewise.
	* tests/aclocal-path-nonexistent.test: Likewise.
	* tests/aclocal-path-precedence.test: Likewise.
	* tests/aclocal-path.test: Likewise.
	* tests/dist-auxfile-2.test: Likewise.
	* tests/dist-auxfile.test: Likewise.
	* tests/distcheck-pr9579.test: Likewise.
	* tests/javadir-undefined.test: Likewise.
	* tests/subpkg-yacc.test: Likewise.
	* tests/test-extensions-cond.test: Likewise.
	* tests/test-extensions.test: Likewise.
	* tests/uninstall-fail.test: Likewise.
	* tests/uninstall-pr9578.test: Likewise.
	* tests/distcheck-override-infodir.test: Likewise.  Also,
	fix typo in heading comments since we are at it.

2011-10-20  Stefano Lattarini  <stefano.lattarini@gmail.com>

	fixup: add forgotten test scripts to $(TESTS)
	* tests/list-of-tests.mk: Add various test scripts that are in
	the git repository but weren't correctly listed in $(TESTS).
	The inconsistency had been caused by botched/incomplete merges,
	and revealed by the "maintainer-check-list-of-tests" target.

2011-10-18  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failure with FreeBSD make and Yacc in VPATH
	* tests/subpkg.test: Some cosmetic adjustments.  Move the tests
	checking that $(YLWRAP) is defined and installed properly when
	ylwrap is in a default auxdir found in a parent package ...
	* tests/subpkg-yacc.test: ... into this new test, which carefully
	avoids to trigger the known bug#7884 (combo FreeBSD make plus Yacc
	plus VPATH build).
	* tests/Makefile.am (TESTS): Update.

2011-10-18  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: avoid spurious failure in 'parallel-tests3.test'
	This fixes automake bug#8788.
	* tests/parallel-tests3.test: To ensure that the serial run of
	the dummy testsuite is still ongoing when the parallel run has
	terminated, use `kill -0', not a bare `kill'.  This will prevent
	a testsuite crash on NetBSD 5.1, and a testsuite hang on FreeBSD
	8.2.  Also, since we are at it, try harder to avoid possible
	hangs of the script in other unusual situations.

2011-10-20  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failures with "chatty" make implementations
	* tests/distcheck-missing-m4.test: On failure, some make
	implementations (such as Solaris make) print the whole failed
	recipe on standard output.  This was causing a spurious failure
	in the checks grepping the output from make.  Work around this.
	* tests/distcheck-outdated-m4.test: Likewise.

2011-10-20  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failure on fast machines
	* tests/aclocal-path-precedence.test: Also remove the `configure'
	script between different test runs, to ensure it is always remade
	by autoconf.  Add proper explicative comments.

2011-10-20  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: avoid spurious failure of 'uninstall-fail.test' on Solaris
	* tests/uninstall-fail.test: All the Solaris 10 shells (/bin/sh,
	/bin/ksh, and /usr/xpg4/bin/sh), upon failing to chdir to a
	directory with the `cd' builtin, print a message like:
	  "sh: /root: permission denied"
	which doesn't report the `cd' builtin anywhere.  Relax the grepping
	of the error message accordingly.

2011-10-20  Jim Meyering  <meyering@redhat.com>

	tests: fix aclocal-print-acdir.test
	* tests/aclocal-print-acdir.test: Adjust to pass.

2011-10-19  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: avoid spurious failure of 'uninstall-fail.test' on Cygwin
	* tests/uninstall-fail.test: Be sure to really skip this test
	on systems that allows files to be removed from unwritable
	directories.  Motivated by a spurious failure on Cygwin 1.5.

2011-10-17  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failure with autoconf 2.62
	* tests/aclocal-path-precedence.test: Rewrite configure.in,
	rather than appending to it, to avoid spurious failures (at
	least with autoconf 2.62) due to repeated calls to AC_INIT.
	Also, add package name and version arguments to AC_INIT, to
	avoid spurious errors from automake.

2011-10-16  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs: avoid using colon character inside arguments of @pxref
	Fixes automake bug#9753
	* doc/automake.texi (VPATH Builds): Avoid using colon character
	`:' inside arguments of @pxref, as this can cause problems in
	the generated `.info' files, and such an usage will be explicitly
	forbidden by future texinfo documentation.
	* THANKS: Update.
	Reported by Дилян Палаузов.

2011-10-17  Stefano Lattarini  <stefano.lattarini@gmail.com>

	refactor: improve signature of 'check_directory' sub in automake
	* automake.in (check_directory): Take the relative directory
	the directory to be checked is expected to be found into as
	an optional parameter, rather than reading it from the global
	variable `$relative_dir'.
	(scan_autoconf_traces, check_directories_in_var): Adjust.

2011-10-17  Stefano Lattarini  <stefano.lattarini@gmail.com>

	cosmetics: remove obsolete comment
	* automake.in (push_required_file): Remove "FIXME" comment stating
	that the special handling of `$config_aux_dir' breaks threaded
	automake: this is not true anymore after the recent commits (see
	in particular commit `v1.11-1225-gf672944').

2011-10-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failure with Solaris /bin/sh
	* tests/dist-auxfile.test: Don't use redirected `:' in a loop,
	it hits a bug in Solaris 10 /bin/sh.

2011-10-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	threaded-am: better serialization for required config files
	With this change, we make serialization/de-serialization of
	required config files installs more granular, and in the process
	fix the bug introduced by commit `v1.11-1219-g326ecba'.
	* automake.in ($required_conf_file_queue): Move its declaration
	earlier.
	(require_file_internal): Add a new argument telling whether the
	function should act immediately or queue its action for the master
	thread to handle.
	(queue_required_conf_file): Renamed ...
	(queue_required_file_check_or_copy): ... to this.
	(require_queued_conf_file): Renamed ...
	(require_queued_file_check_or_copy): ... to this, and make it call
	`required_file_check_or_copy' instead of `require_file_internal'.
	(require_conf_file, handle_makefiles_threaded): Adjust and simplify
	accordingly.
	* tests/Makefile.am (XFAIL_TESTS): Remove `parallel-am.test'.

2011-10-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	automake: refactor, break up 'require_file_internal'
	This refactoring is only required in view of future changes.
	* automake.in (require_file_internal): Move the guts of this
	function ...
	(required_file_check_or_copy): ... into this new function.  This
	ensures that calls to `push_required_file' and code that copies
	required files are placed in separate functions; this will be
	very useful for reorganizing de-serialization of file installs
	in future changes.

2011-10-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	dist: separate auxiliary file instantiation from DIST_COMMON update
	This change simplifies the automake internals dealing with the
	checking, copying and distributing of required auxiliary files.
	With this change, a required auxiliary file is *unconditionally*
	added to the contents of the DIST_COMMON variable in the generated
	Makefile.in, before checking whether it exists, or trying to copy
	it (if `--add-missing' is in use).  This shouldn't be a problem,
	since if the checking or copying of the file fails, automake will
	bail out, the Makefile.in won't be created, and thus its content
	will not matter.  OK, this is not completely true when threaded
	automake is in use, but then, such a situation was also possible
	before this patch, so no regression here, which is enough for us.
	This change is the first of a series of steps aimed at fixing
	the regression introduced in threaded automake usage by commit
	`v1.11-1219-g326ecba'.
	* automake.in (require_file_internal): Add the required file to
	DIST_COMMON unconditionally.
	* tests/missing-auxfile-stops-makefiles-creation.test: New test.
	* tests/Makefile.am (TESTS): Add it.

2011-10-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	refactor: rename a subroutine to a more proper name
	* automake.in (maybe_push_require_file): Renamed ...
	(push_required_file): ... to this.
	All callers adjusted.

2011-10-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	dist: truly always distribute files in AC_REQUIRE_AUX_FILE
	This change fixes automake bug#9651.
	* automake.in (handle_dist): Files whose distribution is required
	by configure.ac are now correctly distributed even if the build-aux
	directory coincides with the top-level directory.
	* tests/Makefile.am (XFAIL_TESTS): Remove `dist-auxfile.test'.
	* NEWS: Update.

2011-10-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	dist: simplify automake code accordingly to the previous changes
	After the previous change `v1.11-1219-g326ecba', every Makefile.am
	requiring a file in the "config auxdir" will cause it to be listed
	in the DIST_COMMON variable of the corresponding generated
	Makefile.in, not only of the top-level Makefile.in.  Thus we don't
	need to worry anymore about trying to distribute files in the
	config auxdir from the top-level Makefile or the Makefile in
	config auxdir (if any).  This allows us to carry out some useful
	simplifications in the automake script.
	This will however cause some changes in the generated Makefile;
	for example, if the `PROGRAMS' primary is used only in a subdir
	Makefile.am, the `depcomp' script will be distributed only by
	`subdir/Makefile', not by the top-level Makefile.  This change
	can be seen as an internal detail though, and definitely warranted
	by the nice simplifications the current commit provides.
	* automake.in ($automake_will_process_aux_dir): Variable removed.
	(scan_autoconf_files): Adjust and simplify.
	(handle_makefiles_threaded): Likewise.
	(get_number_of_threads): Likewise.
	(require_file_internal): Likewise.
	(maybe_push_required_file): Its return value is not used anymore,
	so return nothing.  Add special handling for distributed files from
	`$config_libobj_dir'.  Also, catch "this can't happen" situations,
	and abort accordingly.  Fix function description to better fit its
	new role.
	* tests/libobj19.test: Extend to also check situations where the
	Makefile.am using $(LIBOBJS) is not the top-level one.
	* tests/distcom6.test: Delete, merged into ...
	* tests/distcom2.test: ... this test, which has been update to
	account for the changed automake semantics.
	* tests/Makefile.am (TESTS): Update.
	* NEWS: Update.

2011-10-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	dist: auxiliary files can be distributed from subdir Makefiles
	With this change, we make it possible for a subdir Makefile.am
	to distribute files in the config auxdir; while this means that
	some files might be copied multiple times, it simplify some logic
	in the automake script, and fix at least one important bug.  In
	fact, before this change, the auxiliary script `test-driver' was
	not being distributed as expected when TESTS was defined only in
	a subdir Makefile (which is a pretty common setup indeed).  Now
	this does not happen anymore: so the present change fixes automake
	bug#9546.
	Another welcome collateral effect is that `dist-auxfile-2.test'
	now passes.
	OTOH, the present changes *breaks threaded automake*.  The reason
	is that automake needs to serialize file installations spawned
	by `--add-missing' (this isn't for cosmetic reasons, but is
	really needed to avoid possible race conditions and botched output
	files).  Currently the code that installs required files is
	intertwined with the code that declares the DIST_COMMON variables;
	so, upon de-serialization, the definition of DIST_COMMON might get
	emitted in the wrong Makefile.in.
	Some follow-up refactoring in automake will soon take care of
	remedying this situation.  For the moment, we just declare some
	"parallel-am" tests as xfailing.
	* automake.in (maybe_push_required_file): Add ad-hoc handling for
	the case where the directory part of the required file is different
	from the subdir where the current Makefile.am resides, but is equal
	to the "config-aux directory" ($config_auxdir).  This is needed to
	allow a construct in a non-top-level Makefile.am to require a file
	in the config-aux directory.
	* tests/test-driver-is-distributed.test: Extend and adjust.  This
	test now passes.
	* tests/java-compile-run-nested.test: Call automake with the `-a'
	option to ensure that the `test-driver' auxiliary script gets
	correctly installed.  This test now passes.
	* tests/distcom-subdir.test: New test.
	* tests/dist-readonly.test: Likewise.
	* tests/dist-repeated.test: Likewise.
	* tests/dist-auxdir-many-subdirs.test: Likewise.
	* tests/distcom7.test: Removed, it's obsolete now.
	* tests/Makefile.am (TESTS, XFAIL_TESTS): Update.

2011-10-11  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: conditional contents in LOG_DRIVER variables
	* tests/test-driver-cond.test: New test.
	* tests/Makefile.am (TESTS): Add it.

2011-10-11  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: LOG_DRIVER variables can be defined through AC_SUBST
	* tests/test-driver-acsubst.test: New test.
	* tests/Makefile.am (TESTS): Add it.

2011-10-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	parallel-tests: warn on conditional TEST_EXTENSIONS definition
	Before this change, automake would have still bailed out, but
	with a confusing error message (about an invalid redefinition
	of TEST_EXTENSIONS).
	* automake.in (handle_tests): Warn explicitly if TEST_EXTENSIONS
	has conditional contents.
	* tests/test-extensions-con.test: New test.
	* tests/Makefile.am (TESTS): Add it.
	* NEWS: Update.

2011-10-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	parallel-tests: don't allow @substitutions@ in TEST_EXTENSIONS
	Even after the last commit `v1.11-476-g90bea64', the checks
	performed by automake on entries in $(TEST_EXTENSIONS) tried to
	allow for @substitited@ stuff.  This however ends up allowing
	quite brittle setups, which, most importantly, are of no real
	practical usefulness anyway.  So it's better to just disallow
	@substitutions@ in TEST_EXTENSIONS altogether, offering a clear
	error message, instead of risking weird bugs and unexpected
	behaviors in the generated Makefile.in.
	* automake.in ($TEST_EXTENSION_PATTERN): Turned from a regular
	expression ...
	(is_valid_test_extension): ... into this subroutine.  Don't allow
	generic @substitutions@ anymore (possibly making an exception for
	`@EXEEXT@' under the proper circumstances).
	* tests/test-extensions.test: Adjust and extend.  This test does
	not cause any internal error in automake anymore now.

2011-10-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failure in 'insthook.test'
	* tests/insthook.test (Makefile.am): Add a proper `uninstall-hook'
	target to remove the symlink created by the `install-exec-hook'
	target; this prevents "make distcheck" from failing spuriously.
	Since we are at it, delete an extra blank line, and add a trailing
	`:' command.

2011-10-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	maintcheck: fix spurious failure
	* lib/am/distdir.am: Use `$(infodir)', not `${infodir}', to avoid
	complaints from the `sc_no_brace_variable_expansions' maintainer
	check.

2011-10-18  Stefano Lattarini  <stefano.lattarini@gmail.com>

	* tests/yacc-dist-nobuild.test: Add reference to relevant bug#7884.

2011-10-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious error in 'test-extensions.test'
	* tests/test-extensions.test: Call automake with the option
	`--add-missing', to ensure the required script `test-driver'
	gets installed.  Note that the test still fails due to an
	internal error in automake, though.

2011-10-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: avoid few useless uses of the `-e' make option
	* tests/python12.test: Using `make -e' is not required to override
	the DESTDIR variable, since this variable shouldn't be defined in
	any automake-generated Makefile.in file.
	* tests/man2.test: Likewise.
	* tests/man5.test: Likewise.

2011-10-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	fix: make a test script executable
	* tests/nobase-nodist.test: Make executable.

2011-10-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: expose automake bug#9651
	* tests/dist-auxfile.test: New test, xfailing.
	* tests/dist-auxfile-2.test: Likewise.
	* tests/Makefile.am (TESTS, XFAIL_TESTS): Add them.

2011-10-01  Stefano Lattarini  <stefano.lattarini@gmail.com>

	parallel-tests: automake error our on invalid TEST_EXTENSIONS
	This change fixes automake bug#9400.
	* automake.in (handle_tests): Bail out if a suffix specified in
	TEST_EXTENSIONS would produce an invalid `xxx_LOG_COMPILER'
	variable or an invalid suffix rule.  Before this change, automake
	would have issued a confusing error messages (about invalid or
	non-POSIX variables being defined), and in some situations would
	have even produced a broken `Makefile.in' file.
	($TEST_EXTENSION_PATTERN): New helper variable.
	* doc/automake.texi (Simple Tests using parallel-tests): Document
	the limitations on TEST_EXTENSIONS explicitly.
	* NEWS: Update.
	* tests/test-extensions.test: New test.
	* tests/Makefile.am (TESTS): Update.

2011-09-28  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs: don't suggest installing `.m4' files in hard-coded location
	This change fixes automake bug#7988.
	* doc/automake.texi (aclocal Options): State that the use of
	the `--print-ac-dir' option to determine the directory where
	third-party packages can install their `.m4' files is discouraged
	now.
	(Extending aclocal): Suggest telling the user about ACLOCAL_PATH.
	* THANKS: Update.
	Report by Peter Johansson.

2011-09-26  Stefano Lattarini  <stefano.lattarini@gmail.com>

	distuninstallcheck: fail also when only one file is left installed
	This change fixes automake bug#9579.
	* lib/am/distdir.am (distuninstallcheck): Be stricter in ignoring
	a potential `dir' file created by install-info and left installed.
	Also, be more careful about "this can't happen" kind of errors.
	(am__distuninstallcheck_listfiles): New internal helper macro.
	* tests/distcheck-pr9579.test: New test.
	* tests/distcheck-override-infodir.test: Likewise.
	* tests/Makefile.am (TESTS): Add them.
	* NEWS, THANKS: Update.
	Report by Nick Bowler.

2011-09-28  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/awk: improve comments about Korn shell signal handling issues
	* lib/tap-driver.sh: Link an Austin Group discussion about how
	shells are allowed, and even encouraged, to set the special
	variable `$?' to values greater than 256 to report termination
	of a child by a signal.  Improve and extend comments about our
	workarounds for unusual korn shell signals' propagation.
	Thanks to Eric Blake for the pointers.

2011-09-28  Stefano Lattarini  <stefano.lattarini@gmail.com>

	maintcheck: fix usage of `cd' instead of `$(am__cd)'
	* lib/am/inst-vars.am (am__uninstall_files_from_dir): Use
	`$(am__cd)', not plain `cd'.

2011-09-28  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/awk: account for unusual korn shell signal handling behaviour
	This change has been motivated by a testsuite failure on Debian
	with the AT&T Korn Shell version 93u-1.
	* lib/tap-driver.sh: Temporarily ignore some common signals when
	waiting for the test command to complete, to avoid premature exit
	in Korn shells that propagate to themselves signals that have
	killed a child process.
	See also related commit `v1.11-1342-g6321ad3'.

2011-09-28  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/awk: handle exit statuses > 256 (seen on few korn shells)
	Some Korn shells, when a child process die due to signal number
	n, can leave in $? an exit status of 256+n instead of the more
	standard 128+n.  Apparently, both behaviours are allowed by
	POSIX, so be prepared to handle them both.
	This change has been motivated by a testsuite failure on Debian
	with the AT&T Korn Shell version 93u-1.
	* lib/tap-driver.sh (get_test_exit_message): Handle the described
	Korn Shell behaviour too.
	($scriptversion): Update.

2011-09-28  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: remove redundant workaround for Solaris /bin/sh
	After previous commit `v1.11-1424-g27a399a', some workarounds for
	Solaris 10 /bin/sh are no more required, and in fact they have
	started causing XPASS results on Solaris.
	* tests/tap-signal.tap: Remove unneeded workarounds for Solaris 10
	/bin/sh.  Some related minor code reorganizations.

2011-09-24  Stefano Lattarini  <stefano.lattarini@gmail.com>

	uninstall: "make uninstall" before "make install" works
	This change fixes automake bug#9578.
	* lib/am/inst-vars.am (am__uninstall_files_from_dir): New internal
	macro, that defines a shell code fragment to uninstall files from
	a given directory.
	* lib/am/data.am (uninstall-%DIR%%PRIMARY%): Use it, to reduce code
	duplication and improve consistency and correctness.
	* lib/am/libs.am (uninstall-%DIR%LIBRARIES): Likewise.
	* lib/am/lisp.am (uninstall-%DIR%LISP): Likewise.
	* lib/am/mans.am (uninstall-man%SECTION%): Likewise.
	* lib/am/python.am (uninstall-%DIR%LIBRARIES): Likewise.
	* lib/am/scripts.am (uninstall-%DIR%SCRIPTS): Likewise.
	* tests/uninstall-pr9578.test: New test.
	* tests/uninstall-fail.test: New test.
	* tests/Makefile.am (TESTS): Add them.
	* NEWS, THANKS: Update.
	Report by Nick Bowler.

2011-09-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix tests on aclocal search path precedences
	* tests/aclocal-path-precedence.test: Call `$ACLOCAL' with the
	proper overridden system acdir.

2011-09-28  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failures in tests on TAP + signals
	* tests/tap-signal.tap: Write the dummy test scripts as perl
	scripts, not as shell scripts, to work around unportabilities
	in the handling of signals.  In fact, even with bash, the older
	script were unable to properly deliver a SIGQUIT to themselves
	consistently.

2011-09-26  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failure in test on ACLOCAL_PATH precedences
	* tests/aclocal-path-precedence.test: Do not merely append to
	`configure.in', it should be created from scratch.  Pass package
	name and version to AC_INIT as arguments, otherwise autoconf will
	complain.

2011-09-20  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs: remove mention of deprecated option `--acdir'
	* doc/automake.texi (aclocal Options): Remove mention of
	deprecated `--acdir' option.

2011-09-20  Stefano Lattarini  <stefano.lattarini@gmail.com>

	* NEWS: Cleanup after botched merges.

2011-09-20  Stefano Lattarini  <stefano.lattarini@gmail.com>

	* NEWS: Fix typo.

2011-09-20  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs: document planned precedence changes in aclocal search path
	* doc/automake.texi (Macro Search Path): Explicitly state that the
	lookup order for extra directories of `.m4' files will be changed
	in the next major release.
	* NEWS: Likewise.

2011-09-19  Paolo Bonzini  <bonzini@gnu.org>
	    Stefano Lattarini  <stefano.lattarini@gmail.com>

	aclocal: handle ACLOCAL_PATH environment variable
	* aclocal.in (parse_ACLOCAL_PATH): New function, parse ACLOCAL_PATH
	as a colon-separated list of directories to be included in the
	search path.
	* doc/automake.texi (Macro Search Path): Document new behavior and
	the precedence rules for various elements of the search path.
	* tests/aclocal-path.test: New test.
	* tests/aclocal-path-install.test: Likewise.
	* tests/aclocal-path-install-serial.test: Likewise.
	* tests/aclocal-path-precedence.test: Likewise.
	* tests/aclocal-path-nonexistent.test: Likewise.
	* tests/Makefile.am (TESTS): Add them.
	* NEWS: Update.
	* tests/distcheck-missing-m4.test: Extend by also checking
	interactions with ACLOCAL_PATH.
	* tests/distcheck-outdated-m4.test: Likewise, and fix a couple
	of botched comments since we are at it.

2011-09-19  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failure in 'primary-prefix-valid-couples.test'
	* tests/primary-prefix-valid-couples.test: After commit
	v1.11-464-gc9dfc36, `java_JAVA' is not a valid prefix/primary
	combination by default anymore: one has to explicitly define
	$(javadir) to make it so.  So just drop `java_JAVA' from our
	Makefile.am  Also, since we are at it, ...
	(configure.in): ... remove AM_PROG_GCJ from here, as it's not
	really required.

2011-09-19  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs: deprecate JAVA primary
	* doc/automake.texi (Java): Deprecate the JAVA primary, stating
	that it will become obsolete in automake 1.12 and probably removed
	altogether in automake 1.13.  Reflect this in the section title,
	by appending the string "(deprecated feature)".
	(@menu, @detailmenu): Update.
	(Java Support with gcj): The cross-referenced support for bytecode
	compilation with the JAVA primary is rudimentary and deprecated.
	State that explicitly.

2011-09-19  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs: clearer distinction between `.java' with javac and with gcj
	* doc/automake.texi (Java support): Rename this node ...
	(Java support with gcj): ... to this, and change its title from
	"Compiling Java sources" to "Compiling Java sources using gcj".
	(@detailmenu, @menu, @cindex): Update and make more precise.
	(Java): Change the title of this node from simply "Java" to
	"Java bytecode compilation".
	(@detailmenu, @menu, @cindex): Update and make more precise.

2011-09-18  Stefano Lattarini  <stefano.lattarini@gmail.com>

	java: complain if java_JAVA is used but $(javadir) is undefined
	Fixes automake bug#8461.
	* automake.in (handle_java): Remove inappropriate "java" argument
	from the calls to `&am_install_var' and `&am_primary_prefixes'.
	* tests/instdir-java.test (Makefile.am): Define `$(javadir)'.
	* tests/javadir-undefined.test: New test.
	* tests/Makefile.am (TESTS): Add it.
	* NEWS: Update.

2011-09-18  Stefano Lattarini  <stefano.lattarini@gmail.com>

	parallel-tests: expose automake bug#9546
	* tests/test-driver-is-distributed.test: New test.
	* tests/Makefile.am (TESTS, XFAIL_TESTS): Add it.

2011-09-18  Stefano Lattarini  <stefano.lattarini@gmail.com>

	py-compile tests: more faithful 'installcheck' support
	* tests/py-compile-basedir.test: Use the `$am_scriptsdir' variable
	instead of `$testsrcdir/../lib', to test more faithfully under
	"make installcheck".  More uses of the `fatal_' subroutine to
	diagnose hard errors.
	* tests/py-compile-basic.test: Likewise.
	* tests/py-compile-basic2.test: Likewise.
	* tests/py-compile-destdir.test: Likewise.
	* tests/py-compile-env.test: Likewise.
	* tests/py-compile-option-terminate.test: Likewise.
	* tests/py-compile-usage.test: Likewise.

2011-09-18  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: remove redundant settings of `errexit' shell flag
	* tests/aclocal-acdir.test: Do not set the `errexit' shell
	flag, as it is already set by `tests/defs'.
	* tests/aclocal-print-acdir.test: Likewise.
	* tests/distcheck-missing-m4.test: Likewise.
	* tests/distcheck-outdated-m4.test: Likewise.
	* tests/java-clean.test: Likewise.
	* tests/java-compile-install.test: Likewise.
	* tests/java-compile-run-flat.test: Likewise.
	* tests/java-compile-run-nested.test: Likewise.
	* tests/java-mix.test: Likewise.
	* tests/java-no-duplicate.test: Likewise.
	* tests/java-nobase.test: Likewise.
	* tests/java-rebuild.test: Likewise.
	* tests/java-sources.test: Likewise.
	* tests/java-uninstall.test: Likewise.
	* tests/javaflags.test: Likewise.
	* tests/nobase-nodist.test: Likewise.
	* tests/py-compile-basedir.test: Likewise.
	* tests/py-compile-basic.test: Likewise.
	* tests/py-compile-basic2.test: Likewise.
	* tests/py-compile-destdir.test: Likewise.
	* tests/py-compile-env.test: Likewise.
	* tests/py-compile-option-terminate.test: Likewise.
	* tests/py-compile-usage.test: Likewise.  Since we are at it,
	add an extra blank line, for clarity.

2011-09-16  Stefano Lattarini  <stefano.lattarini@gmail.com>

	automake: remove special handling of `ANSI2KNR' make variable
	* automake.in (define_configure_variable): Remove special-cased
	handling of `ANSI2KNR' variable.  Related minor simplifications.

2011-09-18  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: test interactions of `nobase_' and `nodist_'
	* tests/nobase-nodist.test: New test.
	* tests/Makefile.am (TESTS): Add it.

2011-09-18  Stefano Lattarini  <stefano.lattarini@gmail.com>

	java: fix various blunders in test 'java-mix.test'
	* tests/java-mix.test: Add missing call to `set -e'.  Fix inverted
	semantics (`.java' files are expected *not* to be distributed by
	default, not the other way round).  Fix various typos in the name
	of the `.java' files.  Correct other minor blunders.  Improve some
	comments.

2011-09-15  Stefano Lattarini  <stefano.lattarini@gmail.com>

	automake: remove code duplication in 'handle_tests'
	* automake.in (handle_tests): Factor out some code dealing with
	test extensions and rules for generation of `.log' files into ...
	(handle_per_suffix_test): ... this new subroutine.
	* tests/parallel-tests-exeext.test: New test.
	* tests/Makefile.am (TESTS): Update.

2011-09-13  Peter Rosin  <peda@lysator.liu.se>

	* tests/defs [$sh_errexit_works = yes]: Output 'SIGINT' for signal 2.

2011-09-13  Stefano Lattarini  <stefano.lattarini@gmail.com>

	self tests: work around 'unset' spurious non-zero return value
	* tests/self-check-exit.tap ($init): Unset the possibly	already
	unset variable `am_explicit_skips' when the `errexit' shell flag
	is not yet active, for the benefit of shell that return a non-zero
	status when unsetting an already-unset variable.

2011-09-13  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: an explicative comment on signal-related woes
	* tests/self-check-exit.tap: Add pointer to a bug-autoconf
	discussion explaining why this test needs to temporarily block
	SIGINT.

2011-09-13  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: also trap SIGQUIT; other fixes
	Some shells seems to just ignore SIGQUIT under some circumstances,
	even when it is not blocked; however, if the signal it trapped,
	the trap gets correctly executed.
	* tests/defs [$sh_errexit_works = yes]: Also trap SIGQUIT. Add
	extensive explanation of why we do so.
	* tests/self-check-cleanup.tap: Improve and fix to ensure that an
	earlier failure does not prevent the rest of the test to execute.
	Problem revealed by a failure in `self-check-cleanup.tap'.

2011-09-13  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: work around weird ksh behaviour w.r.t. signal handling
	* tests/defs (is_blocked_signal): Use perl to determine whether a
	signal is trapped, since trying to do it portably within the shell
	means opening a nasty can of worms.
	For more information and background, see:
	 <http://lists.gnu.org/archive/html/bug-autoconf/2011-09/msg00004.html>
	 <http://mail.opensolaris.org/pipermail/ksh93-integration-discuss/2009-February/004121.html>
	 <http://www.cons.org/cracauer/sigint.html>

2011-09-12  Stefano Lattarini  <stefano.lattarini@gmail.com>

	cosmetics: fix various typos and grammaros
	* NEWS: Fix typos.
	* tests/py-compile-basic.test: Likewise.
	* tests/py-compile-basedir.test: Fix botched wording in comments.
	* tests/py-compile-option-terminate.test: Fix typo and incomplete
	comment.
	Suggestions by Peter Rosin.

2011-09-12  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: remove redundant line from a test script
	* tests/test-log.test (fail.test): Remove extra `echo' command,
	probably due to a past copy&paste blunder.

2011-09-11  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: convert another test to TAP
	* tests/primary-prefix-invalid-couples.test: Renamed ...
	* tests/primary-prefix-invalid-couples.tap: ... to this, and
	converted to the use of the TAP protocols (this requires only
	very minimal changes this time).
	* tests/list-of-tests.mk: Update.

2011-09-11  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failure on fast machines
	* tests/aclocal-acdir.test: Avoid spurious failures due to caching
	issues, by cleaning the autom4te cache between all the aclocal
	invocations, and by always calling autoconf with the `--force'
	flag.

2011-09-10  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: minor optimizations/simplifications in some aclocal tests
	* acloca11.test: Instead of running ./configure and then grepping
	the file it has produced, directly grep configure.  Add trailing
	`:' command.
	* acloca12.test: Likewise.
	* acloca10.test: Likewise.  Also, remove the autom4te caches
	by hand, instead of sleeping to ensure they get outdated and
	ignored.
	* aclocal9.test: Likewise.
	* acloca18.test: Likewise.  Also, do not remove file `foo',
	which is not being created anymore.
	* acloca20.test: The test makes sense only if the system support
	real symlinks, so skip it if this is not the case.  This allows
	for various simplifications.

2011-09-10  Stefano Lattarini  <stefano.lattarini@gmail.com>

	prove: avoid weird signal-related bug
	* tests/defs (trap): In the trap code dealing with SIGPIPE
	signal, ignore further signals of the same kind.
	See also Test::Harness issue [rt.cpan.org #70855], archived at
	<https://rt.cpan.org/Ticket/Display.html?id=70855>

2011-09-10  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: allow use of `prove' to run automake testsuite
	* tests/prove-runner: New helper script; mostly it wraps
	our `*.test' test scripts to make them runnable by the
	`prove' utility.
	* tests/Makefile.am (EXTRA_DIST): Distribute it.
	(PROVE, AM_PROVEFLAGS, AM_PROVECMD): New variables.
	(prove, installprove): New targets, used run the automake
	testsuite through the `prove' utility.
	* tests/gen-testsuite-part: For any considered dependency,
	generate a variables that groups all the tests depending on
	it.  This is especially useful for use in the new `prove'
	and `installprove' targets, which cannot rely on make for
	inter-test dependencies, and have to handle them "by hand".

2011-09-10  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests defs: more namespace-safeness
	($using_tap): Renamed ...
	($am_using_tap): ... to this.
	($parallel_tests): Renamed ...
	($am_parallel_tests): ... to this.
	($test_prefer_config_shell): Renamed ...
	($am_test_prefer_config_shell): ... to this.
	($original_AUTOMAKE): Renamed ...
	($am_original_AUTOMAKE): ... to this.
	($original_ACLOCAL): Renamed ...
	($am_original_ACLOCAL): ... to this.
	* tests/defs, tests/defs-static.in, tests/gen-testsuite-part,
	tests/README, and all callers: Adjusted.
	* tests/Makefile.am (AM_TESTS_ENVIRONMENT): Adjust, and rewrite
	to make future adjustments easier.
	* tests/defs (funcs_file_): Renamed ...
	(am_funcs_file): ... to this.
	* Makefile.am (sc_tests_obsolete_variables): New maintainer
	check.
	(syntax_check_rules): Add it.

2011-09-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	aclocal: better URL reference in error message
	* aclocal.in (scan_file): In the error message about underquoted
	definitions, reference the automake page at `www.gnu.org', not
	at `sources.redhat.com'.

2011-09-10  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: avoid creating useless files in some test directories
	* tests/aclocal.test: Define `$am_create_testdir' to "empty"
	before sourcing ./defs, to avoid bringing in unused auxiliary
	files.  Related adjustments.
	* tests/aclocal3.test: Likewise.
	* tests/aclocal8.test: Likewise.
	* tests/aclocal9.test: Likewise.
	* tests/acloca10.test: Likewise.
	* tests/acloca11.test: Likewise.
	* tests/acloca12.test: Likewise.
	* tests/acloca15.test: Likewise.
	* tests/acloca16.test: Likewise.
	* tests/acloca17.test: Likewise.
	* tests/acloca18.test: Likewise.
	* tests/acloca20.test: Likewise.
	* tests/acloca21.test: Likewise.
	* tests/acloca23.test: Likewise.
	* tests/aclocal-print-acdir.test: Likewise.
	* tests/ar-lib.test: Likewise.
	* tests/compile.test: Likewise.
	* tests/compile2.test: Likewise.
	* tests/compile3.test: Likewise.
	* tests/compile6.test: Likewise.
	* tests/instsh2.test: Likewise.
	* tests/instsh3.test: Likewise.
	* tests/mdate5.test: Likewise.
	* tests/mdate6.test: Likewise.
	* tests/missing3.test: Likewise.
	* tests/missing5.test: Likewise.
	* tests/mkinst3.test: Likewise.
	* tests/self-check-explicit-skips.test: Likewise.
	* tests/self-check-report.test: Likewise.
	* tests/self-check-sanity.test: Likewise.
	* tests/tap-driver-stderr.test: Likewise.

2011-09-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: more environment cleanup
	* tests/defs: Also unset the XFAIL_TESTS, and various
	LOG_DRIVER, LOG_COMPILER variables (and corresponding
	flags variable).

2011-09-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: allow depmod.tap to only run a subset of its tests
	* tests/depmod.tap: If command-line arguments are passed to the
	tests, they are now taken as the list of test names for which the
	checks are to be run.

2011-09-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: allow instspc.tap to only run a subset of its tests
	* tests/instspc.tap: If command-line arguments are passed to the
	tests, they are now taken as the list of test names for which the
	checks are to be run.

2011-09-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: distcheck-hook to catch missing/outdated *.m4 files
	Related to automake bug#9037.
	* tests/distcheck-missing-m4.test: New test.
	* tests/distcheck-outdated-m4.test: Likewise.
	* tests/distcheck-hook-m4.am: New data file, used by the new
	tests.
	* tests/Makefile.am (distcheck-m4-missing.log,
	distcheck-m4-outdated.log): Depend on it.
	(EXTRA_DIST): Distribute it.
	(TESTS): Add the new tests.

2011-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: more granularity in variables for tools overriding
	Among the other things, this change makes it possible to use, at
	the same time, an autoconf version in the automake testsuite and
	another one in the automake build system; even more importantly, it
	makes it possible to use, say, a non-GNU make implementation in the
	test scripts, while at the same time using GNU make to drive the
	execution of the automake's test suite.
	* tests/defs-static.in (TEX, EGREP, FGREP, SHELL, PERL, MAKE,
	AUTOCONF, AUTOM4TE, AUTORECONF, AUTOHEADER, AUTOUPDATE,
	original_AUTOMAKE, original_ACLOCAL): Allow and prefer overriding
	through corresponding `AM_TESTSUITE_..' variables; for example,
	$GREP can now be overridden by an exported `$AM_TESTSUITE_GREP'

2011-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: fix `skip_row_' subroutine in tap-functions.sh
	* tests/tap-functions.sh (skip_row_): Use `seq_', not `seq', to
	be portable to non-GNU systems.
	Bug revealed by a testsuite error on Solaris.

2011-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	installcheck: support it in our own testsuite
	* NEWS: Update.
	* tests/defs-static.in ($am_running_installcheck): New variable.
	Initialize it to a default of "no", and sanity-check its value.
	($am_datadir, $am_docdir, $am_automake_acdir, $am_system_acdir,
	$am_bindir, $am_scriptdir, $am_pkgvdir): New variables,
	initialized from AC_SUBST'ed values which are adaptively chosen
	depending on whether the testsuite is running in "simple" mode
	or in "installcheck" mode.
	($MISSING): Remove, it's not really required by the testsuite.
	($PATH): Update using `$am_bindir', not `$testbuilddir'.
	* Makefile.am (installcheck-local): New target.
	* lib/Automake/tests/Makefile.am (installcheck-local): New target.
	(AM_TESTS_ENVIRONMENT, AM_PL_LOG_FLAGS): Adaptively choose the
	`-I' flags for perl based on whether the tests are being run by
	"make check" or "make installcheck".
	* tests/Makefile.am (installcheck-local): New target.
	(defs-static): Generate it at make time, not at configure time,
	in order to correctly resolve all the indirections in the
	AC_SUBST'd variables; done with the help of ...
	(do_subst): ... this new macro.
	(EXTRA_DIST): Explicitly distribute `defs-static.in'.
	(CLEANFILES): Remove `defs-static'.
	* configure.ac (AC_CONFIG_FILES): Remove `tests/defs-static'.
	(AC_SUBST): Substitute also `automake_acdir', `system_acdir',
	`scriptdir' and `amdir' to proper values.
	* lib/Makefile.am (scriptdir):  Don't explicitly define anymore.
	* lib/am/Makefile.am (amdir): Likewise.
	* m4/acdir/dirlist: Remove, it's not needed anymore.  Instead
	use ...
	* m4/acdir/.placeholder: ... this file.
	* m4/Makefile.am (EXTRA_DIST): Update.
	(automake_acdir, system_acdir): Don't explicitly define anymore.
	* tests/aclocal-print-acdir.test: Use new `$am_...dir' variables,
	instead of hard-coding values with $testsrcdir and $testbuilddir,
	to test more faithfully under "make installcheck".
	* tests/amhello-binpkg.test: Likewise.
	* tests/amhello-cflags.test: Likewise.
	* tests/amhello-cross-compile.test: Likewise.
	* tests/ansi2knr-no-more.test: Likewise.
	* tests/autodist-stamp-vti.test: Likewise.
	* tests/auxdir.test: Likewise.
	* tests/check2.test: Likewise.
	* tests/copy.test: Likewise.
	* tests/multlib.test: Likewise.
	* tests/obsolete.test: Likewise.
	* tests/parallel-tests-interrupt.test: Likewise.
	* tests/repeated-options.test: Likewise.
	* tests/suffix5.test: Likewise.
	* tests/tap-doc2.test: Likewise.
	* tests/txinfo22.test: Likewise.
	* tests/vtexi3.test: Likewise.
	* tests/defs: Likewise.  Also, print the values of `$using_tap'
	and `$am_running_installcheck', to simplify debugging, and do
	some related code movings and tweakings.
	* tests/aclocal3.test: Update to avoid possible spurious failures
	when running under "make installcheck".
	* tests/warnings-unknown.test: Likewise.
	* tests/location.test: Likewise, and improve debugging input since
	we are at it.
	* tests/acloca10.test: Adapt and tweak to work also during a
	"make installcheck", and not to require a pre-populated `dirlist'
	file.
	* tests/acloca18.test: Likewise.
	* tests/dirlist2.test: Likewise.
	* tests/dirlist.test: Likewise, and remove an obsolete comment.
	* tests/README: Update.
	* tests/dirlist-abspath.test: New test.
	* tests/list-of-tests.mk: Update.

2011-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	maintcheck: fix spurious failures
	* tests/gen-testsuite-part (write_wrapper_script): More uses of
	creative quoting in the generated tests, to avoid triggering
	failures in the `sc_tests_Exit_not_exit' maintcheck.
	* Makefile.am (sc_tests_tap_plan): It's OK for auto-generated
	TAP tests that sources an hand-written one not to declare a TAP
	plan: the sourced test will do so.
	* tests/Makefile.am (checked_test_extensions): Don't define
	anymore, the default value `$(TEST_EXTENSIONS)' is correct now.
	(expected_list_of_tests): Don't define anymore, the default
	value `$(TESTS)' is correct now.

2011-09-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	aclocal: more granularity in acdir overriding
	Before this change, using the `--acdir' option caused aclocal to
	redefine both the directory of automake-provided m4 macros and the
	directory of third-party system-wide m4 macros.  With this change,
	we deprecate the `--acdir' aclocal option, and introduce two new
	options `--automake-acdir' and `--system-acdir', to allow for more
	granularity.
	* aclocal.in (@automake_includes, @system_includes,
	@user_includes): Fix and extend comments.
	(usage): Update.
	(handle_acdir_option): New function.
	(parse_arguments): Recognize new options `--system-acdir' and
	`automake-acdir', and handle `--acdir' using the new function
	above.  Simplify logic by assuming that the directory of
	third-party system-wide m4 files always exists.
	* tests/aclocal.in: Update to use the new options, instead of
	the deprecated. `--acdir'.
	* m4/dirlist: Move ...
	* m4/acdir/dirlist: ... here.
	* m4/Makefile.am (EXTRA_DIST): Update.
	(m4datadir): Rename ...
	(automake_acdir): ... to this.  Accordingly, ...
	(dist_m4data_DATA): ... rename this ...
	(dist_automake_ac_DATA): ... to this.
	(system_acdir): New, directory.
	(dist_system_ac_DATA): New, defined to an empty value; this will
	ensure that the $(system_acdir) directory will be created by
	"make install".
	* tests/aclocal.test: Remove check about the `--print-ac-dir'
	option of aclocal, it has been moved into ...
	* tests/aclocal-print-acdir.test: ... this new test, and quite
	extended.
	* tests/aclocal-acdir.test: New test.
	* tests/Makefile.am (TESTS): Add the new tests.
	* NEWS, bootstrap: Update.
	* doc/automake.texi (aclocal Options, Macro Search Path): Update.

2011-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	cosmetic: rename gen-tests-deps -> gen-testsuite-part
	* tests/gen-tests-deps: Renamed ...
	* tests/gen-testsuite-part: ... to this.
	* bootstrap: Update.
	* tests/Makefile.am ($(srcdir)/tests-deps.am): Don't generate
	nor include this ...
	($(srcdir)/testsuite-part.am): ... do with this instead.
	* tests/.gitignore (tests-deps.am): Don't ignore this ...
	(testsuite-part.am): ... ignore this instead.

2011-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: revamp generation of autogenerated tests
	With this change, we make generated tests be real scripts again
	-- albeit only thin layers around the tests they wrap.  It turned
	out that the apparently clever tricks we played by having lots
	of custom (and auto-generated) `..._LOG_COMPILER' variables and
	by having the tests in $(wrap_TESTS) not being real on-file-system
	scripts caused more pain and confusion than expected, for only
	marginal gains.  Also, that previous setup didn't interact very
	well with "make check RECHECK_LOGS=", since the log files for
	the "wrappee" tests were always considered out-of-date (which in
	hindsight is natural, since these log files depended on wrappee
	tests that didn't exist -- and weren't created).  And finally, it
	wasn't possible to easily and naturally run the wrappee tests
	from the command line -- definitely harmful for debugging and
	sanity checking.
	* tests/gen-wrap-tests: Deleted, its role subsumed into ...
	* tests/gen-tests-deps: ... this script, with the help of
	(unindent, atomic_write, build_matcher, write_wrapper_script,
	%test_generators): ... these new functions and variables.
	Other few minor fixlets and improvements.
	* tests/wrap-tests.sh: Delete, not needed anymore.
	* tests/Makefile.am ($(srcdir)/wrap-tests.am): Don't generate
	nor include anymore.
	(EXTRA_DIST): Update.
	(wrap_TESTS): Renamed to ...
	(generated_TESTS): ... this.
	($(generated_TESTS)): Must have the same dependencies of
	`$(srcdir)/tests-deps.am'.
	Other minor related reordering and adjustments.
	* bootstrap: Do not generate `wrap-tests.am' anymore.
	* tests/.gitignore (wrap-tests.am): Don't ignore anymore.
	(*-w.test, *-w.tap): Ignore.
	* tests/README: Update paragraph on automatically-generated
	tests.

2011-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: automatize generation of dependencies for tests
	* tests/gen-test-deps: New script, automatically generates
	dependencies for the tests.
	* tests/Makefile.am (EXTRA_DIST): Distribute it.
	($(srcdir)/tests-deps.am): New rule.
	(include $(srcdir)/tests-deps.am): New inclusion.
	Remove hand-written dependencies for tests.  Other related
	updates.
	* tests/list-of-tests (tap_with_common_setup_TESTS,
	tap_other_TESTS): Delete, their content merged back into ...
	(handwritten_TESTS): ... this.
	* tests/.gitignore (tests-deps.am): New ignored file.
	* bootstrap: Generate `tests/tests-deps.am'.

2011-09-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: avoid spurious failure due to bug in older TAP::Parser
	Older TAP::Parser versions (e.g., 3.10) erroneously convert a test
	number `0' into `1'; do not let this bug cause a spurious failure
	in our testsuite.
	* tests/tap-test-number-0.test: Skip if the aforementioned
	TAP::Parser bug is detected.

2011-09-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/perl: be more portable to older perl versions
	* lib/tap-driver.pl (trap_perl_warnings_and_errors): Do not use
	the three-args version of the `open' builtin, it is not well
	supported by older perl versions (at least perl 5.6.2).
	(start): Add a no-op statement to pacify a "possible typo ... used
	only once" perl warning.

2011-09-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/perl: be more portable to older TAP::Parser versions
	* lib/tap-driver.pl (start): Do not call the `ignore_exit' method
	on our TAP parser: it is not supported in older TAP::Parser
	versions (e.g., 3.10), and is not really required by our usage of
	the parser object.

2011-09-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious Cygwin failure of a test on TAP support
	* tests/tap-bad-prog.tap (noexec.test): Add forgotten `echo'.
	When trying to run it, redirect its output to /dev/null, to
	avoid confusing automake's testsuite own TAP driver.

2011-09-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: fix glitch in TAP version of `warn_' function
	* tests/tap-functions.sh (warn_): Do not display the warning
	message two times.

2011-09-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix another spurious failure due to ignored signals
	* tests/tap-signal.test: Renamed ...
	* tests/tap-signal.tap: ... to this, converted to the use of the
	TAP protocol, and improved not to try to use/trap signals that
	are ignored by the parent shell (they will be forcibly ignored
	by all the child processes too).  Extend the test a bit since we
	are at it.
	* tests/list-of-tests.mk: Update.

2011-09-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix a spurious failure due to lacking Fortran compilers
	* tests/silent-many-generic.test (configure.in): Cause the test
	to be skipped if `configure' fails to find working C++, Fortran
	and Fortran 77 compilers.

2011-09-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	self tests: more use of TAP
	* tests/self-check-reexec.test: Renamed ...
	* tests/self-check-reexec.tap: ... to this, converted to the
	use of TAP protocol, and extended a bit.
	* tests/self-check-seq.test: Renamed ...
	* tests/self-check-seq.tap: ... to this, and converted to the
	use of TAP protocol.
	* tests/list-of-tests.mk: Update.

2011-09-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	self tests: fix spurious failures when /bin/ksh do not exists
	* tests/self-check-reexec.test: Ensure that the non-bash shells
	we look do really exists.  Since we are at it, also try the name
	`ash', non `dash', for the Almquist Shell, for Cygwin 1.5.

2011-09-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: more use of TAP in our own testsuite
	* tests/parallel-tests-interrupt.test: Renamed ...
	* tests/parallel-tests-interrupt.tap: ... to this, and converted
	to the use of TAP protocol.
	* tests/self-check-cleanup.test: Renamed ...
	* tests/self-check-cleanup.tap: ... to this, and converted to the
	use of TAP protocol.
	* tests/self-check-dir.test: Renamed ...
	* tests/self-check-dir.tap: ... to this, and converted to the use
	of TAP protocol.
	* tests/self-check-is_newest.test: Renamed ...
	* tests/self-check-is_newest.tap: ... to this, and converted to
	the use of TAP protocol.
	* tests/self-check-unindent.test: Renamed ...
	* tests/self-check-unindent.tap: ... to this, and converted to
	the use of TAP protocol.
	* tests/list-of-tests.mk: Update.

2011-09-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	self tests: sanity check on 'is_blocked_signal' function
	* tests/self-check-is-blocked-signal.tap: New test.
	* tests/list-of-tests.mk: Update.

2011-09-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failures due to ignored signals
	* tests/defs (is_blocked_signal): New function.
	* tests/parallel-tests-interrupt.test: Do not try to use/trap
	signals that are ignored by the parent shell: they will be
	ignored by all the child processes too.
	* tests/self-check-exit.test: Likewise.
	* tests/self-check-cleanup.test: Likewise, and do few minor
	improvements and extensions since we are at it.

2011-09-05  Peter Rosin  <peda@lysator.liu.se>

	* tests/amhello-binpkg.test: Add missing $EXEEXT usage.

2011-09-04  Stefano Lattarini  <stefano.lattarini@gmail.com>

	fix: list test 'vala-vpath.test' in XFAIL_TESTS
	* tests/Makefile.am (XFAIL_TESTS): Update.

2011-09-02  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: simplify wrapper for aclocal
	* tests/aclocal.in: Remove use of $ACLOCAL_TESTSUITE_FLAGS and
	extra `-I' flags; they are not really required, since the file
	`m4/amversion.m4' is generated in the srcdir anyway.
	* tests/acloca10.test: Remove use of $ACLOCAL_TESTSUITE_FLAGS.
	* tests/acloca18.test: Likewise.
	* tests/defs.in: Don't nullify $ACLOCAL_TESTSUITE_FLAGS, and do
	not export it.

2011-09-02  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: remove redundant settings of `errexit' shell flag
	* doc-parsing-buglets-colneq-subst.test: Do not set the
	`errexit' shell flag, as it is already set by `tests/defs'.
	* doc-parsing-buglets-tabs.test: Likewise.
	* java-empty-classpath.test: Likewise.
	* vala-vpath.test: Likewise.

2011-09-02  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: more uses of `$top_testsrcdir', in the `amhello' tests
	* tests/amhello-binpkg.test: Use `$top_testsrcdir' instead
	of `$testsrcdir/..'.
	* tests/amhello-cflags.test: Likewise.
	* tests/amhello-cross-compile.test: Likewise.

2011-09-02  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: avoid creating useless files in the `amhello' tests
	* tests/amhello-binpkg.test: Define `$am_create_testdir' to
	"empty" before sourcing ./defs, to avoid bringing in unused
	auxiliary files.
	* tests/amhello-cflags.test: Likewise.
	* tests/amhello-cross-compile.test: Likewise.

2011-09-02  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: vala support failing for VPATH from-scratch builds
	* tests/vala-vpath.test: New test, xfailing.
	* tests/Makefile.am (TESTS): Update.
	* THANKS: Update.
	From a report by Zbigniew Jędrzejewski-Szmek.
	Related to automake bug#8753.

2011-09-01  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs: report few more automake parsing limitations
	Partly motivated by automake bug#8360.
	* doc/automake.texi (General Operation): Report few more automake
	limitations w.r.t. parsing of unusual makefile constructs.  Related
	minor reorderings.
	* tests/doc-parsing-buglets-colneq-subst.test: New test.
	* tests/doc-parsing-buglets-tabs.test: Likewise.
	* tests/Makefile.am (TESTS): Update.

2011-09-01  Stefano Lattarini  <stefano.lattarini@gmail.com>

	automake: fix regression due to de-ansification support removal
	The last change `v1.11-947-g136b489' removed code that automake
	was using to decide whether binary objects were built by the
	generated Makefile.in, so that it could avoid to emit unneeded
	code when this was not the case.  Re-introduce such code in a
	less-obfuscated form, and add a test to ensure we don't regress
	again.
	* automake.in ($must_handle_compiled_objects): New global
	variable, telling whether the generated Makefile has to build
	compiled objects.
	(initialize_per_input): Reset it.
	(handle_programs, handle_libraries, handle_ltlibraries): Set
	it to a true value when required.
	(handle_compile): Don't generate any code if the variable
	`$must_handle_compiled_objects' is not set to a true value.
	* tests/no-extra-makefile-code.test: New test.
	* tests/Makefile.am (TESTS): Add it.

2011-08-28  Stefano Lattarini  <stefano.lattarini@gmail.com>

	automake: cleanups after de-ansification support removal (2)
	* automake.in ($get_object_extension_was_run): Remove, it's not
	really needed anymore.
	(&get_object_extension): Remove, it's a no-op now.
	All callers adjusted.

2011-08-28  Stefano Lattarini  <stefano.lattarini@gmail.com>

	automake: cleanups after de-ansification support removal (1)
	* automake.in (lang_c_rewrite, handle_single_transform): Rename
	variable `$nonansi_obj' to `$obj'.

2011-08-28  Stefano Lattarini  <stefano.lattarini@gmail.com>

	ansi: remove obsolete code/files for de-ANSI-fication support
	* lib/ansi2knr.1, lib/ansi2knr.c: Deleted.
	* lib/Makefile.am (dist_pkgvdata_DATA): Do not list them anymore.
	* lib/am/ansi2knr.am: Delete.
	* lib/am/Makefile.am (dist_am_DATA): Do not list it anymore.
	* lib/Automake/Variable.pm (%_am_macro_for_var): Remove entries for
	`ANSI2KNR' and `U'.
	* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Don't care anymore
	about possible definition of the `$U' variable.
	* automake.in (@common_files): Drop `ansi2knr.1' and `ansi2knr.c'.
	(struct): Remove scalar field `ansi'.
	All callers adjusted.
	(&lang_c_finish, %de_ansi_files): Remove, they're not required
	anymore.
	All callers adjusted.
	($get_object_extension_was_run): Fix typo in comment.
	(&get_object_extension): Drop code dealing with de-ansification;
	this function basically a no-op now, but is required to properly
	initialize `$get_object_extension_was_run' variable.
	(&handle_languages, &handle_compile, &lang_c_rewrite): Drop code
	dealing with de-ansification.

2011-08-28  Stefano Lattarini  <stefano.lattarini@gmail.com>

	ansi: reject attempts to use automatic de-ANSI-fication support
	* tests/protos.m4 (AM_C_PROTOTYPES): Error out whenever called.
	* lib/Automake/Options.pm (_process_option_list ): Error out
	with a proper error message when the `ansi2knr' option is used.
	Related updates to comments.
	* tests/depacl2.test: Update.
	* tests/ansi2knr-no-more.test: New test.
	* tests/Makefile.am (TESTS): Add it.
	* NEWS: Update.

2011-08-28  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: remove tests about obsolete de-ANSI-fication support
	* tests/ansi.test: Delete.
	* tests/ansi10.test: Likewise.
	* tests/ansi2.test: Likewise.
	* tests/ansi2knr-deprecation.test: Likewise.
	* tests/ansi3.test: Likewise.
	* tests/ansi3b.test: Likewise.
	* tests/ansi4.test: Likewise.
	* tests/ansi5.test: Likewise.
	* tests/ansi6.test: Likewise.
	* tests/ansi7.test: Likewise.
	* tests/ansi8.test: Likewise.
	* tests/ansi9.test: Likewise.
	* tests/cxxansi.test: Likewise.
	* tests/libobj8.test: Likewise.
	* tests/subobj3.test: Likewise.
	* tests/Makefile.am (TESTS): Update.

2011-08-28  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs: remove description of de-ANSI-fication support from manual
	* doc/automake.texi (Auxiliary Programs): Remove mention of
	`ansi2knr.c' and `ansi2knr.1'.
	(Obsolete Macros): Remove mention of `AM_C_PROTOTYPES'.  Do not
	index it nor variables `ANSI2KNR' and `U' anymore.
	(List of Automake options): Remove mention of `ansi2knr' option,
	and obsolete entries for concept and option indexes.
	(Optional): Remove entry about `AM_C_PROTOTYPES'.
	(@c LocalWords): Remove `ansi' and `knr'.
	(@menu, @detailmenu): Remove entries about de-ANSI-fication
	support.

2011-08-29  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: better respect of TAP usage in wrapped tests
	* tests/gen-wrap-tests: Partial rewrite to take into account the
	possibility that the wrapped test uses the TAP protocol.  This
	complicates the code quite a bit, but is essential to ensure real
	correctness in all the wrapped scripts.
	* tests/wrap-tests.sh: Update, and add few more sanity checks.

2011-08-29  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: use both perl and awk implementations for tests on TAP
	* tests/gen-wrap-tests (get_list_for_pltap): New function, gets
	the list of tests that check the Automake TAP support.
	($defines_for_pltap): New variable.
	($wrapper_type_list): Add "pltap".
	* tests/defs-static.in: Check that `$am_tap_implementation' is
	not exported in the environment.
	* tests/self-check-env-sanitize.tap: Update.

2011-08-29  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: two single auxiliary scripts to run/generate wrapped tests
	* tests/config-shell-tests.sh, tests/parallel-tests.sh,
	tests/gen-config-shell-tests, tests/gen-parallel-tests: Deleted,
	their roles taken over by ...
	* tests/wrap-tests.sh, tests/gen-wrap-tests: ... these new more
	general scripts.
	* tests/Makefile.am (EXTRA_DIST): Distribute the new scripts, and
	do not distribute the obsolete ones anymore.
	($(srcdir)/parallel-tests.am, $(srcdir)/config-shell-tests.am): Do
	not include nor generate anymore, they have been superseded by ...
	($(srcdir)/wrap-tests.am): ... this new fragment, automatically
	generated by `gen-wrap-tests'.
	(PTEST_LOG_COMPILER, SHTST_LOG_COMPILER): Delete, they are now
	defined in the new `wrap-tests.am' makefile fragment.
	(TEST_EXTENSIONS): Do not append to it anymore, that is now done
	by the new `wrap-tests.am' makefile fragment above.
	($(parallel_tests:.ptest=.log), $(config_shell_tests:.shtst=.log),
	$(parallel_tests), $(config_shell_tests): Remove this dependencies,
	superseded by ...
	($(wrap_TESTS), $(wrap_LOGS)): ... these ones.
	(MAINTAINERCLEANFILES): Delete, it's not used anymore.
	(TESTS): Do not contain anymore `$(config_shell_tests)' nor
	`$(parallel_tests)', contain `$(wrap_TESTS)' instead, as defined
	by `$(srcdir)/wrap-tests.am'.
	Other related minor edits and reorderings.
	* bootstrap, tests/.gitignore, tests/README: Update.

2011-08-29  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: list of tests placed in a separate Makefile fragment
	This change allows us to easily use make instead of by-hand (and
	more fragile) grepping to extract the list of hand-written tests
	from our Makefiles.
	* bootstrap (BOOTSTRAP_MAKE): New variable.
	Use it to run make in order to extract the list of hand-written
	tests from ...
	* tests/list-of-tests.mk: ... this new file, where they are
	listed in ...
	(handwritten_TESTS, tap_with_common_setup_TESTS, tap_other_TESTS):
	... these variables, extracted respectively from ...
	* tests/Makefile.am (handwritten_tests, tap_other_tests,
	tap_with_common_setup_tests): ... these older variables, now
	removed.
	(EXTRA_DIST, expected_list_of_tests): Update w.r.t. the variable
	names' changes.
	(include $(srcdir)/list-of-tests.mk): New inclusion.
	Remove an overkill indirection, and with it ...
	(tap_with_common_setup_logs): ... this variable.
	($(srcdir)/parallel-tests.am, $(srcdir)/config-shell-tests.am):
	Update to match the new interface of ...
	(gen-parallel-tests, gen-config-shell-tests): ... these scripts,
	that now read the list of tests from the standard input.

2011-08-29  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: prefer AM_... variables to user-reserved ones in Makefile
	* tests/Makefile.am (TAP_LOG_DRIVER_FLAGS): Renamed ...
	(AM_TAP_LOG_DRIVER_FLAGS): ... to this.

2011-08-29  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: some minor fixlets w.r.t. TAP-based tests
	The variable that is used by our test scripts to decide whether
	they are "plain" or TAP-based is `using_tap'; however, some
	peripheral sanity checks and sanitization code in our testsuite
	were erroneously using the `use_tap' variable instead.  Fix that.
	* tests/Makefile.am (AM_TESTS_ENVIRONMENT): Nullify `using_tap',
	not `use_tap'.
	* tests/defs-static.in: Check that `using_tap', not `use_tap',
	is not exported.
	* tests/self-check-env-sanitize.test: Update.

2011-08-29  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: avoid re-running a test with the 'parallel-tests' option
	* tests/backcompat5.test (parallel_tests): Define to "no", to
	prevent the generation of a sibling test script that uses the
	'parallel-tests' driver.  That would be useless anyway, since
	we manually override the contents of configure.in, thus clobbering
	the `parallel-tests' option in AM_INIT_AUTOMAKE.
	Fix a typo in comments since we are at it.

2011-08-29  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: defaults to awk+shell driver in tests on TAP support
	* tests/defs ($am_tap_implementation): Default to "shell", not
	to "perl".

2011-08-25  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: list "forgotten" test script in TESTS
	* tests/Makefile.am (TESTS): Also list ...
	* tests/java-empty-classpath.test: ... this test.  Since we are
	at it, remove trailing whitespace from a couple of lines.

2011-08-25  Eric Blake  <eblake@redhat.com>

	ylwrap: fix unusual indentation whitespace
	* lib/ylwrap: Convert tabs to spaces.
	Reported by Karl Berry.

2011-08-28  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: different test scripts cannot share the same basename
	If two test scripts have the same basename, they will end up
	sharing the same log file, leading to all sort of undefined and
	undesired behaviours.  Add a Makefile check verifying that this
	is not the case.
	* tests/test-logs-repeated.test: New test, verifying previously
	unspecified semantics (in the definition of $(TEST_LOGS) from
	$(TESTS)) that we use in our new check.
	* tests/Makefile.am (TESTS): Update.
	(check-no-repeated-test-name): New .PHONY check.
	(check-local): Depend on it.

2011-08-26  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failure for awk implementation of TAP driver
	* tests/tap-realtime.test: The awk+shell implementation of the TAP
	driver must "read ahead" of one line in order to catch the exit
	status of the test script it runs.  So, in the TAP-producer script
	here, be sure to echo one "dummy" line after each TAP result line
	in order not to cause false positives.

2011-08-25  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/awk: allow escaping of TAP directives
	* lib/tap-driver.sh (setup_result_obj): Handle escaping of TAP
	directives in a way tat is (mostly) compatible by what is done
	by the TAP::Parser module.
	With this change, the tests `tap-escape-directive.test' and
	`tap-escape-directive-2.test' now also pass with the shell/awk
	implementation of the TAP driver.

2011-08-25  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: more about escaping of TAP directives
	* tests/tap-escape-directive.test: Make grepping of testsuite
	progress output slightly stricter.
	* tests/tap-escape-directive-2.test: New test (failing with the
	awk implementation of the TAP driver).
	* tests/Makefile.am (tap_with_common_setup_tests): Update.

2011-08-25  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: improve syncing between awk+shell and perl implementations
	* lib/tap-driver.pl (stringify_test_result): Renamed ...
	(stringify_result_obj): ... to this.  Break up a clause in the
	long "if/elsif/.../else" construct to avoid unaesthetic line
	breaks and to be more synced with the sibling function in
	`tap-driver.sh'.  Rename the `$result', `$PASS' and `$FAIL'
	variables to respectively `$result_obj', `$COOKED_PASS' and
	`$COOKED_FAIL', for clarity and better syncing.
	(handle_tap_test): Renamed  ...
	(handle_tap_result): ... to this, and change the name of the
	`$test' local variable to `$result_obj'.
	(extract_comment): Reimplement using the simpler `index' and
	`substr' builtins, rather than with more advanced uses of
	regular expressions.
	(%test_results, @test_results): Renamed respectively ...
	(%test_results_seen, @test_results_list): ... to these, and
	related adjustments throughout the `TEST_RESULTS' block.
	(main, get_global_test_result): Refactor and do some cosmetic
	changes to make these functions clearer and better synced with
	sibling code in `tap-driver.sh'.
	Other minor cosmetic and typo fixes.
	* lib/tap-driver.sh (extract_tap_comment): Remove outdated
	"FIXME" comments.
	(get_global_test_result): Small reordering to make it better
	synced with its sibling function in `tap-driver.pl'.
	(stringify_result_obj): Consistently use `result_obj' as the
	parameter name.
	Other minor cosmetic and typo fixes.

2011-08-25  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/perl: don't redirect perl warnings/errors to log files
	With this change, the test `tap-driver-stderr.test' also passes
	with the perl implementation of the TAP driver.
	* lib/tap-driver.pl (start): Save the original stderr into the
	`OLDERR' file handle, and call ...
	(trap_perl_warnings_and_errors): ... this new function, trapping
	the `__WARN__' and `__DIE__' "pseudo-signals" to ensure that the
	warning and error messages goes to that original stderr stream.
	Since we are at it, be sure to prepend all possible "die" message
	with the name of the script as given by the `$ME' variable.

2011-08-25  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/perl: add copyright notice, version string, and emacs stuff
	* lib/tap-driver.pl: Add proper copyright notice and bug reporting
	address.  Remove obsolete heading comments.  Add trailing comments
	for emacs w.r.t. code-formatting rules and automatic updating of
	the date-based script version saved into the `$VERSION' variable.
	($VERSION): Define to the current UTC date.

2011-08-24  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/awk: don't redirect awk stderr to log files
	* lib/tap-driver.sh: Handle the file descriptors redirections
	more smartly, to avoid sending error messages from awk (about
	e.g. syntax or I/O errors) to the log files instead that to the
	console.
	* tests/tap-driver-stderr.test: New test, verifying the improved
	driver behaviour.  Notice that this test still fails when using
	the perl implementation of the TAP driver.
	* tests/Makefile.am (tap_other_tests): Update.

2011-08-24  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/awk: remove obsolete "FIXME" comment
	* lib/tap-driver.sh: Remove obsolete "FIXME" comment about our
	driver losing the exit status of the tested program; this issue
	has been solved in precedent commit `v1.11-1052-gd630a0d'.  Fix
	an unrelated typo in comments since we are at it.

2011-08-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: avoid spurious failure on Solaris
	* tests/tap-signal.test (signal_caught): Fix a regression from
	commit `v1.11-1052-gd630a0d' that was causing this test to fail
	spuriously on Solaris (due to an already worked-around Solaris
	/bin/sh bug, see commit `v1.11-981-g0ef3ef5').

2011-08-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: use the new awk+shell TAP driver in our own testsuite
	* tests/Makefile.am (TAP_LOG_DRIVER): Redefine to use the new
	awk+shell tap driver, which should be complete enough for use in
	a "controlled" production environment.

2011-08-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/awk: handle non-zero exit status from the test command
	* lib/tap-driver.sh (get_test_exit_message): New function in the
	awk script, used to extract the exit status of the test program,
	or at least a good guess of it.
	(write_test_results): Use it, reporting an ERROR result if it
	detects that the test program exited with a non-zero status.
	* tests/tap-signal.test: Account for the differences in the
	error messages generated by the awk and perl TAP drivers.  Fix
	an unrelated typo in comments since we are at it.

2011-08-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/awk: prepare to fetch the exit status of the test command
	* lib/tap-driver.sh: Rewrite some logic in the main parsing loop,
	to make it possible to read the exit status of the test command
	from the last line of the input stream.

2011-08-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/awk: refactor for future changes
	* lib/tap-driver.sh: Rewrite the awk script so that the parsing
	of the input stream is implemented as a hand-rolled loop in the
	BEGIN block, using the `getline' builtin.

2011-08-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: avoid spurious failure if rst2html program is missing
	* tests/tap-html.test ($required): Require `rst2html'.

2011-08-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/awk: support Solaris /usr/xpg4/bin/awk
	* lib/tap-driver.sh: Use `\t', not `\\t', to represent tabulation
	character in regexps, even when inside double-quoted strings; that
	seems to be more portable to Solaris 10 XPG4 awk.

2011-08-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/awk: support Solaris /usr/bin/nawk
	* lib/tap-driver.sh (close_or_die): Remove, the use of the `close'
	builtin in there was confusing /usr/bin/nawk from Solaris 10 into
	a syntax error.
	(write_test_results): Simply use `close' on the `*.trs' file, that
	should be enough.

2011-08-21  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/awk: correctly extract message from SKIP plans
	* lib/tap-driver.sh (/^1\.\.0+[ \t]*#/): Add a forgotten `?' to
	the regex used to extract the skip message from a "1..0" TAP plan.
	* tests/planskip.test: Check for the just-fixed bug.
	* tests/tap-planskip-unplanned-corner.test: Don't be too strict
	w.r.t. the formatting of the "skip whole test" message, to avoid
	failing due to bugs irrelevant for this test (like the one just
	fixed).

2011-08-21  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap/awk: support colorized output
	* lib/tap-driver.sh: Pass definition of colors to the BEGIN block
	of the awk script, using ...
	($init_colors): ... this new variable, which supersedes ...
	($red, $grn, $lgn, $blu, $mgn, $std): ... these variables, which
	have been consequently removed.
	($color_tests): We don't have to pass this anymore to the awk
	script, so do not convert it to a numeric boolean.
	(decorate_result): Implement for real.
	With this change, the test 'tap-color.test' now passes.

2011-08-21  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: real (but still incomplete) awk implementation of TAP driver
	* lib/tap-driver.sh: Add an incomplete, but mostly working,
	implementation of a TAP parser and driver in awk.  It doesn't yet
	support colorized output, fetching of exit status from test
	programs, nor a way to escape TAP directives in TAP result lines,
	but passes all the tests of TAP support in the automake testsuite,
	apart from the following ones:
	  - tap-color.test
	  - tap-escape-directive.test
	  - tap-exit.test
	  - tap-missing-plan-and-bad-exit.test
	  - tap-passthrough-exit.test
	  - tap-planskip-badexit.test
	  - tap-planskip-unplanned-corner.test
	  - tap-signal.test
	Tested on Debian GNU/Linux with GNU awk 3.1.7 and 3.0.2, "original
	awk" 2010-05-23-1, and mawk 1.3.3-15 (with which also the test
	`tap-realtime.test' fails, in addition to those listed above).

2011-08-21  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: fix spurious failure due to Solaris 'wc' incompatibility
	* tests/tap-number-wordboundary.test ($planned): Strip any extra
	whitespace from the output of `wc', to cater to Solaris 10.

2011-08-21  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: keyword "SKIP" in TAP plan is case-insensitive
	* tests/tap-planskip-case-insensitive.test: New test.
	* tests/tap-planskip.test: Remove now-duplicated checks.
	* tests/Makefile.am (tap_with_common_setup_tests): Update.

2011-08-21  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: ambiguous use of TAP "TODO"/"SKIP" directives
	* tests/tap-ambiguous-directive.test: New test.
	* tests/tap-todo-skip-together.test: Reference it in heading
	comments.
	* tests/Makefile.am (tap_with_common_setup_tests): Update.

2011-08-21  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: non-directive comments in TAP results are preserved
	* tests/tap-result-comment.test: New test.
	* tests/Makefile.am (tap_with_common_setup_tests): Update.

2011-08-20  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: TAP result number followed by non-whitespace word boundary
	* tests/tap-number-wordboundary.test: New test.
	* tests/Makefile.am (tap_with_common_setup_tests): Update.

2011-08-20  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: a TAP result numbered "0" is always out-of-order
	* tests/tap-test-number-0.test: New, checks that a test result
	numbered as 0 is to be considered out-of-order; this is
	consistent with the behaviour of the `prove' utility.
	* tests/Makefile.am (tap_with_common_setup_tests): Update.

2011-08-20  Stefano Lattarini  <stefano.lattarini@gmail.com>

	cosmetics: fix botched indentation in perl TAP driver
	* lib/tap-driver.pl (main, Getopt::Long::GetOptions): Fix
	improper or botched indentation.

2011-08-20  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: some more tests on corner cases of TAP support
	* tests/tap-no-spurious.test: Extend checks verifying that a line
	matching, say, the regex "^ok[a-zA-Z0-9_]" is *not* considered a
	TAP result.
	* tests/tap-no-spurious-numbers.test: New test, checking that our
	TAP driver doesn't spuriously recognize as TAP result numbers what
	is not (even if it seems pretty close).
	* tests/tap-negative-numbers.test: New test, checking that our
	TAP driver doesn't spuriously recognize negative TAP result
	numbers, but correctly interprets them as test descriptions
	instead.
	* tests/tap-plan-leading-zero.test, tap-numbers-leading-zero.test:
	New tests, checking how our driver fares in recognizing numbers
	with leading zeroes in TAP results or TAP plans.
	* tests/tap-planskip-malformed.test: New test, checking that a
	malformed TAP plan is not recognized as a valid plan.
	* tests/tap-plan-whitespace.test: New test, checking that a TAP
	plan line with trailing whitespace is recognized and handled
	correctly.
	* tests/Makefile.am (tap_with_common_setup_tests): Update.

2011-08-19  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: various fixlets and tweakings
	* tests/seenc.test: Make grepping of automake stderr stricter.
	Add a trailing `:' command.
	* tests/symlink.test: Likewise.  Also, define `$am_create_testdir'
	to "empty" to avoid bringing in unused auxiliary files (only to
	have to remove them right away), and use proper m4 quoting in
	`configure.in'.
	* tests/vpath.test: Make grepping of generated `Makefile.in'
	slightly stricter.  Prefer trailing `:' over trailing `Exit 0'.
	* tests/suffix6c.test: Unset OBJEXT to avoid interferences from
	the environment.
	* tests/suffix12.test: Do not whitespace-indent `##' comments
	when they are embedded in a makefile rule: having them indented
	is not part of the Automake API, and might cause failures with
	e.g., Tru64 make.
	* tests/syntax.test: Simplify the `Makefile.am' to ensure that
	automake doesn't fail for the wrong reasons.  Make grepping of
	automake stderr slightly stricter.
	* tests/test-harness-vpath-rewrite.test: Remove useless variable
	definition from `Makefile.am'.
	* tests/test-driver-custom-multitest.test: Fix typo in comments.
	* tests/self-check-me.tap: Fix minor typo in test description.
	* tests/vars3.test: Make grepping of automake stderr stricter
	and safer.
	* tests/version6.test: Add sanity check, verifying that the
	version number extracted from `automake --version' output seems
	legit.
	* tests/auxdir2.test: Renamed ...
	* tests/auxdir-compauted.tap: ... to this, and converted to the
	use of TAP.
	* tests/auxdir4.test: Renamed ...
	* tests/auxdir-unportable.tap: ... to this, and converted to the
	use of TAP.
	* tests/auxdir3.test: Renamed ...
	* tests/auxdir-misplaced.test: ... to this.
	* tests/auxdir5.test: Renamed ...
	* tests/auxdir-nonexistent.test: ... to this.
	* tests/auxdir9.test: Renamed ...
	* tests/auxdir-autodetect.test: ... to this.
	* tests/Makefile.am (TESTS): Update.
	(XFAIL_TESTS): Remove `auxdir2.test'.

2011-08-19  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: fix some redundant autotools calls in tests on TAP
	* tests/tap-deps.test: Do not call autotools and configure; there
	is no need to, since this script sources `tap-setup.sh'.
	* tests/tap-empty-diagnostic.test: Likewise.
	* tests/tap-escape-directive.test: Likewise.
	* tests/tap-fancy2.test: Likewise.
	* tests/tap-no-spurious.test: Likewise.
	* tests/tap-out-of-order.test: Likewise.

2011-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>

	* THANKS (Daniel Richard G.): Update e-mail address.

2011-08-16  Daniel Richard G. <skunk@iskunk.org>  (tiny change)
	    Stefano Lattarini  <stefano.lattarini@gmail.com>

	java: avoid compilation errors when CLASSPATH is empty
	* lib/am/java.am (CLASSPATH_ENV): When redefining `$CLASSPATH',
	do not append an empty component in case the previous value of
	CLASSPATH is empty or unset.
	* tests/java-empty-classpath.test: New test.
	* tests/Makefile.am (TESTS): Update.
	Fixes automake bug#9306.

2011-08-16  Stefano Lattarini  <stefano.lattarini@gmail.com>

	parallel-tests: no more spurious successes for FreeBSD make
	Work around a bug of FreeBSD make bug that was causing the
	automake-generated "check" target to complete with success
	even if some tests failed; this happened only when FreeBSD
	make was run in concurrent mode (as in, e.g., "make -j2
	check").  The bug is not present in NetBSD make.
	This change fixes automake bug#9245:
	 <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9245>
	See also FreeBSD PR bin/159730:
	 <http://www.freebsd.org/cgi/query-pr.cgi?pr=159730>
	* lib/am/check.am [%?PARALLEL_TESTS%] $(TEST_SUITE_LOG): Use a
	more "safe" (and apparently redundant) idiom to exit with error,
	so that the non-zero exit status is picked up also by FreeBSD
	make when it's running in concurrent mode.
	* NEWS: Update.
	* tests/check-concurrency-bug9245.test: New test.
	* tests/Makefile.am (TESTS): Update.

2011-08-11  Stefano Lattarini  <stefano.lattarini@gmail.com>

	hacking: we now require autoconf 2.68
	* HACKING ("Working in git"): Use autoconf and autom4te 2.68,
	not 2.67, in the examples.

2011-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: improve granularity for tests on problematic TAP messages
	* tests/tap-message-0.test: Break up into ...
	* tests/tap-msg0-result.test, tests/tap-msg0-directive.test,
	tests/tap-msg0-planskip.test, tests/tap-msg0-misc.test,
	tests/tap-msg0-bailout.test: ... these new tests, and extend
	a little.
	* tests/Makefile.am (tap_with_common_setup_tests): Update.

2011-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: correctly handle string "0" in TAP messages
	* lib/tap-driver.pl (is_null_string): New function, can be used
	to determine whether a given string variable is empty or undefined.
	Useful to avoid pitfalls like:
	  if ($message) { print "$message\n"; }
	which wouldn't print anything if $message is the literal "0".
	(handle_tap_test, handle_tap_plan, handle_tap_bailout): Use it,
	to avoid missing messages composed only by a literal "0" in TAP
	result descriptions and in skip, todo and bailout explanations.
	* tests/tap-message-0.test: Enhance.
	* tests/Makefile.am (XFAIL_TESTS): Remove it, it passes now.

2011-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: a minor simplification in the perl TAP driver
	* lib/tap-driver.pl: The `--disable-hard-errors' option is a
	no-op, so just ignore it and its argument.

2011-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>

	parallel-tests: fix help screen for test driver scripts
	* lib/tap-driver.pl ($USAGE): The `--trs-file' option is mandatory
	too.
	* lib/tap-driver.sh (print_usage): Likewise.
	* lib/test-driver (print_usage): Likewise.
	($scriptversion): Update.

2011-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: add a dummy TAP driver script implemented in shell + awk
	The user can also now decide which implementation of the TAP driver
	to use in the testsuite by defining the `$am_tap_implementation'
	variable to either "perl" or "shell".  Future enhancements will
	allow the testsuite to automatically run the test scripts on TAP
	support with both the TAP driver implementations, to improve
	coverage.
	* tests/defs (fetch_tap_driver): Honor the `$am_tap_implementation'
	variable to decide which implementation of the TAP driver to fetch.
	($am_tap_implementation): Default to "perl".
	* tests/tap-common-setup.test: Do not fetch the TAP driver, the
	code in tap-setup.sh does that already (and respecting runtime
	overriding of `$am_tap_implementation').
	* lib/tap-driver: Renamed ...
	* lib/tap-driver.pl: ... to this, and ...
	($ME): ... adjusted this.
	* doc/automake.texi: Adjust to the renaming.
	* tests/Makefile.am (TAP_LOG_DRIVER): Likewise.
	* tests/tap-doc2.test: Likewise.
	* lib/tap-driver.sh: New script, still mostly dummy.
	* lib/Makefile.am (dist_script_DATA): Update, and since we are at
	it, rewrite it to make it easier to add new entries in the future.

2011-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: refactor tests on TAP support in view of future changes
	* tests/defs (fetch_tap_driver): New subroutine; it fetches the
	automake-provided TAP driver from the `lib/' directory into the
	current directory, and edits its shebang line so that it will be
	run with the perl interpreter determined at configure time.
	* tests/tap-setup.sh: Use it.
	* tests/tap-common-setup.test: There's no need to AC_SUBST `PERL'
	anymore, nor to use it in the Makefile to run the TAP driver.
	Also, use the `fetch_tap_driver' function instead of copying the
	`tap-driver' auxiliary script directly.
	* tests/tap-bad-prog.tap: Likewise.
	* tests/tap-diagnostic-custom.test: Likewise.
	* tests/tap-doc.test: Likewise.
	* tests/tap-merge-stdout-stderr.test: Likewise.
	* tests/tap-more.test: Likewise.
	* tests/tap-more2.test: Likewise.
	* tests/tap-recheck.test: Likewise.
	* tests/tap-summary-aux.sh: Likewise.
	* tests/tap-basic.test: Likewise, and fix a grammaro in comments
	since we are at it.

2011-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: fix typo in comments
	* tests/defs (get_shell_script): Fix typo in the function
	description.

2011-08-14  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: missing tap plan and non-zero exit status
	* tests/tap-missing-plan-and-bad-exit.test: New test.
	* tests/Makefile.am (tap_with_common_setup_tests): Update.

2011-08-12  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: fix an unportable use of sed
	* tests/tap-todo-skip-whitespace.test: Alternation with "\|" in
	sed regular expressions is not portable to (at least) FreeBSD
	sed; do not use it.

2011-08-12  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: avoid spurious failure if rst2html program is missing
	* tests/test-driver-custom-no-html.test: Account for the
	possibility of a lacking `rst2html' program in our final
	grepping of make output.

2011-08-12  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: improve diagnosing and reporting of plan mismatches
	Problem exposed by a failure in the test 'tap-plan-errors.test'.
	* lib/tap-driver (NO_PLAN, EARLY_PLAN, LATE_PLAN): New constants.
	(Throughout the file): Use more complex semantics for `$plan_seen',
	which now also remember whether the plan that has been seen is an
	"early" or "late" plan; in turn, this makes ...
	($tap_stopped): ... this variable redundant; remove it.
	(handle_tap_plan): Adjust to avoid producing spurious or confusing
	error messages about extra or mismatched "late" TAP plans.
	* tests/tap-plan-corned.test: Adjust and extend.
	* tests/tap-color.test: Likewise.

2011-08-12  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: log all TAP stream, even after a "Bail out!"
	* lib/tap-driver ($bailed_out): New global boolean variable,
	telling whether a "Bail out!" directive has been seen or not.
	(handle_tap_bailout): This function does not anymore stop the
	reading from TAP stream; instead, it sets `$bailed_out' to a
	true value, so that only the subsequent parsing of the input
	TAP stream is stopped.
	(finish): Remove, no more needed, its contents inlined into ...
	(main): ... this function, with related adjustments in the code
	flow.
	(get_test_exit_message): Do not "flush" the input TAP stream
	to fetch the exit status of test script, it is not anymore
	required.  Add a sanity check.
	* tests/tap-bailout-and-logging.test: New test.
	* tests/Makefile.am (tap_with_common_setup_tests): Update.

2011-08-12  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: TAP diagnostics after "Bail out!" aren't reported
	This is compatible with the behaviour of the `prove' utility.
	* tests/tap-bailout-suppress-later-diagnostic.test: New test.
	* tests/Makefile.am (tap_with_common_setup_tests): Update.

2011-08-12  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: TAP errors after a "Bail out!" directive aren't reported
	This is compatible with the behaviour of the `prove' utility.
	* tests/tap-bailout-suppress-later-errors.test: New test.
	* tests/tap-bailout-badexit.test: Renamed ...
	* tests/tap-bailout-suppress-badexit.test: ... to this, for
	consistency.
	* tests/Makefile.am (tap_with_common_setup_tests): Update.

2011-08-12  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: reorganize tests on TAP plans
	* tests/tap-skip-whole.test: Rename ...
	* tests/tap-planskip.test: ... to this
	* tests/tap-skip-whole-badexit.test: Rename ...
	* tests/tap-planskip-badexit.test: ... to this.
	* tests/tap-skip-whole-bailout.test: Rename ...
	* tests/tap-planskip-bailout.test: ... to this.
	* tests/tap-skip-whole-bailout.test: Rename ...
	* tests/tap-planskip-later-errors.test: ... to this.
	* tests/tap-skip-whole-unplanned.test: Rename ...
	* tests/tap-planskip-unplanned.test: ... to this.
	* tests/tap-skip-whole-whitespace.test: Rename ...
	* tests/tap-planskip-whitespace.test: ... to this.
	* tests/tap-skip-whole-continue.test: Rename ...
	* tests/tap-planskip-and-logging.test: ... to this, extend to try
	more cases, and fix heading comments.
	* tests/tap-skip-whole-lastline.test: Rename ...
	* tests/tap-planskip-late.test: ... to this, fix heading comments,
	and remove some checks that are just a duplication of those already
	performed in the previous script.
	* tests/tap-results-with-planskip.test: Rename to ...
	* tests/tap-planskip-unplanned-corner.test: ... this, and improve
	hading comments.
	* tests/tap-planskip-later-errors.test: New test.
	* tests/Makefile.am (tap_with_common_setup_tests): Update.

2011-08-12  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: more TAP driver consistency w.r.t. 'prove'
	* tests/skip-results-with-planskip.test: New test, verifies that
	test results seen in a TAP stream that has a "plan with SKIP" are
	flagged as errors.
	* tests/Makefile.am (tap_with_common_setup_tests): Update.

2011-08-12  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: improve some comments in the TAP driver
	* lib/tap-driver (handle_tap_plan): Improve comments describing
	possible errors in a "plan with SKIP" directive.

2011-08-12  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: non-zero exit status after "Bail out!" should not be reported
	This new behaviour is more consistent with that of the `prove'
	utility.  Also, experience with the use of TAP in the Automake's
	own test suite has shown that reporting non-zero exit status from
	a script after it has issued a "Bail out!" directive is mostly
	redundant, more introducing noise rather than conveying useful
	information.
	* lib/tap-driver (finish): Inline the part of it that was getting
	the script exit status ...
	(main): ... in here.
	* tests/tap-bailout-badexit.test: New test.
	* tests/Makefile.am (tap_with_common_setup_tests): Update.

2011-08-11  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: a "plan with SKIP" after test results is an error
	This new behaviour is both more natural and more consistent with
	that of the `prove' utility.
	* lib/tap-driver (handle_tap_plan): Do not stop TAP parsing when
	a "plan with SKIP" line (e.g., "1..0 # SKIP") is encountered, and
	do not print a "SKIP" line if some TAP result has already been
	seen.
	* tests/tap-skip-whole.test: Adapt.
	* tests/tap-skip-whole-lastline.test: Likewise.
	* tests/tap-global-result.test: Adapt and extend.
	* tests/tap-skip-plan-errors.test: Likewise, and fix an obsolete
	small part of a comment.
	* tests/tap-skip-whole-bailout.test: New test.
	* tests/tap-skip-whole-unplanned.test: Likewise.
	* tests/tap-skip-whole-continue.test: Likewise.
	* tests/Makefile.am (tap_with_common_setup_tests): Update.

2011-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test harness: avoid possible fork bomb
	This fixes a regression w.r.t. the master branch, exposed by
	test 'parallel-tests-fork-bomb.test'.
	* lib/am/check.am (am--redo-logs): Detect possible infinite
	recursion due to a test log in $(TEST_LOGS) being the same
	as $(TEST_SUITE_LOG).

2011-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: enhance test against infinite recursion in test harness
	* tests/parallel-tests-fork-bomb.test: Enhance and extend a
	little now, for soon-to-be-implemented more explicit and safer
	semantics.

2011-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: possible infinite recursion in the test harness
	Motivated by a regression in the 'test-protocols' branch.
	* tests/parallel-tests-fork-bomb.test: New test, checking that
	if $(TEST_SUITE_LOG) is in $(TEST_LOGS), we obtain a diagnosed
	error rather than a make hang or a fork bomb.
	* tests/Makefile.am (TESTS): Update.

2011-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: yet more environment cleanup
	* tests/defs: Also unset the TEST_SUITE_LOG variable.

2011-08-14  Stefano Lattarini  <stefano.lattarini@gmail.com>

	self tests: some minor refactoring
	* tests/self-check-exit.tap: Disable the `errexit' shell flag;
	this allow to remove some boilerplate idioms and to make some
	code slightly less cumbersome.
	* tests/self-check-me.tap: Likewise.

2011-08-14  Stefano Lattarini  <stefano.lattarini@gmail.com>

	maintcheck: look for TAP-based tests without TAP plan
	* Makefile.am (sc_tests_tap_plan): New maintainer check.
	(syntax_check_rules): Add it.
	* tests/suffix10.tap: Declare a TAP plan.
	* tests/add-missing.tap: Likewise.

2011-08-14  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: avoid confusing SKIP messages for errored tests
	* tests/defs [$use_tap] (exit trap): Don't print the test plan
	in case the client script exited with a non-zero status.  This
	avoids the display of redundant "SKIP" messages for tests with
	lazy plans that error out before any test is run.

2011-08-13  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: keep more debugging info around in 'add-missing.tap'
	* tests/add-missing.tap: Use a different directory for each test,
	so that in case of failure more information is kept around.
	Since we are at it, remove redundant TAP diagnostic, and define
	`$am_create_testdir' to "empty" to avoid bringing in unused
	auxiliary files.

2011-08-13  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: more granular count of test results in our TAP library
	* tests/tap-functions.sh ($tap_bad_count_): Removed, superseded
	by ...
	($tap_fail_count_, $tap_xpass_count_): ... these new variables,
	which keep more granular counts.
	($tap_pass_count_: New variable.
	* tests/defs (exit trap): Adjust and simplify accordingly.

2011-08-13  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: fixlets and improvements in two long TAP-based tests
	* tests/depmod.tap: Clean up the subdirectories used by tests that
	passed, to avoid ending up with a too big test directory.  This is
	especially important since, on each and every system, at least some
	tests in this script are expected to be skipped (which ones exactly
	depends on the system), thus causing the test directory not to be
	removed when the script terminates.
	* tests/instspc.tap: Likewise (with the difference that tests here
	are not expected to be skipped, but to xfail).  Give more explicit
	error message in case of setup failure.  Skip the proper number of
	tests when required, to avoid spurious errors due to mismatched
	plan.  Also, really avoid to run the unsupported test cases when
	the need to skip them is detected.

2011-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test harness: recursive make invocations must use $(AM_MAKEFLAGS)
	* lib/am/check.am ($(TEST_SUITE_LOG)): Pass $(AM_MAKEFLAGS)
	to $(MAKE) when issuing a recursive make call.
	Problem detected by the `sc_tests_make_without_am_makeflags'
	maintainer check.

2011-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failure in 'suffix-chain.tap'
	* tests/suffix-chain.test: Use more uncommon suffixes that
	don't trigger built-in recipes with FreeBSD make.

2011-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: improvements to our shell TAP library and APIs
	These improvements impact only the Automake's own testsuite.
	* tests/tap-functions.sh (plan_): Allow new special arguments
	"unknown" a.k.a. "later" and "lazy" a.k.a. "now".  Perform
	sanity check the given arguments.  Adjust incorrect comments.
	(lazy_plan_): Removed, superseded by the new version of `plan_'.
	(not): New function, run a command and inverts its exit status.
	(ok_, not_ok_, skip_): These are just shorthands for common
	`result_' usages.
	(xfail_, xpass_, reset_test_count_): Removed, they are not used,
	nor does a legitimate use for them seem in sight.
	(not): New function, to run a command inverting its exit status.
	(command_not_ok_): Removed, superseded by `command_ok_' + `not'.
	(command_ok_): Extended to accept TAP directives.
	* tests/defs (trap): Don't use `late_plan_' anymore, use
	`plan_ "now"' instead.
	* tests/ac-output-old.tap: Update to take advantage of the new
	APIs.
	* tests/self-check-env-sanitize.tap: Likewise.
	* tests/suffix-chain.tap: Likewise.
	* tests/suffix10.tap: Likewise.
	* tests/suffix11.tap: Likewise.
	* tests/suffix3.tap: Likewise.
	* tests/suffix8.tap: Likewise.
	* tests/tap-bad-prog.tap: Likewise.
	* tests/self-check-exit.tap: Likewise, plus a small improvement
	in the name of a variable.

2011-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: convert some `suffix*' tests to TAP
	This will allow us to explicitly declare some expected failures
	involving Solaris make as such, instead of partly papering over
	them with skips and partly letting them fail too loudly.
	* tests/suffix-chain.test: Rename ...
	* tests/suffix-chain.tap: ... to this, and convert to the use of
	TAP.  Also, fix some bugs since we are at it, and ...
	($required): ... require `cc'.
	* tests/suffix3.test: Rename ...
	* tests/suffix3.tap: ... to this, and convert to the use of TAP.
	Also, since we are at it, throw in some formatting fixes.
	* tests/suffix8.test: Rename ...
	* tests/suffix8.tap: ... to this, and convert to the use of TAP.
	Also, since we are at it, throw in some formatting fixes.
	* tests/suffix10.test: Rename ...
	* tests/suffix10.tap: ... to this, and convert to the use of TAP.
	* tests/suffix11.test: Rename ...
	* tests/suffix11.tap: ... to this, and convert to the use of TAP.
	* tests/Makefile.am (TESTS): Update.

2011-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: don't let a known Solaris make bug poison too many tests
	See automake bug#7670 and bug#7824.
	* tests/defs (make_can_chain_suffix_rules): New function, tell
	whether the make implementation in use can chain suffix rules
	automatically or not.
	* tests/suffix3.test: Use it to avoid issuing calls to make that
	are unportable to make implementations that are not smart enough
	to chain suffix rules automatically.
	* tests/suffix8.test: Use it to avoid issuing calls to make that
	* tests/suffix10.test: Use it to avoid issuing calls to make that
	* tests/suffix11.test: Use it to avoid issuing calls to make that
	* tests/suffix-chain.test: New test, exposes the limitation that
	we have papered over in the tests above.

2011-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	gitignore: more use of anchors
	* .gitignore: Anchor files that are intended to be ignored only
	if found in the same directory of the `.gitignore' file, not also
	in its subdirectories.
	* doc/.gitignore, doc/amhello/.gitignore, lib/Automake/.gitignore,
	lib/Automake/tests/.gitignore, tests/.gitignore: Likewise.  Also,
	where needed, add new entries that were once implied by the
	non-anchored entries in the upper-level `.gitignore' files.

2011-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	self tests: avoid spurious output on console, and related fixlets
	* tests/self-check-cleanup.test: Set `$stderr_fileno_' to `2'
	in the self tests, to avoid spurious diagnostic on console.
	* tests/self-check-exit.tap: Only unset `am_explicit_skips' and
	`$stderr_fileno_' in the self tests, not at the global level, it
	is more correct.
	($init): New variable, to reduce code duplication.
	Some refactoring and adjustments to the name of the tests.

2011-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: few more sanity checks
	* tests/defs: Catch some more (very unlikely) set-up or internal
	errors, and diagnose them explicitly.  This is intended mostly
	to be a theoretic-only improvement.

2011-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: really make them "set -e" clean
	Motivated by a spurious failure of test `instsh3-w.shtst' on
	Solaris 10.
	* tests/defs: Make really "set -e" clean, to avoid spurious
	failures in case this file is sourced by a test script that has
	already set the `errexit' flag.  To be sure we don't regress,
	move the `set -e' call much earlier, and make the comment telling
	about the expected "set -e" cleanliness more loud and outstanding.

2011-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	self tests: register an expected failures with Solaris /bin/sh
	Solaris 10 /bin/sh erroneously exit with success right away when
	the following three conditions are met at the same time:
	 1. the `errexit' flag is active,
	 2. an exit trap is installed, and
	 3. a non-existing command is issued.
	* tests/self-exit.tap: When that bug is detected, issue an XFAIL
	rather than a FAIL.  Since we are at it, improve by avoiding
	creation of stray temporary files when testing for non-executable
	commands.

2011-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	gitignore: update and improve for the testsuite files
	* tests/.gitignore: Don't ignore temporary partial log files,
	autogenerated tests and makefile fragments that are not used
	anymore.  Anchor all the remaining patterns.

2011-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	self tests: some new uses of TAP, few extensions
	* tests/self-check-me.test: Renamed ...
	* tests/self-check-me.tap: .. to this, and converted to use TAP.
	* tests/self-check-exit.test: Renamed ...
	* tests/self-check-exit.tap: .. to this, and converted to use TAP.
	Set `$stderr_fileno_' to `2', to avoid spurious messages on the
	console.  Add a new test, and relax another one.
	* tests/self-check-env-sanitize.test: Renamed ...
	* tests/self-check-env-sanitize.tap: .. to this, and converted to
	the use TAP.
	* tests/Makefile.am (TESTS): Update.

2011-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: test directory creation more configurable
	After this change, the individual tests will be able to tell
	`./defs' whether or not to create a temporary test directory
	for them, and if yes, whether or not to pre-populate it.
	* tests/defs: Only create the temporary test directory if the
	variable `$am_create_testdir' is not set to "no".  In this
	case, only pre-populate it if that variable is not set to
	`$empty'.
	* tests/defs-static.in: Check that `$am_create_testdir' is not
	exported in the environment.
	* tests/self-check-env-sanitize.test: Update.
	* tests/self-check-dir.test: Extend, and make deeper and more
	robust.
	* tests/README (Section "Writing test cases" subsection "Do"):
	Update.
	* tests/autodist.test: Set `$am_create_testdir' instead of
	removing by hand files created by ./defs.
	* tests/tap-doc2.test: Likewise.

2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: more uses of the `seq_' function
	* tests/parallel-tests-exit-statuses.test: Use the `seq_' function
	from `tests/defs', instead of duplicating its semantics.
	* tests/testsuite-summary-count.test: Likewise.

2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: drop redundant environment sanitization
	* tests/Makefile.am (TESTS_ENVIRONMENT): Don't remove `planned'
	from the environment.
	* tests/defs-static.in: Don't complain if `planned' is set in
	the environment.
	* tests/self-check-env-sanitize.test: Update.

2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: fix bug in plain version of `skip_all_'
	* tests/plain-functions.sh (skip_all_): Call `skip_', not `skip'.

2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: small cleanups and tweakings
	* tests/defs: Where possible, prefer `framework_failure_' or
	`fatal_' to `Exit 99'.  Try to catch more possible hard errors
	and setup failures.  Do not hide expected error messages.  Avoid
	a couple of forks when copying files from `$(top_srcdir)/lib'.
	($signal): Remove, no more needed.

2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: improve interface for giving early TAP plan
	Since commit `v1.11-976-g4740f56', an early TAP plan can also be
	specified after input lines have already been seen, as long as
	no one of them is a TAP result line.  We can now take advantage
	of this in our own testsuite, allowing the TAP-based scripts to
	specify their earlier plan after having included `./defs'.  In
	particular, this offers the benefit of allowing those scripts to
	issue a "skip all" plan (e.g., "1..0 # SKIP reason ...") after
	the inclusion of `./defs', which wasn't possible with the older
	interface (introduced in commit `v1.11-1114-g0286308').
	* tests/defs: Don't try to call `plan_' if `$planned' is defined,
	the calling scripts can do that directly now.
	* tests/ac-output-old.tap: Use `plan_' directly instead of
	setting `$planned' before including `./defs'.
	* tests/automake-cmdline.tap: Likewise.
	* tests/depmod.tap: Likewise.
	* tests/instspc.tap: Likewise.
	* tests/tap-bad-prog.tap: Likewise.
	* tests/add-missing.tap: Don't set `$planned'.

2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: fix bug in TAP version of `skip_all_'
	* tests/tap-functions (skip_all_): Set `$have_tap_plan_' to "yes"
	when called, so that the exit trap won't write another TAP plan.

2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: fix skip directives to work also with TAP-based tests
	* test/defs: Use `skip_all_', not `skip_', to issue a skip of the
	whole calling test script.

2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: more environment cleanup
	* tests/defs: Also unset variables AM_COLOR_TESTS and
	AM_TESTS_ENVIRONMENT.

2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test harness: more minor VPATH-rewrite issues
	* tests/am/check.am (am__set_TESTS_bases, $(TEST_SUITE_LOGS),
	am--redo-logs, recheck, recheck-html): Cosmetic fixlets to
	minimize the risk of unwanted VPATH rewrites.
	(check-TESTS): Likewise, and normalize trailing whitespace
	since we are at it.
	Bugs exposed by test cases `check6-p.test' and `check7-p.test'.

2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test harness: "make -n check" works correctly with Solaris make
	To avoid some recipes being executed with "make -n", we used the
	trick of issuing recursive make calls not directly with $(MAKE),
	but with a simple indirection instead:
	  ...
	  am__stealth_MAKE = $(MAKE)
	  ...
	  target:
	      ... $(am__stealth_MAKE) ...
	  ...
	This hack worked with GNU make, but, unfortunately, not with
	Solaris make.  The present change removes the hack, and uses more
	proper idioms to avoid unwanted recipe executions with "make -n".
	Bug exposed by test case `parallel-tests-dry-run.test'.
	* lib/am/check.am (am__stealth_MAKE): Remove, no more used.
	(.log.trs): Break recipe in multiple shell invocations.
	($(TEST_SUITE_LOG)): Likewise, and move some corner-case parts of
	the recipe to ...
	(am--redo-logs): ... this new internal helper .PHONY target.

2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix spurious failure with Solaris make
	* tests/distcheck-configure-flags-am.test: Avoid using `+=' too
	liberally with AM_DISTCHECK_CONFIGURE_FLAGS, since the line breaks
	so introduced, in conjunction with single quotes, might confuse
	Solaris make.

2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test harness: fixlet in workaround for VPATH rewrite issue
	Fixes a minor in previous commit `v1.11-983-gfda3de5'.
	* lib/am/check.am (am__set_TESTS_bases): Add forgotten end-of-line
	anchor to sed expression.  In comments, add reference to ...
	* tests/test-trs-basic.test: ... this test, which has been adapted
	and tightened (and tweaked).

2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test harness: work around a VPATH rewrite issue
	* lib/am/check.am (am__TEST_BASES): Removed, it's role taken
	over by ...
	(am__set_TESTS_bases): ... these new variable.
	($(TEST_SUITE_LOG): Use it, to avoid VPATH rewrite issues.
	* automake.in (handle_tests): Update the code for the cleanup
	of the `.trs' file to use `$(TEST_LOGS)' instead of
	`$(am__TEST_BASES)'.
	* tests/test-harness-vpath-rewrite.test: New test, better
	exposing the problem fixed by this change
	* tests/Makefile.am (TESTS): Add it.
	* tests/test-trs-basic.test: Update and extend.

2011-08-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	parallel-tests: work around Solaris XPG4 make segfault
	Issue exposed by test `posixsubst-tests-p.test', and similar to
	the problem solved by commit `v1.11-159-ge7aa360'.
	* lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Trim trailing
	whitespace from $list, to avoid triggering a nasty bug (potential
	segfault) on Solaris XPG4 make and Heirloom make.

2011-08-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: fix weird spurious failure with Solaris /bin/sh
	Solaris /bin/sh, when killed with a SIGTERM or SIGINT signal, can
	apparently end up exiting with exit status 208, instead of leaving
	the correct wide exit status to the parent.  See:
	 <http://dbaspot.com/shell/396118-bourne-shell-exit-code-term.html>
	Work around this incompatibility.
	* tap-signal.test: Look for the above Solaris bug.
	(signal_caught): Adapt to handle it.

2011-08-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: fix another spurious failure on Solaris make
	* tests/parallel-tests-log-override-recheck.test: Filter make
	output before grepping it, for make implementations that, like
	Solaris' one, print the whole of the failed recipe on failure.

2011-08-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: fix two spurious failures on Solaris make
	* tests/tests-environment-and-log-compiler.test: Do not fail if
	"make -n check" fails, as that is issued only for debugging, its
	semantics being tested in other test scripts.
	* tests/test-driver-strip-vpath.test: Likewise.

2011-08-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap driver: refactor and remove dead code
	* lib/tap-driver (get_tap_line): Removed, ...
	(all callers): ... updated to use $parser->next directly instead.
	(peek_tap_line, unget_tap_line, @tap_lines): Remove, they're not
	used anymore.
	(TAP_PEEKING): Block deleted, all its subroutines and variables
	having been removed.

2011-08-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: fix spurious failure in a test on TAP support
	* tests/tap-passthrough-exit.test: When the `--ignore-exit' flag
	of the TAP driver is used, don't look for a message reporting the
	non-zero exit statuses of tests in the log files; such message is
	not expected to be there anymore.  Related simplifications.

2011-08-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: plan location is more liberal w.r.t. non-TAP lines
	With this change, only lines that are TAP results will matter
	w.r.t. the position of the TAP plan in the input; for example,
	this input:
	  this is a non-TAP line
	  # and this a TAP diagnostic line
	  1..1
	  ok 1
	was considered to be an error, diagnosed with a message "test
	plan in middle of output"; as effect of the current change, such
	input is now valid.  This is more consistent with the behaviour
	of the `prove' utility.
	* lib/tap-driver ($lineno): Removed, no more needed.
	($tap_stopped): New global variable.
	(stringify_test_result): Return "ERROR" if a TAP result is found
	when `$tap_stopped' is set to true.
	(handle_tap_test): Diagnose TAP results that comes after a late
	plan.  Add a couple of blank lines, for clarity.
	(handle_tap_plan): Set `$tap_stopped' to true after a late plan
	is encountered.  Do not complain anymore for extra non-TAP lines
	preceding or following the plan.  Adjust comments.
	(main): Don't increment $lineno anymore.
	* tests/tap-plan.test: Extend a bit, and remove stale comment.
	* tests/tap-color.test: Adjust.
	* tests/tap-passthrough.test: Likewise.
	* tests/tap-plan-corner.test: Adjust and extend.
	* tests/tap-plan-errors.test: Likewise.
	* tests/tap-plan-middle.test: New test.
	* tests/tap-plan-corner2.test: Delete, it's obsolete now.
	* tests/Makefile.am (XFAIL_TESTS): Remove it.
	(tap_with_common_setup_tests): Likewise, and add
	`tap-plan-corner.test'.

2011-08-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: remove now-passing test from XFAIL_TESTS
	* tests/Makefile.am (XFAIL_TESTS): Remove `tap-signal.test',
	which is passing since previous commit `v1.11-974-gc7fa872'.

2011-08-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: get name of TAP-using tests correctly
	This change fixes the names of the temporary directories used
	by the TAP-based tests (e.g., test `foo.tap' now uses `foo.dir'
	rather than `foo.tap.dir'); more importantly, this make the
	variable `$destdir' defined in `tests/defs' usable also in the
	TAP tests.
	($me): Also strip the any `.tap' suffix from the name of the
	test.

2011-08-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: TAP tests properly decide when to remove tempdirs
	Before this change, the TAP tests in the Automake testsuite were
	removing the temporary test directory even when they failed or
	were skipped, thus making debugging more difficult.
	* tests/tap-functions.sh (incr_tap_count): Removed, superseded
	by ...
	(incr_): ... this function, which can increment the value of any
	variable passed to it.
	(result_):  Updated to use `incr_' instead of the now-removed
	`incr_tap_count_'.  Keep count of failures, xfailures, xpasses,
	and skips, using ...
	($tap_skip_count_, $tap_bad_count, _$tap_xfail_count_): ...
	these new variables.
	* tests/defs (trap): Try to use their values to decide whether
	the temporary directory being used by the test script should be
	removed or not.  Other code reorganizations.  And move the code
	for the removal of the temporary directory out to ...
	(rm_rf_): ... this new subroutine.
	(Main code): Use that instead of duplicating the code.

2011-08-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: improve and refactor our custom TAP shell library
	This change is mostly done in preparation for the next one.
	* tests/tap-functions.sh (result_with_directive_): Merge into ...
	(result_): ... this function, which has been greatly extended and
	improved in various ways.
	(ok_, not_ok_, skip_, xfail_, xpass_): Adjust.
	Adjust comments.  Remove an extra empty line.
	* tests/instspc.tap: Use the new improved interface of `result_'.
	* tests/tap-bad-prog.tap: Likewise.

2011-08-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: update "user interface" description in tests/README
	* tests/README (Subsection "Interpretation"): Mention the "ERROR"
	outcome.
	(Subsection "Getting details from failures"): Don't tell that the
	test scripts can be run directly, this is not 100% true; anymore;
	instead ...
	(Subsection "About the tests"): ... use this new subsection to
	explain how to run the tests (either simple or TAP-based) by hand.
	(Subsection "Supported shells"): Extend to refer to TAP tests too.

2011-08-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: TAP tests can have early plan now
	* tests/defs: When using TAP, allow the user to specify the number
	of tests through the `$planned' variable.
	(trap): Do not print the auto-generated plan if an explicit one
	has already been printed.
	* tests/defs-static.in: Complain and bail out if the `$planned'
	variable is exported in the environment.  Reformat the code to
	facilitate future additions.
	* tests/Makefile.am (TESTS_ENVIRONMENT): Neutralize `$planned'.
	* tests/self-check-env-sanitize.test: Update.
	* tests/ac-output-old.tap: Give an explicit TAP plan, by defining
	`$planned' just before including `./defs'.
	* tests/depmode.tap: Likewise.
	* tests/automake-cmdline.tap: Likewise.
	* tests/tap-bad-prog.tap: Likewise.
	* tests/instspc.tap: Likewise, and related adjustments.
	* tests/add-missing.tap: Make it explicit that we have no a-priori
	plan, and tell why.

2011-08-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: run autogenerated tests with $(LOG_COMPILER) too
	This change enhances consistency in the testsuite.
	* tests/Makefile.am: Some cosmetic reordering, to keep the
	definition of FOO_LOG_COMPILER near to the place where `.foo'
	is added to $(TEST_EXTENSIONS).
	(PTEST_LOG_COMPILER): Run `$(srcdir)/parallel-tests.sh' with
	`$(LOG_COMPILER)', not with `$(SHELL)'.
	(SHTST_LOG_COMPILER): Likewise.

2011-08-07  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: run TAP and "plain" tests with the same $(LOG_COMPILER)
	With this change, it will be easier to override, at make time, the
	shell used to run the tests.
	* tests/Makefile.am (LOG_COMPILER): Define to `$(SHELL)'.
	(TEST_LOG_COMPILER): Re-define to `$(LOG_COMPILER)'.
	(TAP_LOG_COMPILER): Likewise.

2011-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: run TAP-based tests explicitly with $(SHELL)
	* tests/Makefile.am (TAP_LOG_COMPILER): Define to `$(SHELL)'.

2011-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap driver: handle signals received by the tests being run
	* lib/tap-driver (get_test_exit_message): Also deal with signals,
	by using the `wait' method of the TAP::Parser object instead of
	the `exit' method.  This required the use of the standard perl
	module `POSIX'.
	* doc/automake.texi (Use TAP with the Automake test harness):
	Document that `--ignore-exit' has effect also on terminating
	signals.  Add a "synchronizing" comment that references the tests
	'tap-exit.test' and 'tap-signal.test'.
	* tests/tap-signal.test: Extend and adjust.

2011-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test driver: a preparatory refactoring (2)
	* lib/tap-driver (finish): Move code to fetch the message about
	the exit status of the test being run to ...
	(get_test_exit_message): ... this new subroutine.

2011-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap driver: a preparatory refactoring (1)
	* lib/tap-driver (finish): Do not flush the TAP stream nor
	fetch the exit status of the TAP producer if running with
	the `--ignore-exit' option.  Obviously, don't try to write
	such exit status in the test log anymore.

2011-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	cosmetics: typofix in the name of a function in the TAP driver
	* lib/tap-driver (testuite_error): Renamed ...
	(testsuite_error): ... to this, and minor related reformatting.

2011-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: scripts with a SKIP plan but with exit status != 0 must error
	This change has been motivated by Automake's own testsuite.  Some
	TAP tests there were erroring out (due to unexpected, unhandled
	failures) before having encountered TAP result, so that the
	simple-minded shell library implementing TAP generation ended up
	printing a "1..0" trailing test plan; this caused the script to be
	reported as a SKIP rather than an ERROR -- a nasty false negative.
	* lib/tap-driver: Add prototypes for each subroutine, to free up
	the order in which they can be defined and called.
	(main): Move the code checking for a bad exit status of the TAP
	producer ...
	(finish): ... here, and flush the TAP stream to ensure that the
	parser always obtains the producer's exit status.
	* tests/tap-skip-whole-badexit.test: New test.
	* tests/Makefile.am (tap_with_common_setup_tests): Add it.

2011-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: fix whitespace munging of diagnostic messages
	* lib/tap-driver (extract_tap_comment): Pass the `g' flag to the
	substitution operator, to strip also trailing whitespaces.  Fixes
	a failure in test `tap-whitespace-normalization.test'.

2011-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: refactor and cleanup 'instspc.tap'
	* tests/instspc.tap (is_in_list): New helper subroutine.
	(expected_to_fail): Re-implement using it.
	(define_problematic_string): Likewise.  Also, rename the special
	arguments `build-fail' and 'install-fail' to respectively
	`builddir-fail' and `destdir-fail', and other related changes.
	(Test data definition): Adapt.
	($instspc_xfail_builds_list): Renamed ...
	($builddir_xfails): ... to this.
	($instspc_xfail_installs_list): Renamed ...
	($destdir_xfails): ... to this.
	($instspc_names_list): Renamed ...
	($test_names_list): ... to this.
	($instspc_test_string): Renamed ...
	($test_string): ... to this.
	Add some explicative and "FIXME" comments.

2011-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: use TAP for `depmod*' tests, related simplifications
	* tests/depmod-tests.sh: Delete this complex and multifarious
	script, moving all it checks it used to perform into ...
	* tests/depmod.tap: ... this TAP-based test script.  And extend
	it quite a bit, since the new form of the test was papering over
	some pre-existing failures (this was due to the fact that the
	values used for the VPATH were shorter in the new test script).
	* tests/depmod-data.test: Deleted.
	* tests/Makefile.am ($(srcdir)/depmod-tests.am): Don't include
	nor generate it anymore.
	(EXTRA_DIST): Don't distribute depmod-tests.sh anymore.
	(TEST_EXTENSIONS): Remove '.depmod'.
	(DEPMOD_LOG_COMPILER): Deleted.
	(depmod-data.log, $(depmod_tests:.depmod=.log)): Delete
	dependencies for these files, which are not used anymore.
	($(depmod_tests)): Delete this dummy dependency declaration.
	(TESTS): Remove $(depmod_tests).
	(handwritten_tests): Remove depmod-data.test, add depmod.tap.
	* bootstrap: Don't generate tests/depmod-tests.am anymore.

2011-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: use TAP for `instspc*' tests, related simplifications
	* tests/instspc-tests.sh: Delete this complex and multifarious
	script, moving all it checks it used to perform into ...
	* tests/instspc.tap: ... this TAP-based test script.
	* tests/instspc-data.test: Deleted.
	* tests/Makefile.am ($(srcdir)/instspc-tests.am): Don't include
	nor generate it anymore.
	(EXTRA_DIST): Don't distribute instspc-tests.sh anymore.
	(TEST_EXTENSIONS): Remove '.instspc'.
	(INSTSPC_LOG_COMPILER): Deleted.
	(XFAIL_TESTS): Remove $(instspc_xfail_tests).
	(instspc-data.log, $(instspc_tests:.instspc=.log)): Delete
	dependencies for these files, which are not used anymore.
	($(instspc_tests)): Delete this dummy dependency declaration.
	(TESTS): Remove $(instspc_tests).
	(handwritten_tests): Remove instspc-data.test, add instspc.tap.
	* bootstrap: Don't generate tests/instspc-tests.am anymore.

2011-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: do fd redirections with $(AM_TESTS_FD_REDIRECT)
	* tests/Makefile.am: The redirections of file descriptors needed
	by our test scripts is now done using the $(AM_TESTS_FD_REDIRECT)
	variable (the new blessed way since commit `v1.11-906-gb9e9d54'),
	not using an hack involving $(AM_TESTS_ENVIRONMENT).  This has
	the further benefit of allowing the use of $(TESTS_ENVIRONMENT)
	again on part of the users.
	* tests/Makefile.am (AM_TESTS_ENVIRONMENT): Remove redirection of
	file descriptors.
	(AM_TESTS_FD_REDIRECT): Redirect file descriptor 9 to original
	stderr.
	Comments adjusted.
	* tests/plain-functions.sh ($stderr_fileno_): Update comment.

2011-08-05  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: use custom TAP diagnostic in our own tests
	This change allow us to easily and transparently avoid spurious
	TAP diagnostic in our own testsuite, with the help of the new
	`--diagnostic-string' option of our TAP test driver.
	* tests/Makefile.am (TAP_LOG_DRIVER_FLAGS): Also pass option
	`--diagnostic-string' with value `#%#' (necessarily obtained
	through some shell indirections).
	* tests/tap-functions.sh (diag_): Assume that the string denoting
	TAP diagnostic is stored in the `$diag_string_' variable.  Update
	comments.
	($diag_string_): Initialize to "#".
	* tests/defs ($diag_string_): Re-define to "#%#".
	(show_): Remove, it's obsolete now.
	* add-missing.tap: Don't use `show_' anymore to avoid spurious
	TAP diagnostic; `cat' should suffice now.

2011-08-05  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: fix typo in TAP driver version message
	* lib/tap-driver (anonymous subroutine printing the script version
	message): Add missing trailing newline to the version message.

2011-08-05  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap docs: we don't support pragma or version directives (yet)
	* doc/automake.texi (Incompatibilities with other TAP parsers
	and drivers): Document that limitation.  Normalize an unrelated
	"TODO" item.

2011-08-05  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: new option to change the string designating TAP diagnostic
	Here we introduce a new option `--diagnostic-string' in our TAP
	test driver, that allows the user to specify which string should
	denote the beginning of a TAP diagnostic line.  This change is
	not gratuitous, nor result if over-engineering: it is motivated
	by real issues that have emerged during the use of TAP in the
	Automake's own testsuite (see the commit `v1.11-1082-g9b967c2'
	"testsuite: yet more use of TAP, and related extensions").
	* doc/automake.texi (Use TAP with Automake test harness): Document
	the new option.
	(Incompatibilities with other TAP parsers and drivers): Report it
	as a potential source of incompatibility.
	* lib/tap-driver ($diag_string): New global variable, defaulting
	to "#", and whose value can be changed ...
	(Getopt::Long::GetOptions): ... by the newly recognized option
	`--diagnostic-string'.
	(handle_tap_comment): Subroutine removed, some of its simple logic
	inlined ...
	(main): ... in here, where now ...
	(extract_tap_comment): ... this new subroutine is used.
	($USAGE): Adjust.
	* tests/tap-diagnostic.test: Make one check slightly stricter.
	* tests/tap-diag-custom.test: New test.
	* tests/Makefile.am (tap_other_tests): Add it.

2011-08-05  Stefano Lattarini  <stefano.lattarini@gmail.com>

	check: add small "synchronization" comment to `test-driver'
	* lib/test-driver: Add comment to the code initializing ANSI color
	escapes, telling to keep it in sync with the similar initialization
	in `lib/am/check.am'.

2011-08-05  Stefano Lattarini  <stefano.lattarini@gmail.com>

	maintcheck: fix spurious failure w.r.t. use of bare "exit"
	* tests/check12.test: Cosmetic changes to avoid triggering a
	spurious failure of the `sc_tests_Exit_not_exit' maintainer
	check.

2011-08-05  Stefano Lattarini  <stefano.lattarini@gmail.com>

	check: update comments to reflect recent heavy changes
	* lib/am/check.am [%?PARALLEL_TESTS%]: Update the comments to
	reflect the recent changes.  Remove quite many comments that
	were merely duplicating excerpts from the Automake manual.

2011-08-05  Stefano Lattarini  <stefano.lattarini@gmail.com>

	check: small cleanups and refactorings in test harness and drivers
	* lib/tap-driver (yn): New subroutine, converts a boolean value to
	a "yes" or "no" string.
	(write_test_results): Use it, and related reformatting.
	* lib/test-driver (trap): Also remove the `.trs' file on signals,
	for extra safety.
	(fatal): Remove this function, it's never used.
	($logfile, $trsfile): Renamed ...
	($log_file, $trs_file): ... to these, for clarity, and in order to
	be more consistent with the `tap-driver' script.
	Improve a couple of comments.
	* automake.in (handle_tests): Don't define anymore the now-obsolete
	make macro `$(TEST_LOGS_TMP)', nor add it to the list of files to
	be removed upon "make mostlyclean".
	* lib/am/check.am ($(TEST_SUITE_LOG)): New shell function `f_ok',
	tells whether a path refers to an existing, regular, readable file.
	Use it throughout.
	(recheck): Be safer w.r.t. make implementation that run recipes
	with `errexit' shell flag active.

2011-08-05  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: use AM_TESTS_FD_REDIRECT where appropriate
	* parallel-tests-interrupt.test: Use AM_TESTS_FD_REDIRECT, not
	AM_TESTS_ENVIRONMENT, to define file descriptors' redirection
	for "make check".  Fix botched comment.

2011-08-05  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs: some fixlets in documentation on testsuites support
	* doc/automake.texi (Script-based Testsuites): Rename node ...
	(Scripts-based Testsuites): ... to this.  Break overly long lines
	in an example (were causing problems with PDF output).
	(Parallel Test Harness): Don't intend paragraphs that come after
	examples or bulleted list.
	(Overview of Custom Test Drivers Support): Fix typo s/the the/the/.
	(Declaring Custom Test Drivers): When giving an aside, prefer comma
	to parentheses, as it disrupts the reading flow less.
	(API for Custom Test Drivers): Remove a sentence that was basically
	duplicated from the previous subsection.
	(Command-line arguments for test drivers): Don't intend paragraph
	coming after an itemized list.  Clarify wording and fix grammaros.
	Add a couple of cross-references to earlier explanations of `.log'
	and `.trs' files.
	(Links and external resources): Node renamed ...
	(Links and external resources on TAP): ... to this, for clarity.
	Slightly extend and clarify introductory sentence.

2011-08-04  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test harness: be aware of more metadata, simplify test drivers
	* lib/am/check.am ($(TEST_SUITE_LOG)):  When producing the
	global test log, take into account the new metadata field
	`:global-test-result:, to write nicely formatted RST section
	titles, instead of leaving this chore to the individual test
	drivers.
	(am_rst_section): Re-introduce this variable, as removed in
	commit `v1.11-870-ga27c9c4'.
	* lib/test-driver, lib/tap-driver: Write the global test result
	as metadata in the `.trs' file, not as (part of) a formatted RST
	subsection title in the `.log' file.  Related simplifications;
	in particular, get rid of temporary files usage.
	* doc/automake.texi (Log files generation and test results
	recording): Document the new metadata.
	* tests/check12.test: Update.
	* tests/parallel-tests-harderror.test: Likewise.
	* tests/parallel-tests-interrupt.test: Likewise.
	* tests/parallel-tests-log-override-2.test: Likewise.
	* tests/parallel-tests-log-override-recheck.test: Likewise.
	* tests/parallel-tests-unreadable.test: Likewise.
	* tests/tap-global-result.test: Likewise.
	* tests/test-metadata-results.test: Likewise.
	* tests/test-log.test: Likewise, and another minor unrelated fix.
	* tests/test-metadata-global-result.test: New test.
	* tests/Makefile.am (TESTS): Update.

2011-08-03  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: check that also a trailing TAP plan can hold a skip directive
	* tests/tap-skip-whole-lastline.test: New test.
	* tests/Makefile.am (tap_with_common_setup_tests): Add it.

2011-08-04  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: more correct names for a couple of tests
	* tests/parallel-tests-ext-driver.test: Rename ...
	* tests/parallel-tests-log-compiler-1.test: ... to this, and
	adjust heading comments.
	* tests/parallel-tests-ext-driver-prog.test: Rename ...
	* tests/parallel-tests-log-compiler-2.test: ... to this, and
	adjust heading comments.
	* tests/Makefile.am (TESTS): Update.

2011-08-04  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: fix another spurious failure
	* tests/parallel-tests-ext-driver.test: Name out custom/dummy
	log compilers as `foo-compiler' rather `foo-driver'; not only
	this is less confusing, it also avoids errors due to the dummy
	log compiler `test-driver' overriding the `test-driver' helper
	script installed by Automake.
	* tests/parallel-tests-ext-driver-prog.test: Adjust heading
	comments.

2011-08-04  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: fix a spurious failure
	* tests/parallel-tests-ext-driver.test: Exporting of environment
	variables directly from $(LOG_COMPILER) variables is not allowed
	anymore.  Adjust to this.

2011-08-04  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: yet more use of TAP, and related extensions
	* tests/defs (show_): New function, display the contents of one or
	more files on stdout, with bells & whistles (both for cosmetic and
	practical reasons, the latter aimed at avoiding spurious TAP
	diagnostic).
	(AUTOMAKE_run): Extend and adapt to make it compatible with TAP
	based tests.  Since we are at it, make its implementation more
	namespace-safe, and improve its command-line interface.
	(AUTOMAKE_fails): Adapt to the new command-line interface of
	`AUTOMAKE_run'.
	* tests/add-missing.test: Renamed ...
	* tests/add-missing.tap: ... to this, and converted to the use
	of the TAP protocol, and of the new `show_' function.
	* tests/automake.test: Renamed ...
	* tests/automake-cmdline.tap: ... to this, and converted to the
	use of the TAP protocol.
	* tests/getopt.test:  Adapt to the new command-line interface
	of `AUTOMAKE_run'.
	* tests/cond44.test: Likewise.
	* tests/cond45.test: Likewise.
	* tests/configure.test: Likewise.
	* tests/license2.test: Likewise.
	* tests/parallel-am.test: Likewise.
	* tests/parallel-am3.test: Likewise.
	* tests/tags2.test: Likewise.
	* tests/werror3.test: Likewise.
	* tests/werror4.test: Likewise.
	* tests/amopts-variable-expansion.test: Likewise.
	* tests/warnings-win-over-strictness.test: Likewise.
	* tests/Makefile.am (TESTS): Update.
	(TAP_LOG_DRIVER_FLAGS): Add `--merge', so that TAP diagnostic is
	reported in the testsuite progress output.

2011-08-03  Stefano Lattarini  <stefano.lattarini@gmail.com>

	maintcheck: fix more maintainer-check failures
	* tests/test-driver-custom-no-html.test (no-rst): Use `EOF',
	not `EoL', as the here-document delimiter.
	* tests/test-trs-basic.test: Use `cat + here-doc' rather
	than `echo' when creating the dummy test scripts, to please
	maintainer-check.
	* tests/test-trs-recover.test: Use creative quoting where
	needed, to please maintainer-check.
	* tests/parallel-tests-no-color-in-log.test: Likewise.
	* tests/parallel-tests-dry-run.test: Likewise.

2011-08-03  Stefano Lattarini  <stefano.lattarini@gmail.com>

	maintcheck: fix maintainer-check failures, both real and spurious
	* tests/amhello-binpkg.test: Use "$MAKE", not bare "make".
	* Makefile.am (sc_perl_local): Also allow perl special variable
	`$~' to be localized.  And be slightly laxer in the regexp, to
	allow for usages like "local $_ = $foo;".
	(sc_tests_overriding_macros_on_cmdline): Also allow for command
	line overriding of the `DISABLE_HARD_ERRORS' make variable.  Try
	to avoid false positives for usages like "$MAKE || st=$?".

2011-08-03  Bruno Haible  <bruno@clisp.org>

	docs: how to use '-I' option in AM_CPPFLAGS for best VPATH support
	* doc/automake.texi (Program Variables): Recommend -I options to
	both the build directory and the source directory when needed.

2011-07-23  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: relax a test on amhello examples to cater to Solaris tar
	* tests/amhello-binpkg.test: When the tar implementation in use
	is not GNU tar, relax the tests on tar output, to avoid spurious
	failures.  For example, "tar cvf ..." with GNU tar can output
	lines like "./usr/bin/hello" on the standard output, while with
	Solaris tar it can output lines like "a ./usr/bin/hello 8K" on
	standard output, and with Heirloom tar it can output lines like
	"a ./usr/bin/hello 15 tape blocks" on standard error.

2011-07-23  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test defs: function 'is_newest' now works also with directories
	* tests/defs (is_newest): Call `find' with the `-prune' option,
	so that it won't descend in the directories (which could cause
	spurious results).
	* tests/self-check-is_newest: Extend accordingly.
	From a report by Jim Meyering, see automake bug#9147.

2011-07-15  Benoit Sigoure  <tsunanet@gmail.com>

	docs: add references between the 2 sections on java support
	* doc/automake.texi (Java Support, Java): Add cross-references.

2011-07-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	Sync auxiliary files from upstream.
	* INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub,
	lib/texinfo.tex: Sync from upstream.

2011-07-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: fix weakness in 'tests-environment-backcompat.test'
	* tests/tests-environment-backcompat.test: Do not override the
	content of xfailing test `baz.test' with a "weaker" version that
	fails unconditionally: the test must fail only when the 'strict'
	pragma is in use, in order not to reduce coverage.

2011-07-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs, tests: synchronize examples on silent-rules from config.site
	* doc/automake.texi (Automake silent-rules Option): Reference test
	'silent-configsite.test' in comments.

2011-07-08  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tests: portability fixes in tests on amhello examples
	* tests/amhello-binpkg.test: Don't use "tar xzf too.tag.gz" to
	extract a gzip-compressed tarball, that's unportable to some
	tar implementations; use the "gzip -dc fo.tar.gz | tar xf -"
	idiom instead.
	* tests/amhello-cflags.test: Likewise.
	* tests/amhello-cross-compile.test: Likewise.
	Suggestion from Ralf Wildenhues.

2011-07-04  Stefano Lattarini  <stefano.lattarini@gmail.com>

	remake: add test ensuring that slower remakes don't hang
	* tests/remake-subdir-long-time.test: New test.
	* tests/Makefile.am (TESTS): Update.
	Suggestion by Ralf Wildenhues.

2011-07-04  Stefano Lattarini  <stefano.lattarini@gmail.com>

	remake: fix outdated comment in configure.am
	* lib/am/configure.am: Fix comment falsified by changes in
	commit `v1.11-366-gbee9871'.
	Suggestion by Ralf Wildenhues.

2011-07-01  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs, tests: synchronize examples from docs to tests
	* tests/README (Writing test cases): Give suggestions on how to
	keep test cases and examples in the documentation synchronized.
	* doc/automake.texi: Improve or fix existing testcase-referencing
	comments, and add many new ones.
	* HACKING (Administrivia): Suggest to test complex examples and
	idioms from the manual.
	* tests/specflg8.test: Improve synchronization with the example
	in the manual.
	* tests/output11.test:Likewise.
	* tests/txinfo21.test:Likewise.
	* tests/interp.test: Likewise.
	* tests/amhello-cflags.test: New test.
	* tests/amhello-cross-compile.test: Likewise.
	* tests/amhello-binpkg.test: Likewise.
	* tests/tests-environment-backcompat.test: Likewise.
	* tests/parallel-tests-log-compiler-example.test: Likewise.
	* tests/Makefile.am (TESTS): Update.

2011-06-30   Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: new test on parallel-tests TESTS runtime overriding
	* tests/parallel-tests-cmdline-override.test: New test, check that
	we can use indirections when overriding TESTS and TEST_LOGS from
	the command line.
	* tests/Makefile.am (TESTS): Update.

2011-08-03  Stefano Lattarini  <stefano.lattarini@gmail.com>

	gitignore: ignore `*.trs' files in lib/Automake/tests
	* lib/Automake/tests/.gitignore: Add `*.trs' pattern.

2011-08-03  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: list another "forgotten" test script in Makefile.am
	* tests/Makefile.am (TESTS): Also list test script
	`test-driver-trs-suffix-registered.test'; it had been introduced
	in commit `v1.11-910-g0c81b43', but by mistake it wasn't added
	to the list of tests in the Makefile back then.

2011-08-03  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: list "forgotten" test script in Makefile.am
	* tests/Makefile.am (TESTS): Also list the test script
	`parallel-tests-no-color-in-log.test'; it had been introduced in
	commit `v1.11-899-geaac33f', but by mistake it wasn't added to
	the list of tests in the Makefile back then.

2011-08-03  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: remove duplicated mention of a test in Makefile.am
	* tests/Makefile.am (tap_other_tests): Remove `tap-empty.test',
	it is already listed in `$(tap_with_common_setup_tests)'.

2011-08-03  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: one more use of TAP in our own tests
	* tests/tap-bad-prog.test, tests/tap-bad-prog2.test: Merged
	into ...
	* tests/tap-bad-prog.tap: ... this TAP-generating test.
	* tests/Makefile.am (tap_other_tests): Remove plan-bad-prog.test
	and plan-bad-prog2.test.
	(XFAIL_TESTS): Remove plan-bad-prog2.test.
	(plan-bad-prog2.log): Remove.

2011-08-03  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: scaffolding to allow use of TAP in our own tests
	Now that Automake has initial support for the TAP test protocol,
	we can start "eating our own dog food" and rewrite some tests to
	use TAP; this should allow for better granularity, especially in
	the control of skips and expected failures.  With this change, we
	set up the initial scaffolding required by the planned TAP tests,
	and convert few older tests to use TAP, mostly in order to verify
	that there are no obvious errors.  The tests in our testsuite that
	use the TAP protocol will be marked by the new `.tap' extension.
	* tests/plain-functions.sh: New file containing definition of
	helper shell functions used by the "protocol-less" tests of the
	Automake testsuite.
	* tests/tap-functions.sh:  New file containing definition of
	helper shell functions used by the TAP-producing tests of the
	Automake testsuite.
	* tests/defs: Remove definitions of some functions that are
	now defined in `plain-functions.sh'.  Instead, source one of
	`plain-functions.sh' or `tap-functions.sh', depending on whether
	`$use_tap' is set to "no" or "yes".
	(exit trap): Call `late_plan_' if `$use_tap' is true.  Also,
	unset shell traces before issuing the latest commands, to avoid
	confusing the tap driver with spurious output.
	* tests/defs-static.in ($use_tap): New variable, by default set
	to "yes" if the calling test script has a `.tap' suffix, and to
	"no" otherwise.  The individual scripts can override it though.
	In code sanity-checking the environment, verify that `$use_tap'
	is not exported.
	* tests/self-check-env-sanitize.test: Update, and small related
	reformatting.
	* tests/self-check-tap.test: New very minimal self test.
	* tests/acoutbs.test, tests/acoutbs2.test, tests/acoutnoq.test,
	tests/acoutpt.test, tests/acoutpt2.test, tests/acoutqnl.test:
	Removed, merged into ...
	* tests/ac-output-old.tap: ... this new test, that uses TAP.
	* tests/Makefile.am (TAP_LOG_DRIVER): Define to invoke our own
	`tap-driver' script.
	(TAP_LOG_DRIVER_FLAGS): Define to `--merge', so that the stdout
	and stderr of the test scripts remains synced.
	(TEST_EXTENSIONS): Define, to add the `.tap' suffix; also list
	the `.test' suffix explicitly.
	(EXTRA_DIST): Distribute the new files `plain-functions.sh' and
	`tap-functions.sh'.
	($(TEST_LOGS)): Depends on them.
	(AM_TESTS_ENVIRONMENT): Ensure that `use_tap' is not exported in
	the environment of the tests.
	(TESTS): Update.

2011-08-03  Stefano Lattarini  <stefano.lattarini@gmail.com>

	* NEWS: Fix typo, and related reformatting.

2011-08-03  Stefano Lattarini  <stefano.lattarini@gmail.com>

	* NEWS: add mention of new experimental TAP support

2011-08-02  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: rename some test scripts
	* tests/parallel-tests-am_tests_environment.test: Renamed ...
	* tests/am-tests-environment.test: ... to this.
	* tests/check-tests_environment.test: Renamed ...
	* tests/tests-environment.test: ... to this.
	* tests/parallel-test-driver-install.test: Renamed ...
	* tests/parallel-tests-driver-install.test: ... to this.
	* tests/parallel-tests-make-n.test: Renamed ...
	* tests/parallel-tests-dry-run.test: ... to this.
	* tests/Makefile.am (TESTS): Updated.

2011-08-02  Stefano Lattarini  <stefano.lattarini@gmail.com>

	coverage: parallel-tests and lazy dependencies on EXTRA_PROGRAMS
	* tests/parallel-tests-extra-programs.test: New test.
	* tests/Makefile.am (TESTS): Update.
	* doc/automake.texi (Parallel Test Harness): Add a comment
	pointing to the new test.

2011-08-02  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs: improve, extend and fix documentation on TAP support
	* doc/automake.texi ("Using the TAP test protocol"): Divide this
	section into ...
	("Introduction to TAP", "Use TAP with the Automake test harness",
	"Incompatibilities with other TAP parsers and drivers", "Links
	and external resources"): ... these subsections, extend them by
	adding more information and examples, and improve them by removing
	incomplete and/or temporary wordings and TODO items.
	("Script-based Testsuites", "Parallel Test Harness"): Add a couple
	of anchors to improve the granularity of cross-references.
	* tests/tap-doc2.test: New test, verifying the correctness of the
	new examples given in the manual.
	* tests/Makefile.am (tap_other_tests): Add the new test.

2011-08-01  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: separate the only failing check of an xfailing test
	* tests/plan-bad-prog.test: Move the only failing check of this
	test (i.e., the one about the total number of "ERROR" outcomes)
	into ...
	* tests/plan-bad-prog2.test: ... this new test.
	* tests/Makefile.am (XFAIL_TESTS): Remove `plan-bad-prog.test',
	add `plan-bad-prog2.test'.
	(tap_other_tests): Add `plan-bad-prog2.test'.
	(plan-bad-prog2.log): Depend on `plan-bad-prog.test'.

2011-08-01  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: fix spurious errors in an xfailing test on TAP support
	* tests/plan-bad-prog.test: Fix typo in the name of the test
	being made unreadable.  Correct the wording of the potential
	skip message, and simplify the condition under which the test
	is to be skipped.  Escape literal dots in grep regexps.

2011-08-01  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: better granularity in a couple of tests on TAP support
	* tests/tap-summary-aux.sh: New auxiliary script, filled with code
	moved out from ...
	* tests/tap-summary.test: ... this test, from which the checks on
	colored testsuite have further been moved into ...
	* tests/tap-summary-color.test: ... this new test, which in turn
	* tests/Makefile.am (tap_other_tests): Add `tap-summary-color.test'.
	(EXTRA_DIST): Distribute `tap-summary-aux.sh'
	(tap-summary.log): Depend on `tap-summary-aux.sh'.
	(tap-summary-color.log): Likewise.

2011-08-01  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: optimize tests on TAP for speed and against duplication
	The creation and configuration of common files and data used by
	many tests on TAP is, with this change, factored out into a new
	dedicated auxiliary test, from which those tests will depend upon.
	This reduces code duplication in tests and, more importantly,
	offers a noticeable speedup in the involved tests (30-40%).
	* tests/tap-common-setup.test: New test, setting up the common
	files and data used by various tests on TAP support.
	* tests/tap-setup.sh: New file, to be sourced by tests wanting to
	bring in data generated by `tap-common-setup.test'.
	* tests/tap-autonumber.test: Update to use the pre-computed data
	files.
	* tests/tap-bailout.test: Likewise.
	* tests/tap-color.test: Likewise.
	* tests/tap-deps.test: Likewise.
	* tests/tap-diagnostic.test: Likewise.
	* tests/tap-empty-diagnostic.test: Likewise.
	* tests/tap-empty.test: Likewise.
	* tests/tap-escape-directive.test: Likewise.
	* tests/tap-exit.test: Likewise.
	* tests/tap-signal.test: Likewise.
	* tests/tap-fancy.test: Likewise.
	* tests/tap-fancy2.test: Likewise.
	* tests/tap-global-log.test: Likewise.
	* tests/tap-global-result.test: Likewise.
	* tests/tap-html.test: Likewise.
	* tests/tap-log.test: Likewise.
	* tests/tap-merge-stdout-stderr.test: Likewise.
	* tests/tap-no-merge-stdout-stderr.test: Likewise.
	* tests/tap-message-0.test: Likewise.
	* tests/tap-no-disable-hard-error.test: Likewise.
	* tests/tap-no-spurious-summary.test: Likewise.
	* tests/tap-no-spurious.test: Likewise.
	* tests/tap-not-ok-skip.test: Likewise.
	* tests/tap-numeric-description.test: Likewise.
	* tests/tap-out-of-order.test: Likewise.
	* tests/tap-passthrough.test: Likewise.
	* tests/tap-passthrough-exit.test: Likewise.
	* tests/tap-plan.test: Likewise.
	* tests/tap-plan-corner.test: Likewise.
	* tests/tap-plan-corner2.test: Likewise.
	* tests/tap-plan-errors.test: Likewise.
	* tests/tap-realtime.test: Likewise.
	* tests/tap-recheck-logs.test: Likewise.
	* tests/tap-skip-whole.test: Likewise.
	* tests/tap-todo-skip-together.test: Likewise.
	* tests/tap-todo-skip-whitespace.test: Likewise.
	* tests/tap-todo-skip.test: Likewise.
	* tests/tap-unplanned.test: Likewise.
	* tests/tap-with-and-without-number.test: Likewise.
	* tests/tap-xfail-tests.test: Likewise.
	* tests/tap-skip-whole-whitespace.test: Likewise, and remove
	redundant definitions of `$sp' and `$tab' (they are already
	defined in `tests/defs').
	* tests/tap-whitespace-normalization.test: Likewise.
	* tests/Makefile.am (TESTS): Update.
	(EXTRA_DIST): Distribute `tap-setup.sh'.
	(tap_with_common_setup_tests, tap_with_common_setup_logs)): New
	variables, holding respectively the list of tests using the files
	pre-computed by `tap-common-setup.test', and the list of their
	corresponding log files.
	(tap_other_tests): New variable, holding the list of other tests
	on TAP support.
	($(tap_with_common_setup_logs)): Depend on `tap-common-setup.log'
	and `tap-setup.sh'.

2011-08-01  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test harness: use new `.trs' files to hold test metadata
	With this change, the test harness will keep test metadata in
	dedicated `.trs' files, instead of having them embedded into the
	`.log' files.  This allows for easier forward-compatibility and
	extension of test metadata, and for more flexibility in the
	format of the `.log' files.  Note that this change makes the
	`:end-metadata:' field obsolete.
	* doc/automake.texi (Parallel Test Harness, Log files generation
	and test results recording): Document the new APIs and behaviour;
	some related minor rewordings and fixlets.
	* NEWS: Update.
	* automake.in (handle_tests): When bringing in the content of
	`check2.am', substitute %BASE% with the basename of the `.log'
	file being created by a rule.  Add the generated `.trs' files
	to the list of files to be cleaned by "make mostlyclean".
	* lib/am/check.am (am__test_driver_flags): Rename ...
	(am__common_driver_flags): ... to this, and remove the flags
	`--test-name' and `--log-file' from it: they are now define in
	the proper rules in `check2.am'.
	(am__TEST_BASES): New internal variable, holding the names of
	the tests, with any registered extension removed.
	(am__stealth_MAKE): New internal variable, can be used instead of
	$(MAKE) in recipes requiring a recursive call to make, but which
	are not intended to be executed by "make -n".
	(.log.trs): New suffix rule, to recover from deletion of `.trs'
	files.
	($(TEST_SUITE_LOG)): Almost completely rewritten to follow the
	new API of "test logs in `.log' files, test metadata in `.trs'
	files".  It goes to some length to work correctly in face of
	unreadable or missing `.log' and `.trs' files, and to error out
	with proper error messages when this is not possible.
	[%?PARALLEL_TESTS%] (check-TESTS): Also remove relevant "stale"
	`.trs' files (in addition to `.log files) before remaking the
	$(TEST_SUITE_LOG).
	(recheck, recheck-html): Look for the `:recheck:' field in the
	`.trs' files, not in the `.log' files.
	* lib/am/check2.am (?GENERIC?%EXT%.log, ?!GENERIC?%OBJ%): Adjust
	the call to the test driver, in particularly passing the new
	option `--trs-file'.
	[%am__EXEEXT%] (?GENERIC?%EXT%$(EXEEXT).log): Likewise.
	* lib/tap-driver ($USAGE): Adjust the help screen.
	(Getopt::Long::GetOptions): Handle the `--trs-file' option,
	through the use of ...
	($trs_file): ... this new global variable.
	(finish): Write metadata for the test run to `$trs_file' rather
	then to `$log_file', through the use of ...
	(write_test_results): ... this new function.
	* lib/test-driver (print_usage): Update the help screen.
	(Option parsing): Handle the `--trs-file' option, through the
	use of ...
	($resfile): ... this new global variable.
	(Main code): Write metadata for the test run to `$trsfile' rather
	than to `$logfile'.
	Minor related adjustments to comments.
	* tests/.gitignore: Ignore `*.trs' files.
	* tests/parallel-tests-unreadable-log.test: Moved ...
	* tests/parallel-tests-unreadable.test: ... to this, and extended
	to also check the semantics for unreadable `.trs' files.
	* tests/test-driver-end-metadata.test: Deleted as obsolete.
	* tests/test-driver-metadata-no-leading-space.test: Likewise.
	* tests/test-driver-global-log.test: Renamed ...
	* tests/test-metadata-global-log.test: ... to this, and modified
	as to verify the new APIs and semantics.
	* tests/test-driver-recheck: Renamed ...
	* tests/test-metadata-recheck.test: ... to this, and modified
	likewise.
	* tests/parallel-tests-once.test: New test.
	* tests/parallel-tests-make-n.test: Likewise.
	* test-metadata-results.test: Likewise.
	* test-missing.test: Likewise.
	* test-missing2.test: Likewise.
	* test-trs-basic.test: Likewise.
	* test-trs-recover.test: Likewise.
	* test-trs-recover2.test: Likewise.
	* tests/Makefile.am (TESTS): Update.

2011-07-27  Stefano Lattarini  <stefano.lattarini@gmail.com>

	test harness: allow more metadata in log files
	This change reworks and improves the parallel test harness to use
	more specialized reStructuredText fields in the log files (instead
	of relying on specially-placed of "magic lines" and more indirect
	semantical formatting); the new fields are the following:
	 - ":recheck:": tell whether the associated test will have to be
	   re-run by "make recheck";
	 - ":copy-in-global-log:": tell whether the content of the log
	   file should be copied in the "global log" `test-suite.log';
	 - ":end-metadata:", which inhibits the scanning of the rest of
	   the log file (for what concerns test metadata).
	Also, the special `:test-result:' value "END" has been removed,
	superseded by the new `:end-metadata:' field.
	* doc/automake.texi (Log files generation and test results
	recording): Document the new API and semantics.  Remove or fix
	some obsolete comments.
	* lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
	Adjust comments and code.
	* lib/tap-driver (finish): Adjust, with the help of ...
	(must_recheck, copy_in_global_log): ... these new functions.
	* lib/test-driver (Main code): Adjust, with the help of ...
	($recheck, $gcopy): ... these new variables.
	* tests/trivial-test-driver: Update to obey the new APIs.
	* tests/test-driver-recheck.test: Likewise.
	* tests/test-driver-global-log.test: Likewise.
	* tests/tap-passthrough.test: Relax the test, avoiding to check
	what is written in `test-suite.log'; such check has been moved ...
	* tests/tap-global-log.test: ... in this new test, and extended.
	* tests/test-driver-metadata-no-leading-space.test: New test.
	* tests/test-driver-end-test-results.test: Removed, it checked
	the old APIs; superseded by ...
	* tests/test-driver-end-metadata.test: ... this new test.
	* tests/tap-log.test: Improve syncing with ...
	* tests/test-log.test: ... this new test.
	* tests/parallel-tests.test: Remove some duplication w.r.t. this
	last new test.  Updated heading comments.
	* tests/Makefile.am (TESTS): Update.

2011-07-27  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: fix a spurious failure with non-bash shells
	* tests/tap-fancy2.test: Remove an unportable use of backslashes
	with the `echo' builtin, which was causing some shells (among them
	bash and Debian /bin/ksh) to print a `\\' string, while other
	shells (among them zsh, dash, and Solaris /bin/sh and /bin/ksh)
	were unexpectedly printing a single `\' character.  Since we are
	at it, add a sanity check to ensure that this issue does not
	resurface.

2011-07-27  Stefano Lattarini  <stefano.lattarini@gmail.com>

	testsuite: fix spurious failures with Solaris /bin/sh
	* tests/tap-more.test: Use `echo > file', not `: > file', to
	create empty files in the "for" loops; this is required since,
	as documented in the autoconf manual, Solaris 10 /bin/sh
	"optimizes" away the `:' command after the first iteration,
	even if it is redirected.
	* tests/test-driver-custom-multitest-recheck2.test: Likewise.
	* tests/tap-numeric-description.test: Partial rewrite to avoid
	using positional parameters from the 10th onward, which are
	unportable to Solaris /bin/sh (using `${10}' causes the shell
	to die with "bad substitution").

2011-07-31  Stefano Lattarini  <stefano.lattarini@gmail.com>

	simple tests: support developer-defined fd redirections
	Motivated by coreutils bug#8846, and related discussions:
	 <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8846>
	 <http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00002.html>
	In those threads it has been shown how problematic it can be to do
	portable file descriptor redirections in the testsuite when using
	the Automake testsuite harness.  This change should remedy to that
	situation.
	* lib/am/check2.am (?GENERIC?%EXT%$(EXEEXT).log,
	?GENERIC?%EXT%.log, ?!GENERIC?%OBJ%): Append redirection defined
	in $(AM_TESTS_FD_REDIRECT) to the command-line invocations of the
	test scripts.
	* lib/am/check.am [!%?PARALLEL_TESTS%] $(check-TESTS): Likewise.
	* NEWS: Update.
	* doc/automake.texi (Script-based Testsuites): Document the new
	feature.
	* tests/check-fd-redirect.test: New test.
	* tests/parallel-tests-fd-redirect.test: Likewise.
	* tests/parallel-tests-am_tests_environment.test: Remove checks
	about the use of redirections in AM_TESTS_ENVIRONMENT: they would
	check deprecated (if not undefined) behaviour now.  Strengthen a
	couple of still valid checks, to keep the test more in sync with
	the documentation.  Improve debugging information.
	* tests/Makefile.am (TESTS): Update.

2011-07-22  Stefano Lattarini  <stefano.lattarini@gmail.com>

	docs: rework and extend documentation on testsuites support
	* doc/automake.texi (Generalities about Testing): New section.
	(Simple Tests using parallel-tests): Section removed, merged
	into ...
	(Simple Tests): ... this one, which on the other hand has been
	subdivided into ...
	(Script-based Testsuites, Serial Test Harness, Parallel Test
	Harness): ... these new subsection.
	(DejaGnu Tests): Minor adjustments.
	Other related typofixes and rewordings throughout the manual;
	in particular, avoid to use the term "test driver" for three
	different concepts (and use instead "test harness" and "test
	runner" where appropriate).
	* tests/tap-doc.test: New test.
	* tests/tap-no-disable-hard-error.test: Likewise.
	* tests/Makefile.am (TESTS): Update.

2011-07-18  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: support colorization of testsuite progress output
	* lib/tap-driver (%COLORS): New variable (definition extracted
	from `lib/am/check.am:$(am__tty_colors)', with some obvious
	adjustments.
	(report): Adjust to colorize console output when required,
	using ...
	(decorate_result): ... this new function.
	(colored): New function, used by the one above.
	* tests/tap-summary.test: Also run the checks when `color-tests'
	is in use.
	* tests/Makefile.am (XFAIL_TESTS): Remove `tap-color.test'.

2011-07-18  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: some preparatory refactoring (2)
	This is a follow-up simplification.
	* lib/tap-driver (console_output): Renamed ...
	(report): ... to this, and extended to appropriately register
	the test results when needed.
	(testsuite_error, handle_tap_comment, handle_tap_test,
	handle_tap_plan): Adjusted accordingly.

2011-07-18  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: some preparatory refactoring (1)
	This refactoring is aimed at simplifying the introduction of
	colored console output for the TAP driver.
	* lib/tap-driver (console_output): Now accept two arguments, the
	first one indicating which kind of thing is to be displayed (for
	now only a test result or a diagnostic comment), and the second
	one (if present) the message associated to it.
	(handle_tap_test, handle_tap_comment, handle_tap_plan,
	testsuite_error): Adapt to the new `console_output' interface.

2011-07-18  Stefano Lattarini  <stefano.lattarini@gmail.com>

	tap: add experimental TAP-aware driver
	* doc/automake.texi (Using the TAP test protocol): New section.
	(Overview of Custom Test Drivers Support): Minor updates.
	* lib/tap-driver: New script, TAP-aware test driver for Automake;
	implemented in perl and based on TAP::Parser.
	* lib/Makefile.am (dist_script_DATA): Add it.
	* tests/tap-autonumber.test: New test.
	* tests/tap-bailout.test: Likewise.
	* tests/tap-basic.test: Likewise.
	* tests/tap-deps.test: Likewise.
	* tests/tap-diagnostic.test: Likewise.
	* tests/tap-empty.test: Likewise.
	* tests/tap-empty-diagnostic.test: Likewise.
	* tests/tap-escape-directive.test: Likewise.
	* tests/tap-exit.test: Likewise.
	* tests/tap-fancy.test: Likewise.
	* tests/tap-fancy2.test: Likewise.
	* tests/tap-global-result.test: Likewise.
	* tests/tap-html.test: Likewise.
	* tests/tap-log.test: Likewise.
	* tests/tap-merge-stdout-stderr.test: Likewise.
	* tests/tap-more.test: Likewise.
	* tests/tap-more2.test: Likewise.
	* tests/tap-no-merge-stdout-stderr.test: Likewise.
	* tests/tap-no-spurious-summary.test: Likewise.
	* tests/tap-no-spurious.test: Likewise.
	* tests/tap-not-ok-skip.test: Likewise.
	* tests/tap-numeric-description.test: Likewise.
	* tests/tap-out-of-order.test: Likewise.
	* tests/tap-p