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
|
2002-12-31 Alexandre Duret-Lutz <adl@gnu.org>
* lib/Automake/ChannelDefs.pm: New file.
* lib/Automake/Makefile.am (dist_perllib_DATA): Add ChannelDefs.pm.
* automake.in: Move all "register_channel" calls to ChannelDefs.pm.
(prog_error, error, fatal, verb, switch_warning, parse_WARNINGS,
parse_warnings): Move to ChannelDefs.pm.
(usage): Move the warning list to Automake::ChannelDefs::usage
and call it.
(set_strictness): Move channel setings to
Automake::ChannelDefs::set_strictness and call it.
* automake.in (err): Rename as ...
(error): ... this. Adjust all callers.
Suggested by H.Merijn Brand.
2002-12-13 Alexandre Duret-Lutz <adl@gnu.org>
* tests/version7.test: Require GNU make.
Reported by Patrick Welche.
2002-12-11 Brian Ford <ford@vss.fsi.com>
* m4/init.m4 (AM_INIT_AUTOMAKE): Properly quote AC_PACKAGE_TARNAME
and AC_PACKAGE_VERSION.
2002-12-11 Alexandre Duret-Lutz <adl@gnu.org>
* automake.texi (ANSI): Since Autoconf 2.54, LIBOBJ and LTLIBOBJ
no longer have to be rewritten in order to support deansification.
(Tests): Link to the DejaGnu manual.
(Optional): Comment out FIXME.
(Complete, A Library, LIBOBJS): Use $(LIBOBJ) and $(ALLOCA)
instead of @LIBOBJ@ and @ALLOCA@.
(Sources): Typo.
2002-12-05 Alexandre Duret-Lutz <adl@gnu.org>
* lib/am/texinfos.am (install-info-am, uninstall-info-am): Strip
directories from info filenames.
* tests/texinfo13.test: Make sure main.info gets installed
as $(infodir)/main.info.
* automake.in (handle_dist): Do not define %GETTEXT% if the user
is using $seen_gettext_external, this distcheck won't run
`./configure' with a meaningless `--with-included-gettext'.
* tests/gettext.test: Make sure distcheck uses --with-included-gettext.
* tests/gettext2.test: Make sure distcheck does not use
--with-included-gettext.
* m4/ccstdc.m4: Define am_cv_prog_cc_stdc for backward
compatibility and diagnose the use of AM_PROG_CC_STDC.
* automake.texi (Public macros) <AM_PROG_CC_STDC>: Remove
documentation, this macro is no longer supported.
Reported by Kevin Ryde.
2002-12-04 Alexandre Duret-Lutz <adl@gnu.org>
* automake.in (handle_languages): Test $objdir, not $srcdir, to
decide whether a _.c file is in a subdirectory and has to be
cleaned separately.
Reported by Kevin Ryde.
* tests/ansi10.test (liblib_a_LIBADD): Set ac_cv_prog_cc_stdc
not am_cv_prog_cc_stdc.
* automake.texi (Options): Some English nits from Eric Siegerman.
(Sources): Rewrite the introduction and move the example to ...
(Built sources example): ... this separate node.
* automake.in (variable_pretty_output): Strip trailing
backslashes in $val after $val is defined...
Reported by Kevin Ryde.
* tests/depcomp2.test: Pass CC='gcc' as an argument to ./configure
not in the environment. Otherwise the test will fail when
run with ksh and VERBOSE=x.
Reported by Paul Jarc.
* tests/man2.test: Exercize `make uninstall', to test
the previous change.
2002-12-03 Nicolas Joly <njoly@pasteur.fr>
* lib/am/mans.am (uninstall-man%SECTION%): Change the extension of
the man pages being uninstalled, if needed.
2002-12-03 Alexandre Duret-Lutz <adl@gnu.org>
* automake.in (macro_define): Do not strip escaped new lines
in Automake's +='ed variables. We don't know whether it will
be pretty printed or not at this point.
(variable_pretty_output): Do this here.
* tests/pluseq10.test: New file.
* tests/Makefile.am (TESTS): Add pluseq10.test.
Reported by Ralf Corsepius.
2002-12-02 Charles Wilson <cwilson@ece.gatech.edu>
* tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT):
Append $(EXEEXT) again.
2002-12-02 Alexandre Duret-Lutz <adl@gnu.org>
* automake.texi (Sources): Illustrate $(BUILT_SOURCES) with an
example.
* automake.texi (Options): Programs listed in
AM_INSTALLCHECK_STD_OPTIONS_EXEMPT should have $(EXEEXT) appended.
* tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT):
Append $(EXEEXT).
Reported by Charles Wilson.
2002-12-01 Alexandre Duret-Lutz <adl@gnu.org>
* automake.in (lang_c_finish): Do not fill de_ansi_files with
subdirectory informations for %libsources files. A LIBOBJS source
is always in the current directory. This reverts part of a change
from 2002-01-13.
* tests/ansi10.test: New file.
* tests/Makefile.am (TESTS): Add ansi10.test.
* automake.in (do_check_merge_target): Add missing space.
* lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
versions.
* configure.in: Do not use missing while checking for Autoconf's
version, otherwise we won't notice that Autoconf isn't installed.
Augment the error message with a few questions to help users.
2002-11-30 Alexandre Duret-Lutz <adl@gnu.org>
* tests/gnits2.test, tests/gnits3.test: Move the greps inside the
Makefile, so we can honor $(EXEEXT). Otherwise these tests
fail under Cygwin.
Reported by Charles Wilson.
For PR automake/375 (Debian Bug #168671):
* automake.in (scan_texinfo_file): Erase all known index files, no
matter whether they are used at the top-level or not, because we
can never know if they are used in included files. The remaining
macros we recognize at the top-level of a Texi document are
@defindex, @defcodeindex, @synindex, and @syncodeindex.
* tests/texinfo18.test: New file.
* tests/Makefile.am (TESTS): Add texinfo18.test.
Reported by Simon Richter.
* automake.in (scan_texinfo_file): Honor only the first @setfilename.
* tests/texinfo17.test: New file.
* tests/Makefile.am (TESTS): Add texinfo17.test.
Reported by Karl Berry.
For PR automake/357:
* automake.in (require_file_internal): Don't complain a file is "not
found" when it is a target. Make sure "not found" files are otherwise
reported as error (they were reported as 'note').
* tests/distcommon3.test: Augment to test the above.
* tests/libobj12b.test: Touch ltmain.sh.
* tests/required2.test: Make sure Automake fails because ltmain.sh
has been removed.
Reported by Ronald Landheer.
* tests/texinfo3.test: Make sure we don't output single suffix
inference rules when building `.info'-less Info files (this
confuses Solaris make). Run distcheck to make sure the rules
work.
* automake.in (output_texinfo_build_rules): Define GENERIC_INFO
and SOURCE_INFO.
* lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%,
%DEST_PREFIX%%DEST_SUFFIX%): Honor GENERIC_INFO and SOURCE_INFO.
2002-11-29 Alexandre Duret-Lutz <adl@gnu.org>
For PR automake/359:
* automake.in (do_check_merge_target): Make `check' dependent on
$(BUILT_SOURCES) if the variable is defined. Run `check-am' or
`check-recursive' in a submake in this case.
* tests/check2.test, tests/check3.test: New files.
* tests/check.test: Make sure `check' depends on `check-am'.
* tests/Makefile.am (TESTS): Add check2.test and check3.test.
For PR automake/371 and PR automake/372:
* automake.in (rule_define): Honor inference rules with multiple
targets, and warn when they are used.
* tests/suffix11.test: New file.
* tests/Makefile.am (TESTS): Add suffix11.test.
Reported by Duncan Gibson.
2002-11-28 Alexandre Duret-Lutz <adl@gnu.org>
For PR automake/370:
* automake.in (handle_languages): Don't prepend $U to $myext
since handle_single_transform_list now appends it to $obj.
Process the rule twice to handle deansified files in subdirectories.
Mark _.c files in subdirectories for cleaning.
(handle_single_transform_list): Append $U to $obj_sans_ext if
needed: before this dependencies were output foo.Po instead
of foo$U.Po. Don't output explicit dependencies for renamed
objects or sources in sub-directories: we already output
a full compile rule for them.
(lang_c_finish): Don't always use the full filename in the
.c -> _.c rule. This reverts part of my change of 2002-11-21.
* tests/ansi6.test, tests/ansi7.test: Make sure deansified
files are created in the right directory, and cleaned.
Reported by Kevin Ryde.
2002-11-25 Jim Meyering <jim@meyering.net>
* lib/install-sh: Put `$0:' at the beginning of each diagnostic,
not `install:'.
2002-11-21 Alexandre Duret-Lutz <adl@gnu.org>
* automake.in (make_condition_string): New function.
(cond_stack_if, cond_stack_else, cond_stack_endif): Use it.
Suggested by Raja R Harinath.
* tests/texinfo13.test: Require texi2dvi-o.
* tests/defs.in: Handle required=texi2dvi-o.
* automake.in (lang_c_finish): Use $@ in the .c -> _.c rule.
* automake.in (handle_single_transform_list): Don't strip the
directory from $full_ansi. This reverts my patch of 2002-10-16.
(lang_c_finish): Use the full filename, including the directory,
in the .c -> _.c rule. These two files must reside in the same
directory.
* tests/ansi6.test: Also try to compile without ansi2knr.
Reported by Andreas Schwab
2002-11-20 Alexandre Duret-Lutz <adl@gnu.org>
* lib/Automake/Conditional.pm (strip): New function.
* lib/Automake/ConditionalSet.pm (sub_conditions): Use it.
Suggested by Raja R Harinath.
* automake.in (conditional_ambiguous_p, macro_define, rule_define,
require_variables): Use ->human instead of ->string.
* lib/Automake/Conditional.pm (string): Don't sort conditions, they
are already sorted.
(_to_human, human): New functions.
* lib/Automake/ConditionalSet.pm (human): New function.
* tests/cond27.test, tests/library3.test, tests/pluseq5.test,
tests/pluseq9.test: Adjust.
* lib/Automake/Conditional.pm [SYNOPSIS]: Fix not's description.
* lib/Automake/ConditionalSet.pm (sub_conditions): New function.
(multiply): Also accept an Automake::Conditional as argument.
* automake.in (variable_not_always_defined_in_cond): Simplify,
using only Automake::ConditionalSet methods.
Suggested by Raja R Harinath.
* lib/Automake/ConditionalSet.pm (conds): Use value() to simplify.
(invert): Rewrite as a product-of-sums to sum-of-products converter.
(_multiply, multiply): New functions.
* lib/Automake/Conditional.pm (not): New function.
* lib/Automake/tests/ConditionalSet.pl (test_invert): Update.
* automake.in (condition_negate): Move ...
* lib/Automake/Conditional.pm (negate_condition): ... here.
Suggested by Raja R Harinath.
2002-11-19 Alexandre Duret-Lutz <adl@gnu.org>
* lib/Automake/ConditionalSet.pm (_simplify, simplify): New methods.
(true): Cache return value, so _simplify can use it.
* lib/Automake/tests/ConditionalSet.pl (test_simplify): New function.
* automake.in (variable_not_always_defined_in_cond): Return
a simplified ConditionalSet.
(macro_define, require_variables): Adjust.
* tests/Makefile.am (TEST): Add library3.test.
* tests/library3.test: New file.
* tests/pluseq9.test: Adjust.
Thanks to Raja R Harinath.
2002-11-18 Alexandre Duret-Lutz <adl@gnu.org>
* lib/Automake/tests/Makefile.am, lib/Automake/tests/Conditional.pl,
lib/Automake/tests/ConditionalSet.pl: New files.
* lib/Automake/Makefile.am (SUBDIRS): New variable.
* configure.in: Output lib/Automake/tests/Makefile.
* lib/Automake/ConditionalSet.pm (by_conditions): Delete.
(conds): Don't use by_conditions, sort alphabetically, and
return sorted conds.
(string): Call ->string on each Conditional.
* tests/Makefile.am (TESTS): Remove cond12.test.
* tests/cond12.test: Remove, moved to
lib/Automake/tests/ConditionalSet.pl.
* tests/cond3.test: Adjust conditional ordering.
2002-11-15 Alexandre Duret-Lutz <adl@gnu.org>
* lib/Automake/ConditionalSet.pm (_permutations_worker): Ignore TRUE
conditions.
(permutations): Treat empty permutations as TRUE.
(invert): Simplify.
Suggested by Raja R Harinath.
2002-11-14 Alexandre Duret-Lutz <adl@gnu.org>
* automake.in (variable_defined): Thinko.
* lib/Automake/ConditionalSet.pm (true): Simplify.
(permutations): Fix documentation.
(new): Don't simplify conditional sets that contain TRUE.
Reported by Raja R Harinath.
2002-11-14 Eric Blake <ebb9@email.byu.edu>
* lib/am/depend2.am: Add missing fi in c.obj rules.
2002-11-14 Alexandre Duret-Lutz <adl@gnu.org>
* automake.in (handle_installdirs): Reindent to workaround a
parsing bug in Perl 5.6.0.
Reported by Patrick Welche.
* lib/Automake/Conditional.pm: Add reference to ConditionalSet.pm.
* lib/Automake/ConditionalSet.pm: New file.
* lib/Automake/Makefile.am (dist_perllib_DATA): Add ConditionalSet.pm.
* automake.in: Use ConditionalSet.
(by_condition, invert_conditions, variable_conditions_permutations):
Remove, now defined as Automake::ConditionalSet::by_condition,
Automake::ConditionalSet::invert, and
Automake::ConditionalSet::permutations.
(variable_sorted_conditions): Remove.
(msg_var, msg_target handle_source_transform, handle_lib_objects,
conditional_ambiguous_p, variable_not_always_defined_in_cond,
macro_define, macro_dump, variable_defined,
variable_conditions_recursive, variable_conditions,
target_conditions, variable_conditionally_defined,
variable_conditions_recursive_sub,
check_variable_defined_unconditionally, variable_value_as_list,
variable_value_as_list_recursive_worker, variable_output,
variable_pretty_output, rule_define, append_exeext,
am_install_var, require_variables_for_macro): Adjust to
use ConditionalSet.
2002-11-13 Alexandre Duret-Lutz <adl@gnu.org>
* automake.in (variable_conditions): Split into ...
(variable_conditions, variable_sorted_conditions): ... these
functions, where variable_sorted_conditions has the semantic of
the old variable_condition.
(target_conditions): New function.
(msg_var, handle_lib_objects_cond, check_ambiguous_conditional,
variable_not_always_defined_in_cond, macro_define,
variable_defined, check_variable_defined_unconditionally,
variable_conditions_recursive_sub,
variable_conditions_permutations, variable_value_as_list,
variable_value_as_list_recursive_worker, append_exeext,
am_install_var, require_variables_for_macro): Use variable_conditions.
(msg_target, rule_define): Use target_conditions.
(define_objects_from_sources, macro_define, macro_dump,
variable_pretty_output): Use variable_sorted_conditions.
* automake.texi (Conditional Sources): Fix the `+=' example.
Reported by Mike Castle.
* automake.in: Don't declare TRUE and FALSE, import them from
Automake::Conditional.
* lib/Automake/Conditional.pm (TRUE, FALSE): New constants.
(new): Simplify using FALSE.
(reduce): New function, moved from ...
* automake.in (variable_conditions_reduce): ... here.
(variable_conditions_recursive_sub, invert_conditions):
Adjust calls to Automake::Conditional::reduce.
* tests/cond12.test: Adjust to use Automake::Conditional.
2002-11-09 Jim Meyering <jim@meyering.net>
Make install-sh work even when names contain spaces or
certain (but not all) shell metachars.
* lib/install-sh: Remove lots of unnecessary quoting.
Add double quotes where necessary.
Write diagnostics to stderr, not stdout.
Normalize spacing in diagnostics: use one space (not two,
and not a TAB) after the leading `install:'.
Remove trailing white space.
Remove unnecessary curly braces.
If removing the destination fails, also try to move it aside.
Use `trap' more portably.
* tests/installsh2.test: New file, to test for the above fix.
* tests/Makefile.am (TESTS): Add installsh2.test.
* automake.texi: Fix some typos and a grammar nit.
2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
* automake.in (switch_warning): Subject Perl warnings to -Werror.
* automake.texi (Extending): Complete unterminated sentence.
Reported by Mike Castle.
2002-11-06 Akim Demaille <akim@epita.fr>
* automake.in (&conditional_ambiguous_p): Don't forget to ->string
the Conditionals.
2002-10-31 Alexandre Duret-Lutz <adl@gnu.org>
* automake.texi (Dist): Fix the distcleancheck_listfiles example.
Reported by Karl Berry.
2002-10-31 Akim Demaille <akim@epita.fr>
* tests/location.test (Makefile.am): Strengthen.
* lib/Automake/Channels.pm (_print_message): Be sure to flush
$partial when the message is output.
Thanks to Alexandre Duret-Lutz.
2002-10-31 Akim Demaille <akim@epita.fr>
* automake.in (&read_am_file): Use $last_where to register the
_first_ line of a variable definition as location instead of the
last one.
(&conditional_ambiguous_p): Don't forget to ->string the
Conditionals.
(&rule_define): Likewise.
* tests/location.test: Adjust to exercise this.
2002-10-25 Charles Wilson <cwilson@ece.gatech.edu>
* tests/defs.in: Add explicit stanza for python -V.
2002-10-16 Alexandre Duret-Lutz <adl@gnu.org>
* tests/ansi6.test, tests/ansi7.test: Set ac_cv_prog_cc_stdc instead
of am_cv_prog_cc_stdc. This follows Akim's patch of 2002-10-09,
and reveals a bug in my patch of 2002-10-15.
* automake.in (handle_single_transform_list): Strip directory name
from $full_ansi if subdir-objects is not set.
* lib/texinfo.tex: New version from Texinfo 4.2b.
2002-10-15 Alexandre Duret-Lutz <adl@gnu.org>
* automake.in (handle_single_transform_list) <full_ansi>: New variable.
Use this to record correct dependencies about deansifiable files which
are using per-program flags or are in a subdirectory.
* tests/ansi9.test: New file.
* tests/Makefile.am (TESTS): Add ansi9.test.
Reported by Paul D. Smith
2002-10-12 Alexandre Duret-Lutz <adl@gnu.org>
* aclocal.in (ac_defun_rx, ac_require_rx): If the macro name is
quoted, accept any character but `]'. This makes it possible
to define macros such as `AC_LANG_PREPROC(Fortran 90)'.
(scan_m4_files): Quote $key in the regex. Don't define $expr, it's
not used.
(add_file, scan_file): Adjust to the new definitions of $ac_defun_rx
and $ac_require_rx.
* tests/aclocal2.test: New file.
* tests/Makefile.am (TESTS): Add aclocal2.test.
Reported by Tamara L. Dahlgren and Tom Epperly.
2002-10-11 Alexandre Duret-Lutz <adl@gnu.org>
For Debian Bug#153697:
* lib/am/dejagnu.am (distclean-DEJAGNU): Remove $tool.sum and
$tool.log.
Suggested by Andrew Suffield.
2002-10-10 Alexandre Duret-Lutz <adl@gnu.org>
For PR automake/369:
* lib/am/python.am: Lookup python files in build directory or
source directory.
From Mathias Doreille.
* tests/python3.test: New file.
* tests/Makefile.am (TESTS): Add python3.test.
* tests/defs: Handle `required=python'.
For PR automake/358:
* lib/am/texi-vers.am (%STAMPVTI%): Depend on configure instead of
configure.ac.
Suggested by Thien-Thi Nguyen.
* lib/am/configure.am ($(srcdir)/configure): Depends on
%CONFIGURE_DEPS%
* automake.in (@configure_deps): New array.
(scan_autoconf_traces): Scan for m4_include and m4_sinclude,
and fill @configure_deps.
(handle_configure): Substitute %CONFIGURE_DEPS%.
Distribute @configure_deps.
* tests/version7.texi: New file.
* tests/vtexi.test: Adjust.
* tests/Makefile.am (TESTS): Add version7.test.
* automake.texi (Dist): Mention that m4_include'd files
are distributed.
2002-10-09 Akim Demaille <akim@epita.fr>
* m4/ccstdc.m4 (AM_PROG_CC_STDC): Its definition is now empty:
the content of this macro was merged in AC_PROG_CC.
* m4/protos.m4 (AM_C_PROTOTYPES): Adjust to AC_C_PROTOTYPES.
* tests/depacl.test: Remove, it exercizes aclocal in a way that was
exercized by all the other tests since the test suite really uses
aclocal.
* tests/Makefile.am (TESTS): Remove depacl.test.
2002-10-08 Paul Eggert <eggert@twinsun.com>
* lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%,
%DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Use "makeinfo -o output
input", not "makeinfo input -o output", as the latter fails if
POSIXLY_CORRECT=1.
* lib/am/texinfos.am (.dvi.ps): Likewise for dvips.
* m4/depend.m4 (_AM_DEPENDENCIES): Likewise for $depcc.
2002-10-08 Alexandre Duret-Lutz <adl@gnu.org>
* automake.in (file_contents_internal): Fix the relationship
regex flags, don't use `m'.
For Debian Bug#162583:
* automake.in (file_contents_internal): Simplify regex to
separate relationship from actions in rules.
Reported by Sam Hocevar.
* lib/Automake/Conditional.pm (has): Simplify.
2002-10-07 Alexandre Duret-Lutz <adl@gnu.org>
* lib/Automake/Conditional.pm: New file.
* lib/Automake/Makefile.am (dist_perllib_DATA): Add Conditional.pm.
* automake.in: Use Automake::Conditional.
(TRUE, FALSE): New constants.
(%var_value, %var_location, %var_comment, %var_type, %var_owner,
%targets, %target_source, %target_name, %target_owner): Tie to
Tie::RefHash::Nestable.
(generate_makefile, process_option_list, handle_options,
handle_languages, handle_source_transform, handle_compile,
handle_libtool, handle_texinfo_helper, handle_dist, handle_subdirs,
scan_aclocal_m4, handle_emacs_lisp, handle_python,
scan_autoconf_files, variable_assert, define_variable,
define_pretty_variable, define_configure_variable, am_install_var,
push_dist_common): Use TRUE.
(define_objects_from_sources): Fix return value on
"recursively-defined" errors.
(conditional_string, conditional_true_when, conditional_is_redundant,
conditional_implies_any, make_conditions): Remove these functions,
obsoleted by Conditional.pm.
(cond_stack_if, cond_stack_else, cond_stack_endif): Return
an Automake::Conditional instance.
(by_condition, conditional_ambiguous_p,
variable_not_always_defined_in_cond, macro_define,
variable_conditions_recursive, variable_conditions_recursive_sub,
variable_conditions_reduce, invert_conditions,
variable_conditions_permutations,
check_variable_defined_unconditionally, variable_value_as_list,
variable_output, variable_pretty_output, rule_define,
read_am_file, file_contents_internal, require_variables): Adjust
to use Automake::Conditional objects.
(handle_footer): Get $(SUFFIXES) in 'all' conditions.
* tests/cond12.test: Adjust to use Automake::Conditional objects.
2002-10-01 Alexandre Duret-Lutz <adl@gnu.org>
* automake.in (handle_source_transform): If foo_SOURCES is defined
conditionally, create and use am__foo_SOURCES_DIST for distribution.
* tests/condd.test: Extend to check distributed files.
* tests/substref.test: Make sure we don't use such a variable when
it's not needed.
Reported by Marcus Brinkmann.
2002-09-30 Ezra Peisach <epeisach@MED-XTAL.BU.EDU>
* tests/defs.in: Run $MAKE --version -v.
* tests/dollar.test: Abort on ./defs failure.
* tests/lex5.test: Require GNUmake, not make.
2002-09-30 Kevin Ryde <user42@zip.com.au>
* m4/as.m4 (AM_PROG_AS): Let CCAS and CCASFLAGS default to the actual
values of $CC and $CFLAGS (as opposed to $(CC) and $(CFLAGS)), so
configure tests can use them. Use AC_ARG_VAR instead of AC_SUBST.
2002-09-30 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (require_variables): The fix introduced in 2002-09-19
is incomplete. Rewrite the conditional variable definition check
using &variable_not_always_defined_in_cond.
* tests/cond26.test, tests/cond27.test, tests/cond28.test: New file.
* tests/Makefile.am (TESTS): Add cond26.test, cond27.test, and
cond28.test.
Reported by Juergen Keil.
* automake.in (INTERNAL): Redefine as an empty location,
so that internal locations get displayed as `automake:'.
* lib/am/distdir.am (distdir): Create $dc_destdir right before
its use.
Reported by Akim Demaille.
Fix for PR automake/366:
* automake.in (handle_dist): Strip $(srcdir) and replace
$(top_srcdir) when computing DIST_COMMON directories.
* tests/include2.test: Use an obsolute $(srcdir), and check
for spurious directories in $(distdir)/sub.
* lib/am/distdir.am: Rewrite $(top_srcdir) as $(top_builddir).
Reported by Kevin Ryde.
2002-09-29 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/Automake/Channels.pm (%_default_options): Add 'partial'.
(_format_message): Rename as ...
(_format_sub_message): ... this.
(_format_message): New function, extracted from ...
(_print_message): ... here. Honor the 'partial' option.
($partial): New variable.
* automake.in (handle_ltlibraries, check_ambiguous_conditional,
rule_define): Mark partial messages.
* automake.in (handle_ltlibraries): Record library locations in
%liblocations, and print the previous declaration on error.
* tests/libtool6.test: Check that the locations of the two
definitions are shown.
For PR automake/360: Propagate more locations.
* automake.in (handle_programs): Adjust usage of am_install_var's
return value. Pass on locations as context to file_contents.
(handle_libraries, handle_ltlibraries): Likewise. Use locations
in the 'not a standard library name' diagnostic.
(handle_emacs_lisp, handle_python): Adjust usage of am_install_var's
return value. Pass on locations to require_variables and
require_conf_file.
(check_ambiguous_conditional): Strip trailing dot in message.
(value_to_list): Add the $WHERE and $LOC_WANTED arguments.
(variable_value_as_list_recursive_worker): Add the $LOC_WANTED
argument. Adjust calls to value_to_list.
(variable_value_as_list_recursive): Call
variable_value_as_list_recursive_worker with $LOC_WANTED = 0.
(variable_loc_and_value_as_list_recursive): New function,
variable_value_as_list_recursive_worker with $LOC_WANTED = 1.
(am_install_var): Use variable_loc_and_value_as_list_recursive,
and return a list of [$location, $value] pairs.
(rule_define): Use better locations in EXEEXT diagnostic.
(handle_source_transform, define_objects_from_sources): Add and use
a $WHERE argument. Adjust callers.
* tests/stdlib.test: Grep the location in error message.
* tests/location.test: New file.
* tests/Makefile.am (TESTS): Add location.test.
* tests/exeext3.test: New file.
* tests/Makefile.am (TESTS): Add exeext3.test.
* automake.in (%target_name): New hash.
(initialize_per_input): Reset %target_name.
(rule_define): Fill %target_name, and use it to detect targets
which have been registered with key X but really are X$(EXEEXT).
2002-09-28 Alexandre Duret-Lutz <duret_g@epita.fr>
For PR automake/360:
* lib/Automake/Location.pm: New file.
* lib/Automake/Channels.pm (_print_message): Display contexts
when given an Automake::Location.
(msg): Clone the location.
* lib/Automake/Makefile.am (dist_perllib_DATA): Add Location.pm.
* tests/comment5.test: Make sure we display `included from' stacks.
* automake.in: Use Automake::Location.
(INTERNAL): New constant.
(file_contents, file_contents_internal, define_variable,
define_pretty_variable, read_am_file): Take $WHERE as argument.
Adjust all callers.
(scan_autoconf_traces) <$where>: Define as a Location, and use
it instead of $here.
(macro_define, rule_define): Make sure $WHERE is a location.
Clone it before updating $var_location or $targets.
2002-09-27 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/mkinstalldirs: Reindent using `sh-indentation: 2'.
Suggested by Bruno Haible.
* Makefile.am (fetch, FETCHFILES): Don't fetch install-sh from
Autoconf. Automake now has the master copy of install-sh and
mkinstalldirs.
2002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.in: Bump version to 1.7a.
* NEWS, configure.ac: Version 1.7.
2002-09-25 Art Haas <ahaas@neosoft.com>
* automake.texi (Optional, Options, Distributing, ANSI,
API versioning): Spelling fixes and Texi tweaks.
2002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.in: Check for 'tex'.
* tests/defs.in: Handle required=tex using configure's result.
Reported by Patrick Welche.
* Makefile.am (mdate-sh): Remove.
* mdate-sh: Delete.
Suggested by Akim Demaille.
2002-09-25 Tom Tromey <tromey@redhat.com>
* NEWS: Mention distuninstallcheck.
* automake.texi (Dist): Document new macro and target.
* lib/am/distdir.am (distuninstallcheck_listfiles): New macro.
(distuninstallcheck): New target.
(distcheck): Use distuninstallcheck.
2002-09-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* tests/specflags7.test (true_CFLAGS, false_CFLAGS, false.c): Use
AM_TRUE, AM_FALSE to avoid bad interaction with Tru64 UNIX
<sys/types.h>.
* tests/specflags8.test (true_CPPFLAGS, false_CPPFLAGS, false.c):
Likewise.
2002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (output_texinfo_build_rules): Define %SOURCE_REAL%.
* lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%,
%DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Add %SOURCE_REAL% as dependency.
2002-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Use $$dir in make
command.
2002-09-24 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_single_transform_list): Revert the change
from 2002-09-22. We need to erase .libs/ in the object directory
in addition to the library directory.
* tests/target-cflags.test: Build in `build/', not `obj/' because
`obj/' is special to BSD make.
* automake.in (read_am_file): Prefix included files with
$(top_srcdir) or $(srcdir) in DIST_COMMON. Fixes
subdircond2.test, and subdircond3.test on OSF1.
* tests/defs.in (SHELL): Set it.
* lib/am/distdir.am (distcleancheck): Mention `in build directory'
in error message.
2002-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
For PR automake/350:
* automake.in (handle_ltlibraries): Allow a library to be installed
many times in the same directory.
* tests/libtool5.test, tests/libtool6.test: New files.
* tests/Makefile.am (TESTS): Add libtool5.test and libtool6.test.
2002-09-22 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_ltlibraries): Fill $libtool_clean_directories
here, with directories where .la files are built...
(handle_single_transform_list): ... not here with directories
where .lo files are built.
* tests/libtool3.test: Build a library in a subdirectory to
check for this.
Reported by Peter Gavin.
* tests/cond5.test: Give more time to automake.
Reported by Art Haas.
* configure.in: Really check for Autoconf 2.54.
* automake.texi (Yacc and Lex): ylwrap is used only when there is
more than one yacc or lex source file in a directory.
* automake.in (macro_define): Update a variable's location each
time its owner is updated.
* tests/gnuwarn.test: Append to CFLAGS to check for this.
Reported by Harlan Stenn.
2002-09-20 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.in: Bump version to 1.6g.
* configure.in, NEWS: Bump version to 1.6f.
* Makefile.am (INSTALL): New rules.
2002-09-20 Mirko Streckenbach <strecken@infosun.fmi.uni-passau.de>
For PR automake/363:
* m4/cond.m4: Fix AC_MSG_ERROR quoting.
2002-09-19 Pavel Roskin <proski@gnu.org>
* tests/warnopts.test: Fix random failures by removing Autoconf
cache directory when configure.in changes. Use the code and the
comment from tests/asm.test.
2002-09-19 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.texi (Program and Library Variables) <maude_LIBADD>:
Don't mention _LDADD for Libtool libraries.
Reported by Schleicher Ralph.
For PR automake/361:
* tests/suffix8.test: More explicit dependencies.
Reported by Paul Eggert.
* automake.in (rule_define): Don't diagnose duplicate user rules.
* tests/phony.test, tests/percent2.test: New files.
* tests/Makefile.am (TESTS): Add them.
Reported by Ralf Corsepius.
* automake.in (require_variables): Search variable definitions
in any condition implied by $cond.
* tests/cond25.test: New file.
* tests/Makefile.am (TESTS): Add cond25.test.
Reported by Pavel Roskin.
* tests/subobj9.test: Skip this test on configure errors.
Reported by Paul Eggert.
2002-09-18 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.in: Bump version to 1.6e.
* configure.in, NEWS: Bump version to 1.6d.
* tests/libobj12.test, tests/libobj12b.test: Include ./defs,
not $srcdir/defs.
* tests/suffix8.test: Typo.
* automake.in (check_ambiguous_conditional, rule_define): Issue
syntactic warnings, not errors.
(macro_define): Don't adjust the owner of a variable which is being
appended in a condition different from its definition.
(variable_output, variable_pretty_output): Make sure the
requested condition exists.
For PR automake/353: fill %var_location, %var_comment,
%var_type, %var_owner for each condition.
* automake.in (msg_cond_var): New function.
(msg_var): Use it.
(generate_makefile, process_option_list, handle_languages,
handle_lib_objects_cond, handle_compile, handle_libtool,
handle_ltlibraries, handle_texinfo_helper, handle_tests,
handle_emacs_lisp, handle_python, macro_define, macro_delete,
macro_dump, variable_assert, variable_output,
variable_pretty_output, read_am_file, read_main_am_file,
file_contents_internal, am_primary_prefixes,
require_variables_for_macro): Adjust accesses to %var_location,
%var_comment, %var_type, %var_owner.
(append_comments, require_file_with_macro,
require_conf_file_with_macro, require_variables): Add the
$cond argument.
* tests/comment7.test: New file.
* tests/Makefile.am (TESTS): Add comment7.test.
2002-09-17 Alexandre Duret-Lutz <duret_g@epita.fr>
For PR automake/353:
* automake.in (check_ambiguous_conditional): Display locations for
the two definitions of the ambiguous variable. Show the macro_dump
output in --verbose only. Accept $where as a third argument,
(macro_define): Pass $where.
* automake.in (handle_programs): Ooops. Really add LDADD
objects into _DEPENDENCIES.
* tests/libobj12.test: Check for it.
2002-09-17 Assar Westerlund <assar@kth.se>
Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_programs, handle_libraries,
handle_ltlibraries): Maintain $seen_libobjs on a
per-program/per-library basis, instead of globally to each
of these functions.
* tests/libobj12.test, tests/libobj12b.test: New files.
* tests/Makefile.am (TESTS): Add libobj12.test and libobj12b.test.
2002-09-17 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/defs.in (configure.in): Don't call AC_PROG_INSTALL and
AC_PROG_MAKE_SET.
* lib/config.guess, lib/config.sub, lib/INSTALL,
lib/Automate/Struct.pm: New upstream version.
* Makefile.am (mdate-sh): New rule.
(FETCHFILES): Add Automate/Struct.pm.
(fetch): Get Automate/Struct.pm.
(AUTOMAKESOURCES, CLEANFILES): New macros.
(EXTRA_DIST, TAGS_FILES): Use them.
* install-sh, mkinstalldirs, missing: Delete.
* automake.in: Rename the 'unused' channel to 'syntax'.
(variable_defined): Issue a warning instead of an error
for variable-is-a-target conditions.
* automake.texi (Invoking Automake): Rename the 'unused'
channel to 'syntax'.
* tests/warnopts.test: Likewise.
* tests/suffix8.test: Add explicit dependencies.
* tests/texinfo13.test, tests/texinfo16.test: Require tex.
2002-09-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.in, m4/init.m4, NEWS: Require Autoconf 2.54.
* automake.in (variable_defined): Thinko in $cond handling.
2002-09-15 Paul Eggert <eggert@twinsun.com>
* lib/Automake/Channels.pm: Don't use 'our', as it isn't portable
to Perl 5.00503.
* Makefile.am (maintainer-check): Don't use egrep.
2002-09-15 Tom Tromey <tromey@redhat.com>
* tests/subdircond3.test: Pass flags to make in environment.
* tests/subdircond2.test: Pass flags to make in environment.
* Makefile.am (maintainer-check): Add a new check for @...@
substitutions. Updated correct number of diffs between source and
build trees.
* configure.in (aclocal, automake): Don't create.
* automake.in ($prefix): Don't define.
* aclocal.in ($prefix): Don't define.
* Makefile.am (do_subst): New macro.
(automake): New target.
(aclocal): Likewise.
2002-09-15 Alexandre Duret-Lutz <duret_g@epita.fr>
* aclocal.in, automake.in: Requote each "@var@" as '@var@'.
2002-09-14 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/Makefile.am (XFAIL_TESTS): Remove specflags7.test and
specflags8.test.
2002-09-13 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.texi (Building ctags and etags): Rename and adjust as ...
(Building true and false): ... this.
* tests/targetclash.test: New file.
* tests/specflags7.test, tests/specflags8.test: Adjust to build
true and false.
* tests/Makefile.am (TESTS): Add targetclash.test.
Diagnose target clashes, for PR automake/344:
* automake.in (%targets): Record conditionals for definitions.
(%target_conditional): Remove (obsoleted by %targets).
(%target_source, %target_owner): New hashes.
(TARGET_AUTOMAKE, TARGET_USER): New constants.
(initialize_per_input): Adjust to reset new variables.
(err_cond_target, msg_cond_target): New functions.
(msg_target): Adjust usage of %targets.
(conditional_ambiguous_p): Take a list of conditional to check
as a third parameter, so this can be used for other things that
variables.
(handle_lib_objects_cond): Adjust conditional_ambiguous_p usage.
(variable_defined): Restrict the target-with-same-name check
to user targets.
(rule_define): Add the $SOURCE argument, and take $OWNER instead
of $IS_AM. Diagnose target clashes (including ambugious
conditionals). Return a list of conditions where the rule should
be defined instead of a boolean. Fill %target_source and
%target_owner.
(target_define): Use `exists', not `defined'.
(read_am_file): Adjust the call to rule_define.
(file_contents_internal): Add more FIXMEs. Simplify my moving
and documenting the "define rules in undefined conditions" to
rule_define.
* tests/Makefile.am (XFAIL_TESTS): Add specflags7.test and
specflags8.test.
2002-09-12 Akim Demaille <akim@epita.fr>
* aclocal.in: Prototype all the functions.
Add `(C)' to Copyrights.
(&add_file): Strip the comments before checking for `AC_REQUIRE'.
Remove Perl 4 hacks, since anyway we require 5.005 via General.pm.
2002-09-11 Akim Demaille <akim@epita.fr>
* lib/am/texinfos.am (TEXI2PDF): Pass --batch to texi2dvi, since
it was already supported when --pdf support was added.
2002-09-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/Automake/Channels.pm (_default_options): Add `backtrace'.
(msg): Die with backtrace if requested.
* automake.in: Enable `backtrace' on the `automake' channel.
* automake.in (process_option_list): Mention `Automake' in
version-mismatch error.
Suggested by Akim Demaille.
* tests/Makefile.am ($(TESTS)): Replace by ...
(check_SCRIPTS): ... this.
Suggested by Raja R Harinath.
2002-09-09 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/Makefile.am ($(TESTS)): New, depends on defs.
(BUILT_SOURCES): Remove (useless because of PR/359).
* m4/init.m4: Execute cygpath in a sub-shell.
2002-09-08 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (macro_define): Warn about `:=' assignments.
* tests/colneq.test: Check for this warning.
* automake.texi (Include): Fragments are always distributed.
* NEWS: Likewise.
2002-09-08 Andreas Buening <andreas.buening@nexgo.de>
Fix for automake/334:
* lib/am/depend2.am: Replaced "cygpath -w" by $(CYGPATH_W).
* m4/init.m4: New make variable CYGPATH_W.
2002-09-08 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.in: Check for EGREP and FGREP. Create tests/defs.
* tests/defs: Rename as ...
* tests/defs.in: ... this. Add copyright notice. Use configure's
values for PERL, EGREP, and FGREP. Be verbose if $srcdir is unset.
* tests/Makefile.am (EXTRA_DIST): Remove defs.
(BUILT_SOURCES): New.
* tests/acinclude.test, tests/aclibobj.test, tests/aclocal.test,
tests/aclocali.test, tests/aclocali1.test, tests/aclocalii.test,
tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
tests/acoutqnl.test, tests/acouttbs.test, tests/acouttbs2.test,
tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test,
tests/all.test, tests/alpha.test, tests/amassign.test,
tests/ammissing.test, tests/ansi.test, tests/ansi2.test,
tests/ansi3.test, tests/ansi4.test, tests/ansi5.test,
tests/ansi6.test, tests/ansi7.test, tests/ansi8.test,
tests/ar.test, tests/asm.test, tests/autoheader.test,
tests/autoheader2.test, tests/auxdir.test, tests/auxdir2.test,
tests/backsl.test, tests/backsl2.test, tests/badline.test,
tests/badopt.test, tests/badprog.test, tests/block.test,
tests/canon.test, tests/canon2.test, tests/canon3.test,
tests/canon4.test, tests/canon5.test, tests/ccnoco.test,
tests/check.test, tests/checkall.test, tests/clean.test,
tests/colneq.test, tests/colneq2.test, tests/colon.test,
tests/colon2.test, tests/colon3.test, tests/colon4.test,
tests/colon5.test, tests/colon6.test, tests/colon7.test,
tests/comment.test, tests/comment2.test, tests/comment3.test,
tests/comment4.test, tests/comment5.test, tests/comment6.test,
tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test,
tests/cond11.test, tests/cond12.test, tests/cond13.test,
tests/cond14.test, tests/cond15.test, tests/cond16.test,
tests/cond17.test, tests/cond18.test, tests/cond19.test,
tests/cond2.test, tests/cond20.test, tests/cond21.test,
tests/cond22.test, tests/cond23.test, tests/cond24.test,
tests/cond3.test, tests/cond4.test, tests/cond5.test,
tests/cond6.test, tests/cond7.test, tests/cond8.test,
tests/cond9.test, tests/condd.test, tests/condincl.test,
tests/condincl2.test, tests/condlib.test, tests/condman.test,
tests/condman2.test, tests/conf2.test, tests/confdeps.test,
tests/confdist.test, tests/confh.test, tests/confh4.test,
tests/config.test, tests/confincl.test, tests/confsub.test,
tests/confvar.test, tests/confvar2.test, tests/copy.test,
tests/ctarget1.test, tests/cxx.test, tests/cxx2.test,
tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test,
tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test,
tests/cygwin32.test, tests/dash.test, tests/defun.test,
tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
tests/depacl.test, tests/depacl2.test, tests/depcomp.test,
tests/depcomp2.test, tests/depdist.test, tests/depend.test,
tests/depend2.test, tests/depend3.test, tests/depend4.test,
tests/destdir.test, tests/dirforbid.test, tests/dirlist.test,
tests/discover.test, tests/distcommon.test,
tests/distcommon2.test, tests/distcommon3.test,
tests/distdir.test, tests/distname.test, tests/dollar.test,
tests/double.test, tests/dup2.test, tests/dup3.test,
tests/else.test, tests/empty.test, tests/empty2.test,
tests/empty3.test, tests/empty4.test, tests/error.test,
tests/exdir.test, tests/exdir2.test, tests/exeext.test,
tests/exeext2.test, tests/exsource.test, tests/ext.test,
tests/ext2.test, tests/extra.test, tests/extra2.test,
tests/extra3.test, tests/extra4.test, tests/extra5.test,
tests/extra6.test, tests/extra7.test, tests/flibs.test,
tests/fnoc.test, tests/fo.test, tests/fonly.test,
tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
tests/gcj5.test, tests/getopt.test, tests/gettext.test,
tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
tests/gnits3.test, tests/gnuwarn.test, tests/header.test,
tests/implicit.test, tests/include.test, tests/include2.test,
tests/info.test, tests/insh.test, tests/insh2.test,
tests/install.test, tests/install2.test, tests/installdir.test,
tests/installsh.test, tests/instdata.test, tests/instdata2.test,
tests/instexec.test, tests/insthook.test, tests/instman.test,
tests/instman2.test, tests/interp.test, tests/interp2.test,
tests/java.test, tests/java2.test, tests/javaprim.test,
tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
tests/library.test, tests/library2.test, tests/libtool.test,
tests/libtool2.test, tests/libtool3.test, tests/libtool4.test,
tests/link_c_cxx.test, tests/link_dist.test, tests/link_f_c.test,
tests/link_f_c_cxx.test, tests/link_f_cxx.test,
tests/link_f_only.test, tests/lisp.test, tests/lisp2.test,
tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test,
tests/maintclean.test, tests/make.test, tests/makevars.test,
tests/man.test, tests/man2.test, tests/mclean.test,
tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
tests/mdate4.test, tests/mkinst2.test, tests/mkinstall.test,
tests/nobase.test, tests/nodefine.test, tests/nodefine2.test,
tests/nodep.test, tests/nodepcomp.test, tests/nodist.test,
tests/nodist2.test, tests/noinst.test, tests/noinstdir.test,
tests/nolink.test, tests/nostdinc.test, tests/number.test,
tests/obsolete.test, tests/order.test, tests/outdir.test,
tests/output.test, tests/output2.test, tests/output3.test,
tests/output4.test, tests/output5.test, tests/package.test,
tests/parse.test, tests/percent.test, tests/pluseq.test,
tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
tests/ppf77.test, tests/pr2.test, tests/pr204.test,
tests/pr211.test, tests/pr220.test, tests/pr224.test,
tests/pr229.test, tests/pr243.test, tests/pr266.test,
tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
tests/pr300-lib.test, tests/pr300-ltlib.test,
tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
tests/pr87.test, tests/pr9.test, tests/prefix.test,
tests/primary.test, tests/primary2.test, tests/proginst.test,
tests/python.test, tests/python2.test, tests/ranlib.test,
tests/recurs.test, tests/recurs2.test, tests/remake.test,
tests/remake2.test, tests/remake3.test, tests/req.test,
tests/required.test, tests/required2.test, tests/rulepat.test,
tests/scripts.test, tests/seenc.test, tests/sinclude.test,
tests/sourcesub.test, tests/sourcesub2.test, tests/space.test,
tests/specflags.test, tests/specflags2.test,
tests/specflags3.test, tests/specflags6.test,
tests/specflags7.test, tests/specflags8.test,
tests/specflags9.test, tests/spell.test, tests/spell2.test,
tests/spell3.test, tests/spelling.test, tests/stamph.test,
tests/stamph2.test, tests/stdlib.test, tests/strip.test,
tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
tests/subdir7.test, tests/subdirbuiltsources.test,
tests/subdircond.test, tests/subdircond2.test,
tests/subdircond3.test, tests/subobj.test, tests/subobj2.test,
tests/subobj3.test, tests/subobj4.test, tests/subobj5.test,
tests/subobj6.test, tests/subobj7.test, tests/subobj8.test,
tests/subobj9.test, tests/subobjname.test, tests/subpkg.test,
tests/subst.test, tests/substref.test, tests/substtarg.test,
tests/suffix.test, tests/suffix10.test, tests/suffix2.test,
tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
tests/suffix9.test, tests/symlink.test, tests/symlink2.test,
tests/symlink3.test, tests/syntax.test, tests/tags.test,
tests/tagsub.test, tests/target-cflags.test, tests/target.test,
tests/texinfo.test, tests/texinfo10.test, tests/texinfo13.test,
tests/texinfo16.test, tests/texinfo2.test, tests/texinfo3.test,
tests/texinfo4.test, tests/texinfo5.test, tests/texinfo6.test,
tests/texinfo7.test, tests/texinfo8.test, tests/texinfo9.test,
tests/transform.test, tests/unused.test, tests/vars.test,
tests/vars2.test, tests/vars3.test, tests/vartar.test,
tests/version.test, tests/version2.test, tests/version3.test,
tests/version4.test, tests/version5.test, tests/version6.test,
tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
tests/warnopts.test, tests/werror.test, tests/whoami.test,
tests/xsource.test, tests/yacc.test, tests/yacc2.test,
tests/yacc3.test, tests/yacc4.test, tests/yacc5.test,
tests/yacc6.test, tests/yacc7.test, tests/yacc8.test,
tests/yaccpp.test, tests/yaccvpath.test: Add copyright notice.
Source ./defs instead of $srcdir/defs.
2002-09-05 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/distdir.am (distcheck): Strip $(srcdir) prefix on
distributed files, to workaround Sun make VPATH munging.
This fixes subdircond2.test, subdircond3.test, and subpkg.test
on Solaris.
* tests/extra6.test, tests/lex3.test, tests/pr87.test,
tests/pr9.test, tests/target-cflags.test, tests/texinfo13.test,
tests/texinfo16.test, tests/yacc7.test, tests/yaccvpath.test:
Don't require GNU make.
* lib/am/distdir.am (distcheck): Add missing `;'.
* lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Account for
Sun make rewriting rules in VPATH builds. (Fixes gnits3.test.)
* lib/am/progs.am (installcheck-%DIR%PROGRAMS): Likewise.
2002-09-04 Alexandre Duret-Lutz <duret_g@epita.fr>
For automake/354:
* lib/am/texibuild.am (%SOURCE_SUFFIX%.dvi, %SOURCE_SUFFIX%.pdf):
Don't use `-o' unless necessary.
2002-08-25 Alexandre Duret-Lutz <duret_g@epita.fr>
For PR automake/343:
* automake.in (scan_texinfo_file) <clean_suffixes>: Remove dvi, ps,
and pdf.
(output_texinfo_build_rules): Define %DIRSTAMP% when processing
texibuild.am. Return $dirstamp and a list of files to clean.
(handle_texinfo_helper): Process texi-vers.am after the call to
output_texinfo_build_rules and use $dirstamp to define %DIRSTAMP%.
* lib/am/texi-vers.am (%STAMPVTI%): Build %DIRSTAMP% if needed.
* lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Likewise.
(%DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Depend on %DIRSTAMP%.
* tests/texinfo13.test: New file.
* tests/Makefile.am (TESTS): Add texinfo13.test.
* lib/am/texinfos.am (install-info-am, dist-info): Looks for
info files in build or source directory.
This completes the change from 2002-07-30 (for PR automake/168).
2002-08-24 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (CLEAN, MAINTAINER_CLEAN): New constants.
(maintainer_clean_files): Replace by ...
(clean_files): ... this new variable.
(initialize_per_input, lang_yacc_target_hook,
lang_lex_target_hook): Use %clean_files instead of
@maintainer_clean_files.
(handle_clean): Rewrite, using %clean_files.
(require_build_directory_maybe): Use %clean_files instead
of %compile_clean_files. This allows using
&require_build_directory_maybe for non-compiling targets.
* lib/am/clean.am (mostlyclean-generic, clean-generic,
distclean-generic, maintainer-clean-generic): Rewrite using
%MOSTLYCLEAN_RMS%, %CLEAN_RMS%, %DISTCLEAN_RMS%, and
%MAINTAINER_CLEAN_RMS%.
For Debian Bug#157778:
* m4/python.m4: Fix output of `python' in checking messages
when no version of Python is required.
2002-08-23 Raja R Harinath <harinath@cs.umn.edu>
* lib/am/depend2.am (%EXT%.lo): Fix typo. Rename the file that
was generated by gcc -MF.
2002-08-23 Pavel Roskin <proski@gnu.org>
* lib/am/progs.am: Exit in case of install failure, otherwise
it is ignored on Cygwin because of the surrounding "for" loop.
2002-08-23 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.texi (Top level): More words about conditional
subdirectories. Don't mention AC_PROG_MAKE_SET.
* tests/subdircond2.test, tests/subdircond3.test: New files.
* tests/Makefile.am (TESTS): Add them.
For PR automake/347:
* automake.in (MACRO_PATTERN): Allow `.' in variable names.
(scan_variable_expansions, check_variable_expansions): New functions.
(macro_define): Call check_variable_expansions.
(read_am_file): Likewise, when outputing rules.
(variable_conditions_recursive_sub): Simplify using
scan_variable_expansions.
* tests/vars3.test: New file.
* tests/Makefile.am (TESTS): Add vars3.test.
* tests/colneq.test: Use -Wno-portability.
* lib/Automake/Channels.pm (buffering, backlog): New variables.
(buffer_messages, flush_messages): New functions.
(@EXPORT): Add buffer_messages and flush_messages.
* automake.in (generate_makefile): Call buffer_messages and
flush_messages to buffer warnings until AUTOMAKE_OPTIONS has
been read.
* automake.in (read_am_file): Fix computation of path to
included file when $(top_srcdir) is not used.
* tests/include2.test: Augment.
2002-08-22 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (set_strictness): Never enable 'portability'
warnings for now.
(usage): Adjust `-Wportability' doc.
* automake.texi (Invoking Automake): Likewise.
Suggested by Ralf Corsepius.
2002-08-21 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Fix cleanup of
so_location files in current directory.
Fix for PR automake/346:
* automake.texi (Optional): Suppress the documentation for
AC_PATH_XTRA, AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE, AC_FUNC_FNMATCH,
AC_FUNC_GETLOADAVG, AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_OBSTACK,
AC_FUNC_STRTOD, AC_REPLACE_FUNCS, AC_REPLACE_GNU_GETOPT,
AC_STRUCT_ST_BLOCKS, AM_WITH_REGEX, AC_CHECK_TOOL, AC_CHECK_PROG,
AC_CHECK_PROGS, AC_PATH_PROG, and AC_PATH_PROGS. Augment the
documentation of AC_LIBSOURCE and AC_SUBST to explain this
applies to any macro that calls them.
2002-08-19 Tom Tromey <tromey@redhat.com>
For PR automake/348:
* tests/Makefile.am (TESTS): Added include2.test.
* tests/include2.test: New file.
* tests/include.test: Check to make sure include file is
distributed.
* automake.in (read_am_file): Distribute included files.
2002-08-19 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix for PR automake/345:
* tests/defs: Add support for required=non-root, stolen
from fileutils' test suite.
* tests/destdir.test: Use required=non-root.
* tests/vtexi.test: Fix spurious failure introduced on 2002-07-30.
2002-08-17 Tom Tromey <tromey@redhat.com>
For PR automake/347:
* automake.in (rule_define): Given portability warning if "%" seen
in target name.
(TARGET_PATTERN): Added `%'.
* tests/Makefile.am (TESTS): Added percent.test.
* tests/percent.test: New file.
2002-08-15 Art Haas <ahaas@neosoft.com>
* lib/am/depend2.am: Use correct name for dependency file in
libtool fastdep case.
2002-08-14 Art Haas <ahaas@neosoft.com>
* lib/am/depend2.am: Added missing `;'.
2002-08-02 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.texi (Python): Fix wording.
* tests/ext2.test: New file. This bug is present in Automake 1.6.3
and was fixed by the change on variable_conditions_permutations
and invert_conditions on 2002-05-16.
* tests/Makefile.am (TESTS): Add ext2.test.
Reported by Ladislav Strojil.
2002-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
* aclocal.in (parse_arguments): Add `dirlist' paths add the
very end of the search path, after aclocal-APIVERSION/ and
aclocal/.
* automake.texi (Macro search path): Adjust to reflect the
new ordering.
* tests/dirlist.test: Check for this.
2002-07-31 Charles Wilson <cwilson@ece.gatech.edu>
* aclocal.in (parse_arguments): Add support for extending
default macro search path, using a `dirlist' file within
the aclocal directory.
* automake.texi (Invoking aclocal): Move option descriptions into ...
(aclocal options): ... this new node.
(Macro search path): New node.
* tests/dirlist.test: New file.
* tests/Makefile.am (TESTS): Add dirlist.test.
* m4/dirlist: New file.
* m4/Makefile.am (EXTRA_DIST): Add dirlist.
* tests/defs: Honor any installed dirlist when searching for
libtool.m4 and gettext.m4.
2002-07-30 Alexandre Duret-Lutz <duret_g@epita.fr>
Build info files in builddir instead of srcdir (for PR automake/168),
and prepare support for info files in subdirecties.
* automake.in (output_texinfo_build_rules): New function.
(handle_texinfo_helper): Use output_texinfo_build_rules, and
prepare to support subdir texinfos. Define am__TEXINFO_TEX_DIR.
* lib/am/texi-vers.am: Build version.texi and stamp-vti in the
current directory, not $(srcdir). Use %STAMPVTI% to name the stamp
file.
* lib/am/texibuild.am: Rewrite to output files in the current
directory, not $(srcdir). Also, support both generic and
non-generic output. Pass `-o $@' to makeinfo, texinfo, and
texi2dvi (for PR automake/339).
* tests/texinfo3.test: Make sure the `.texi:' rule is output.
* tests/texinfo10.test: Use set -e, so the checks are not ignored.
* tests/texinfo16.test: New file.
* tests/Makefile.am (TESTS): Add texinfo16.test.
2002-07-29 Alexandre Duret-Lutz <duret_g@epita.fr>
* aclocal.in (write_aclocal): Don't write the filename ($output_file)
in the aclocal.m4 header.
* configure.in: Require Autoconf 2.53b.
2002-07-28 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.in: Bump version to 1.6c.
* configure.in: Bump version to 1.6b.
* lib/config.guess, lib/config.sub, lib/Automake/XFile.pm: New
upstream versions.
* automake.in: Don't write @ALLOCA@ and @LIBOBJS@ in clear text,
since this file is processed by config.status.
2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (read_am_file): Escaped newlines in comments are not
portable. If a comment line doesn't start with a `#', add it.
* tests/comment6.test: Ensure this is done.
2002-07-24 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix failures reported by Patrick Welche on NetBSD.
* tests/gnits2.test, tests/gnits3.test: Don't trust the exit
status of `make -k'.
* tests/obsolete.test: Source obs.1 and obs.2 from current
directory.
2002-07-23 Patrick Welche <prlw1@newn.cam.ac.uk>
* lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
configure.lineno.
2002-07-23 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/required2.test: New file.
* tests/Makefile.am (TESTS): Add required2.test.
* automake.in (initialize_per_input): Remove %require_file_found
setting. This reverts my change of 2002-04-19.
(require_file_internal): Use the full name of a file as a
key in %require_file_found, not only the basename.
Reported by Andrew Suffield.
2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_subdirs): Warn if `obj' appears in SUBDIRS.
* tests/subdir7.test: New file.
* tests/Makefile.am (TESTS): Add subdir7.test.
* lib/mkinstalldirs: Remove Id keyword.
* lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor
AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
* lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
* automake.texi (Options) <std-options>: Document
AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
(Gnits): Reference std-options.
* tests/gnits3.test: New file.
* tests/Makefile.am (TESTS): Add gnits3.test.
Suggested by Jim Meyering.
2002-07-20 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/gnits2.test: Use --program-prefix. Test for scripts too.
Replace the sed script by calls to grep, easier to debug.
* lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor nobase
and $(transform).
* lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
* lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS):
Always strip the directory part before applying $(transform),
even for nobase_ targets.
* lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS):
Likewise.
* tests/nobase.test: Use --program-prefix while testing nobase
support.
2002-07-19 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/dirname.test: Delete. We don't define _AM_DIRNAME anymore.
* tests/Makefile.am (TESTS): Remove dirname.test.
* m4/init.m4: Require Autoconf 2.53b.
* m4/header.m4 (AM_CONFIG_HEADER): Redefine using AU_DEFUN.
* m4/ccstdc.m4 (fp_PROG_CC_STDC): New AU_DEFUN.
* m4/dmalloc.m4 (fp_WITH_DMALLOC): Likewise.
* m4/lispdir.m4 (ud_PATH_LISPDIR): Likewise.
* m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise.
* m4/protos.m4 (fp_C_PROTOTYPES): Likewise.
* m4/regex.m4 (fp_WITH_REGEX): Likewise.
* m4/termios.m4: Delete. AM_SYS_POSIX_TERMIOS is now AU_DEFUNed
in m4/obsolete.m4.
* m4/winsz.m4: Delete. AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL is now
AU_DEFUNed in m4/obsolete.m4.
* m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4 : New files.
* m4/Makefile.am (dist_m4data_DATA): Add obsol-gt.m4, obsol-lt.m4,
and obsolete.m4. Remove termios.m4 and winsz.m4.
* aclocal.in (obsolete, obsolete_rx): Remove.
(scan_configure): Don't grep for obsolete macros.
* tests/defs (AUTOUPDATE): Define.
* Makefile.am (maintainer-check): Check for misuses of autoupdate.
* tests/obsolete.test: Rewrite. Exercize the AU_DEFUN macros from
m4/obsolete.m4.
Fix for PR automake/338:
* automake.in (seen_gettext_external): New variable.
(handle_gettext): Conditionalize the intl/ check on
$seen_gettext_external. Fix grep usage.
(scan_autoconf_traces): Set $seen_gettext_external if
`external' is passed to AM_GNU_GETTEXT.
* tests/gettext.test, tests/gettext2.test: New files.
* tests/Makefile.am (TESTS): Add gettext.test and gettext2.test.
2002-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
Akim Demaille <akim@epita.fr>
* m4/header.m4 (_AM_DIRNAME, _AM_STAMP, _AM_CONFIG_HEADER,
_AM_CONFIG_HEADER_INSINUATE): Remove them all. Leave just ...
(AM_CONFIG_HEADER): ... this new definition for compatibility.
* m4/init.m4: Don't call _AM_CONFIG_HEADER_INSINUATE.
(_AC_AM_CONFIG_HEADER_HOOK): New macro.
* tests/confh5.tests: Delete.
* tests/Makefile.am (TESTS): Remove confh5.tests.
2002-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_single_transform_list): Typo.
* lib/Automake/Channels.pm (dup_channel_setup,
drop_channel_setup): New functions.
(@EXPORT): Add them.
* automake.in (generate_makefile): Call dup_channel_setup and
drop_channel_setup.
(process_option_list): Recognize --warnings and -W options.
* automake.texi (Options): Document them.
* tests/pluseq5.test: Check that -Wno-obsolete will disable the
warning.
* tests/warnopts.test: New file.
* tests/Makefile.am (TESTS): Add warnopts.test.
2002-07-12 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in: Register warning channel `gnu'.
(set_strictness): Turn on `gnu' in --gnu and --gnits.
(usage): Mention the `gnu' category.
(%var_is_am): Replace by ...
(%var_owner): ... this, which uses ...
(VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE): ... these new constants.
Adjust all uses of %var_is_am.
(handle_languages): Warn about user variables being overriden.
(require_variables): Also check %configure_vars for the existence
of a required variable.
* automake.texi (Invoking Automake): Document -Wgnu.
* tests/yacc2.test, tests/yacc3.test: Use -Wno-gnu when
we test YFLAGS.
* tests/gnuwarn.test: New file.
* tests/Makefile.am (TESTS): Add gnuwarn.test.
2002-07-11 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix for PR automake/337:
* automake.in: Redefine the `flags' attribute of each language
as a list. List CPPFLAGS in `flags' when it is used.
(register_language): Set the default value of 'flags'.
(handle_single_transform_list): Adjust to treat `flags' as a list.
(handle_languages): Likewise. Don't bother defining the
configure variable for `c', this is always done since we trace
configure.ac.
* automake.texi (etags): Use per-executable _CPPFLAGS.
(Program and Library Variables): Mention maude_CPPFLAGS.
(Program variables): Likewise.
* tests/specflags8.test: Use _CPPFLAGS instead of _CFLAGS.
* tests/specflags9.test: New file.
* tests/Makefile.am (TESTS): Add specflag9.test.
2002-07-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.texi: Use `variable' instead of `macro' everywhere it
designates a Makefile variable.
(Texinfo): `VERSION', `UPDATED', `EDITION', and `UPDATED-MONTH' are
`flags', not `macros'. `Macro' means something else in Texinfo.
Also show how to use these flags.
* automake.in (file_contents_internal): s/macro/variable/ in
error message.
* automake.in (parse_arguments): Call Getopt twice: once to catch
--help or --verbose, and once to process the other arguments.
(usage, verbose): Always exit 0, ignoring $exit_code (which anyway
should always be 0 because of the change to parse_arguments).
* tests/Makefile.am (TESTS): Add getopt.test.
* tests/getopt.test: New file.
2002-07-09 Tom Tromey <tromey@redhat.com>
For PR automake/286:
* automake.texi (Tags): Document ctags.
* automake.in (handle_tags): Handle ctags.
* lib/am/tags.am (CTAGS): New macro.
(CTAGSFLAGS): Likewise.
(ctags): New target.
(distclean-tags): Remove `tags'.
* lib/am/depend2.am: Reworked syntax to avoid parsing problem.
* lib/am/depend2.am: Search in srcdir and builddir for %SOURCE%
before passing to cygpath. Partial fix for PR automake/334.
2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (generate_makefile): Suggest using AM_CPPFLAGS
instead of INCLUDES.
* tests/pluseq5.test: Check that AM_CPPFLAGS is suggested.
2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (usage, version): Honor $exit_code.
(parse_arguments): Use fatal.
2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.texi (Invoking Automake): Document WARNINGS.
* automake.in (switch_warning, parse_WARNINGS): New function.
(setup_warnings): Rename to ...
(parse_warnings): ... this. Move most of the code to switch_warning.
Accept a comma separated list of categories.
* tests/vars2.test: Use a comma separated list of warning categories.
2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
* NEWS (New in 1.6): Mention that libtoolize is no longer run
by automake.
2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix for PR automake/291:
* automake.in (macro_define): Catch variable names starting
with `_'.
(handle_installdirs): Rename _am_installdirs to am__installdirs.
* lib/am/data.am, lib/am/install.am, lib/am/libs.am,
lib/am/lisp.am, lib/am/ltlibs.am, lib/am/mans.am,
lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
lib/am/texinfos.am: Likewise.
* tests/canon5.test: Use -Wno-portability.
* tests/vars2.test: New file.
* tests/Makefile.am (TESTS): Add vars2.test.
2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/defs (AUTOMAKE): Add -Wall.
* tests/outdir.test: Use -Wno-obsolete.
2002-07-07 Tom Tromey <tromey@redhat.com>
* m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler>
conditional.
* automake.in (handle_languages): Compute FASTDEP.
* lib/am/depend2.am: Added %FASTDEP% mode.
2002-07-07 Tom Tromey <tromey@redhat.com>
* automake.texi (Optional): AM_MAINTAINER_MODE is ok in Gnits mode
now. Fixes PR automake/332.
2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/nobase.test (test-install-exec): Move all the `test -f'
tests in the Makefile so we can use $(EXEEXT) on programs.
Reported by Charles Wilson.
2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
* m4/header.m4 (AM_CONFIG_HEADER): New macro.
* tests/confh5.test: Make sure that Autoconf complains if
AM_CONFIG_HEADER or AC_CONFIG_HEADERS is called before
AM_INIT_AUTOMAKE.
2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/Automake/Channels.pm: New file.
* lib/Automake/Makefile.am (dist_perllib_DATA): Add Channels.pm.
* automake.in: Use Automake::Channels and register some channels
for errors and warnings.
($exit_status): Remove, replaced by Channels::$exit_code.
(%required_variables): Remove, Channels will filter-out duplicates
itself.
(initialize_per_input): Call reset_local_duplicates.
(prog_error): Adjust to all `msg'.
(setup_warnings): New functions.
(parse_arguments): Accept -W CATEGORY and --warnings=CATEGORY,
call setup_warnings.
(usage): Update usage text accordingly.
(macro_dump, macros_dump): Return the dump as a string instead
of printing it.
(am_install_var) <$warned_about_extra>: Remove, Channels will
filter-out duplicates itself.
(set_strictness): Turn on/off channels for each stricness.
(err, fatal, err_var, err_target, err_am, err_ac, msg_var,
msg_target, msg_am, msg_ac, reject_var, reject_target, verb):
New functions, to replace ...
(print_error, am_error, file_error, macro_error, target_error,
conf_error, file_warning): ... these functions. Remove them.
Update all the code to use the new functions. The rough
correspondance is
am_error -> err_am
file_error -> err
macro_error -> err_var
target_error -> err_target
conf_error -> err_ac
die -> fatal
macro_error if defined -> reject_var
target_error if defined -> reject_target
verbose -> verb
* automake.texi (Invoking Automake): Document -W and --warnings.
Remove the documentation for --Werror and --Wno-error.
* tests/defs: Use -Werror, not --Werror.
* tests/exeext2.test: Test that the error message
is enabled with -Wobsolete.
* tests/output5.test: Rewrite to test that Automake complains
when there is no Makefile specified. (The original test was
succeeding for the wrong reason.)
* tests/seenc.test: Don't use --Wno-error, there is no reason now
that -Werror doesn't stop after the first error.
* tests/subobj.test: Use --add-missing, and check that
`compile' is installed and that Automake says so.
* tests/subobj2.test: Don't create `compile'.
2002-07-05 Tom Tromey <tromey@redhat.com>
* automake.texi (Java Support): Mention --main and _LDFLAGS.
For PR automake/324.
2002-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/asm.test: Erase Autom4te's cache between each test.
2002-07-03 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (am_macro_for_var): Add LIBTOOL.
(ac_macro_for_var): Add RANLIB.
(seen_libtool): Remove.
(handle_libtool, lang_c_finish, define_compiler_variable,
make_paragraphs): Use
variable_defined ('LIBTOOL') instead of $seen_libtool.
(handle_languages) <%transform>: Don't set 'LIBTOOL', it is
already done in make_paragraphs.
(handle_libraries): Simplify by requiring RANLIB with
&require_variables_for_macro.
(handle_ltlibraries): Simplify by requiring LIBTOOL with
&require_variables_for_macro.
(scan_autoconf_traces): Don't trace for AC_PROG_LIBTOOL and
AM_PROG_LIBTOOL.
* tests/libtool4.test, tests/library2.test: New files.
* tests/Makefile.in (TESTS): Add libtool4.test and library2.test.
2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (create, keyed_aclocal_warning): Delete, unused.
2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (ac_macro_for_var): Add YACC.
2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
Handle multiple suffix rules with the same input extension.
For PR automake/37.
* automake.in (suffix_rules_default): New variable.
(suffix_rules): Redefine as a hash of hashes of pairs.
(initialize_per_input): Setup suffix_rules_default from
suffix_rules on first call, an override suffix_rules
with suffix_rules_default on following calls.
(struct) <output_extensions>: New attribute.
(register_language): Set the default for output_extensions.
Call register_suffix_rule for each suffix.
(derive_suffix, handle_languages): Adjust to the new definition
of $suffix.
(register_suffix_rule): New function.
(rule_define): Call register_suffix_rule.
* tests/suffix8.test, tests/suffix9.test, tests/suffix10.test:
New files.
* tests/Makefile.am (TESTS): Add them.
2002-06-30 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (am_macro_for_var, ac_macro_for_var,
required_variables): New variables.
(am_c_prototypes, seen_prog_lex, am_lispdir_location,
pythondir_location): Remove.
(initialize_per_input): Clear %required_variables.
(require_variables, require_variables_for_macro): New functions.
(handle_languages): Call &require_variables for $lang->config_vars.
(handle_compile): Call &require_variables_for_macro for the
ANSI2KNR and U variables.
(handle_emacs_lisp): Call &require_variables for EMACS and libdir.
(handle_python): Call &require_variables for PYTHON. Don't
explicitly allow `python' as a prefix for PYTHON.
(scan_autoconf_traces): Don't scan AC_PROG_LEX, AM_C_PROTOTYPES,
AM_PATH_LISPDIR, and AM_PATH_PYTHON.
(scan_autoconf_traces) <AC_SUBST>: Don't filter out ANSI2KNR and
AMDEPBACKSLASH here...
(define_configure_variable): ... do this here.
(am_primary_prefixes): Probe the existence of ${X}dir using
&require_variables_for_macro. If a standard prefix is not
legitimate, say so. Ignore all configure variables.
* tests/ansi8.test, tests/cxx2.test, tests/gcj5.test,
tests/lisp2.test, tests/python2.test: New files
* tests/Makefile.am (TESTS): Add them.
* tests/asm.test: Grep stderr.
* tests/lex2.test: Rewrite to test that Automake suggests AM_PROG_LEX.
* tests/python.test: Make sure py-compile is installed.
2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR,
COMPILE_LIBTOOL, COMPILE_ORDINARY): Redefine as constants.
Adjust all occurrences.
2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
* aclocal.in: Add local variables so that Emacs setups GNU style
for perl-mode and cperl-mode.
* automake.in: Likewise.
(WHITE_PATTERN, RULE_PATTERN, SUFFIX_RULE_PATTERN, MACRO_PATTERN,
ASSIGNMENT_PATTERN, IF_PATTERN, ELSE_PATTERN, ENDIF_PATTERN,
INCLUDE_PATTERN, EXEC_DIR_PATTERN): Write $ as "\$" to please
perl-mode.
2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
* Makefile.am (fetch): Fetch install-sh from Autoconf CVS.
* lib/config.sub, lib/install-sh: New upstream versions.
2002-06-26 Paul Eggert <eggert@twinsun.com>
* Makefile.am (maintainer-check): Don't assume that egrep exists;
this fixes a portability bug introduced in the 2002-06-08 fix for
PR automake/317.
2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (required_targets): Add ps and ps-am.
(initialize_per_input): Reset them.
(handle_texinfo_helper): Fill @pss_list, and define the
PSS make variable.
* lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive.
(ps, ps-am): New targets.
* automake.texi (Auxiliary Programs) <texinfo.tex>: Mention
`make ps' and `make pdf'.
(Texinfo): Document `make ps', `make pdf', and `make dvi'.
(Extending): The `ps' and `pdf' targets support a `-local' version.
2002-06-26 Art Haas <ahaas@neosoft.com>
* automake.texi: s/.../@dots{}/.
2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.in: Check that ln works, fall back to `cp -p'.
* Makefile.am (install-exec-hook): Use $(LN) instead of ln.
Reported by Andreas Buening.
2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in: Register &lang_lex_target_hook for lex and lexxx.
(lang_lex_target_hook): New function.
* tests/lex3.c: Complete to check that maintainer-clean erases
Lex's output.
Reported by Flavien Astraud. This was lost on 2001-06-23 too.
2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (lang_yacc_target_hook): Add $output to
@maintainer_clean_files. This was lost on 2001-06-23.
* tests/yacc7.test, tests/yacc4.test: Complete to check
that maintainer-clean erases YACC's output files,
respectively with and without `-d'.
Reported by Flavien Astraud.
2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/lang-compile.am (%FPFX%DEPMODE): Delete. This is now
traced from configure.ac.
* automake.in (macro_define): Don't accept to override an AC_SUBST
or Automake variable in a new condition.
* tests/cond23.test, tests/cond24.test: New file.
* tests/Makefile.am (TESTS): Add cond23.test and cond24.test.
Reported by Patrik Weiskirchre.
2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/nobase.test, tests/pr204.test, tests/pr300-lib.test,
tests/pr300-ltlib.test, tests/pr300-prog.test,
tests/specflags7.test, tests/specflags8.test, tests/subdir5.test,
tests/subobj6.test, tests/subpkg.test, tests/transform.test:
Require gcc.
2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/libtool2.test: Use required=libtoolize.
* tests/install2.test: Use required=gzip.
2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/defs (required): Handle bison; set YACC automatically.
* tests/pr204.test, tests/yacc4.test, tests/yacc8.test,
tests/yaccvpath.test: Require bison. Don't set YACC.
2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/defs (required): Handle `gcc' and `g++'; automatically
export CC and CXX when they are required.
* tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
tests/cond4.test, tests/cond16.test, tests/cond18.test,
tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
tests/lex3.test, tests/pr87.test, tests/pr220.test,
tests/substref.test, tests/target-cflags.test, tests/yacc4.test,
tests/yaccvpath.test: Require gcc. Don't pass CC=gcc to
configure.
* tests/subobj9.test: Require g++.
2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/defs (required): Handle `GNUmake'.
(needs_gnu_make): Don't define anymore.
* tests/cond4.test, tests/cond18.test, tests/cond19.test,
tests/dollar.test, tests/exsource.test, tests/extra6.test,
tests/lex3.test, tests/make.test, tests/pr9.test, tests/pr87.test,
tests/subdir5.test, tests/target-cflags.test, tests/yacc7.test,
tests/yaccvpath.test: Use `required=GNUmake' instead of
`$needs_gnu_make'.
2002-06-17 Paolo Bonzini <bonzini@gnu.org>
* automake.in (process_option_list): Recognize std-options.
(handle_options): Enable std-options in gnits strictness.
(am_install_var): If std-options, enable CK-OPTS section.
* lib/am/scripts.am (installcheck-am): New target.
* lib/am/progs.am (installcheck-am): New target.
* tests/gnits2.test: New file.
* tests/Makefile.am (TESTS): Add gnits2.test.
* automake.texi (Gnits, Options): Document std-options.
2002-06-17 Kevin Ryde <user42@zip.com.au>
* automake.in (scan_texinfo_file): Add tmp to @clean_suffixes,
as generated by recent texinfo.tex.
2002-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
* m4/header.m4 (AM_CONFIG_HEADER): Rename to ...
(_AM_CONFIG_HEADERS): ... this.
(_AM_CONFIG_HEADER_INSINUATE): Define AC_CONFIG_HEADERS to
call _AM_CONFIG_HEADERS; and AM_CONFIG_HEADER to call
AC_CONFIG_HEADERS.
* automake.in (scan_autoconf_traces): Trace AC_CONFIG_HEADERS
instead of AM_CONFIG_HEADER.
* tests/autoheader2.test: New file.
* tests/Makefile.am (TESTS): Add autoheader2.test.
Suggested by Raja R Harinath.
2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
* m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): Use m4_copy instead
of m4_rename so that AC_CONFIG_HEADER is never undefined and
therefore still traced after the redefinition.
* tests/defs (AUTOHEADER): Define.
* tests/autoheader.test: New file.
* tests/Makefile.am (TESTS): Add autoheader.test.
Reported by Braden McDaniel.
2002-06-13 Paolo Bonzini <bonzini@gnu.org>
* automake.in (check_gnu_standards): In --gnu mode, accept
one of COPTING, COPYING.LESSER, or COPYING.LIB.
(common_files): Add COPYING.LESSER.
* automake.texi (Gnits): Document this.
2002-06-13 Paolo Bonzini <bonzini@gnu.org>
* automake.in (required_targets): Add the pdf and pdf-am targets.
(initialize_per_input): Likewise.
(scan_texinfo_file): Add pdf to @clean_suffixes.
(handle_texinfo_helper): Output the .pdf dependencies, and define
the PDFS variable.
* lib/am/texinfos.am (TEXI2PDF): New variable.
(pdf, pdf-am): New targets.
(.PHONY): Add pdf, pdf-am, and pdf-recursive.
* lib/am/texibuild.am (.%SUFFIX%.pdf): New rule.
2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix pr307.test failure with gcc 3.x.
* lib/depcomp (dashmstdout): Strip the call to libtool, and
replace `-o $object' by `-o /dev/null' before running "$@"
to generate dependencies.
(cpp): Strip the call to libtool as well as `-o $object'.
2002-06-12 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/depcomp (tru64): Expect dependency files in .libs/, maybe as
$base.lo.d, when libtool is used.
Reported by Nicolas Joly.
2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/java.am (class%DIR%.stamp): Don't run $(JAVAC) when there
is no file to compile.
* tests/java2.test: New file.
* tests/Makefile.am (TESTS): Add java2.test.
Reported by Braden N. McDaniel.
2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/maintclean.test: Don't check for autom4te.cache if
it's not created by Autoconf.
Reported by Bernd Jendrissek.
2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.texi (Tests): Document site.exp. Update DejaGnu's url.
2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/header-vars.am (transform): Define.
Was removed by mistake on 2002-04-13.
* tests/transform.test: New file.
* tests/Makefile.am (TESTS): Add transform.test.
Reported by Nicolas Joly.
2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/dollar.test: Require GNU make.
* tests/maintclean.test: Don't use `export YACC=false'. Pass
YACC=false to configure instead.
2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL,
INSTALL: New upstream versions.
2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/sinclude.test: Check for m4_include too.
2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/sinclude.test: Rename the package as amsinclude;
am__sinclude still trigers the sinclude macro once it has been
converted to am--sinclude.
Reported by Nicolas Joly.
2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.texi (API versioning): Typo.
2002-06-10 Nicolas Joly <njoly@pasteur.fr>
* THANKS (Nicolas Joly): Remove duplicate.
2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* Makefile.am (maintainer-check): Fix $MAKE -e detection.
* tests/yacc7.test: Use rm -f.
2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/defs (ACLOCAL, AUTOMAKE): Use absolute paths.
* tests/subpkg.test: New file.
* tests/Makefile.am (TESTS): Add subpkg.test.
2002-06-09 Alexandre Duret-Lutz <duret_g@epita.fr>
For PR automake/318:
* tests/nobase.test: Rewrite to test _HEADERS, _DATA, _SCRIPTS,
_PROGRAMS, _LIBRARIES, and _LTLIBRARIES.
* lib/am/scripts.am (install-%DIR%SCRIPTS,
uninstall-%DIR%SCRIPTS): Honor nobase_; strip the directory by
default.
(?%DIR%SCRIPT_INSTALL): New variable.
* lib/am/header-vars.am (install_sh_SCRIPT): New variable.
Reported by Eric Siegerman.
2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (lang_yacc_target_hook): Add rule to recover from
the removal of $header.
* lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one
output by lang_yacc_target_hook).
* tests/yacc7.test: Try to recreate foo.h after its removal.
* tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate
parse.h too.
Reported by Bernd Jendrissek.
2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
For PR automake/317:
* Makefile.am (maintainer-check): Disallow `for f in $(FILES)',
suggest `list='$(FILES)'; for f in $$list' instead.
* lib/am/distdir.am (distdir): Adjust `for' usage.
* lib/am/texinfos.am (maintainer-clean-aminfo): Likewise.
* tests/dollar.test: New file.
* tests/Makefile.am (TESTS): Add dollar.test.
Reported by Eric Siegerman and Philip Fong.
2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
For PR automake/47 (fixed a long time ago):
* tests/yacc7.test: Also check that parser sources are distributed.
2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable.
(distclean): Use it.
(maintainer-clean): Delete autom4te.cache and
$(am__CONFIG_DISTCLEAN_FILES).
* tests/maintclean.test: New file.
* tests/Makefile.am (TESTS): Add maintclean.test.
2002-06-05 Miloslav Trmac <trmac@popelka.ms.mff.cuni.cz>
* lib/am/dejagnu.am (site.exp): Quote build_alias, host_alias, and
target_alias.
2002-05-31 Alexandre Duret-Lutz <duret_g@epita.fr>
* Makefile.am (maintainer-check): Check for egrep and fgrep.
* test/cond22.test: Set SHELL when calling $MAKE -e.
2002-05-31 Richard Boulton <richard@tartarus.org>
Fix PR automake/326:
* automake.in (define_objects_from_sources): Calculate the result in
all conditions before passing this to subobjname to pick a name to
store the result in.
(subobjname): Expect a list of condition/value pairs as input.
Combine this list and use it as the key to determine the variable name.
* test/cond22.test: New file.
* tests/Makefile.am (TESTS): Add cond22.test
2002-05-30 Paul Eggert <eggert@twinsun.com>
* lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
instead, use shell pattern matching.
2002-05-29 Paul Eggert <eggert@twinsun.com>
Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
longer requires them.
* Makefile.am (maintainer-check): Use grep -E and grep -F instead
of egrep and fgrep. Omit unnecessary -E and -F.
Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
* lib/am/distdir.am (distdir): fgrep -> grep -F.
Use $(), not ${}, for Make variables.
* lib/am/texinfos.am (install-info-am, uninstall-info-am):
fgrep -> grep
* m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
* tests/defs: Set FGREP and EGREP.
* tests/aclocali.test, tests/acoutput2.test, tests/all.test,
tests/ansi.test, tests/ansi4.test, tests/colon3.test,
tests/cond21.test, tests/condlib.test, tests/confh4.test,
tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
tests/depend4.test, tests/discover.test, tests/distname.test,
tests/dup3.test, tests/empty4.test, tests/fo.test,
tests/implicit.test, tests/insh2.test, tests/interp.test,
tests/lex.test, tests/lex3.test, tests/lex4.test,
tests/libobj5.test, tests/libobj7.test, tests/make.test,
tests/makevars.test, tests/nostdinc.test, tests/parse.test,
tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
tests/pr2.test, tests/pr9.test, tests/seenc.test,
tests/specflags.test, tests/specflags3.test,
tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP
2002-05-24 Alexandre Duret-Lutz <duret_g@epita.fr>
For PR automake/323:
* m4/depend.m4: Missing comma.
* tests/gcj4.test: New file.
* tests/Makefile.am (TESTS): Add gcj4.test.
Reported by David Pashley.
2002-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/defs (configure.in): Don't double-quote $me.
* tests/sinclude.test: Overwrite configure.in and use
`am__sinclude' instead of `sinclude' as package name.
Exercise `m4_sinclude' instead of `sinclude'.
2002-05-20 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (conditional_implies_one_of): Rename as ...
(conditional_implies_any): ... this.
* tests/pluseq9.test: Exercise another case with the new
`C' variable.
Suggested by Raja R Harinath.
2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/defs (configure.in): Quote macro arguments.
Reported by Nicolas Joly.
2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/header-vars.am (build_triplet, host_triplet,
target_triplet): Define. Were removed by mistake on 2002-04-13.
2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
For PR automake/186:
* lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
* tests/destdir.test: New file.
* tests/Makefile.am (TESTS): Add destdir.test.
2002-05-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (conditional_true_when): Return false if $WHEN == FALSE.
(conditional_is_redundant): Simplify.
(conditional_implies_one_of,
variable_not_always_defined_in_cond): New functions
(macro_define): Reject appends if the variable is not defined in
all conditions where `+=' applies.
(invert_conditions): Rewrite. Before this patch,
invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
wrong (these conditions implies "A_FALSE"). Now it outputs (),
which just means the input conditions cover all cases.
(variable_conditions_permutations): Never output FALSE conditions.
* tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
in the CHECK_FALSE condition to fix the test.
* tests/pluseq5.test: Actually check the diagnostic.
* tests/pluseq9.test: New file.
* tests/Makefile.am (TESTS): Add pluseq9.test.
2002-05-14 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix for PR automake/322:
* automake.in (read_am_file): Rename $was_rule as $prev_state, and
set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
Handle comments continued by backslashes.
* tests/comment6.test: New file.
* tests/Makefile.am (TESTS): Add comment6.test.
Reported by Braden N. McDaniel.
2002-05-08 Charles Wilson <cwilson@ece.gatech.edu>
Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
both `program$(EXEEXT)' and `program'; needed under Cygwin.
* tests/libtool3.test: New file.
* tests/Makefile.am (TESTS): Add libtool3.test.
2002-05-07 Alexandre Duret-Lutz <duret_g@epita.fr>
* TODO: Undust.
2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
* Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
Erase stamps from the Makefile that generates them.
* automake.in (handle_configure): Append each used stamp to
@distclean_config. Don't warn about stamp-h in AC_OUTPUT, this
file is not used anymore.
* lib/am/clean.am (distclean-generic): Don't erase stamp-h and
stamp-h[0-9]*.
* tests/subdir6.test: New file.
* tests/Makefile.am (TESTS): Add it.
2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix for condd.test (conditional `+='):
* automake.in (%appendvar): New.
(initialize_per_input): Clear it.
(macro_define): Handle += for variable defined in another condition.
* automake.texi (Conditional Sources): Use conditional += in
the example.
(General Operation, Conditionals): Remove note about broken +=.
* tests/cond21.test: New file.
* tests/condd.test: Also test conditional append to a _SOURCE
variable. Create missing directories.
* tests/Makefile.am (TESTS): Add cond21.test.
(XFAILS): Remove condd.test.
2002-05-05 Tom Tromey <tromey@redhat.com>
* automake.texi (Program and Library Variables): Mention _LFLAGS.
2002-04-30 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
files. Fix subobj9.test on OSF and IRIX.
Reported by Nelson H. F. Beebe.
2002-04-26 Tom Tromey <tromey@redhat.com>
* lib/am/dejagnu.am (distclean-DEJAGNU): New target.
For Debian bug 144221.
2002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (subobjname): Use the length of %subobjvar
instead of $subobjnamenum.
(subobjnamenum): Remove.
2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
For PR automake/307:
* lib/depcomp: Never compute dependencies in the background, this
can cause races with libtool. Compute the dependencies after
the actual compilation. Don't make libtool silent now that
it's run in the foreground.
* tests/pr307.test: New file.
* tests/Makefile.am (TESTS): Add pr307.test.
Reported by Laurent Morichetti.
2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/check.am: Show skipped tests. Display the
$(PACKAGE_BUGREPORT) address on failure.
2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix PR automake/315:
* automake.in (subobjname): Rewrite to generate variable name
unique for each content.
(%substnums): Remove.
(%subobjvar): New hash.
(initialize_per_input): Clear %subobjvar.
(define_objects_from_sources): Return the name of the variable
defined, in addition to the linker. Call subobjname only once
the content of the variable to define is known.
(handle_source_transform): Adjust call to define_objects_from_sources.
* tests/specflags8.test: Mention PR 315.
* tests/subobjname.test: New file.
* tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
(TESTS): Add subobjname.test.
2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
the whole file for 'generated by automake', not only the
first line. This accounts for post-processed Makefile.in's.
* tests/postproc.test: New file.
* tests/Makefile.am (TESTS): Add postproc.test.
2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
For PR automake/151 and PR automake/314:
* automake.texi (A Program): Split into
(Program Sources, Linking, Conditional Sources, Conditional
Programs): ... these subsections; moving the Linking node
before the Conditional discussions.
(Conditional Sources): More details. Notably, mention
hello_DEPENDENCIES.
(Conditionals): Adjust reference to Conditional Programs.
2002-04-19 Paul Eggert <eggert@twinsun.com>
Fix some bugs when using "$@" when there might be zero positional
arguments in cases where this matters. Zsh doesn't support
the workaround ${1+"$@"} that has been used by Automake since
the Mon Dec 4 11:55:36 1995 change.
* aclocal.in: Use 'case' statement to work around problem.
* automake.in: Likewise.
* lib/ylwrap: Likewise.
* lib/missing: No need for workaround, as the command is never
invoked with zero arguments.
* tests/ccnoco.test: Likewise.
* missing: Update from lib/missing.
2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (initialize_per_input): Clear %require_file_found.
(%require_file_found): Group the declaration with the other
variables initialized by initialize_per_input.
* tests/required.test: New file.
* tests/Makefile.am (TESTS): Add it.
Reported by Marius Vollmer.
2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
* m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
(_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
* m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
* tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
files.
* tests/confh5.test: New file.
* tests/Makefile.am (TESTS): Add confh5.test.
* automake.texi (Optional, Public macros): Update descriptions
of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/man2.test: New file.
* tests/Makefile.am (TESTS): Add man2.test.
* lib/am/mans.am (install-man%SECTION%): Change the extension
of the man pages being installed, as documented.
2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
Enable traces; wipe out the old configure.in parser.
* automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
'autoconf'. Honnor the $filename argument.
(scan_autoconf_files): Don't call scan_one_autoconf_file.
Always call scan_autoconf_traces.
(scan_one_autoconf_file): Remove, with it associated regexes.
(obsolete, obsolete_rx): Remove.
(register_language, handle_languages): Remove the 'define_flag'
support. Remove it from the struct and language definitions too.
(unquote_m4_arg): Remove.
* lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
are now generated automatically.
* aclocal.in (obsolete_macros): Don't mention obsolete_macros in
automake.in.
* automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/version6.test: New file.
* tests/Makefile.am (TESTS): Add tests/version6.test.
* automake.in (version_check): Return 0 on equality.
2002-04-13 Andreas Schwab <schwab@suse.de>
* THANKS: Update my mail address.
2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/discover.test: Use a full configure.in that calls AC_INIT.
Use AC_LIBOBJ. Grep the error message.
* test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
Grep the error message. Require libtool.
* tests/ldflags.test: Don't use LIBOBJS.
* tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
error messages for CC and CXX.
2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
and AMDEPBACKSLASH.
* tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
* tests/ext.test: Enable dependencies for OBJC.
* tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
Delete. They tests for different flavors of $LIBOBJS assignments
that wont be supported anymore.
* tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
* tests/obsolete.test: Don't test Automake.
* tests/suffix5.test: Require libtool.
* tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
libobj9.test.
2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.in (APIVERSION): Fix definition.
2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* NEWS: Catch up with changes since 1.6.
2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/yacc8.test: Don't assume GNU make, run config.status
to regenerate the Makefile.
2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* Makefile.am (maintainer-check): Make sure `$MAKE -e' is
always followed by a SHELL setting.
* tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
SHELL when calling `$MAKE -e'.
2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/subobj9.test: Use configure.in, not configure.ac,
otherwise this fails with old libtool versions.
2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
versions.
2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* ChangeLog.2001: New file, extracted from ChangeLog.
* Makefile.am (EXTRA_DIST): Add it.
2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.texi (Canonicalization): The sources for libmumble++.a
go into libmumble___a_SOURCES.
2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
* Makefile.am (maintainer-check): Check for `sleep 1' uses in the
test suite. Suggest `sleep 2' instead.
* tests/confsub.test: Use `sleep 2'.
2002-04-04 Paul Eggert <eggert@twinsun.com>
* lib/am/subdirs.am:
($(RECURSIVE_TARGETS), maintainer-clean-recursive):
$(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
MAKEFLAGS contains '$(...)'.
2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/specflags8.test: Typo.
2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/specflags6.test: Run aclocal.
* tests/Makefile.am (TESTS): Add specflags6.test.
2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/specflags7.test, tests/specflags8.test: New files.
* tests/Makefile.am (TESTS): Add them.
(XFAIL_TESTS): Add specflags8.test.
2002-03-29 Tom Tromey <tromey@redhat.com>
* automake.in (check_typos): Examine AM_LDFLAGS.
Fixes PR automake/311.
For PR automake/312:
* lib/am/libtool.am (clean-libtool): Use LTRMS.
* automake.in (handle_single_transform_list): When processing a
libtool object, clean the ordinary object and register the
directory.
(libtool_clean_directories): New global.
(initialize_per_input): Initialize it.
(generate_makefile): Call handle_libtool later.
(handle_libtool): Handle libtool_clean_directories.
* tests/subobj9.test: New file.
* tests/Makefile.am (TESTS): Added subobj9.test.
2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/extra6.test, tests/subdir5.test: Require GNU make.
2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/extra7.test: New file.
* tests/Makefile.am: Add it.
* lib/am/distdir.an (distdir): When a distribuable directory
exists both in `.' and $(srcdir), merge both directories. This
works around a failure of extra6.test on Tru64 reported by
Nicolas Joly.
2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/pr87.test, tests/yaccvpath.test: Require GNU make.
2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* Makefile.am (maintainer-check): Catch occurrences of
`$MAKE foo=bar' in the testsuite. Suggest using
`foo=bar $MAKE -e' instead.
* tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
* tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
* tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix for PR automake/310:
* lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
so it never appears as a plain word.
2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
* lib/depcomp (tru64): Correctly compute `base'.
2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/pr211.test: s/requires/required/, otherwise the test fails
if libtool is not installed.
2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/dirname.test: Don't use $SHELL when calling ./configure.
2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/dirname.test: Use --quiet to fix failure on installations
using a site script.
Reported by Nicolas Joly.
2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
* Makefile.am (maintainer-check): Check for misuses of make,
autoconf, automake, aclocal, and perl in the testsuite. Suggest
using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
* tests/confsub.test: Use $AUTOCONF and $MAKE.
* tests/extra5.test, tests/extra6.test, tests/lex5.test,
tests/nobase.test, tests/nodist2.test, tests/pr204.test,
tests/pr224.test, tests/pr287.test, tests/strip.test,
tests/yacc8.test: Use $MAKE.
2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
Add support for two-dot versions.
* tests/version5.test: New file.
* tests/Makefile.am (TESTS): Add it.
* automake.in (version_split, version_compare): New functions.
(version_check): Rewrite using version_split and version_compare.
(process_option_list): Adjust regex.
2002-03-18 Richard Boulton <richard@tartarus.org>
Fix for PR automake/306:
* automake.texi (Generalities): Document +=.
(Conditionals): Document limitations of += with conditionals.
2002-03-17 Tom Tromey <tromey@redhat.com>
Fix for PR automake/295:
* automake.texi (Invoking Automake): Deprecate --output-dir.
* automake.in (usage): Don't document --output-dir.
(output_directory): Don't initialize.
(parse_arguments): Deprecate --output-dir.
* m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
Fixes PR automake/304.
2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/dirforbid.test: Workaround for NetBSD sh bug.
Fixes PR automake/305.
2002-03-11 Richard Boulton <richard@tartarus.org>
* automake.in (check_typos): Allow variables with reserved
suffices (such as _LDFLAGS) and prefixes which aren't
recognised if the variable is defined in configure.ac.
Fixes acsubst.test.
2002-03-11 Richard Boulton <richard@tartarus.org>
* tests/acsubst.test: New test, by Alexandre Duret-Lutz
* tests/acsubst2.test: New test, by Alexandre Duret-Lutz
* tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
* tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
causes failures.
2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix for PR automake/303:
* automake.in (version_check): Move the error message ...
(process_option_list): ... here, so we can distinguish between
global and local options.
2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/pr300-lib.test, tests/pr300-ltlib.test,
tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
Autoconf doesn't complain about Makefile being output twice.
2002-03-06 Tom Tromey <tromey@redhat.com>
* configure.in: Upped version to 1.6a.
2002-03-05 Tom Tromey <tromey@redhat.com>
* configure.in: Released 1.6.
2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix for PR automake/300:
* tests/pr300-lib.test, tests/pr300-ltlib.test,
tests/pr300-prog.test: New files.
* tests/Makefile.am (TESTS): Add them.
* automake.in (handle_ltlibraries): Strip nobase_ prefix to
compute the directory.
* lib/am/header-vars.am (install_sh_PROGRAM): New variable.
* lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
(install-%DIR%LIBRARIES): Use it. Honor nobase_.
(uninstall-%DIR%LIBRARIES): Honor nobase_.
* lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
(install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
(uninstall-%DIR%LTLIBRARIES): Honor nobase_.
* lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
(install-%DIR%PROGRAMS): Use it. Honor nobase_.
(uninstall-%DIR%PROGRAMS): Honor nobase_.
See also the fix for nobase.test on 2001-11-09.
2002-03-05 Tom Tromey <tromey@redhat.com>
* lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
2002-03-05 Pavel Roskin <proski@gnu.org>
* tests/yacc8.test: Add a command between "test" and "cd" to
work around a bug in bash-2.05.
2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix for PR automake/294:
* tests/dirforbid.test: New file.
* tests/Makefile.am (TESTS): Add it.
* automake.in (standard_prefix): New hash.
(am_primary_prefixes): Forbid standard_prefixes which are not
explicitely allowed.
* automake.texi (Uniform): Remove FIXME.
2002-03-05 Jim Meyering <meyering@lucent.com>
* automake.in (@common_files): Add config.rpath.
2002-03-05 Kevin Ryde <user42@zip.com.au>
For PR automake/297:
* lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
after AC_PROG_LEX, since it will try to run it and fail (in autoconf
2.52 at least).
2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (scan_one_autoconf_file): Declare
LEX_OUTPUT_ROOT and LEXLIB as configure variables when
AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
* lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
definitions. Search %SOURCE% in $(srcdir). Use s||| instead
of s/// in the sed invocation, to support filenames containing
slashes.
* lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
* tests/lex5.test, tests/yacc8.test: New files.
* tests/Makefile.am (TESTS): Add them.
2002-02-23 Per Bothner <per@bothner.com>
* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
`.' in else branch.
2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/make.test: Revert the grep logic to work around a bug
in NetBSD sh (see NetBSD Problem Report #11542).
Reported by Patrick Welche.
2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
* m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
to try and prevent a non-lisp emacs from starting in interactive
mode.
* automake.texi: Document this change.
2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.texi (Macros): Split into ...
(Public Macros, Private Macros): ... these.
2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/insthook.test: Use sed instead of "tail +X".
2002-02-18 Paul Eggert <eggert@twinsun.com>
* lib/depcomp: Don't use "tail +3"; it's not portable to
POSIX 1003.1-2001 hosts.
2002-02-18 Jim Meyering <meyering@lucent.com>
* tests/cond12.test: Use sed 1q, not `head -n 1'.
The latter is not portable to some old systems.
* m4/depout.m4: Don't use `head -1'; it's no longer portable.
Use `sed 1q' instead.
* tests/insthook.test: Likewise.
2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_lib_objects_cond): Tell the user to put
global linker flags in AM_LDFLAGS, not LDFLAGS.
* automake.texi (General Operation): AC_SUBST'ed variables
override Automake's variables.
(Uniform): More words and @refs.
(Auxiliary Programs) <config.sub, config.guess>: Add URL.
(etags): More explanations about the first example.
(Invoking Automake): Mention autoreconf. More @refs.
(Requirements): Mention AC_CONFIG_FILES.
(Optional): AC_CHECK_TOOL will no longer install config.sub and
config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
(Invoking aclocal): aclocal no longer warn about duplicates.
(Macros) <AM_INIT_AUTOMAKE>: More explanations.
(Extending aclocal): Suggest using the output of
`aclocal --print-ac-dir` to install third-party macros.
(Alternative): Specify ordering of dist_, nodist_, and nobase_
prefixes.
(A Program): Mention scripts. The global LDADD variable is not
meant to hold link flags, suggest using AM_LDFLAGS instead.
(Program and Library Variables) <maude_LIBADD, maude_LDADD>:
_LIBADD and _LDADD are subject to the same restriction wrt to
link flags.
(Program and Library Variables) <maude_DEPENDECIES>: Is also
derived from maude_LIBADD.
(Program variables): Define AM_LDFLAGS.
(Dependencies): Passing the no-dependencies option to
AM_INIT_AUTOMAKE is preferred.
(Scripts): Explain why automake is magically cleaned.
Mention noinst_SCRIPTS and check_SCRIPTS.
(Data): Use dist_ in Automake's example.
(Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
Mention AC_CONFIG_FILES instead of AC_OUTPUT.
2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
* Makefile.am (FETCHFILES): Add Automake/XFile.pm.
(fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
of asking the maintainer to do it manually.
* lib/config.guess, lib/config.sub, lib/texinfo.tex,
Automake/XFile.pm: New upstream versions.
2002-02-02 Tom Tromey <tromey@redhat.com>
* automake.texi (Macros): Warn about upgrading.
2002-02-01 Tom Tromey <tromey@redhat.com>
Change per GNU coding standards:
* aclocal.in (parse_arguments): Only mention most recent year in
copyright output.
* automake.in (version): Only mention most recent year.
2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.texi (API versioning): New Node.
(Extending): Use $(DESTDIR) in examples.
2002-01-28 Akim Demaille <akim@epita.fr>
* m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
Respect the --help layout.
2002-01-27 Tom Tromey <tromey@redhat.com>
* configure.in: Bumped to 1.5e.
* lib/am/yacc.am: Use `rm -f'.
* configure.in: Released 1.5d.
* lib/config.guess: New version from FSF.
* Makefile.am (uninstall-hook): New target.
2002-01-24 Akim Demaille <akim@epita.fr>
* lib/install-sh: Update, from Autoconf.
2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
as AC_CANONICAL_HOST (the former does not require the latter since
Autoconf 2.50).
* m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
* automake.texi (Requirements): Do not require STRIP to be
defined by the user.
2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
* automake.in (handle_languages): Compute and substitute %DEPDIRS%.
* tests/pr224.test: Make sure .deps subdirectories are
erased by distclean.
2002-01-22 Tom Tromey <tromey@redhat.com>
* m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
no-dependencies option is set.
* m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
no-dependencies option is set. Don't call AM_DEP_TRACK or
AM_SET_DEPDIR.
2002-01-22 Pavel Roskin <proski@gnu.org>
* tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
ASFLAGS.
2002-01-22 Akim Demaille <akim@epita.fr>
* Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
(fetch): Adjust.
2002-01-21 Tom Tromey <tromey@redhat.com>
* Makefile.am (fetch): Don't fetch ansi2knr.
* automake.texi (Macros): Updated for new variable names.
(Program and Library Variables): Likewise.
(Assembly Support): Likewise.
* m4/as.m4: Use CCAS and CCASFLAGS.
* automake.in (asm): Use CCAS and CCASFLAGS.
2002-01-21 Akim Demaille <akim@epita.fr>
* automake.in (&parse_arguments): Use a more GNUish error message
on wrong options.
2002-01-20 Tom Tromey <tromey@redhat.com>
Fix for PR automake/231:
* m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
* m4/depend.m4: Document `GCJ'.
For PR automake/224:
* tests/Makefile.am (TESTS): Added pr224.test.
* tests/pr224.test: New file.
* lib/depcomp: Fixed computation of depfile.
* lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
* automake.in (handle_single_transform_list): Only reject `..'
component for Java. Put dependencies in directory near object.
(handle_languages): Set DEPBASE. Handle de-ansi-fication.
2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/defs: Export AUTOMAKE and ACLOCAL.
2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix for PR automake/204:
* tests/pr204.test: New file.
* tests/Makefile.am (TESTS): Add it.
* automake.in (handle_single_transform_list): Don't distribute
sources derived from non-distributed sources.
2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix for PR automake/229:
* tests/pr229.test: New file.
* tests/Makefile.am (TESTS): Add it.
* automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
AC_EMXOS2, and AC_MINGW32.
2002-01-18 Tom Tromey <tromey@redhat.com>
* tests/cond7.test: Fix test bug exposed by copyright update.
For PR automake/288:
* automake.in (lang_c_rewrite): Don't prepend directory to base if
directory is `.'. Also, properly compute de_ansi_files entry in
subdir-objects case
* tests/Makefile.am (TESTS): Added ansi7.test.
* tests/ansi7.test: New file.
* aclocal.in (parse_arguments): Added 2002.
(write_aclocal): Likewise.
(parse_arguments): Updated my email address.
* automake.in (gen_copyright): Added 2002.
(version): Likewise. Also, changed my email address.
* configure.in (APIVERSION): Refined definition.
2002-01-18 Tom Tromey <tromey@redhat.com>
* missing: Updated.
* lib/missing: Accept versioned aclocal.
* m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
2002-01-17 Pavel Roskin <proski@gnu.org>
* m4/Makefile.am (m4datadir): Use APIVERSION.
2002-01-16 Tom Tromey <tromey@redhat.com>
* Makefile.am (install-exec-hook): Use APIVERSION.
* m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
* m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
APIVERSION.
* automake.in (perllibdir): Use APIVERSION.
(libdir): Likewise.
* aclocal.in (perllibdir): Use APIVERSION.
(APIVERSION): New global.
(parse_arguments): Use APIVERSION.
* configure.in (APIVERSION): New subst.
(pkgvdatadir): Use APIVERSION.
2002-01-15 Tom Tromey <tromey@redhat.com>
* missing: Updated.
* lib/missing: Match against `automake*' to pick up versioned
automake.
* m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
* m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
variable.
* lib/am/Makefile.am (amdir): Use pkgvdatadir.
* lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
pkgvdatadir.
(scriptdir): Use pkgvdatadir.
(installcheck-local): Likewise.
* lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
* automake.in (perllibdir): Added VERSION.
(libdir): Likewise.
* aclocal.in (parse_arguments): Search versioned directory. Don't
push unversioned directory unless it exists.
(perllibdir): Added VERSION.
(default_acdir): New global.
* m4/Makefile.am (m4datadir): Added $(VERSION).
* Makefile.am (install-exec-hook): New target.
* configure.in (ACLOCAL): Search build directory.
(pkgvdatadir): New subst.
2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/config.sub, lib/config.guess: New versions from FSF.
2002-01-13 Tom Tromey <tromey@redhat.com>
For PR automake/288:
* automake.in (lang_c_rewrite): Set value for de_ansi_files entry
to directory.
(lang_c_finish): Likewise. Also, use directory information from
de_ansi_files.
2002-01-13 Kevin Ryde <user42@zip.com.au>
For PR automake/288:
* tests/Makefile.am (TESTS): Added ansi6.test.
* tests/ansi6.test: New file.
2002-01-13 Tom Tromey <tromey@redhat.com>
For PR automake/287:
* lib/am/distdir.am (distdir): Use `$$list' trick when looping
over subdirs.
* tests/Makefile.am (TESTS): Added pr287.test.
* tests/pr287.test: New file.
2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/distdir.am (distdir): Handle subdirectories.
* tests/extra6.test: New file.
* tests/Makefile.am (TESTS): Add it.
2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/extra2.test: Run $ACLOCAL.
2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
* m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
AM_INIT_AUTOMAKE arguments when using the old-style call.
Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
Suggested by Pavel Roskin.
2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
* test/nodefine.test, test/nodefine2.test: Check that no-define
works, not the contrary...
* m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
* m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
not the contrary.
2002-01-12 Jim Meyering <meyering@lucent.com>
* automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
* tests/libobj11.test: New file.
* tests/Makefile.am (TESTS): Add libobj11.test.
2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
* lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (file_contents_internal): Introduce two variables,
$is_rule and $discard_rules to track rules spanning across multiple
paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
where only the first paragraph of such a multi-paragraph rule was
discarded; but it leaves many similar latent bugs (see the FIXMEs).
2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/dup3.test: Remove all -I from $ACLOCAL before using it.
* tests/error.test: Use some macro names which are not defined by
Automake itself.
2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.texi (Complete, Macros, Options): Document the new style
AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
* m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
AC_INIT if they are available there. Support a new call form
where the only argument is an optional space-separated list of
Automake options.
* m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
(_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
_AM_IF_OPTION): New functions.
* automake.in (AC_INIT_PATTERN): New variable.
(global_options_line): Remove, use $seen_init_automake instead.
(scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
Remove the AM_AUTOMAKE_OPTIONS handling.
* configure.in: Modernize.
* tests/defs (configure.in): Modernize. One third of the tests
still overwrite the default configure.in and use an old
AM_INIT_AUTOMAKE call, so that makes testing for both.
* tests/nodefine.test, tests/nodefine2.test: New files.
* tests/Makefile.am (TESTS): Add them.
2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
* automake.in (define_configure_variable): Propagate line numbers.
2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
* m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.in: Run the Autoconf test in a subdirectory, then
erase this directory.
2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.in (AUTOMAKE): Create m4/amversion.m4.
* m4/amversion.in: New file.
* m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
(dist_m4data_DATA): ... this.
(nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
* m4/init.m4 (AM_INIT_AUTOMAKE): Require
AM_SET_CURRENT_AUTOMAKE_VERSION.
* automake.in (seen_automake_version): New variable.
(scan_autoconf_traces, scan_one_autoconf_file,
scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
when the version used in aclocal.m4 differs from Automake's.
* tests/defs (ACLOCAL): Look in ../m4 too.
* tests/installsh.test (ACLOCAL): Likewise.
* tests/installdir.test (installdirs-local): Run $ACLOCAL.
2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
* automake.in (handle_languages): Emit an automake
internal variable 'am__depfiles_maybe'.
* lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
* lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
config.status.
2002-01-06 Tom Tromey <tromey@redhat.com>
* automake.texi (Tags): Document new variables.
* lib/am/tags.am (ETAGS): New macro.
(ETAGSFLAGS): Likewise.
(TAGS): Use them.
2002-01-04 Tom Tromey <tromey@redhat.com>
* configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (read_am_file): Thinko in "comment following
trailing backslash" detection.
* tests/comment5.test: Test for this too.
2002-01-02 Tom Tromey <tromey@redhat.com>
* automake.texi (Extending): Added index for uninstall-hook.
2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix for PR automake/278:
* m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
with versions such as '2.2c1'. Also, use `int' instead of the
obsoleted `string.atoi'.
Reported by Enrico Scholz.
2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix for PR automake/280:
* automake.in (read_am_file): Warn about trailing backslashes
in comments.
* tests/comment5.test: New file.
* tests/Makefile.am (TESTS): Add comment5.test.
Reported by Enrico Scholz.
2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/comment4.test: New file.
* tests/Makefile.am (TESTS): Add comment4.test.
Fix for comment4.test:
* automake.in (read_am_file): Output leading comments only when
encountering white lines.
2002-01-01 Tom Tromey <tromey@redhat.com>
For PR automake/234:
* tests/Makefile.am (TESTS): Added strip.test.
* tests/strip.test: New file.
* automake.texi (Extending): Mention uninstall-hook.
(Install): Likewise.
* automake.in (handle_factored_dependencies): Allow
uninstall-hook.
2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
This fixes a bug introduced on 2001-01-28.
Reported by Jared Davis.
-----
Copyright (C) 2002-2012 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification, are
permitted provided the copyright notice and this notice are preserved.
|