1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
|
2001-05-21 Akim Demaille <akim@epita.fr>
Version 2.50.
2001-05-19 Akim Demaille <akim@epita.fr>
* tests/tools.at: s/undefined macro/possibly undefined macro/.
2001-05-19 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_SEARCH_LIBS): Unobfuscate.
2001-05-19 Akim Demaille <akim@epita.fr>
* autoconf.sh: s/undefined macro/possibly undefined macro/.
2001-05-19 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Particular Programs): Explain the
`AC_PROG_LEX invoked multiple times' message.
Reported by Rainer Orth as PR Autoconf/177.
2001-05-19 Akim Demaille <akim@epita.fr>
* autoheader.sh: Fix file names used in error messages.
Reported by Rainer Orth as PR Autoconf/178.
2001-05-19 Akim Demaille <akim@epita.fr>
* tests/compile.at (AC_PROG_CPP via CC): Invoke AC_PROG_CC instead
if using `cc'.
2001-05-19 Akim Demaille <akim@epita.fr>
* tests/compile.at (GNU Fortran 77): Don't AS_EXIT when using
AT_CHECK_MACRO since it skips tests embedded in configure.ac.
Remove files which might have been created when invoking the
compiler.
Reported by Nicolas Joly.
2001-05-14 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Shellology): Document a quirk in
here-document handling on OpenBSD.
2001-05-11 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): No longer use the
`maybe' strategy: first try cpp's exit status, then its stderr.
(AC_PROG_CPP, AC_PROG_CXXCPP): Adjust.
* tests/compile.at (AC_PROG_CPP via CC): Simplify mycc.
Remove unrelated code.
2001-05-10 Akim Demaille <akim@epita.fr>
* tests/compile.at (AC_PROG_CPP via CC): New.
From Daniel Carroll.
2001-04-27 Akim Demaille <akim@epita.fr>
If AC_PROG_CC is invoked but not AC_PROG_CPP, then CPPFLAGS is not
AC_SUBST'ed.
Reported by Ralf Corsepius.
* aclang.m4 (_AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS): New.
(AC_PROG_CC, AC_PROG_CPP, AC_PROG_CXX, AC_PROG_CXXCPP)
(AC_PROG_F77): Use them.
2001-04-27 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_PROG_PREPROC_WORKS): Rename and extend as...
(_AC_PROG_PREPROC_WORKS_IFELSE): this.
Adjust to admit
(AC_PROG_CPP, AC_PROG_CXXCPP): Use it.
Reported by Daniel Carroll.
2001-04-26 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Use two backslashes
before double quotes in the copyright notice, since the native
OpenBSD shell removes single backslashes in here-documents with
unquoted delimiters.
2001-04-25 Nicolas Joly <njoly@pasteur.fr>
* acgeneral.m4 (_AC_RUN_IFELSE): Clean `core' files.
2001-04-24 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi (The GNU build system): Add this chapter
introducing Autoconf+Automake+Libtool, and fix references in the
introduction.
2001-04-24 Akim Demaille <akim@epita.fr>
On HP-UX 10 `ranlib --version' creates `./--version'.
Reported by Bob Proulx and Jim Meyering.
* acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Do not invoke the
program with --version.
2001-04-22 Jim Meyering <meyering@lucent.com>
* acfunctions.m4 (AC_FUNC_MEMCMP): Remove `int main () {' and the
trailing `}', since AC_LANG_PROGRAM provides them.
2001-04-20 Akim Demaille <akim@epita.fr>
* configure.in: Bump to 2.49f.
2001-04-20 Akim Demaille <akim@epita.fr>
Version 2.49e.
2001-04-20 Akim Demaille <akim@epita.fr>
* tests/foreign.at (Libtool): Ignore configure's stderr.
2001-04-20 Tim Van Holder <tim.van.holder@pandora.be>
* acgeneral.m4 (AC_OUTPUT): Close the descriptor before running
config.status so config.log is properly created on MS-DOS.
2001-04-20 Nicolas Joly <njoly@pasteur.fr>
* tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Be robust to missing
or broken autoupdate.
* tests/tools.at: Likewise.
* tests/Makefile.am (CLEANFILES): Also clean Libtool files.
2001-04-18 Tim Van Holder <tim.van.holder@pandora.be>
* acgeneral.m4 (_AC_INIT_SRCDIR): Handle
backslashes (DOS paths) for $ac_confdir and $srcdir.
2001-04-17 Akim Demaille <akim@epita.fr>
Don't mess with FDs.
* acgeneral.m4 (_AC_INIT_DEFAULTS_FDS): Remove, replace with
inline setting up of AS_MESSAGE_FD.
(AS_MESSAGE_LOG_FD): Do not define, so that AS_MESSAGE does not
output in it before...
(_AC_INIT_CONFIG_LOG): here, which is run after the handling of
options.
2001-04-18 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: Replace documentation for obsolete
AC_LIBOBJ_DECL with clearer documentation for AC_LIBSOURCE
and AC_LIBSOURCES, improving the AC_LIBOBJ docs as well.
2001-04-17 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: Fixes for punctuation and grammar.. Replace
"..." with "@dots{}" except when "..." is in literal code.
2001-04-17 Nicolas Joly <njoly@pasteur.fr>
* acgeneral.m4 (_AC_LINK_IFELSE): Be sure to remove temporary
`conftest.$ac_objext', as some compilers may forget it.
2001-04-16 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_INIT_VERSION): Use AC_PACKAGE_NAME and
AC_PACKAGE_VERSION only if they are defined.
(_AC_OUTPUT_CONFIG_STATUS): Likewise.
2001-04-15 Lars J. Aas <larsa@sim.no>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Alter response on
`config.status --version' to be more compliant with the GNU Coding
Standards.
2001-04-13 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: Still more minor modifications for clarity,
felicity, and grammar.
2001-04-11 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi (AC_F77_WRAPPERS): Mention C++ as well as C.
In the example, don't #ifdef F77_FUNC before using it, as that
would push any errors to link-time rather than compile-time; note
that the user can test this to invoke alternative behavior.
2001-04-11 Akim Demaille <akim@epita.fr>
* autoconf.sh (Task script): Be sure that `forbidden.rx' and
`allowed.rx' exist when AWK loads then.
Reported by Rainer Orth.
2001-04-11 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: A few more minor modifications for clarity,
grammar, and formatting.
2001-04-10 Lars J. Aas <larsa@sim.no>
* Makefile.am: AC_SUBST fixes for PACKAGE_NAME, VERSION, PACKAGE...
* configure.in: Moved here.
Suggested by Akim Demaille and Raja R Harinath.
2001-04-10 Lars J. Aas <larsa@sim.no>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Re-enable logging to
`config.log' from `config.status', but delay logging till after
command line option processing.
2001-04-10 Lars J. Aas <larsa@sim.no>
* autoupdate.in (print_usage): print "\ at end of line does not
work as expected, so change block to here-doc instead.
(print_version): Same.
2001-04-09 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: Replace all tab characters with (8) spaces,
lest the formatting of example code, etcetera, be messed up.
2001-04-09 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: Rephrase various parts for clarity, felicity,
and/or grammar.
2001-04-09 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: Clean up cache documentation: Document
--config-cache/-C option, and recommend instead of --cache-file.
Indent example AC_CACHE_VAL macros for clarity. Add new
"Cache Checkpointing" section for AC_CACHE_SAVE (and
AC_CACHE_LOAD), so that the "Cache Files" section focuses solely
on features visible to end-users (e.g. to better fit the cross
references). Various minor rewordings for clarity, felicity,
and/or grammar.
2001-04-09 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: Revert to "configure.in" in the history, since
"configure.ac" wasn't used in the past, and in any case it is
probably a good idea to preserve this section verbatim.
2001-04-09 Steven G. Johnson <stevenj@alum.mit.edu>
* AUTHORS: Fix grammar.
2001-04-09 Lars J. Aas <larsa@sim.no>
* Makefile.am: Manual addition of @PACKAGE@ substitution variable
needed by dist rules. Added explanatory comment.
Problem reported and comment suggested by Raja R Harinath.
2001-04-06 Lars J. Aas <larsa@sim.no>
* Makefile.am: Manual addition of @VERSION@ substitution variable
as a temporary Automake fix. Reported by Raja R Harinath.
2001-04-04 Lars J. Aas <larsa@sim.no>
* acgeneral (_AC_INIT_CONFIG_LOG): New macro for setting up the
config.log file.
(_AC_INIT_DEFAULTS_FDS): Log to /dev/null instead of config.log.
(AC_INIT): Invoke _AC_INIT_CONFIG_LOG after _AC_INIT_VERSION.
2001-04-04 Lars J. Aas <larsa@sim.no>
* acgeneral.m4 (_AC_INIT_DEFAULTS): Produce better version
information for config.log header.
(_AC_INIT_VERSION): Produce better version information for
`configure --version'.
2001-03-30 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: Use "invalid" instead of "illegal," as
suggested by the GNU coding standards.
2001-03-30 Tim Van Holder <tim.van.holder@pandora.be>
* m4sh.m4 (AS_BASENAME): New.
(AS_SHELL_SANITIZE): Set `$as_me'.
* acgeneral.m4: Don't set as_me; AS_SHELL_SANITIZE now does this.
* tests/atgeneral.m4: Likewise.
(AT_INIT): Use $PATH_SEPARATOR for walking the path.
* autoconf.sh: Be DOS-friendly when setting as_me and M4.
Add quotes to support spaces in $tmp.
Work around problem in DJGPP port of awk by using a temporary file.
* autoheader.sh: Be DOS-friendly when setting as_me.
* autoreconf.sh: Be DOS-friendly when setting as_me, dir and
template_dir.
2001-03-27 Lars J. Aas <larsa@sim.no>
* acgeneral.m4 (AC_INIT_VERSION): Improved version information string
for `configure --version'.
2001-03-27 Akim Demaille <akim@epita.fr>
* autoheader.sh (config_h): Be robust to new lines when extracting
the first argument of AC_CONFIG_HEADERS.
Reported by Lars J. Aas.
2001-03-27 Tim Van Holder <tim.van.holder@pandora.be>
* doc/autoconf.texi: Minor tweaks.
2001-03-27 Tim Van Holder <tim.van.holder@pandora.be>
* Makefile.am, configure.in: autoupdate is a Perl script.
2001-03-20 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools): Some about
`touch'.
From Jim Meyering, Volker Borchert, and Peter Eisentraut.
2001-03-20 Akim Demaille <akim@epita.fr>
* tests/foreign.at (Libtool): Don't skip 1.3.5.
Invoke AC_CANONICAL_SYSTEM ---for some reason AC_CANONICAL_HOST is
not enough for 1.3.5.
From Lars J. Aas.
2001-03-20 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4: s/Testing suite/Test suite/g.
From Jim.
(AT_INIT): Adjust the error message on invalid options.
* tests/foreign.at (Libtool): Skip Libtool 1.3 too.
2001-03-20 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi: A couple of grammatical tweaks.
2001-03-19 Akim Demaille <akim@epita.fr>
* configure.in: Bump to 2.49e.
2001-03-19 Akim Demaille <akim@epita.fr>
Version 2.49d.
2001-03-19 Akim Demaille <akim@epita.fr>
* tests/tools.at (AWK portability): Don't rely on `empty'.
2001-03-19 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): Fix the at_diff test.
Reported by Nicolas Joly.
2001-03-19 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_PREPROC_IFELSE): Redirect stdout out of the
_AC_EVAL_STDERR invocation to avoid `illegal io' on Ultrix.
Reported by Harlan Stenn, and fixed by Jim Meyering.
2001-03-19 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Don't hard code
`/bin/sh', use $SHELL.
From Paul Eggert.
2001-03-19 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_STRERROR_R): Update to
fileutils-4.0.42's.
2001-03-19 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): Don't always create `empty', rather
do it only when diffing `/dev/null' is not supported.
And use `at-devnull' instead of `empty'.
2001-03-13 Akim Demaille <akim@epita.fr>
* autoscan.pl, autoupdate.in: Use `use' instead of `require' to
require some version of Perl, so that the test is performed at
compile time, not run time.
Suggested by Nicolas Joly.
2001-03-13 Tim Van Holder <tim.van.holder@pandora.be>
* tests/aclocal.m4: Fix some typos. Also ignore $PATH_SEPARATOR.
* tests/atconfig.in: Set PATH_SEPARATOR to the proper
path separator. Set SHELL here...
* tests/atgeneral.m4: ... instead of here. Use $PATH_SEPARATOR
when setting AUTOTEST_PATH. Don't default tests to "all" before
deciding whether the help text is needed.
* tests/semantics.at: Use the correct path separator.
2001-03-13 Tim Van Holder <tim.van.holder@pandora.be>
* doc/autoconf.texi: Expand section on DOS issues.
Add link to the `doschk' package. Fix minor typo.
Clean up white spaces.
2001-03-13 Steven G. Johnson <stevenj@alum.mit.edu>
* aclang.m4 (AC_PROG_F77_C_O): define F77_NO_MINUS_C_MINUS_O
when test fails, not when it succeeds(!).
2001-03-13 Akim Demaille <akim@epita.fr>
* tests/tools.at (AWK portability): Use AT_CHECK to check for GNU
AWK so that there is always a AT_CHECK between
AT_SETUP/AT_CLEANUP.
Reported by Nicolas Joly.
2001-03-13 Akim Demaille <akim@epita.fr>
* tests/tools.at: Be sure to remove configure.ac~.
2001-03-13 Raja R Harinath <harinath@cs.umn.edu>
* autoupdate.in (File::Basename): Use package.
(%ac_macros, %au_macros): Save only base filenames.
2001-03-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_OUTPUT): In the AU_DEFUN definition, don't try
to issue an obsolete message, it can't work for macros being
defined both with AC_DEFUN and AU_DEFUN.
Hence do it in the AC_DEFUN definition.
2001-03-06 Pavel Roskin <proski@gnu.org>
* tests/base.at (AC_TRY_*): Escape `^' - it's a pipe command
separator on Tru64 v5.1.
Reported by Nicolas Joly.
2001-03-05 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): Register at-setup-line and
at-check-line for removal.
Check for the presence of at-check-line only when $at_test was
really a test.
Reported by Pavel.
2001-03-04 Pavel Roskin <proski@gnu.org>
* tests/atgeneral.m4 (AT_INIT): s/am_me/as_me/. Quote AT_CHECK
in the error message.
2001-03-02 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_INIT_PREPARE): Quote `$$*' correctly.
2001-02-28 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): Warn when at-check-line is
missing.
* tests/tools.at (Syntax of the scripts): Use AT_CHECK to test
/bin/sh -n. Exit 77 on failure.
Reported by Harlan Stenn.
2001-02-28 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Use `.;.' instead
of `.;`pwd`': if pwd is c:/foo, we might walk through `.:c'
(fails), and then `/foo' which might succeed, resulting in
believing `;' is the right path separator.
2001-02-26 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AH_VERBATIM, AH_TEMPLATE): New, use AS_ESCAPE, not
_AS_QUOTE.
(_AH_VERBATIM_OLD, _AH_TEMPLATE_OLD): New, used for bugward
compatibility in...
(AC_DEFINE, AC_DEFINE_UNQUOTED): here.
2001-02-26 Pavel Roskin <proski@gnu.org>
* autoupdate.in (&mktmpdir): Strip the newline from the output
of mktemp.
2001-02-26 Pavel Roskin <proski@gnu.org>
* man/Makefile.am: autoupdate.1 now depends on autoupdate.in.
2001-02-25 Tim Van Holder <tim.van.holder@pandora.be>
* autoupdate.in: Support DOS paths. Initialize $tmp to
avoid warnings. Default $autoconf to 'autoconf'.
2001-02-25 Akim Demaille <akim@epita.fr>
* autoupdate.in (&END): Try to preserve the exit status.
Use backquotes where more readable.
Internal details should be dumped when $debug, not when $verbose.
2001-02-25 Akim Demaille <akim@epita.fr>
* autoupdate.in (&mktmpdir): New.
(&END): Remove $tmp.
(&parse_args): Handle -d and -l.
2001-02-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PREPARE): Remove conf$$* on exit.
* m4sh.m4 (_AS_LN_S_PREPARE, _AS_BROKEN_TEST_PREPARE):
s/conftest/conf$$/ to avoid race conditions.
From Lars J. Aas.
2001-02-25 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_PROG_INSTALL): Use ac_path_separator.
Restore the IFS earlier.
Suggested by Tim Van Holder.
2001-02-25 Akim Demaille <akim@epita.fr>
* m4sh.m4 (_AS_TEST_PREPARE): Rename as...
(_AS_BROKEN_TEST_PREPARE): this.
(_AS_TEST_PREPARE): New dummy but working version of this macro.
* acspecific.m4 (AC_PROG_INSTALL): Use AS_EXECUTABLE_P.
2001-02-25 Akim Demaille <akim@epita.fr>
* autoupdate.in (&parse_args): Support `-'.
2001-02-25 Akim Demaille <akim@epita.fr>
* autoupdate.in: Less Bournisms, more Wallisms.
2001-02-23 Jim Meyering <meyering@lucent.com>
* acgeneral.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Fix typo: s/;/:/
* acgeneral.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Revert that change.
There was no typo.
2001-02-22 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Typos and formatting changes.
2001-02-21 Lars J. Aas <larsa@sim.no>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Use `AS_EXIT(0)' instead
of `exit 0' when exiting config.status.
2001-02-21 Tim Van Holder <tim.van.holder@pandora.be>
* doc/autoconf.texi: Add new node discussing issues related to
file systems (DOS, specifically). Document DJGPP's bash's special
handling of $PATH_SEPARATOR.
2001-02-21 Akim Demaille <akim@epita.fr>
* autoupdate.in: New. Replaces autoupdate.sh.
2001-02-21 Akim Demaille <akim@epita.fr>
* autoscan.pl (&find_configure_ac): New.
2001-02-20 Paul Martinolich <martinol@datasync.com>
* autoscan.pl (check_configure_ac): Pretty missing macro warnings
output.
2001-02-19 Paul Eggert <eggert@twinsun.com>
* aclang.m4 (AC_C_INLINE): Define "inline" to empty if the
compiler doesn't support 'static inline'. This is needed for
Encore Umax-3.0.9.16b.
2001-02-19 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_LANG_COMPILER_WORKS): Rename as...
(_AC_COMPILER_EXEEXT_WORKS): this. Use the `a.out' or `a.exe'
left by _AC_COMPILER_EXEEXT_DEFAULT to check if the compiler works.
(_AC_COMPILER_EXEEXT_CROSS): Extract from the above macro.
(_AC_COMPILER_EXEEXT): Use them.
Adjust all the compiler looking macros to check for EXEEXT
*first*, then OBJEXT.
Set ac_exeext yourself.
(_AC_COMPILER_EXEEXT_O): Don't.
2001-02-07 Pavel Roskin <proski@gnu.org>
* tests/atspecific.m4 (AT_CONFIGURE_AC): Double quote constant
part of the second argument to AT_DATA.
* tests/compile.at (AC_PROG_CPP with warnings): Fix underquoting
in a call to _AT_CHECK_AC_MACRO.
(AC_PROG_CPP without warnings): Likewise.
2001-02-11 Jim Meyering <meyering@lucent.com>
Ensure that even `autoscan --version' fails when e.g.,
writing to a full disk.
* autoscan.pl (END): New function.
* autoscan.pl: Misc. clean-up:
Move declarations of variables into the scope where they're used.
Use `qw'. Don't use `$_'.
2001-02-06 Paul Eggert <eggert@twinsun.com>
* acspecific.m4 (AC_SYS_LARGEFILE_TEST_INCLUDES): Don't reject
C++ compilers that are masquerading as C compilers, and that
incorrectly reject large integers.
2001-02-07 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (AC_OUTPUT): Remove $(srcdir), ${srcdir} and
@srcdir@ from VPATH if srcdir is "." and replace blank VPATH
lines with empty lines to preserve line numbers.
Original version by Derek Price.
2001-02-07 Derek Price <derek.price@openavenue.com>
* acgeneral.m4 (_AC_LIBOBJ): Call AC_LIBSOURCE with '.c' extension
appended to function name.
2001-02-06 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_RUN_LOG, _AC_RUN_LOG_STDERR, AC_RUN_LOG): New.
(_AC_EVAL_STDERR, _AC_EVAL): Use them.
(_AC_INIT_PREPARE_FS_SEPARATORS): Use AC_RUN_LOG.
2001-02-05 Derek Price <derek.price@openavenue.com>
* autoheader.sh: Only set config_h for the first call to
AC_CONFIG_HEADERS.
2001-02-05 Jim Meyering <meyering@lucent.com>
* acspecific.m4 (AC_SYS_LARGEFILE): Add ULL suffix to the
integer constants.
2001-02-05 Akim Demaille <akim@epita.fr>
acfunctions.m4 was still using the old AC_LIBOBJ_DECL.
Reported by Derek R. Price.
* tests/semantics.at (AC_REPLACE_FUNCS): New test.
* acfunctions.m4 (AC_REPLACE_FUNCS, _AC_LIBOBJ_ALLOCA): Use
AC_LIBSOURCES.
2001-02-03 Pavel Roskin <proski@gnu.org>
* tests/base.at (AC_TRY_COMMAND): Add a colon between "then" and
"else". Separate commands inside AC_TRY_COMMAND with semicolons.
From Nicolas Joly.
2001-02-03 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_LOG_COMPLETE): Removed, dead code.
2001-02-03 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK): Use
AC_LIBSOURCES.
2001-02-03 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_LIBOBJ_DECL): Remove.
(AC_LIBSOURCES, AC_LIBSOURCE): New.
2001-02-02 Akim Demaille <akim@epita.fr>
* tests/base.at (AC_TRY_COMMAND): Fix the test.
From Nicolas Joly.
The following patch went into Autoconf between the two previous
entries:
* acgeneral.m4 (AC_TRY_COMMAND): Use the old code, using a tmp
variable, to recover multiline robustness.
Reported by Tim Van Holder.
* tests/base.at (AC_TRY_COMMAND): New.
2001-02-02 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Rename all occurences
of ac_try to ac_mid to avoid a name clash.
2001-02-02 Pavel Roskin <proski@gnu.org>
* autoscan.pl (scan_c_file): When in verbose mode, don't print
out hashes common for the whole package. Do it in scan_files()
instead.
(scan_makefile): Likewise.
(scan_sh_file): Likewise.
Thanks to Jim Meyering for improved implementation.
2001-02-01 Pavel Roskin <proski@gnu.org>
* autoreconf.sh: Fix the case when the verbose output was not
redirected to stderr as everywhere else.
2001-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Remove configure.ac
from check for ac_sub_configure.
2001-01-30 Akim Demaille <akim@epita.fr>
The recent addition of `exit's prototype in confdefs.h causes
AC_OUTPUT_MAKE_DEFS to include junky -D switches.
Reported by Wolfgang Mueller.
* tests/torture.at (#define header templates): Include trash in
confdefs.h.
* tests/atgeneral.at (AT_INIT): Don't expect `find' to support
-maxdepth, hence don't use -follow either.
Reported by Nicolas Joly.
* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS) <confdef2opt.sed>: In the
`quote' section, `p'rint the result.
If neither `#define' pattern match, just call `d' to start a new
cycle.
Invoke this sed program with -n.
2001-01-30 Akim Demaille <akim@epita.fr>
* tests/compile.at: New test.
* tests/atspecific.at (AT_CHECK): When given 77 as expected exit
status, don't include the `skip' mechanism.
2001-01-30 Akim Demaille <akim@epita.fr>
* tests/base.at (AC_CACHE_CHECK): Typo and clean up.
Check only --quiet.
2001-01-30 Paul Eggert <eggert@twinsun.com>
* autoheader.sh: Don't pass a string to 'echo' that might
possibly contain backslashes.
2001-01-29 Pavel Roskin <proski@gnu.org>
Don't use filenames that can be reduced to "conftest" on DOS.
* acfunctions.m4 (AC_FUNC_MMAP): Use conftest.mmap, not
conftestmmap.
(AC_FUNC_UTIME_NULL): Use conftest.data, not conftestdata.
* acspecific.m4 (AC_PROG_MAKE_SET): Use conftest.make, not
conftestmake.
(_AC_PATH_X_XMKMF): Use conftest.dir, not conftestdir.
* acgeneral.m4 (AC_ARG_PROGRAM): Use conftest.sed, not
conftestsed.
* m4/sanity.m4: Use conftest.file, not conftestfile.
* doc/autoconf.texi (Guidelines for Test Programs): Suggest
using conftest.data, not conftestdata.
2001-01-29 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4: Don't redirect builtins' stderr as Ultrix
hates this: use a subshell.
2001-01-29 Assar Westerlund <assar@sics.se>
* m4sh.m4 (_AS_TEST_PREPARE): Discard output when testing `test
-x' and `test -f' to avoid confusing users with error messages.
(AS_MKDIR_P): Invert order of separators in IFS to avoid problem
with some shells adding backslash between fields and parsing the
result for escapes.
* doc/autoconf.texi (Special Shell Variables): Document IFS.
2001-01-29 Steven G. Johnson <stevenj@alum.mit.edu>
* aclang.m4 (AC_PROG_F77): Improve documentation of the compilers
that are tried, add a few new ones (cft77, af77, epcf90, xlf95, g95),
and put pgf90 in the right place (before the F95 compilers).
2001-01-29 Jim Meyering <meyering@lucent.com>
* autoscan.pl: Do scan `configure.ac' when you claim it.
From Raja R Harinath.
(@kinds): Use `qw', rather than lots of quotes and commas.
(%generic_macro): Use single quotes around literals.
($configure_scan): Define global, and use it instead of the literal.
Use `warn' in place of `printf STDERR'.
2001-01-29 Akim Demaille <akim@epita.fr>
* autoscan.pl: `Formatting++' changes: prototypes all the
functions, no longer use `&' to call functions as it disables
prototype checking, topological sort so that functions are defined
before being used, and put an Autoconf like nice comment to
describe the functions.
(output): Accept a CONFIGURE_SCAN parameter, and open CONF.
2001-01-29 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_SITE_LOAD): Let config.log know what you load.
2001-01-27 Akim Demaille <akim@epita.fr>
Follow Tim Van Holder's suggestions for a uniform handling of
symlinks.
* m4sh.m4: Stay in `as_', not `ac_'.
(_AS_LN_S_PREPARE): Eve out from...
* acspecific.m4 (AC_PROG_LN_S): here. Adjust.
* m4sh.m4 (AS_LN_S): New.
(AS_SHELL_PREPARE): Call _AS_LN_S_PREPARE.
2001-01-26 Assar Westerlund <assar@sics.se>
* autoreconf.sh (find): Fix precedence.
(aclocal): Same as below for autoheader.
2001-01-26 Akim Demaille <akim@epita.fr>
* autoreconf.sh (autoheader): Run it when there is no template, as
there is no risk to override a handwritten template.
From Assar Westerlund.
2001-01-26 Akim Demaille <akim@epita.fr>
* aclang.m4: dnl AC_ARG_VAR's newline.
(AC_PROG_CC, AC_PROG_F77, AC_PROG_CXX): AC_ARG_VAR(LDFLAGS).
* acgeneral.m4 (AC_CHECK_LIB): Don't do it.
2001-01-26 Akim Demaille <akim@epita.fr>
* tests/mktests.sh: Handle DOS issues: directory separator, single
dot in file names, and one actual bug: when set -e, running
(false; true) will of course fail, use (false || true).
From Tim Van Holder.
2001-01-26 Tim Van Holder <tim.van.holder@pandora.be>
* tests/Makefile.am (testsuite): Use testsuite.tmp, not
testsuite-tmp as temporary file.
2001-01-25 Assar Westerlund <assar@sics.se>
* autoreconf.sh: Also find configure.in.
2001-01-24 Akim Demaille <akim@epita.fr>
* configure.in: Bump to 2.49d.
2001-01-24 Akim Demaille <akim@epita.fr>
Version 2.49c.
2001-01-24 Jim Meyering <meyering@lucent.com>
* autoscan.pl (output): Detect/report a close failure.
2001-01-24 Akim Demaille <akim@epita.fr>
Preserve INSTALL too.
* acgeneral.m4 (_AC_OUTPUT_FILES): Use ac_INSTALL for internal
computations, and therefore use INSTALL where ac_given_INSTALL
was used.
(_AC_OUTPUT_SUBDIRS): There is no point in computing INSTALL in
here. It's not even used.
2001-01-24 Akim Demaille <akim@epita.fr>
While preserved in configure, srcdir is trashed in config.status.
Reported by Ralf Corsepius.
* tests/aclocal.m4 (AC_STATE_SAVE): It is ok to modify
CONFIG_STATUS, DEFS, prefix and exec_prefix.
It is OK to produce config.* files.
* tests/atspecific.m4 (AT_CONFIGURE_AC): Save the env *after*
AC_OUTPUT to check that it doesn't break anything by itself.
* tests/torture.m4 (srcdir): New test, from Ralf Corsepius.
* acgeneral.m4 (_AC_OUTPUT_FILES): Use ac_top_srcdir and ac_srcdir
to preserve srcdir and top_srcdir.
Remove any use of `ac_given_srcdir' as `$srcdir' being preserved
is usable.
2001-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
configure -q did not work since 2000-11-03.
* acgeneral.m4 (_AC_INIT_DEFAULTS_FDS): Don't check for $silent,
tie AS_MESSAGE_FD to stdout unconditionally.
(_AC_INIT_PARSE_ARGS): If $silent redirect AS_MESSAGE_FD to
/dev/null.
* tests/base.at (AC_CACHE_CHECK): New test.
2001-01-24 Tim Van Holder <tim.van.holder@pandora.be>
* m4sh.m4 (AS_EXECUTABLE_P, _AS_TEST_PREPARE): New macros.
(AS_SANITIZE_SHELL): Call _AS_TEST_PREPARE.
* acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Use AS_EXECUTABLE_P
instead of test -f.
2001-01-24 Akim Demaille <akim@epita.fr>
* autoscan.pl (generic_macro): s/AC_CHECK_FUNCTIONS/AC_CHECK_FUNCS/.
* acfunctions: Just like the previous patch.
2001-01-24 Akim Demaille <akim@epita.fr>
* autoscan.pl (@kinds, %generic_macro): New.
(&init_tables): Use them.
* acheaders: Run `autoconf -t AC_CHECK_HEADERS:'$1'' on the fileutils,
and include all these headers in here.
Don't specify `AC_CHECK_HEADERS' as it's the default.
2001-01-24 Akim Demaille <akim@epita.fr>
* autoscan.pl: Just like the previous patch, but for
AC_CHECK_FUNCS, AC_CHECK_TYPES, and AC_CHECK_MEMBERS.
2001-01-24 Akim Demaille <akim@epita.fr>
* autoscan.pl (print_unique): Push all the macro invocation
locations.
(output_headers): For headers that need to be checked, push either
the specialized macro, or the generic macro call.
(check_configure_ac): Handle AC_CHECK_HEADERS.
2001-01-24 Raja R Harinath <harinath@cs.umn.edu>
Some non-srcdir build fixes.
* configure.in (BUGS): Look for file in $srcdir.
* tests/Makefile.am (MACRO_FILES): Use '..', not '$(top_srcdir)'.
2001-01-24 Akim Demaille <akim@epita.fr>
Don't AC_SUBST too much, as it makes Automake include those
variables in Makefiles, and drives autoscan to require unneeded
programs.
* acgeneral.m4 (_AC_INIT_PREPARE): Don't AC_SUBST CFLAGS,
CPPFLAGS, CXXFLAGS and LDFLAGS.
(AC_ARG_VAR): AC_SUBST the var.
Document it only once, even if there are several different docs.
* aclang.m4 (AC_PROG_CPP): Declare CPP and CPPFLAGS to AC_ARG_VAR.
(AC_PROG_CXXCPP): Declare CXXCPP and CPPFLAGS.
2001-01-24 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_expand_once): Accept a witness.
2001-01-23 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_EXPAND_ONCE): Remove, use m4_expand_once.
(AC_DIVERT_ONCE): Move to...
* m4sugar.m4 (m4_expand_once): here.
2001-01-23 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_LANG_SET): Turn off optimizations.
2001-01-23 Akim Demaille <akim@epita.fr>
* configure.in: If this is a beta, dump the core of BUGS.
* tests/base.at (AC_REQUIRE & AC_LANG): New test, currently failing.
2001-01-23 Akim Demaille <akim@epita.fr>
* autoscan.pl: Don't use `defined' to check whether an array is
defined.
Don't use parens with `defined'.
2001-01-23 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PREPARE): Be sure to quote hashes to
avoid M4 thinking it's comments.
2001-01-23 Tim Van Holder <tim.van.holder@pandora.be>
* aclang.m4 (_AC_COMPILER_EXEEXT_O): Use
AS_IF([AC_TRY_EVAL(ac_link)]) instead of AC_LINK_IFELSE to
avoid depending on ac_exeext before it's found.
(AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Check for the
executable extension BEFORE checking whether the compiler
works, as that test depends on a correct ac_exeext.
2001-01-23 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PREPARE) <trap>: Typo.
2001-01-22 Pavel Roskin <proski@gnu.org>
* autoscan.pl: Use "use strict". Declare all global variables
or make them private. Make all local variables private.
(find_autoconf): New, moved some code from the top level.
Use %ENV outside quotes to eliminate a warning.
2001-01-22 Tim Van Holder <tim.van.holder@pandora.be>
* acspecific.m4 (AC_PROG_LN_S): Detect DJGPP < 2.04, which only
supports 'ln -s' for executables.
2001-01-22 Akim Demaille <akim@epita.fr>
* autoscan.pl ($dir, $autoconf): New.
2001-01-22 Akim Demaille <akim@epita.fr>
* autoscan.pl ($headers, $functions, $identifiers, $libraries):
Also register locations of their requirement instead of a simple
counter.
(&check_configure_ac): Close TRACES.
2001-01-22 Akim Demaille <akim@epita.fr>
* autoscan.pl: Formatting changes.
Check `configure.ac' or `configure.in' if present.
2001-01-22 Akim Demaille <akim@epita.fr>
* autoscan.pl (&wanted): Don't register `Makefile' when
`Makefile.in' is present.
Factor the simplification of $name.
(&scan_makefile, &scan_sh_file): Instead of counting the number of
occurrences where a program/makevar is wanted, register file:line.
Adjust the verbose output.
(&check_configure_ac): Report the location where the macro is required.
2001-01-22 Akim Demaille <akim@epita.fr>
* autoscan.pl: Instead of undefined globals, set them to empty
values.
(%needed_macros): New.
(&check_configure_ac): New. Call it.
(&output_libraries): Eve out from &output_programs.
(&print_unique): For the time being register in %needed_macros
only argument less macros.
2001-01-22 Lars J. Aas <larsa@sim.no>
* aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): First try no declaration,
then '#include <stdlib.h>', before trying the explicit declarations.
2001-01-22 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_COMPILE_IFELSE): Wrap the test -s in
AC_TRY_COMMAND to improve config.log.
(_AC_INIT_DEFAULTS): Don't define ac_exeext and ac_objext to
highlight failures.
2001-01-22 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Work around a currently
impossible to describe bug of SunOS 4.1.3 which causes a shell
crash when using `VAR=${VAR="$default"}'.
Reported and diagnosed by Kevin Ryde.
2001-01-22 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_GETGROUPS): Typo :(.
2001-01-22 Lars J. Aas <larsa@sim.no>
* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O):
Export ac_cv_exeext so ltconfig believes the value is cached and
skips its own faulty test.
2001-01-22 Jim Meyering <meyering@lucent.com>
* actypes.m4 (AC_TYPE_GETGROUPS): Double quote the test program
body.
2001-01-22 Tim Van Holder <tim.van.holder@pandora.be>
* aclang.m4 (AC_LANG_INT_SAVE, AC_LANG_INT_SAVE(C)): Use
conftest.val, not conftestval.
* acgeneral.m4 (_AC_COMPUTE_INT_RUN, _AC_COMPUTE_INT):
Likewise.
2001-01-22 Akim Demaille <akim@epita.fr>
Create actypes.m4.
* acgeneral.m4 (AC_CHECK_SIZEOF, _AC_CHECK_TYPE_NEW)
(AC_CHECK_TYPES, _AC_CHECK_TYPE_OLD)
(_AC_CHECK_TYPE_REPLACEMENT_TYPE_P, _AC_CHECK_TYPE_MAYBE_TYPE_P)
(AC_CHECK_TYPE, AC_CHECK_MEMBER, AC_CHECK_MEMBERS): Move into...
* actypes.m4: here.
* acgeneral.m4 (AC_TYPE_GETGROUPS, AM_TYPE_PTRDIFF_T)
(AC_TYPE_UID_T, AC_TYPE_SIZE_T, AC_TYPE_PID_T, AC_TYPE_OFF_T)
(AC_TYPE_MODE_T, AC_INT_16_BITS, AC_LONG_64_BITS, AC_TYPE_SIGNAL)
(AC_STRUCT_TM, AC_STRUCT_TIMEZONE, AC_STRUCT_ST_BLKSIZE)
(AC_STRUCT_ST_BLOCKS, AC_STRUCT_ST_RDEV): Move into...
* actypes.m4: here.
Adjust the test suite.
2001-01-22 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): Include a default case for non
existing tests.
* tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_ENV)
(AT_CHECK_AUTOUPDATE, AT_CHECK_AU_MACRO): New.
Spread their use.
(AT_CHECK_MACRO): Pass `-W obsolete' to autoconf.
* tests/semantics.at (AC_HAVE_FUNCS): Obsolete, don't check.
* tests/mktest.sh: Create one test file per Autoconf source
file instead of separating syntax/update.
2001-01-22 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Some about diff and cmp.
2001-01-22 Akim Demaille <akim@epita.fr>
* sh.m4 (AS_ESCAPE): New.
(_AS_QUOTE_IFELSE): Use it.
* tests/atgeneral.m4 (AT_INIT) <SHELL>: Define and use.
<--help> Don't display the options help when tests were selected.
Document -d.
<at_skip_list>: New.
<testsuite.log>: Give a banner, include ChangeLog snippets, list
the failed and skipped tests.
Remove useless $at_traceoff in sub shells, this improves the
readability of the traces by removing testsuite's implementation
details.
(AT_CHECK): Filter out the shell traces from the tested command's
stderr.
Use AS_ESCAPE.
Don't register experr and expout for clean up, as it's hairy and
easier to do from...
Support STDOUT = stdout, and STDERR = stderr.
Force the output of shell traces.
(AT_INIT): Here.
2001-01-22 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_INIT, AC_OUTPUT): Don't take care of completing
the log.
(_AC_INIT_PREPARE): Do it in the trap 0.
2001-01-22 Akim Demaille <akim@epita.fr>
* autoscan.pl: Instead of undefined globals, set them to empty
values.
(%needed_macros): New.
(&check_configure_ac): New. Call it.
(&output_libraries): Eve out from &output_programs.
(&print_unique): For the time being register in %needed_macros
only argument less macros.
2001-01-22 Raja R Harinath <harinath@cs.umn.edu>,
Tim Van Holder <tim.van.holder@pandora.be>,
Jim Meyering <jim@meyering.net>
* acspecific.m4 (AC_AIX): Fix typo: s/@\$/@%/.
2001-01-19 Akim Demaille <akim@epita.fr>
Catch only used patterns.
Reported by the whole Autoconf community.
* m4sh.m4 (AS_INIT): New.
* acgeneral.m4 (AC_PLAIN_SCRIPT): Use it.
Forbid only AC, AU, AH and AM.
2001-01-19 Akim Demaille <akim@epita.fr>
Optimizing AC_LANG was broken. Test and fix.
* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)): Don't
use _AC_LANG_ABBREV so that you don't depend upon _AC_LANG.
(_AC_LANG_SET): New.
(AC_LANG, AC_LANG_PUSH, AC_LANG_POP): Use it.
* tests/compile.at: Test AC_LANG, AC_LANG_PUSH & AC_LANG_POP.
2001-01-19 Akim Demaille <akim@epita.fr>
* sugar.m4 (m4_require): Missing dnl.
2001-01-18 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_PLAIN_SCRIPT): AF_INET, AF_UNIX, AR_FLAGS,
AS_FLAGS are OK.
2001-01-18 Tim Van Holder <tim.van.holder@pandora.be>
* m4sh.m4 (AS_MKDIR_P): Properly support DOS-style paths.
2001-01-18 Akim Demaille <akim@epita.fr>
* tests/foreign.at (Autoconf & Libtool): `configure.in', not `.ac'
since Libtool does not yet support it.
Let the test suite be more verbose about at-path.
From Patrick Welche.
2001-01-18 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4 (AT_CHECK_DEFINES): Discard
STDLIB|INTTYPES|MEMORY|STRING|UNISTD.
* tests/semantics.at (AC_CHECK_SIZEOF): Don't check the presence
of default headers, as it's machine dependent.
Reported by Jim Meyering and Nicolas Joly.
2001-01-18 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Don't leave macro names in comments.
* aclang.m4: Likewise.
* configure.in: Likewise.
* tests/semantics.at: Likewise.
* tests/tools.at: Likewise.
2001-01-18 Akim Demaille <akim@epita.fr>
Medium term goal: AC_ macros can be tested with -W obsolete.
* acgeneral.m4 (AC_RUN_IFELSE): Accept IF-CROSS-COMPILING.
(AC_TRY_RUN): Use it.
* acfunctions.m4: Start ousting AC_TRY_RUN and AC_TRY_COMPILE.
* acspecific.m4 (AC_AIX, AC_MINIX, AC_ISC_POSIX): AC_BEFORE on
AC_COMPILE_IFELSE and AC_RUN_IFELSE.
2001-01-18 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_INCLUDES_DEFAULT): Force the newline to avoid
bad surprises.
Reported by Jim.
2001-01-18 Akim Demaille <akim@epita.fr>
Require a perfect divert push/pop balance.
* m4sugar.m4 (m4_divert, m4_divert_push, m4_divert_pop): Keep
track of them in m4_divert_stack.
(m4_divert_pop): Accept the expected current diversion as
argument and m4_fatal if incorrect, or if there is nothing to pop.
(globally): Specify the known m4_divert_pop.
Preserve symbolic values when possible.
* acgeneral.m4: No longer push the first diversion.
Specify the known m4_divert_pop.
(AC_PLAIN_SCRIPT): When m4_divert_push a diversion, m4_wrap its
pop.
(AC_INIT): Run AC_PLAIN_SCRIPT first, not last.
* tests/m4sh.at (AS_DIRNAME & AS_DIRNAME_SED): Can't use m4_defun
without m4_init.
* m4sugar.m4: Likewise.
2001-01-18 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Unlike the
builtin, fail on undefined symbols.
* tests/torture.at (Torturing config.status): Stop playing nasty
tricks with changequote.
(AC_DEFUBST): Move here from...
* tests/aclocal.m4: there.
2001-01-18 Akim Demaille <akim@epita.fr>
Various cleanups and consistency checks.
* m4sugar.m4: Formatting changes.
* acgeneral.m4 (AC_DIVERT_PUSH, AC_DIVERT_POP, AC_REQUIRE)
(AC_DIAGNOSE, AC_FATAL, AC_MSG_WARN, AC_MSG_NOTICE, AC_MSG_ERROR):
Use m4_copy to define them, in order to keep a good $0.
(AC_INIT): AC_LANG_PUSH C, not AC_LANG, to initialize the stack.
* aclang.m4 (AC_LANG_PUSH): Dont't use m4_defn on undefined macros.
(AC_LANG_POP): Admit an argument specifying the language we quit
when popping.
Adjust Autoconf's AC_LANG_POPs.
* tests/tools.at (AWK portability): Don't depend on AC_INIT.
(autoconf --trace: user macros): Obviously I
meant TRACE1, not AC_TRACE1.
2001-01-17 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_undefine, m4_popdef): Don't tolerate undefined
arguments.
(_m4_expansion_stack): Rename as...
(m4_expansion_stack): this, and change its value: instead of using
the pushdef stack to stack each *line* of the stack, each
definition contains the whole stack. I.e., to display the whole
stack, instead of popdefing and displaying each definition, just
display the current definition.
(m4_expansion_stack_push, m4_expansion_stack_pop): New.
* tests/atspecific.m4 (AT_CHECK_AUTOCONF): Let $2 be the expected
exit status.
* tests/m4sugar.m4 (m4_require: circular dependencies): New test.
2001-01-17 Pavel Roskin <proski@gnu.org>
* m4sugar.m4 (m4_normalize): New macro - superposition of
m4_flatten and m4_strip.
(m4_join): Use m4_normalize.
* acgeneral.m4 (AC_FOREACH): Use m4_normalize.
(AC_CONFIG_HEADERS): Normalize the first argument.
(AC_CONFIG_LINKS): Likewise.
(AC_CONFIG_SUBDIRS): Likewise.
2001-01-17 Tim Van Holder <tim.van.holder@pandora.be>
* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_sub_srcdir uses.
2001-01-16 Akim Demaille <akim@epita.fr>
Work around the Ultrix limitations on ``multiple redirections''.
Reported by Harlan Stenn.
* acgeneral.m4 (_AC_EVAL_STDERR): New.
(_AC_PREPROC_IFELSE): Use it.
2001-01-16 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_data_files): Fix the computation of PATH.
2001-01-16 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_LOG_COMPLETE): Eve out from AC_OUTPUT.
(_AC_INIT_DEFAULTS, AC_OUTPUT): Use it.
2001-01-16 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Lots of additions and changes.
(File Descriptors): New.
(Limitations of Make): New.
2001-01-16 Akim Demaille <akim@epita.fr>
* m4sh.m4 (AS_EXIT): Don't rely on exit == exit $?.
Reported by Tim Van Holder.
2001-01-16 Akim Demaille <akim@epita.fr>
* Makefile.am (editpl, editsh): Merge into...
(edit).
* m4sh.m4 (AS_UNAME): Eved out from...
* acgeneral.m4 (_AC_INIT_DEFAULTS): here.
(_AC_INIT_PACKAGE): Define AC_PACKAGE_NAME.
(_AC_INIT_PARSE_ARGS): AC_SUBST the PACKAGE_ variables.
Propagate their use in the executables and the test suite.
* tests/atgeneral.m4 (PATH): Include only absolute paths.
(AT_INIT): Use AS_UNAME.
2001-01-16 Akim Demaille <akim@epita.fr>
When default headers are used, check for their presence.
Suggested by Jim.
* acgeneral.m4 (_AC_INIT_DEFAULTS): Don't define
ac_includes_default, since...
(_AC_INCLUDES_DEFAULT_REQUIREMENTS): this new macro does.
(AC_INCLUDES_DEFAULT): Require the former when default includes
are used.
(AC_CHECK_MEMBERS, _AC_CHECK_TYPE_NEW): Don't require
AC_HEADERS_STDC, that's a job for stupendous AC_INCLUDES_DEFAULT.
* acfunctions.m4 (AC_FUNC_MALLOC): Check for stdlib.h.
2001-01-15 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Normalize sh samples.
2001-01-15 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): Simplify the hairy display of the
identity of the tests.
2001-01-15 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): When the suite failed, complain
before creating the debug scripts.
Create a log file.
When ignoring a test, display a reassuring `ok' for stressed
users, and say `skipped' instead.
Simply run `testsuite' with the failed tests instead of running
the debug scripts, this avoids having zillions of banners `Testing
Blabla 2.13' (another means to avoid these banners is to have the
test suite succeed :-).
2001-01-15 Akim Demaille <akim@epita.fr>
* sh.m4 (AS_BOX, _AS_BOX_LITERAL, _AS_BOX_INDIR): New.
* tests/atgeneral.m4: Use it.
2001-01-15 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_VAR_INDIR_IFELSE): Move as...
* m4sh.m4 (AS_LITERAL_IF): this.
(AS_IFELSE): Rename as...
(AS_IF): this.
2001-01-12 Akim Demaille <akim@epita.fr>
With `expr's that return `0' on failures, the executable suffix is
`0'. Test and fix.
Reported by Assar Westerlund.
* Makefile.am (maintainer-check): New target.
* tests/Makefile.am (maintainer-check, maintainer-check-posix)
(maintainer-check-c++, expr): Likewise.
* configure.in (EXPR): Look for it.
* tests/atgeneral.m4 (AT_CHECK): Propagate $2's default value.
* tests/compile.at (Extensions): New test.
* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O):
Distinguish files with or without a dot.
2001-01-12 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Last changes for `configure.ac'.
(_AC_INIT_HELP, _AC_OUTPUT_SUBDIRS): Take `configure.ac' into
account.
* autoreconf.sh: Likewise.
2001-01-11 Motoyuki Kasahara <m-kasahr@sra.co.jp>
* acfunctions.m4 (AC_FUNC_MEMCMP): Missing comma in AC_TRY_RUN
invocation.
2001-01-11 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): New.
(AC_PROG_CC, AC_PROG_CXX): Use it.
(AC_PROG_CC_STDC): Be sure to remove tmp files.
* tests/compile.at (AC_TRY_LINK_FUNC): Don't use exit to test it,
since it produces a prototype which conflicts with the one
computed by _AC_PROG_CXX_EXIT_DECLARATION.
* tests/semantics.at (AC_CHECK_FUNCS, AC_HAVE_FUNCS): Likewise.
(AC_HAVE_FUNCS): Test AC_HAVE_FUNCS!
2001-01-11 Kevin Ryde <user42@zip.com.au>
* autoconf.texi (Shellology): Fix an @end itemize, and a typo.
2001-01-11 Kelly Anderson <tgcorp@attglobal.net>
* autoconf.sh (M4): Handle PC drive letters.
* autoupdate.sh: Likewise.
2001-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
* aclang.m4 (AC_PROG_F77): Add pgf90 to the list of compilers to
look for, after the other Fortran 90 compilers.
2001-01-11 Akim Demaille <akim@epita.fr>
* aclang.m4: Use m4_copy to duplicate macros.
(AC_LANG_PUSH): In order to have AC_LANG's simplifications
effective, be sure to let _AC_LANG be the old language before
calling AC_LANG.
2000-12-25 Pavel Roskin <proski@gnu.org>
* autoreconf.sh: s/localddir/localdir/.
Reported by Motoyuki Kasahara.
2000-12-23 Akim Demaille <akim@epita.fr>
* autoconf.sh: Promote `configure.ac' over `configure.in'.
* autoreconf.sh: Likewise.
* autoheader.sh: Ditto.
* autoupdate.sh: Similarly.
* doc/autoconf.texi: Adjust.
* tests/atspecific.m4: Be sure to remove configure.in.
Adjust the test suite to use `configure.ac'.
2000-12-22 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_EVAL, AC_TRY_EVAL, AC_TRY_COMMAND): Be a
single statement, so that one can make pipes with AC_TRYs, just as
in 2.13.
2000-12-20 Lars J. Aas <larsa@sim.no>
* aclang.m4 (_AC_COMPILER_OBJEXT, _AC_COMPILER_EXEEXT_O):
Make the order of arguments for ls count by splitting the ls
command into a sequence of ls commands.
2000-12-20 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_LANG_COMPILER_GNU): Be sure to have `choke me' on
the seventh column so that the SGI Fortran compiler really chokes
on it.
From Ezra Peisach.
2000-12-20 Akim Demaille <akim@epita.fr>
* tests/foreign.at (Autoconf & Libtool): Ignore Libtool version
1.3.[0-5].
* tests/compile.at (GNU Fortran 77): Use AS_EXIT.
2000-12-20 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CLEANUP_FILE_IFELSE): Fix the regexp: the
pattern ` state* ' was added many times for `*' was improperly
escaped.
(AT_INIT): Remove the data files before running the tests.
Define AT_data_files and output it.
(AT_SETUP): Don't.
(_m4_divert(TEST)): Remove, now useless.
2000-12-20 Akim Demaille <akim@epita.fr>
* aclang.m4: `dnl' the AC_LANG_PUSH and AC_LANG_POP.
(AC_PROG_CXXCPP, AC_PROG_CPP): Set the current language instead of
just asserting it, since these macros can be called directly.
Reported by Raja R. Harinath.
2000-12-19 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Installation Directory Variables): More info
on prefix and exec_prefix.
2000-12-19 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_COMPILER_OBJEXT): Don't rely on
_AC_COMPILE_IFELSE which uses ac_objext in a `test -s'.
Reported by Lars J. Aas.
2000-12-19 Akim Demaille <akim@epita.fr>
* tests/compile.at (AC_PROG_CPP without warnings, GNU Fortran 77):
Use AC_TRY_COMMAND when running commands, to enrich the logs.
2000-12-19 Akim Demaille <akim@epita.fr>, Mo DeJong <mdejong@cygnus.com>
* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): New.
(_AC_COMPILER_EXEEXT_O): Extracted from...
(_AC_COMPILER_EXEEXT): here. Adjust.
2000-12-19 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CHECK): Make exit status report more
visible.
* tests/atspecific.m4 (AT_CHECK_AUTOCONF): Support FLAGS, STDOUT
and STDERR.
(AT_CHECK_CONFIGURE): Support plenty, cleanup defs when needed.
Spread their use in the whole suite.
Simplify a few AT_CLEANUPs.
2000-12-19 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CHECK): Accept if-failed and
if-not-failed.
* tests/atspecific.m4 (AT_CHECK_CONFIGURE): Use it in order to
dump config.log when configure failed. Before, the log was
reported only on success.
2000-12-19 Akim Demaille <akim@epita.fr>
* tests/foreign.at: New file.
2000-12-19 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_BANNER, AT_CLEANUP): Formatting changes.
2000-12-18 Pavel Roskin <proski@gnu.org>
* Makefile.am: Add a comment explaining why suffix rules are not
used there.
2000-12-15 Pavel Roskin <proski@gnu.org>
* autoconf.sh: If the "allowed" pattern is not defined set it
to "^$".
* tests/tools.at (autoconf: forbidden tokens, basic): New test.
(autoconf: forbidden tokens): Renamed to ...
(autoconf: forbidden tokens, exceptions): ... this.
2000-12-15 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_PROG_CXXCPP, AC_PROG_CPP): Require AC_PROG_CXX/CC.
2000-12-15 Akim Demaille <akim@epita.fr>
* tests/compile.at (GNU Fortran 77): G77 is a `yes'/`' var.
Reported by Ezra Peisach.
2000-12-15 Akim Demaille <akim@epita.fr>
* tests/compile.at (GNU Fortran 77): s/g77/G77/.
Reported by Ezra Peisach.
2000-12-15 Akim Demaille <akim@epita.fr>
* man/Makefile.am (.x.1): Fix to work properly with
builddir != srcdir.
2000-12-15 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77))
(AC_PROG_CPP, AC_PROG_CXXCPP, AC_PROG_GCC_TRADITIONAL)
(_AC_PROG_CC_G, AC_PROG_CC_C_O, _AC_PROG_CXX_G, AC_PROG_CC_STDC):
Don't use `${CC-cc}' since now the AC_REQUIRE machinery guarantees
that $CC is defined. And if not, it's a bug which must be
observable.
* acspecific.m4 (AC_SYS_LARGEFILE): Likewise.
2000-12-15 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_PREPROC_IFELSE): Use ac_status as set by
AC_TRY_EVAL.
(_AC_COMPILE_IFELSE, _AC_LINK_IFELSE, _AC_RUN_IFELSE): More alike,
using AS_IFELSE, and systematically AC_TRY_COMMAND when testing
something (for the logs).
2000-12-15 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_PROG_PREPROC_WORKS): Use _AC_PREPROC_IFELSE.
* acgeneral.m4 (_AC_TRY_CPP): Its last use was that above, so
inline it into...
(_AC_PREPROC_IFELSE): here.
2000-12-15 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): Forget about `-n'.
Adjust so that `./testsuite -h 1 2' explains only tests 1 & 2.
2000-12-15 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_EVAL): New.
(AC_TRY_EVAL, AC_TRY_COMMAND): Use it.
2000-12-15 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_PREPROC_IFELSE, AC_PREPROC_IFELSE): New.
(AC_TRY_CPP): Use AC_PREPROC_IFELSE.
(AC_CHECK_MEMBER, AC_CHECK_DECL, _AC_CHECK_TYPE_NEW): Quote
properly.
* acheaders.m4 (AC_CHECK_HEADER): Quote properly, use
AC_PREPROC_IFELSE.
* acspecific.m4 (_AC_PATH_X_DIRECT): Use AC_PREPROC_IFELSE.
2000-12-15 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_init): Catch `dnl'.
2000-12-15 Pavel Roskin <proski@gnu.org>
* m4sh.sh (AS_ERROR): Restore dnl at the end of the macro.
2000-12-14 Pavel Roskin <proski@gnu.org>
* tests/semantics.at (AC_CHECK_TYPES): There are two tests with
this name. Rename the second one to "AC_CHECK_TYPES: backward
compatibility"
(AC_TRY_LINK_FUNC): Removed. It's now in tests/compile.at.
(C keywords): Likewise.
(AC_PROG_CPP with warnings): Likewise.
(AC_PROG_CPP without warnings): Likewise.
2000-12-14 Akim Demaille <akim@epita.fr>
Put back AC_CYGWIN etc. under the responsibility of the
configure.in maintainer, but discourage its use.
* acspecific.m4 (_AC_CYGWIN, _AC_MINGW32, _AC_EMXOS2): Rename as...
(AC_CYGWIN, AC_MINGW32, AC_EMXOS2): these.
AU defined on top of AC_CANONICAL_HOST and $host_os.
* tests/mktests.sh (update_exclude_list): Add AC_CYGWIN,
AC_MINGW32, and AC_EMXOS2.
2000-12-13 Pavel Roskin <proski@gnu.org>
* m4sugar.m4 (m4_file_append): Add a newline after _m4eof,
otherwise _m4eof is appended to the output on FreeBSD 4.0.
* tests/atgeneral.m4 (AT_INIT): Avoid using unbalanced "y"
in sed, use "s" instead.
* tests/mktests.sh: Don't use \? in sed - it's a GNU extension.
Use separate patterns for A[CU]_DEFUN and AC_DEFUN_ONCE.
2000-12-13 Akim Demaille <akim@epita.fr>
EXEEXT and OBJEXT don't need to know $CYGWIN etc.
* acspecific.m4 (AC_EXEEXT, AC_OBJEXT, _AC_EXEEXT, _AC_OBJEXT):
Move as...
* aclang.m4 (AC_EXEEXT, AC_OBJEXT, _AC_COMPILER_EXEEXT)
(_AC_COMPILER_OBJEXT): these.
(_AC_COMPILER_EXEEXT): Use _AC_LINK_IFELSE.
Don't depend upon $CYGWIN and the like.
(_AC_COMPILER_OBJEXT): Model after _AC_COMPILER_EXEEXT.
Skip more extensions.
Use _AC_COMPILE_IFELSE.
2000-12-12 Pavel Roskin <proski@gnu.org>
* Makefile.am: Don't use suffix rules for perl and shell
scripts. Use explicit rules instead.
2000-12-12 Pavel Roskin <proski@gnu.org>
* autoscan.pl (init_tables): Allow spaces on the right hand side
in autoscan tables. Die if there are no spaces at all.
(scan_c_file): Use \b instead of \W so that keywords match at
the beginning and the end of the line.
(scan_sh_file): Likewise.
(scan_makefile): Likewise. Use \B to match before `-l'.
(output): Suggest AC_CONFIG_HEADER if any C/C++ sources are
found.
* acidentifiers: Update macros for structure members st_blksize
and st_rdev.
2000-12-12 Akim Demaille <akim@epita.fr>
* tests/compile.at (GNU Fortran 77): Be robust to compilers that
choke on `--version'.
2000-12-12 Akim Demaille <akim@epita.fr>
* tests/suite.at: Run `tools.at' first.
2000-12-12 Akim Demaille <akim@epita.fr>
* tests/aclocal.m4 (AC_STATE_SAVE): Use a more precise regexp to
keep envvars.
2000-12-12 Akim Demaille <akim@epita.fr>
AS_ERROR was not properly saving data in the log file.
* sh.m4 (AS_WARN, AS_ERROR): Use AS_MESSAGE.
(_AS_ECHO): Fix quotation.
(AS_MESSAGE): Use `as_me'.
* acgeneral.m4: More banners in the log.
(_AC_INIT_DEFAULTS): Compute as_me before using it.
2000-12-08 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (System Services) <AC_PATH_XTRA>: Adjust the
documentation about X_DISPLAY_MISSING to the code.
2000-12-07 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): More robust computation of
ac_tests_pattern.
Reported by Andrej Borsenkow.
2000-12-07 Akim Demaille <akim@epita.fr>
* acspecific.m4 (_AC_EXEEXT): Skip *.pdb.
From Paul Berrevoets.
2000-12-07 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CHECK): Bad typo: assign `exit 1' to
at_continue if something failed, not `:'.
* tests/semantics.at (AC_PATH_XTRA): New.
* acspecific.m4 (_AC_PATH_X): New, extracted form AC_PATH_X.
2000-12-06 Akim Demaille <akim@epita.fr>
* configure.in: Bump version to 2.49c.
2000-12-06 Akim Demaille <akim@epita.fr>
Version 2.49b.
2000-12-06 Akim Demaille <akim@epita.fr>
Stop playing with FDs in Autotest.
* tests/atgeneral.m4 (AT_INIT): Set up FD 5.
(AT_CHECK): Instead of using exec to globally change the FDs of
`testsuite', enclose the body of the test into a
`(..) >stdout 2>stderr'.
In every case, when verbose, display the differences between
expected and observed (stdout, stderr, exit status).
Let `0' be the default for EXIT-STATUS.
Support EXIT-STATUS == `ignore'.
2000-12-06 Akim Demaille <akim@epita.fr>
* tests/tools.at (autoconf: forbidden tokens): Adjust expected
result.
2000-12-06 Akim Demaille <akim@epita.fr>
* man/config.guess.x: New file.
* man/config.sub.x: New file.
2000-12-06 Akim Demaille <akim@epita.fr>
* tests/aclocal.m4 (AT_STATE_SAVE): Don't even try to preserve
egrep error messages, AT_CHECK will find them.
2000-12-06 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools) <awk>: `for' on
arrays is nondeterministic across AWK implementations.
* tests/tools.at (autoconf: forbidden tokens): Sort the error
message to guarantee its uniqueness.
2000-12-06 Akim Demaille <akim@epita.fr>
The SunOS' egrep fails to process properly the `egrep' invocations
of the test suite.
* tests/aclocal.m4 (AC_STATE_SAVE): If egrep fails, remove the
output file.
* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Don't check `state-*'
if the files are not present.
* m4sugar.m4 (m4_join): Rename as...
(m4_smash): this.
* tests/aclocal.m4 (join): Move as...
* m4sugar.m4 (m4_flatten): this.
* autoconf.sh (trace.m4): Rename m4_smash as m4_flatten.
2000-12-06 Akim Demaille <akim@epita.fr>
* autoconf.sh (task trace): s/m4/$M4/.
* autoheader.sh: When loading trace.sh, catch errors and exit with
a decent error message.
* tests/tools.at: Be sure to test autoconf --trace before
autoheader.
2000-12-06 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CHECK): Fix the m4_ifval invocation.
2000-12-06 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_LANG): Be `smart': don't issue the sh code if the
current language did not change.
(AC_LANG_ASSERT): New.
(AC_PROG_CPP, AC_PROG_CXXCPP): Assert the language.
(_AC_PROG_F77_V, _AC_F77_NAME_MANGLING): Don't require
AC_PROG_F77, the code you include does it.
(AC_F77_LIBRARY_LDFLAGS): Set the language.
2000-12-06 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (ifelse): Rename as...
(m4_if): this.
* autoconf.m4 (ifelse): Restore.
2000-12-06 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_dquote, m4_pattern_forbid, m4_pattern_allow)
(m4_cr_letters, m4_cr_LETTERS, m4_cr_Letters, m4_cr_digits)
(m4_cr_symbols1, m4_cr_symbols2, m4_re_string, m4_re_word)
(m4_init): New macros.
(m4_token_allow): Remove.
* acgeneral.m4: Don't push BODY into the diversion stack.
(AC_PLAIN_SCRIPT): Do it.
Call m4_init, define the Autoconf patterns.
(AC_INIT): Use AC_PLAIN_SCRIPT.
Remove the useless `dnl' (those where the current diversion is
KILL).
* autoconf.sh (m4_common): Fix quotation.
(finalize.awk): Load forbidden.rx and allowed.rx.
Split the line into tokens, and check their validity.
* tests/tools.at (Forbidden tokens): Adjust.
2000-12-05 Bob Wilson <bwilson@tensilica.com>
* acspecific.m4 (_AC_OBJEXT, _AC_EXEEXT): Ignore .d files produced
by CFLAGS=-MD.
2000-12-05 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_PROG_F77): Temporarily set ac_ext to F to run
_AC_LANG_COMPILER_GNU.
From Steven G. Johnson.
* tests/compile.at (GNU Fortran 77): New test.
2000-12-05 Akim Demaille <akim@epita.fr>
* tests/tools.at (autoupdate): Strengthen and check autoupdate's
idempotency.
2000-12-05 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): s/cp -f/mv -f/.
2000-12-01 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Don't escape
backquotes in AC_MSG_ERROR. Fix error message.
2000-12-01 Pavel Roskin <proski@gnu.org>
* tests/atgeneral.m4 (AT_INIT): Use ${CONFIG_SHELL-/bin/sh}
to run the testsuite from the debug scripts.
Suggested by Alexandre Oliva.
2000-11-30 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Assignments): Don't use $? from an
assignment.
2000-11-30 Akim Demaille <akim@epita.fr>
* sh.m4 (AS_EXIT): Don't rely on false exiting 1.
Actually, always use `(exit $val); exit', don't try to be tricky.
* doc/autoconf.texi (Limitations of Builtins) <false>: new.
2000-11-30 Akim Demaille <akim@epita.fr>
* sh.m4 (_AS_EXPR_PREPARE): Don't rely on the exit status of a
back quote evaluation since the very system for which the test was
written does not propagate it. Groumph!
2000-11-30 Akim Demaille <akim@epita.fr>
* acspecific.m4 (_AC_EXEEXT): Also remove conftest$ac_exeext.
Reported by Pavel.
2000-11-30 Akim Demaille <akim@epita.fr>
* acspecific.m4 (_AC_EXEEXT, _AC_OBJEXT): Make the two macros more
alike: a loop over a sorted list of possible files.
Don't cleanup on errors, the trap will do it.
Cleanup when there are no errors.
(_AC_EXEEXT): Use the empty string instead of `no' as the cached
value.
Be sure to prefer `.exe' to `' when the two are observable.
Suggested by Lars and Earnie.
2000-11-30 Akim Demaille <akim@epita.fr>
When using Cygwin, in spite of all their efforts, it may happen
that `confestval' be read in binary mode. The shell then fails to
properly strip the \r\n.
Reported by Lars J. Aas.
* aclang.m4 (AC_LANG_INT_SAVE): Don't add any trailing new line,
and close the file.
Suggested by Peter Eisentraut.
2000-11-30 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Systemology): New section.
Some about QNX 4.
2000-11-30 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Special Shell Variables): Document RANDOM.
2000-11-30 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools): Some about cp
and mv, thanks to Ian.
2000-11-29 Akim Demaille <akim@epita.fr>
* acspecific.m4 (_AC_OBJEXT): Skip *.tds, special case .o and
.obj.
Suggested by Lars.
2000-11-29 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the portability of
the default assignment of CONFIG_FILES, CONFIG_HEADERS,
CONFIG_LINKS and CONFIG_COMMANDS.
2000-11-29 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CACHE_SAVE): Use the `clear' trick to work
around broken seds.
(_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES): Rename the sed labels to
match the Autoconf documentation.
2000-11-29 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Shell Substitutions): More on the variations
around ${foo=bar}.
(Assignments): Rewrite as a summary of the previous section.
* acgeneral.m4 (AC_CACHE_SAVE): Be protected against the Solaris'
`${foo='${bar}'}' bug.
2000-11-29 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES): Don't use
`... echo "error: \\\`$f'" ...`
as it's not portable to BSDI 1.3.
Do this instead:
`... echo "error: $f" ...`
Reported by Daniele Arena.
2000-11-29 Akim Demaille <akim@epita.fr>
QNX 4.2.5's expr always exits 1 when `:' is used with parens.
* doc/autoconf.texi (Limitations of Usual Tools) <expr>: More
information, thanks to Paul Berrevoets, Paul Eggert and David
Morgan.
* sh.m4 (_AS_EXPR_PREPARE): New.
(AS_DIRNAME): Use it.
2000-11-29 Akim Demaille <akim@epita.fr>
sizeof (struct {char a,b; }) is not required to be 2.
Reported by Johan Danielsson.
* tests/semantics.at (AC_CHECK_SIZEOF): Define charchar as an
array of 2 chars.
Suggested by Alexandre.
2000-11-29 Akim Demaille <akim@epita.fr>
Provide a means to display banners in the test suite.
* tests/atgeneral.m4 (AT_INIT): Initialize `AT_banner_ordinal'.
Execute the epilogue of the tests only if a test was run.
Don't build the value of `at_tests_all' with a for loop: expand
`AT_TESTS_ALL'.
(AT_SETUP): Build `AT_TESTS_ALL'.
(AT_BANNER): New.
Adjust all the former banners to use it.
(AT_CHECK): Don't trace the decoding of `$?'.
2000-11-29 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_DEFINE, AT_UNDEFINE, AT_SHIFT)
(AT_INCLUDE): Remove, use the m4_ macros.
2000-11-29 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (ifval, ifset, ifdef, ifndef, m4_ifvanl): Rename as...
(m4_ifval, m4_ifset, m4_ifdef, m4_ifndef, m4_ifvaln): this.
(m4_n): New macro.
(m4_ifvaln): Use it.
* autoconf.m4 (ifdef): Restore it.
2000-11-29 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_errprint, divnum, errprint, esyscmd): Rename as...
(m4_errprintn, m4_divnum, m4_errprint, m4_esyscmd): this.
* autoconf.m4: Restore them.
2000-11-28 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Fortran 77 Compiler Characteristics):
Don't suggest obsolete AC_LANG_FORTRAN77.
(Language Choice): Better preamble.
2000-11-28 Pavel Roskin <proski@gnu.org>
* doc/install.texi: Minor changes to eliminate TeX warnings.
* doc/autoconf.texi: Likewise. Typo fixes.
2000-11-23 Akim Demaille <akim@epita.fr>
* tests/atconfig.in: Move code into...
* tests/atgeneral.m4 (AT_INIT): here.
Use AS_SHELL_SANITIZE.
2000-11-23 Akim Demaille <akim@epita.fr>
Have the test suite list of the test groups and their references.
* tests/atgeneral.m4 (_m4_divert(SUITE_PRO)): Remove, replaced
by...
(_m4_divert(DEFAULT), _m4_divert(OPTIONS), _m4_divert(HELP))
(_m4_divert(SETUP)): these.
(_m4_divert(SUITE_EPI)): Rename as...
(_m4_divert(TAIL)): this.
(AT_INIT): Adjust to the new diversions.
Insert the magic number.
Accept test groups as cli argument.
List the test groups.
Rename TESTS, test, and tests as at_tests_all, at_test, and
at_tests.
Have the debug scripts pass options to test suite.
Remove their banner.
* tests/atspecific.m4: Don't divert to 0.
* suite.at: Don't insert the magic number.
2000-11-23 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_divert, m4_undivert): Support named diversions.
* tests/atgeneral.m4 (_m4_divert(SUITE_PRO), _m4_divert(TESTS))
(_m4_divert(SUITE_EPI), _m4_divert(TEST)): New diversions.
Push the first two diversions.
(AT_INIT): Don't.
(AT_INIT, AT_SETUP, AT_CLEANUP): Adjust to use the named
diversions.
2000-11-23 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CLEANUP): Factor the computation of
at_test_count into...
(AT_INIT): here.
Use an sh variable, at_data_files, instead of an hard coded list.
2000-11-23 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CLEAN_FILE_IFELSE, AT_CLEANUP_FILE)
(AT_CLEANUP_FILES): New macros.
(AT_SETUP, AT_CHECK, AT_CLEANUP): Use them.
(AT_CHECK): Fix a use of at_verbose.
* tests/atspecific.m4 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER)
(AT_CHECK_CONFIGURE): New macros.
2000-11-23 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT) <at_verbose>: Be a :/echo variable.
<at_silent>: Remove.
(AT_CLEANUP): Clean up the diversion use.
2000-11-23 Akim Demaille <akim@epita.fr>
Factor part of the prologue of the tests.
* tests/atgeneral.m4 (AT_SETUP, AT_CLEANUP): No longer handle
at_stop_on_error.
(AT_INIT): After having checked whether the test failed, break out
of the loop if requested (-e).
2000-11-23 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_SETUP): Don't build at-check-line, that's
AT_CHECK's job.
Remove the code depending upon `at_skip_mode': it's unused.
2000-11-23 Akim Demaille <akim@epita.fr>
* tests/atconfig.in: Remove the `snippet' marks, there are no
longer used.
* tests/atgeneral.m4: Likewise.
2000-11-23 Akim Demaille <akim@epita.fr>
Factor the epilogue of the tests.
* tests/atgeneral.m4 (AT_CLEANUP): Move the reading of at_status
into...
(AT_INIT): here, at the end of the `case'.
2000-11-23 Akim Demaille <akim@epita.fr>
The debug scripts are only wrapper around testsuite, asking for a
specific test.
* tests/atgeneral.m4 (AC_INIT) <at_debug>: New variable, new
option, -d, to disable the creation of the debug scripts (when
testsuite was already launched from one).
<at_test_count>: Really compute it instead of using the number of
the last test run.
2000-11-23 Akim Demaille <akim@epita.fr>
Transform Autotest's body into a `for test; case $test'.
As a known side effect, currently any code outside
AT_SETUP/AT_CLEANUP is discarded.
* acgeneral.m4 (_m4_divert(KILL)): Move to...
* m4sugar.m4: here.
* tests/atgeneral.m4 (AT_INIT): Use m4_divert_push/pop instead of
m4_divert.
Put all the tests inside a for;case.
Define TESTS.
(AT_SETUP, AT_CLEANUP): Open/close each case.
2000-11-23 Akim Demaille <akim@epita.fr>
Move divert and undivert into m4_.
* m4sugar.m4 (m4_divert, divert, undivert): Rename as...
(m4_divert_text, m4_divert, m4_undivert): this.
* autoconf.m4 (divert, undivert): Restore them for user macros only.
2000-11-23 Akim Demaille <akim@epita.fr>
Move Autotest on top of M4sh.
* tests/atgeneral.m4: Import M4sh.
Adjust the differences on the names of the builtins (define etc.).
(AT_CASE): Remove, use m4_case.
(AT_SETUP): Don't use `AT_group_description', `$1' is OK.
* tests/atspecific.m4 (m4_for, m4_foreach): Remove, use those of
M4sugar.
* tests/m4sugar.at: Strengthen the quotation and adjust to the new
macro names.
* tests/m4sh.at: Ditto.
* tests/torture.at: Ditto.
* tests/base.at: Ditto.
* m4sh.m4: Import M4sugar.
* autoconf.m4: Don't import M4sugar, M4sh does.
2000-11-20 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_RUN_IFELSE): `==' in test is not portable,
replace with `='.
2000-11-17 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_DEFAULTS): Also include `PATH' and
`/bin/machine' in the log.
2000-11-17 Akim Demaille <akim@epita.fr>
Let AC_TRY_RUN be more verbose
* acgeneral.m4 (_AC_RUN_IFELSE): Instead of canceling the output
of the test program, save it into the log.
Save the exit status, and report it in the log when non zero.
Just use `(./conftest)' instead of `(./conftest; exit)'.
2000-11-17 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_DEFAULTS) <ac_includes_default>: Include
sys/stat.h.
* acspecific.m4 (AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_BLOCKS)
(AC_STRUCT_ST_RDEV): Simplify.
* acfunctions.m4 (AC_FUNC_MMAP): Include sys/stat.h unconditionally.
* doc/autoconf.texi (Default Includes): Adjust.
(Particular Structures) <AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV>:
Adjust.
2000-11-16 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools) <expr>:
expr 'a' : '\(b\)'.
From Paul Eggert.
2000-11-16 Akim Demaille <akim@epita.fr>
Reorder the test suite so that low level features are tested
before high level ones.
* tests/semantics.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
(missing templates): Move to...
* tests/torture.at: here.
Reorder the file so that the torture test is last.
* tests/semantics.at (AC_TRY_LINK_FUNC, AC_PROG_CPP with warnings)
(AC_PROG_CPP without warnings): Move to...
* tests/compile.at: here, new file.
* tests/suite.at: Run `torture' and then `compile' before
`semantics'.
2000-11-16 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_SYS_LARGEFILE): _AC_SYS_LARGEFILE_SOURCE no
longer exist.
2000-11-16 Akim Demaille <akim@epita.fr>
POSIX doesn't require s/[^/]// to work.
From Paul Eggert and Johan Danielsson.
* doc/autoconf.texi (Limitations of Usual Tools) <sed>:
Reorganize. Document this issue.
* autoupdate.sh (dir): Use `,' as separator instead of `/'
* autoreconf.sh: Likewise.
* autoupdate.sh: Ditto.
2000-11-16 Paul Eggert <eggert@twinsun.com>
* m4/largefile.m4 (_AC_SYS_LARGEFILE_SOURCE): Remove, replaced by...
(_AC_SYS_LARGEFILE_TEST_INCLUDES): this.
(AC_SYS_LARGEFILE_MACRO_VALUE): Use AC_LANG_PROGRAM instead of
_AC_SYS_LARGEFILE_SOURCE, i.e., don't pass
_AC_SYS_LARGEFILE_TEST_INCLUDES by default: this isn't desirable
when checking for fseeko.
(AC_SYS_LARGEFILE): Pass AC_SYS_LARGEFILE_TEST_INCLUDES to
_AC_SYS_LARGEFILE_MACRO_VALUE, since it no longer does this for us.
2000-11-16 Akim Demaille <akim@epita.fr>
Provide a means for escaping the forbidden patterns test.
* tests/tools.at (Forbidden tokens): Test m4_token_allow.
* m4sugar.m4 (m4_file_append, m4_token_allow): New macros.
* autoconf.sh (task script): Pass `tmp' and `verbose' to
finalize.awk.
(finalize.awk::check_patterns): Eve out from the body.
(finalize.awk): Read `$tmp/tokens_allowed', and don't complain for
these exceptions.
2000-11-14 Paul Eggert <eggert@twinsun.com>
* acspecific.m4 (AC_SYS_LARGEFILE): Don't worry about
whether fseeko and ftello are properly declared.
* acfunctions.m4 (AC_FUNC_FSEEKO): New macro, which worries about
fseeko (and presumably ftello). Do not set _XOPEN_SOURCE; that
causes too many problems in practice.
* acfunctions (fteelo, fseeko): Trigger AC_FUNC_FSEEKO.
* doc/autoconf.texi: Adjust.
2000-11-14 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Builtins): Comment `true'.
2000-11-14 Akim Demaille <akim@epita.fr>
* BUGS: New file.
Be sure to read this file if you're using a non released Autoconf.
* tests/tools.at (Syntax of the scripts): The non built tools are
in `$top_srcdir', not `..'.
(autoconf --trace): When using `-i' we need the src tree, not the
build tree.
2000-11-14 Akim Demaille <akim@epita.fr>
A single m4_require is enough.
* m4sugar.m4 (_m4_require): $2 defaults to $1.
Rename as...
(m4_require): this.
* acgeneral.m4 (_AC_REQUIRE): Remove, use m4_require if you want
to get into the gory details.
2000-11-14 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_DEFAULTS_ENVIRONMENT): Rename as...
* m4sh.m4 (AS_SHELL_SANITIZE): this.
2000-11-14 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Don't neutralize
autoconf's warnings.
2000-11-14 Akim Demaille <akim@epita.fr>
Set AC_LANG_PREPROC_REQUIRE which replaces AC_REQUIRE_CPP.
The main difference is that the former requires AC_LANG_COMPILER.
* aclang (AC_LANG_PREPROC, AC_LANG_PREPROC(C), AC_LANG_PREPROC(C++))
(AC_LANG_PREPROC(Fortran 77), AC_LANG_PREPROC_REQUIRE): New
macros. Issue a warning when looking for the Fortran 77
preprocessor instead of an error.
(AC_LANG_COMPILER): Check that it is run before the corresponding
AC_LANG_PREPROC.
(AC_PROG_C
(AC_LANG_COMPILER_REQUIRE): Don't call directly
AC_LANG_COMPILER(_AC_LANG), rather invoke AC_LANG_COMPILER so that
the generic code in AC_LANG_COMPILER is run.
(AC_REQUIRE_CPP): Use AC_LANG_PREPROC_REQUIRE.
(AC_PROG_CC, AC_PROG_CXX): Don't require being run before the
corresponding AC_LANG_PREPROC: AC_LANG_COMPILER does it.
Propagate AC_LANG_PREPROC_REQUIRE.
* acgeneral.m4 (AC_TRY_CPP, AC_EGREP_CPP): Use it instead of
AC_REQUIRE_CPP.
* acspecific.m4 (_AC_DECL_YYTEXT, AC_PATH_X): Don't
AC_REQUIRE_CPP, inner macro will do it.
* aclang.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_STRINGIZE)
(AC_C_PROTOTYPES): Likewise.
(AC_C_STRINGIZE): Yeeks! The body of AC_CACHE_CHECK was not
quoted. Use @%:@ do assist Emacs.
For some reason (don't ask), this revamping revealed that
AC_PROG_CC_STDC, because of the `break', does not clean its tmp
files.
* aclang.m4 (AC_PROG_CC_STDC): Extract the creation of conftest.c
out of AC_COMPILE_IFELSE.
Be sure to clean the tmp files.
2000-11-14 Akim Demaille <akim@epita.fr>
* tests/m4sh.at (AS_DIRNAME & AS_DIRNAME_SED): Simplify.
2000-11-14 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_ALLOCA): Don't require AC_PROG_CPP,
since (i) you actually need a compiler, (ii) AC_TRY_LINK handles
it.
* acheaders.m4 (AC_HEADER_STDC): Don't require AC_PROG_CPP,
AC_TRY_CPP does it.
2000-11-14 Akim Demaille <akim@epita.fr>
Create acheaders.m4.
* acgeneral.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS)
(AH_CHECK_HEADERS): Move to...
* acheaders.m4: here, a new file.
* acspecific.m4 (_AC_CHECK_HEADER_DIRENT, AH_CHECK_HEADERS_DIRENT)
(AC_HEADER_DIRENT, AC_HEADER_MAJOR, AC_HEADER_STAT, AC_HEADER_STDC)
(AC_HEADER_SYS_WAIT, AC_HEADER_TIME)
(_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H)
(_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL, AC_HEADER_TIOCGWINSZ): Move
to...
* acheaders.m4: here.
2000-11-14 Akim Demaille <akim@epita.fr>
Move AC_MSG_* into M4sh.
* acgeneral.m4 (_AC_SH_QUOTE, _AC_SH_QUOTE_IFELSE, _AC_ECHO): Move
to...
* m4sh.m4 (_AS_QUOTE, _AS_QUOTE_IFELSE, _AS_ECHO): here.
(AS_MESSAGE, AS_WARN, AS_ERROR): New.
* acgeneral.m4 (AC_MSG_NOTICE, AC_MSG_WARN, AC_MSG_ERROR): Use them.
(AC_FD_MSG, AC_FD_LOG): Be AU_ALIAS'es of...
(AS_MESSAGE_FD, AS_MESSAGE_LOG_FD): new.
Adjust all dependencies.
2000-11-14 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Spread some AS_EXIT and AC_MSG_ERROR.
(AC_OUTPUT): Don't play with trap, use ac_clean_files.
2000-11-14 Akim Demaille <akim@epita.fr>
Use AC_MSG_ERROR in `config.status', but adjust AC_MSG_* to use $0
instead of hard coded `configure'.
* acgeneral.m4 (AC_COPYRIGHT): s/configure.in/__file__/.
(_AC_INIT_DEFAULTS_FDS): Append to AC_FD_LOG instead of creating
it. No longer insert the configure banner.
(_AC_INIT_DEFAULTS): Create config.log with the banner.
Define `as_me'.
(_AC_INIT_PARSE_ARGS, _AC_INIT_PREPARE, AC_MSG_NOTICE)
(AC_MSG_CHECKING, AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED)
(AC_MSG_WARN, AC_MSG_ERROR, AC_MSG_ERROR, AC_TRY_CPP)
(_AC_COMPILE_IFELSE, _AC_LINK_IFELSE, _AC_RUN_IFELSE)
(_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_PROG_F77_V_OUTPUT): Use
`$as_me' instead of `configure'.
(AC_OUTPUT): Get rid of the UCA, and of the empty line when
dumping confdefs.h into config.log.
(_AC_OUTPUT_CONFIG_STATUS): Use _AC_INIT_DEFAULTS_FDS.
Print a banner.
Use AC_MSG_ERROR and AC_MSG_NOTICE.
* acgeneral.m4 (AC_CACHE_LOAD, _AC_OUTPUT_FILES, _AC_OUTPUT_LINKS)
(_AC_OUTPUT_HEADERS): Use AC_MSG_NOTICE.
* tests/semantics.at (missing templates): Adjust.
2000-11-14 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (autoconf Invocation): Explain `-W error'
gives back traces.
2000-11-11 Pavel Roskin <proski@gnu.org>
* acfunctions.m4 (AC_CHECK_FUNCS): Add missing m4 quotes.
(AC_FUNC_GETPGRP): Likewise.
* acspecific.m4 (AC_AIX): Likewise.
* m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
* m4/missing.m4 (AM_MISSING_PROG): Likewise.
* m4/sanity.m4 (AM_SANITY_CHECK): Likewise.
2000-11-11 Pavel Roskin <proski@gnu.org>
* acfunctions.m4: Always quote first argument of AC_MSG_ERROR,
AC_MSG_WARN, AC_MSG_CHECKING, AC_MSG_RESULT,
AC_MSG_RESULT_UNQUOTED.
* acgeneral.m4: Likewise.
* aclang.m4: Likewise.
* acspecific.m4: Likewise.
* configure.in: Likewise.
* doc/autoconf.texi: Likewise.
2000-11-10 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Particular Structures): Fix examples for
AC_STRUCT_ST_BLKSIZE and AC_STRUCT_ST_RDEV.
2000-11-10 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Limitations of Usual Tools): Don't use
uncommon abbreviations.
2000-11-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Builtins): Some information
about `trap'.
Document the FreeBSD bug observed by Pavel.
2000-11-10 Pavel Roskin <proski@gnu.org>
* autoscan.pl (scan_files): Eliminate a warning if no C files
are found.
(output): Likewise. Use AC_CONFIG_SRCDIR and AC_CONFIG_FILES
instead of old-style arguments for AC_INIT and AC_OUTPUT.
2000-11-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools): `&' in sed's rhs
is portable.
2000-11-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Shell Substitutions): Some information about
Solaris' sh handling of ``foo=${foo='}'}'' collected by Alexandre,
reported by David Taylor.
2000-11-10 Akim Demaille <akim@epita.fr>
* tests/m4sh.at (Negated classes in globbing): New test.
2000-11-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Builtins): `for i; do'.
2000-11-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Shellology): Some about /usr/xpg4/bin/sh on
Solaris.
Sort the entries.
Some words about POSIX vs Bourne shell.
From Russ Allbery and Robert Lipe.
2000-11-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Shell Substitutions): Split into...
(Shell Substitutions, Assignments): these.
Move them before `Special Shell Variables'.
(Shell Substitutions): Include information on `$()' from Russ
Allbery.
2000-11-10 Akim Demaille <akim@epita.fr>
When running
AC_INIT
AC_PROG_CC
AC_LANG_COMPILER_REQUIRE
AC_PROG_CC is expanded twice, because AC_PROG_CC provides
`AC_PROG_CC', and not `AC_LANG_COMPILER(C)' as expected by
AC_LANG_COMPILER_REQUIRE.
* aclang.m4 (AC_LANG_COMPILER(C)): Instead of calling AC_PROG_CC,
require it.
(AC_LANG_COMPILER(C++), AC_LANG_COMPILER(Fortran 77)): Likewise.
2000-11-10 Akim Demaille <akim@epita.fr>
* m4sh.m4 (AS_MKDIR_P, AS_DIRNAME_SED): Don't shell quote $1.
Adjust callers.
Reported by Paul Eggert.
* tests/m4sh.at: Sort.
2000-11-09 Pavel Roskin <proski@gnu.org>
* install-sh: Use ":" instead of "true".
2000-11-09 Pavel Roskin <proski@gnu.org>
* tests/tools.at (Syntax of the scripts): Check "autoreconf"
only once. Check "install-sh", "mkinstalldirs" and "missing".
2000-11-09 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Use ":" instead of
"true".
* tests/atgeneral.m4 (AT_INIT): Likewise.
* tests/tools.at (Syntax of the scripts): Likewise.
2000-11-09 Pavel Roskin <proski@gnu.org>
* tests/m4sugar.at (m4_warn): Adjusted to accept stack dump when
-Werror is used.
2000-11-08 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (_m4_expansion_stack_dump): Really rename as...
(m4_expansion_stack_dump): this.
2000-11-08 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_LANG_PROGRAM(Fortran 77): Complain about $1 having
a value.
Reported by Paul Martinolich.
(_AC_LANG_COMPILER_GNU): Pass the test as the body of
AC_LANG_PROGRAM, not the prologue.
2000-11-07 Pavel Roskin <proski@gnu.org>
* autoconf.sh: Temporarily disable recognizing of abbreviated
long options - it's hard to maintain them by hand.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* ifnames.sh: Likewise.
2000-11-07 Akim Demaille <akim@epita.fr>
* aclang.m4 (ac_cv_prog_gcc, ac_cv_prog_gxx, ac_cv_prog_g77):
Be AU_DEFUN'd, not AU_ALIAS'd.
Reported by Ralf Corsepius.
* tests/mktests.sh (exclude_list): Skip these variables.
2000-11-07 Akim Demaille <akim@epita.fr>
m4_syscmd was reestablished as `syscd' intead of `syscmd' because
instead of `s/^m4_//', m4_copy_unm4 was running `s/[m4_]//'.
* m4sugar.m4 (m4_copy_unm4): Fix.
2000-11-07 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECKING): Is not an alias of AC_MSG_NOTICE,
hence use AU_DEFUN, not AU_ALIAS.
2000-11-03 Jim Meyering <meyering@lucent.com>
* acfunctions.m4 (AC_FUNC_FNMATCH): Add a test to detect
the d*/*1 vs d/s/1 bug.
Add a couple more test cases to catch bugs in glibc 2.1.95.
Include fnmatch.h unconditionally
Mention the GNU C library.
From Paul Eggert.
2000-11-03 Akim Demaille <akim@epita.fr>
AC_CONFIG_AUX_DIR_DEFAULTS overrides AC_CONFIG_AUX_DIR. Ouch.
Reported by Paul Martinolich.
* acgeneral.m4 (AC_PROVIDE): Don't forget to `m4_provide'!!!
Tss, novice...
* tests/base.at (AC_REQUIRE & AC_PROVIDE): New test.
2000-11-03 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_location): When using its value, don't use
`m4_defn', since m4_location is not a variable, it's a macro which
expands to __file__:__line__.
* tests/m4sugar.at (m4_warn): New test.
2000-11-03 Akim Demaille <akim@epita.fr>
* tests/tools.at (unexpanded macros): Strengthen.
* autoconf.sh (finalize.awk): Use `sub' instead of `index' +
`substr'.
More comments.
2000-11-03 Akim Demaille <akim@epita.fr>
* Makefile.am (.m4.m4f): Check that processing produces only
comments and empty lines.
Check that freezing produced no output.
* m4sugar.m4: Commentize what was not.
* m4sh.m4: Likewise.
* aclang.m4: Formatting changes.
2000-11-03 Akim Demaille <akim@epita.fr>
* autoconf.m4 (define): Reestablish only after having read the
`ac' files.
Adjust all the Autoconf code to use `m4_define', not `define'.
2000-11-03 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AU_ALIAS): Don't forget to pass the arguments to
the new macro...
Reported by Ezra Peisach.
* tests/semantics.m4 (AC_HAVE_FUNCS): New test.
* tests/tools.at (autoupdate): As a benign side effect, updating a
macro that takes no argument produces `UPDATED([])', no longer
`UPDATED()'. Adjust the test.
2000-11-03 Akim Demaille <akim@epita.fr>
* autoconf.m4: Instead of reactivating the macros before reading
Autoconf's files, do it afterwards, so that Autoconf promotes the
right use, but users still can use the old names.
Of course this revealed numerous non updated uses of old macros in
Autoconf's files. Adjust them.
But for the time being, keep `define' alive for Autoconf.
2000-11-03 Akim Demaille <akim@epita.fr>
AC_REQUIRE and AC_DEFUN_ONCE don't work properly together. This
caused strange messages about AC_ARG_PROGRAM.
Reported by Jim Meyering.
* acgeneral.m4 (AC_DEFUN_ONCE): Fix the indirection to
m4_defun_once.
* m4sugar.m4 (m4_defun_once): Also define
`m4_location(MACRO-NAME)'. s/ac_warn/m4_warn/.
Use `m4_defn' to read `m4_location'.
* tests/base.at (AC_REQUIRE & AC_DEFUN_ONCE): Two new tests.
2000-11-03 Akim Demaille <akim@epita.fr>
Set up config.log earlier so that AC_MSG_ERROR and AC_MSG_WARN can
be used early.
* acgeneral.m4 (_AC_INIT_DEFAULTS): Call `_AC_INIT_PREPARE_FDS'.
(_AC_INIT_PREPARE): Don't.
(_AC_INIT_PREPARE_ENVIRONMENT, _AC_INIT_PREPARE_FDS): Rename as...
(_AC_INIT_DEFAULTS_ENVIRONMENT, _AC_INIT_DEFAULTS_FDS): these,
since they are called from `_AC_INIT_DEFAULTS', not
`_AC_INIT_PREPARE'.
(_AC_INIT_DEFAULTS_FDS): Dump `$@' in config.log, not
`$ac_configure_args' which is not computed yet.
2000-11-03 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): TRIPLET can include `_' and
`-'.
Reported by Andreas Jaeger.
2000-11-03 Akim Demaille <akim@epita.fr>
* m4sh.m4 (_AS_UNSET_PREPARE): New macro, eved from
_AC_INIT_PREPARE_ENVIRONMENT, and fixed: set `FOO' before trying
to unset it: `unset' exits 1 if the variable is not defined.
(AS_UNSET): Require it. Use `as_unset' not `ac_unset'.
* acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Use it.
2000-11-03 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (builtin, changecom, changequote, decr, dumpdef)
(incr, index, indir, len, syscmd, sysval, traceoff, traceon):
Rename as...
(m4_builtin, m4_changecom, m4_changequote, m4_decr, m4_dumpdef)
(m4_incr, m4_index, m4_indir, m4_len, m4_syscmd, m4_sysval)
(m4_traceoff, m4_traceon): these.
* autoconf.m4 (builtin, changecom, decr, incr, index, indir, len)
(syscmd, sysval, traceoff, traceon): Reactivate.
2000-11-03 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_rename_m4, m4_copy_unm4): New macros.
Use them.
(debugfile, debugmode, m4exit, m4wrap, maketemp, patsubst, regexp)
(substr, translit, m4_wrap): Rename as...
(m4_debugfile, m4_debugmode, m4_exit, m4_wrap, m4_maketemp)
(m4_patsubst, m4_regexp, m4_substr, m4_translit, m4_text_wrap): these.
Adjust all dependencies.
* acgeneral.m4: Adjust.
* tests/m4sugar.at: Adjust.
* autoconf.m4 (m4exit, patsubst, regexp, substr, translit):
Reestablish them.
2000-11-02 Akim Demaille <akim@epita.fr>
The documentation is not clear about the obsoleteness of
`acconfig.h', `config.h.top', and `config.h.bot'.
Reported by Aharon Robbins.
* doc/autoconf.texi (Making configure Scripts)
(Automatic Remaking, Defining Symbols, Distributing): Forget about
these files.
(acconfig.h): Reword.
Display the old scheme presenting the dependencies between input
and output files.
(Changed File Names): Clarify.
2000-11-02 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools): Some about
dirname.
2000-11-02 Pavel Roskin <proski@gnu.org>
* ifnames.sh: Put the opening brace on the same line with
patterns. Reported by Paul Martinolich.
* tests/tools.at (AWK portability): Check ifnames.
(ifnames): New test for ifnames.
* THANKS: Updated.
2000-11-02 Pavel Roskin <proski@gnu.org>
* m4/atconfig.m4 (AT_CONFIG): s/AT_TESTPATH/AUTOTEST_PATH/
because AT_TESTPATH looks like a macro.
* tests/atconfig.in: Likewise.
2000-11-02 Akim Demaille <akim@epita.fr>
* autoconf.sh (trace.m4): Move all the M4 builtins into `at_'.
Catch the failures of the big pipe.
2000-11-02 Akim Demaille <akim@epita.fr>
* tests/tools.at (Tracing M4 builtins): New test.
* autoconf.sh (trace_format): Fix its computation.
2000-11-02 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CHECK): Check stderr first, since if both
stdout and stderr fail, differences on the latter are probably
more significant than on the former.
2000-11-02 Akim Demaille <akim@epita.fr>
* autoconf.sh (task trace) [debug]: Instead of a long pipe, extend
trace.m4.
2000-11-02 Akim Demaille <akim@epita.fr>
* autoupdate.sh (m4.txt): Use `dumpdef' and m4 to build it.
2000-11-02 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (popdef, pushdef): Rename as...
(m4_popdef, m4_pushdef): these.
Adjust dependencies.
* acgeneral.m4: Adjust.
* aclang.m4: Likewise.
* autoconf.m4 (popdef, pushdef): Reactivate them.
2000-11-02 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CHECK, AT_CLEANUP): Be more verbose when
`-v' is passed.
2000-11-01 Pavel Roskin <proski@gnu.org>
* autoconf.sh: Using trap-safe "exit".
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* tests/base.at: Use AS_EXIT instead of exit in configure.in.
* tests/m4sh.at: Likewise.
* tests/semantics.at: Likewise.
2000-11-01 Akim Demaille <akim@epita.fr>
In M4sugar, move `define', `undefine', and `defn' into the `m4_'
name space.
* m4sugar.m4 (m4_define, m4_defn, m4_undefine): New macros.
(define, defn, undefine): Undefine.
Adjust all uses.
* m4sh.m4: Adjust.
* autoconf.m4: Reenable these builtins.
* m4sugar.m4 (m4_expansion_stack_dump): Use m4_copy.
2000-11-01 Akim Demaille <akim@epita.fr>
GNU M4 1.4 improperly handle the traces of copies of builtins.
* autoconf.sh (task trace): When tracing `BUILTIN' also trace
`m4_BUILTIN'.
2000-11-01 Akim Demaille <akim@epita.fr>
Autoupdate should not depend upon foreign macros.
* autoupdate.sh (ac.m4): Use `_au_define', not `define'.
(input.m4): Use `_au_BUILTIN' not `BUILTIN'.
2000-11-01 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_fatal): Dump the expansion stack.
* acgeneral.m4 (AC_FATAL): Use m4_fatal.
2000-11-01 Akim Demaille <akim@epita.fr>
Move the `defun' handling into M4sugar.
* m4sugar.m4 (_m4_divert(GROW), _m4_expansion_stack_dump)
_m4_defun_pro, _m4_defun_epi, m4_defun, $1, m4_defun_once)
m4_before, _m4_require, m4_require, m4_expand_once, m4_provide)
m4_provide_ifelse): New macros.
* acgeneral.m4 (_AC_EXPANSION_STACK_DUMP, _AC_DEFUN_PRO)
_AC_DEFUN_EPI): Removed.
(AC_DEFUN, AC_DEFUN_ONCE, _AC_REQUIRE, AC_REQUIRE)
AC_PROVIDE_IFELSE, AC_FATAL): Reimplement atop M4sugar.
2000-11-01 Raja R Harinath <harinath@cs.umn.edu>
* tests/tools.at (autoupdating AC_LINK_FILES): Invoke autoconf
like in the rest of the tests.
2000-11-01 Pavel Roskin <proski@gnu.org>
* autoconf.sh: Typo: s/m4__warnings/m4_warnings/.
2000-10-31 Pavel Roskin <proski@gnu.org>
* autoupdate.sh: Check that $sed understands the meaning of "\b"
instead of checking "--version".
2000-10-31 Akim Demaille <akim@epita.fr>
Move the handling of classified warnings into M4sugar.
* m4sugar.m4 (m4_diagnose): Remove.
(m4_warning): New.
* acgeneral.m4 (AC_WARNING_IFELSE, _AC_WARNING_IFELSE)
(_AC_WARNING_ERROR_IFELSE, __AC_WARNING_ERROR_IFELSE)
(_AC_DIAGNOSE, AC_DIAGNOSE): Rename as...
* m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
(_m4_warning_error_ifelse, __m4_warning_error_ifelse)
(_m4_warn, m4_warn): these.
* acgeneral.m4 (AC_DIAGNOSE): Wrapper around `m4_warn'.
* autoconf.sh: Define `m4_warnings' instead of `_AC_WARNINGS'.
2000-10-30 Pavel Roskin <proski@gnu.org>
* acspecific.m4 (AC_PATH_XTRA): Use AC_LANG_PROGRAM() as the
argument to AC_LINK_IFELSE.
2000-10-30 Pavel Roskin <proski@gnu.org>
* m4sh.m4 (AS_EXIT): Use "false" for exit code 1, ":" for 0.
* acgeneral.m4 (AC_MSG_ERROR): Don't use m4_default for the
second argument - AS_EXIT takes care of it.
2000-10-30 Akim Demaille <akim@epita.fr>
* m4sugar.m4: Formatting changes.
2000-10-30 Akim Demaille <akim@epita.fr>
Move the handling of diversions into M4sugar.
* acgeneral.m4 (_AC_DIVERT, AC_DIVERT, AC_DIVERT_PUSH)
(AC_DIVERT_POP): Move to...
* m4sugar.m4 (_m4_divert, m4_divert, m4_divert_push)
(m4_divert_pop): here.
* acgeneral.m4: Adjust to use only the M4sugar macros.
Nevertheless...
(AC_DIVERT_PUSH, AC_DIVERT_POP): New wrappers around the M4sugar
macros.
(_AC_DIVERT(...)): Rename all the diversions names as...
(_m4_divert(...)): these.
2000-10-30 Pavel Roskin <proski@gnu.org>
* m4sh.m4 (AS_EXIT): New macro that exits and makes sure that $?
is set correctly within the exit trap.
(AS_TMPDIR): Use it.
* acgeneral.m4 (AC_MSG_ERROR): Likewise,
2000-10-29 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (AC_CHECK_TOOL): Set VARIABLE also when using the
cache. From Jim Meyering.
(AC_PATH_TOOL): Likewise.
2000-10-29 Pavel Roskin <proski@gnu.org>
* tests/atgeneral.m4 (AT_CHECK): Warn if the expected exit status
is different from what we got. Don't preserve exit status other
than 77.
2000-10-29 Pavel Roskin <proski@gnu.org>
* autoconf.sh: When scanning for unexpanded macros match only
words beginning with "A?_" and "m4_" or containing "_A?_".
Strip the comments before the matching. Don't use character
ranges.
2000-10-29 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_INIT_PREPARE): Don't use a newline before
accessing $? - newlines in "trap" reset $? to 0 on FreeBSD 4.0.
2000-10-29 Jim Meyering <meyering@lucent.com>
* acgeneral.m4 (AC_MSG_WARN): Now that this macro expands to
two stmts, enclose them in `{' ... `}'.
2000-10-28 Pavel Roskin <proski@gnu.org>
* aclang.m4 (AC_REQUIRE_CPP): Don't default to C++ - call AC_FATAL
for unsupported languages.
2000-10-27 Pavel Roskin <proski@gnu.org>
* acfunctions.m4 (AC_FUNC_MMAP): Remove conftestmmap from the
shell, not from the test program.
2000-10-27 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Limitations of Builtins): Recommend using
AC_MSG_ERROR instead of exit.
(Autoconf Language): Fix examples.
2000-10-27 Pavel Roskin <proski@gnu.org>
* tests/suite.at: Move "-*- Autoconf -*-" to the second line.
2000-10-27 Akim Demaille <akim@epita.fr>
Use AC_MSG_ERROR in the test suite, not just `exit'.
* tests/README: New file.
* tests/semantics.at: Don't just `exit 1' or `exit 77' from
configure.in: call AC_MSG_ERROR.
* tests/base.m4: Likewise.
* tests/m4sh.at: Likewise.
* tests/semantics.at (AT_CHECK_PROGS_PREPARE): New macro, eved
out of...
(AC_CHECK_PROG & AC_PATH_PROG): here.
Split into two individual tests...
(AC_CHECK_PROG & AC_CHECK_PROGS, AC_PATH_PROG & AC_PATH_PROGS): these.
2000-10-27 Pavel Roskin <proski@gnu.org>
* autoconf.sh: Recognize short options followed by arguments
without separators.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise. Recognize abbreviations for
"--autoconf-dir" and "--m4dir".
* autoupdate.sh: Likewise. Recognize abbreviations for
"--autoconf-dir".
2000-10-26 Pavel Roskin <proski@gnu.org>
* autoconf.sh: Don't show obsolete options on "--help". Report
obsolete options to stderr. Adjust list of options. Correct
processing of options. Process options with values separated by
"=" first, so that abbreviations work. Don't accept "=" with
short options.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* ifnames.sh: There is no "--verbose" option.
* doc/autoconf.texi: Option "-A" requires an argument.
(autoreconf Invocation): Document "--install", "--symlink",
"--m4dir" and the options passed to Automake.
2000-10-26 Akim Demaille <akim@epita.fr>
* shell.m4: Rename as...
* m4sh.m4: this.
* tests/m4sugar.m4, tests/shell.m4, tests/torture.m4: Rename as...
* tests/m4sugar.at, tests/m4sh.at, tests/torture.at: these.
* tests/semantics.m4, tests/base.m4, tests/suite.m4: Rename as...
* tests/semantics.at, tests/base.at, tests/suite.at: these.
* tests/tools.m4, tests/update.m4, tests/syntax.m4: Rename as...
* tests/tools.at, tests/update.at, tests/syntax.at: these.
* tests/mktests.sh: Adjust the output file names.
2000-10-25 Pavel Roskin <proski@gnu.org>
* autoupdate.sh: Redirect stdin for sed to /dev/null to avoid
hangs with non-GNU versions of sed.
2000-10-25 Akim Demaille <akim@epita.fr>
Move the Autoconf independent shell macros into the file
`shell.m4' and the name space `AS_*'.
* acgeneral.m4 (AC_SHELL_IFELSE, _AC_SHELL_TMPDIR, AC_SHELL_UNSET)
(AC_SHELL_MKDIR_P, AC_SHELL_DIRNAME): Rename and move to...
* shell.m4 (AS_IFELSE, AS_TMPDIR, AS_UNSET, AS_MKDIR_P)
(AS_DIRNAME): here, a new file.
Adjust all dependencies.
* tests/base.m4 (m4_wrap): Eve out into...
* tests/shell.m4: here, new file.
* tests/base.m4 (AC_SHELL_MKDIR_P)
(AC_SHELL_DIRNAME & AC_SHELL_DIRNAME_SED): Eve out into...
* tests/m4sugar.m4 (AS_MKDIR_P, AS_DIRNAME & AS_DIRNAME_SED):
here, new file.
Adjust the test suite.
2000-10-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_SHELL_DIRNAME): Split its code into...
(AC_SHELL_DIRNAME_EXPR, AC_SHELL_DIRNAME_SED): these new macros.
* tests/base.m4 (AC_SHELL_DIRNAME & AC_SHELL_DIRNAME_SED): New
test.
2000-10-25 Pavel Roskin <proski@gnu.org>
* tests/aclocal.m4 (AC_ENV_SAVE): Rename to ...
(AC_STATE_SAVE): ... this. Save the list of all files
in the current directory.
* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Compare lists of
files created by AC_ENV_SAVE. Remove state* before and after
the test.
2000-10-25 Pavel Roskin <proski@gnu.org>
* Makefile.am: Add acversion.m4.in to EXTRA_DIST.
2000-10-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_SHELL_DIRNAME): The sed fall back was producing
twice the output for it was not using `-n' and used `p'. Remove
the latter.
2000-10-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PREPARE_FDS): Give some information on
the host in config.log.
2000-10-24 Pavel Roskin <proski@gnu.org>
* tests/mktests.sh: Set locale to C to make sure that syntax.m4
and update.m4 are locale-independent.
2000-10-24 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_CACHE_DUMP): Add a missing separator for sed
commands.
2000-10-24 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AT_FILE_DEPENDENCY): Rename as...
(AC_FILE_DEPENDENCY_TRACE): this.
2000-10-24 Lars J. Aas <larsa@sim.no>
* m4sugar.m4: (m4_tolower, m4_toupper): New macros.
* acgeneral.m4 (AC_PREFIX_PROGRAM): Use m4_toupper().
* aclang.m4 (AC_F77_FUNC): Use m4_toupper()/m4_tolower().
2000-10-24 Pavel Roskin <proski@gnu.org>
* m4sugar.m4 (m4_quote): Comment change.
2000-10-24 Akim Demaille <akim@epita.fr>
Start avoiding dependence upon character ranges.
* acgeneral.m4 (_AC_INIT_DEFAULTS): Introduce `ac_cr_AZ',
`ac_cr_az', `ac_cr_09', `ac_cr_alnum' and `ac_hostname'.
Spread their use.
2000-10-24 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_OUTPUT): Don't play with `trap'.
(_AC_INIT_PREPARE): Trap after having created config.log.
Also trap on 0.
When trapped, report why in config.log.
(AC_MSG_WARN, AC_MSG_ERROR): Also output the message in
config.log.
2000-10-24 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_SHELL_DIRNAME): Rename as...
(AC_SHELL_DIRNAME): this.
s/X$1/X[]$1/ so that when $1 is a macro, it's given a chance to be
expanded.
(AC_PREFIX_PROGRAM): Use AC_SHELL_DIRNAME.
Quote properly.
2000-10-24 Akim Demaille <akim@epita.fr>
* tests/tools.m4 (Syntax of the scripts): Specify the path to the
tested program, some shells don't honor the PATH with `sh PROG'.
2000-10-23 Akim Demaille <akim@epita.fr>
Since GNU M4 now comes with its libm4 (binary), to avoid
ambiguities let's rename `libm4' (M4 code) as `m4sugar':
Readability And Greater Understanding Stands 4 M4sugar
name coined by Lars J. Aas.
* libm4.m4: Rename as...
* m4sugar.m4: this.
All dependencies adjusted.
2000-10-23 Akim Demaille <akim@epita.fr>
* tests/mktests.sh (update_exclude_list, syntax_exclude_list): Add
`AC_PREREQ'.
* tests/tools.m4: Globally, don't use `../' to invoke the tested
tools, since the PATH is properly set, and in most cases it
obfuscates the test code.
(autoupdating AC_PREREQ): New tests.
2000-10-23 Akim Demaille <akim@epita.fr>
In order to check that all the CPP symbols which are AC_DEFINE'd
are properly templated, autoheader traces
AC_DEFINE/AC_DEFINE_UNQUOTED. Only literals can be traced, and
actually tracing non literals produces invalid autoheader input.
Hence, provide a means to trace calls to
AC_DEFINE/AC_DEFINE_UNQUOTED with literals.
* acgeneral.m4 (AC_DEFINE_TRACE, AC_DEFINE_TRACE_LITERAL): New
macros.
(AC_DEFINE, AC_DEFINE_UNQUOTED): Use AC_DEFINE_TRACE.
* autoheader.sh: Trace AC_DEFINE_TRACE_LITERAL, not
AC_DEFINE/AC_DEFINE_UNQUOTED.
2000-10-23 Akim Demaille <akim@epita.fr>
Let autoupdate change AC_PREREQ to require the current version of
Autoconf.
* acgeneral.m4 (_AC_VERSION_UNLETTER, _AC_VERSION_COMPARE): Move
to...
* libm4.m4 (m4_version_unletter, m4_version_compare): here.
Adjust dependencies.
* acgeneral.m4 (AU::AC_PREREQ): New macro.
* autoupdate.sh: Fail when `m4 input.m4' fails.
2000-10-21 Pavel Roskin <proski@gnu.org>
* acfunctions.m4 (AC_FUNC_CHOWN): Remove temporary files on exit.
(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Likewise.
(AC_FUNC_SELECT_ARGTYPES): Likewise.
(AC_FUNC_UTIME_NULL): Likewise.
* acgeneral.m4 (_AC_COMPUTE_INT): Likewise.
* aclang.m4 (_AC_F77_NAME_MANGLING): Likewise.
* acspecific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
2000-10-20 Pavel Roskin <proski@gnu.org>
* tests/tools.m4 (autoupdating AC_LINK FILES): Clean up "src1"
and "src2" at the end of the test.
2000-10-19 Pavel Roskin <proski@gnu.org>
* NEWS: Documented changes in AC_PROG_CPP and AC_TRY_CPP.
* doc/autoconf.texi (Compilers and Preprocessors): Likewise.
* acgeneral.m4 (AC_TRY_CPP): Comment changes.
2000-10-19 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Shellology): Documented quirks in ash-0.2.
2000-10-18 Pavel Roskin <proski@gnu.org>
* mdate-sh: Removed, its copy remains in the doc/ directory.
2000-10-18 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_TOOLS): Use `$' when reading a variable.
2000-10-18 Morten Eriksen <mortene@sim.no>
* aclang.m4 (_AC_PROG_CC_G): Use the _AC_COMPILE_IFELSE macro
instead of reinventing the wheel. This also takes care of a bug
where the "-g" option was accepted if the compiler silently exits
with status unequal to 0.
(_AC_PROG_CXX_G): Likewise.
(AC_PROG_CC): As _AC_PROG_CC_G depends on $ac_objext and
$ac_exeext, move the expansion of _AC_OBJEXT and _AC_EXEEXT in
front of _AC_PROG_CC_G.
(AC_PROG_CXX, AC_PROG_F77): Likewise.
2000-10-18 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): Avoid foo="`bar`", foo=`bar` is
enough.
Use grep to check the presence of a string in a stream.
* m4/atconfig.m4: Quote.
2000-10-18 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_SHELL_DIRNAME): Quote the `sed' fall back.
2000-10-18 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_PROG_LN_S): If neither `ln -s' nor `ln' work,
fall back to `cp'.
2000-10-17 Morten Eriksen <mortene@sim.no>
* acgeneral.m4 (AC_CHECK_TOOL): As AC_CHECK_PROG first tests the
value of the VARIABLE argument when looking for executables, we
need to set it to the correct value from AC_CHECK_TOOL when not
just passing on the incoming VARIABLE directly.
(AC_CHECK_TOOLS, AC_PATH_TOOL): Likewise.
2000-10-17 Assar Westerlund <assar@sics.se>
* acgeneral.m4 (_AC_INIT_PREPARE): Move the
_AC_INIT_PREPARE_ENVIRONMENT invocation to...
(_AC_INIT_DEFAULTS): here, so that we keep the same known
environment for more of the script.
2000-10-17 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (The GNU build system): Sketch of new a
chapter.
2000-10-17 Akim Demaille <akim@epita.fr>
Somehow, the adjustment of `mktests.sh' claimed on 2000-10-17 by
myself (`Fix autoupdate...') was not applied.
* tests/mktests.sh (update_exclude_egrep): Add AC_INIT, AC_OUTPUT,
AC_LINK_IFELSE.
2000-10-17 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_PROG, AC_CHECK_PROGS, AC_PATH_PROG)
(AC_PATH_PROGS, AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Fix
the quotation.
(AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Check with the
$ac_tool_prefix iff it is not empty.
2000-10-17 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Particular Programs): Some notes on the
portability of Flex.
2000-10-17 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
(_AC_RUN_IFELSE): Before compiling, remove the files expected to
be produced.
(_AC_LINK_IFELSE, _AC_RUN_IFELSE): You don't create object files,
so don't remove them.
2000-10-17 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_FATAL): Use _AC_EXPANSION_STACK_DUMP.
(_AC_REQUIRE): Use AC_FATAL.
2000-10-17 Akim Demaille <akim@epita.fr>
Give a means to report where the macros have been defined in error
messages.
* libm4.m4 (m4_location): New macro.
(m4_errprint): Rename as...
(m4_diagnose): this. Use m4_location.
Adjust dependencies.
(m4_errprint): New macro, similar to `errprint' but for an
additional trailing `\n'.
* acgeneral.m4 (AC_DEFUN, AC_DEFUN_ONCE): Define `m4_location($1)'
to the current location (i.e., that of the definition of $1).
(_AC_DEFUN_PRO, _AC_REQUIRE): Also push the location of the
current macro in the stack.
(_AC_EXPANSION_STACK_DUMP): Adjust.
2000-10-17 Akim Demaille <akim@epita.fr>
Fix autoupdate: updating `AC_OUTPUT_COMMANDS' was failing because
it includes another AU defined macro.
* autoupdate.sh (input.m4:_au_defun): New macro.
(au.m4): Use it instead of inlining _au_enable/_au_disable
invocations in the definition of all these macros.
(input.m4:__au_enable, input.m4:__au_disable): New macros.
(input.m4:_au_enable, input.m4:_au_disable): Use them.
* tests/mktests.sh (update_exclude_list): Add `AC_OUTPUT'.
Running it twice in a configure.in is not valid.
Add `AC_LINK_FILES' since it requires arguments.
* tests/tools.m4 (autoupdating AC_LINK_FILES): New test.
2000-10-17 Raja R Harinath <harinath@cs.umn.edu>
* Makefile.am (MAINTAINERCLEANFILES): Add acversion.m4.
(INSTALL.txt): Put into $(srcdir).
(acversion.m4): Build here ...
* configure.in (AC_OUTPUT): Not here.
* tests/Makefile.am (MACRO_FILES): Don't use $(top_srcdir).
(syntax.m4): Create in $(srcdir).
(update.m4): Likewise.
* tests/atspecific.m4 (AT_CHECK_UPDATE): Look for autoconf
macros in the top source directory.
2000-10-16 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_LANG_COMPILER_GNU): New macro, which unifies...
(_AC_PROG_F77_GNU, _AC_PROG_CC_GNU, _AC_PROG_CXX_GNU): Remove.
Adjust dependencies.
(ac_cv_prog_gcc, ac_cv_prog_gxx, ac_cv_prog_g77): AU_ALIAS'ed.
2000-10-16 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Adjust copyright notice.
* acspecific.m4: Likewise.
* acoldnames.m4: Likewise.
* acversion.m4.in: Likewise.
* autoconf.sh: Likewise.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise.
* autoscan.pl: Likewise.
* autoupdate.sh: Likewise.
* ifnames.sh: Likewise.
2000-10-16 Pavel Roskin <proski@gnu.org>
* tests/aclocal.m4: Don't consider variables @, '*', '?' and
'#' in the output of `set' - they are modified by zsh.
2000-10-14 Pavel Roskin <proski@gnu.org>
* m4/missing.m4 (AM_MISSING_PROG): Use $SHELL to run "missing".
* configure.in: Don't add $SHELL to the path of help2man -
it is already added by AM_MISSING_PROG.
2000-10-13 Akim Demaille <akim@epita.fr>
* tests/mktests.sh: If ever it fails, touch the output files
``a` la missing''.
2000-10-13 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_LINKER_OPTION): Ahem, err, use `$' when
consulting a variable...
2000-10-13 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Typos in comments spotted by Pavel.
2000-10-12 Pavel Roskin <proski@gnu.org>
* acspecific.m4 (AC_PROG_LEX): Don't assume that lex exists.
Don't run _AC_DECL_YYTEXT if it doesn't. Always check libl and
libfl regardless of the $LEX value.
2000-10-12 Morten Eriksen <mortene@sim.no>
* acgeneral.m4 (AC_CONFIG_SUBDIRS): Fixed nasty typo.
2000-10-12 Akim Demaille <akim@epita.fr>
* tests/mktests.sh: Backslash the quote in the heredocs to help
syntax highlighting tools.
* tests/atspecific.m4 (AT_CHECK_UPDATE): Give a better AT_SETUP
title.
2000-10-12 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_SH_QUOTE): Issue an `obsolete' warning for use
of backquotes, instead of a `syntax' warning.
2000-10-12 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_VAR_IN_INDIR, AC_VAR_IF_SET): Rename as...
(AC_VAR_INDIR_IFELSE, AC_VAR_SET_IFELSE): this.
2000-10-12 Akim Demaille <akim@epita.fr>
* tests/mktests.sh: Remove tmp files.
2000-10-12 Akim Demaille <akim@epita.fr>
Macros used by AC_LANG_COMPILER macros shall not AC_REQUIRE
AC_LANG_COMPILER by the way of AC_COMPILE_IFELSE etc.
* acspecific.m4 (_AC_EXEEXT): Use _AC_LINK_IFELSE, not
AC_LINK_IFELSE to avoid AC_REQUIREing AC_PROG_CC which precisely
requires _AC_EXEEXT.
Don't run _AC_CYGWIN, _AC_MINGW32, _AC_EMXOS2.
* aclang.m4 (_AC_PROG_F77_G): Use _AC_COMPILE_IFELSE, not
AC_COMPILE_IFELSE.
(_AC_LANG_COMPILER_WORKS): Use _AC_LINK_IFELSE, not
AC_LINK_IFELSE.
2000-10-12 Akim Demaille <akim@epita.fr>
Diagnose AC_REQUIRE circular dependencies.
* acgeneral.m4 (_AC_DEFUN_PRO, _AC_DEFUN_EPI): Keep a stack of
macro expansions, _AC_EXPANSION_STACK.
Use `_AC_EXPANDING(FOO)' to record the fact that `FOO' is being
expanded.
(_AC_REQUIRE): Diagnose required macros which are already being
expanded.
Record in _AC_EXPANSION_STACK the AC_REQUIRE calls.
(_AC_EXPANSION_STACK_DUMP): New macro.
2000-10-12 Akim Demaille <akim@epita.fr>
* libm4.m4 (m4_dumpdefs, _m4_dumpdefs_up, _m4_dumpdefs_down): New
macros.
2000-10-11 Pavel Roskin <proski@gnu.org>
* tests/atgeneral.m4 (AT_CHECK): Make sure that $? is set to 0
if diffs have succeeded.
2000-10-11 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
(_AC_RUN_IFELSE): New macros which are the former
AC_COMPILE_IFELSE etc. without AC_LANG_COMPILER_REQUIRE.
(AC_COMPILE_IFELSE, AC_LINK_IFELSE, AC_RUN_IFELSE): Use them.
2000-10-11 Morten Eriksen <mortene@sim.no>
* acgeneral.m4 (AC_RUN_IFELSE): Add missing executable suffix.
* aclang.m4 (_AC_LANG_COMPILER_WORKS): Likewise.
* aclang.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O): Fix typos where
$objext were used instead of $ac_objext.
2000-10-05 Akim Demaille <akim@epita.fr>
Check that updated scripts are valid scripts.
* tests/mktests.sh: Generate `syntax.m4' directly.
* tests/macros.m4: Remove.
Adjust dependencies.
* tests/mktests.sh: Generate `update.m4' too.
* tests/update.m4: New generated file.
Adjust dependencies.
* tests/atspecific.m4 (AT_CHECK_UPDATE): New macro.
2000-10-05 Akim Demaille <akim@epita.fr>
* tests/mktests.sh: New file, which replaces the code inlined in
Makefile.am.
* src/Makefile.am (macros.m4): Use `mktests.sh'.
* tests/suite.m4: Reorder from low level to high level.
2000-10-02 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_LANG_ABBREV, _AC_LANG_ABBREV(C))
(_AC_LANG_ABBREV(C++), _AC_LANG_ABBREV(Fortran 77): New macros.
(AC_LANG_(C), AC_LANG_(C++), AC_LANG_(Fortran 77)): Don't define
AC_LANG_ABBREV.
(_AC_PROG_PREPROC_WORKS): Adjust.
* acgeneral.m4 (_AC_TRY_CPP): Likewise.
2000-10-02 Pavel Roskin <proski@gnu.org>
* acspecific.m4 (AC_PROG_LEX): Use AC_DEFUN_ONCE.
(AC_DECL_YYTEXT): Don't use AC_REQUIRE because autoupdate
would place it into configure.in but it's not allowed
outside AC_DEFUN.
2000-10-02 Pavel Roskin <proski@gnu.org>
* tests/Makefile.am: Macros defined by AC_DEFUN_ONCE should
go to macros.m4 for testing.
2000-09-28 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (AC_SHELL_UNSET): Don't rely on variable
assignments changing $?.
2000-09-28 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_OUTPUT_FILES): Fixed exit status.
(_AC_OUTPUT_HEADERS): Exit if the header template is missing.
2000-09-28 Pavel Roskin <proski@gnu.org>
* acfunctions.m4: Formatting fixes.
* acgeneral.m4: Likewise.
* aclang.m4: Likewise.
* acspecific.m4: Likewise.
* libm4.m4: Likewise.
2000-09-27 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (AC_CHECK_PROG): Added protection against spaces
in $PATH.
* acspecific.m4 (AC_PROG_INSTALL): Likewise.
2000-09-27 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (AC_CHECK_LIB): only call AH_CHECK_LIB if
ACTION-IF-TRUE is not given.
(AH_CHECK_LIB): related comment changes.
2000-09-27 Pavel Roskin <proski@gnu.org>
* aclang.m4 (_AC_LANG_COMPILER_WORKS): Remove []dnl because it
resulted in invalid shell code.
2000-09-27 Lars J. Aas <larsa@sim.no>
* autoconf.sh: Report full macro name for missing macros.
2000-09-27 J. David Anglin <dave@hiauly1.hia.nrc.ca>
* autoheader.sh: Fix trap (EXIT) status.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* autoconf.sh: Change `exit' to `{ (exit 1); exit; }' after m4 and
awk commands to ensure exit state is in a defined state.
2000-09-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* tests/semantics.m4 (AC_PROG_CPP with warning): Simplified.
2000-09-25 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Use
_AC_INIT_PREPARE_ENVIRONMENT to make the shell running
config.status sane and POSIX-compatible.
2000-09-25 Pavel Roskin <proski@gnu.org>
* autoheader.sh: Don't check status of variable assignments -
it's undefined in ash 0.2.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* autoconf.sh: Likewise. Also eliminated command substitution
inside variable expansion - ash 0.2 coredumps on it.
2000-09-21 Pavel Roskin <proski@gnu.org>
* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Check stderr from
autoconf and autoheader. Expected warnings disabled by "-W none"
Preceding comment removed as no longer relevant.
* tests/semantics.m4 (AC_CHECK_PROG & AC_PATH_PROG): Check
stderr from autoconf.
(AC_PATH_PROG & AC_PATH_PROGS): Likewise.
(AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS): Likewise.
* tests/tools.m4 (autoheader): Check that autoheader prints
a warning for missing templates. Check stderr from autoconf.
* tests/torture.m4 (config.status under extreme conditions):
Check stderr from autoconf and autoheader.
(command line interface): Check stderr from autoconf.
2000-09-21 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix usage info for
config.status - file arguments are optional.
2000-09-21 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_OUTPUT_FILES): Ensure that config.status
exits if any input file is missing.
* tests/semantics.m4 (missing templates): Test it.
2000-09-21 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_SHELL_TMPDIR): Don't check status of variable
assignment - it's undefined in ash 0.2.
2000-09-21 Akim Demaille <akim@epita.fr>
* src/atgeneral.m4 (AC_CHECK): Display stderr including when the
test failed because of stdout.
2000-09-21 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4: Formatting changes.
(AT_INIT): Let `at_stop_on_error' and `at_verbose' be `:'/`false'
variables instead of `'/`1'.
`at_check_stds' replaces `at_no_redirs'.
Rename `Snippet 3' as `Snippet 4'.
Introduce `Snippet 3' for variable initializations.
Adjust the dependencies.
(AT_CHECK): Don't show diff's result unless verbose.
2000-09-20 Pavel Roskin <proski@gnu.org>
* tests/Makefile.am: AC_PREFIX_PROGRAM and AC_F77_FUNC excluded
from testing because they require an argument.
* tests/atspecific.m4: Make sure that configure doesn't write
anything to stderr.
2000-09-20 Pavel Roskin <proski@gnu.org>
* acspecific.m4 (_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H): Cache
variable wasn't always set inside AC_CACHE_CHECK.
(_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL): Likewise.
From Nicolas Joly.
2000-09-20 Pavel Roskin <proski@gnu.org>
* libm4.m4 (m4_ifvanl): Don't output a newline for empty
arguments.
2000-09-19 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4 (AT_TEST_MACRO): Rename as...
(AT_CHECK_MACRO): this. All dependencies adjusted.
2000-09-19 Akim Demaille <akim@epita.fr>
* tests/aclocal.m4.new (AC_ENV_SAVE): Skip POW_LIB, used by
AC_FUNC_STRTOD.
From Bernard Dautrevaux.
2000-09-19 Pavel Roskin <proski@gnu.org>
* tests/atgeneral.m4 (AT_DATA): Use _ATEOF instead of EOF.
2000-09-19 Pavel Roskin <proski@gnu.org>
* tests/semantics.m4 (AC_PROG_CPP with warnings): Minor
simplification.
2000-09-19 Akim Demaille <akim@epita.fr>
* autoconf.sh (optarg): More robust expr invocation.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* autoheader.sh: Likewise.
Reported by Bernard Dautrevaux.
2000-09-19 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (AU_ALIAS): Do not use `defn' since then autoupdate
would replace an old macro call with the new macro body instead of
the new macro call.
* tests/tools.m4 (autoupdate): Test an AU_ALIAS'd macro update.
2000-09-19 Pavel Roskin <proski@gnu.org>
* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): New macro.
(AT_TEST_MACRO): Use it.
* tests/semantics.m4 (AC_PROG_CPP with warnings, AC_PROG_CPP
without warnings): New tests.
2000-09-18 R�diger Kuhlmann <autoconf-list@ruediger-kuhlmann.de>
* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Check for configure.gnu
as well.
(_AC_INIT_HELP): Likewise.
(NEWS): Note checking for configure.gnu.
* doc/autoconf.texi: Document checking for configure.gnu when
recursing subdirectories.
2000-09-18 Jim Meyering <meyering@lucent.com>
* acfunctions.m4 (AC_FUNC_GETLOADAVG): Restore the initial value
of LIBS. Otherwise, everyone ends up linking with -lelf for some
configurations.
Reported by Mike Stone.
2000-09-14 Pavel Roskin <proski@gnu.org>
* aclang.m4 (AC_PROG_CPP): Use double quotes in the for loop
and eliminate ac_tmp_cpp.
(AC_PROG_CXXCPP): Use double quotes in the for loop and
eliminate ac_tmp_cxxcpp.
2000-09-14 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_TRY_CPP): Don't filter out conftest.$ac_ext
from the output - it is only printed by Visual C that gives
correct exit status.
* aclang.m4 (AC_PROG_CPP): Don't try '${CC-cc} -nologo -E'
by the same reason.
2000-09-12 Pavel Roskin <proski@gnu.org>
* aclocal.m4 (_AC_PROG_CPP_WORKS): Don't use AC_REQUIRE_CPP -
it's useless here. Rename to ...
(_AC_PROG_PREPROC_WORKS): ... this.
2000-09-12 R�diger Kuhlmann <autoconf-list@ruediger-kuhlmann.de>
* acspecific.m4 (AC_PROG_INSTALL): Exclude c:install on AmigaOS.
2000-09-12 Akim Demaille <akim@epita.fr>
The test suite fails on some hosts because for instance
AC_INIT
AC_CHECK_FUNC(exit)
will not look for a compiler, it will just use `cc'.
Macros that need a compiler should require one.
* acgeneral.m4 (_AC_REQUIRE): New macro, which is actually the
previous version of AC_REQUIRE plus the possibility to distinguish
the name of the symbol being AC_PROVIDE'd, and the text to expand.
(AC_REQUIRE): Reimplement in terms of _AC_REQUIRE.
* aclang.m4 (AC_LANG_COMPILER, AC_LANG_COMPILER_REQUIRE)
(AC_LANG_COMPILER(C), AC_LANG_COMPILER(C++))
(AC_LANG_COMPILER(Fortran 77)):
New macros.
* acgeneral.m4 (AC_COMPILE_IFELSE, AC_LINK_IFELSE, AC_RUN_IFELSE):
Require a compiler.
(AC_TRY_RUN): Formatting changes.
* acfunctions.m4 (AC_FUNC_SETPGRP): Quote properly. The previous
changes revealed the weaknesses of this macro.
2000-09-12 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_TRY_CPP): New macro. It runs the preprocessor
and checks whether it produces errors or warnings. Don't put grep
output into a variable, use another grep instead.
(AC_TRY_CPP): Use _AC_TRY_CPP. Copy conftest.err to config.log
if the case of an error.
* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)):
define AC_LANG_ABBREV to the short language name.
(_AC_PROG_CPP_WORKS): New macro. It checks whether the current
preprocessor can be used to check for existence of headers.
Most code taken from ...
(AC_PROG_CPP): ... here. Use _AC_PROG_CPP_WORKS. Use shell
"for" to find working CPP. Use AC_LANG_PUSH(C) and AC_LANG_POP -
it's a macro for C only.
(AC_PROG_CXXCPP): Rewritten using _AC_PROG_CPP_WORKS.
2000-09-12 Akim Demaille <akim@epita.fr>
* autoupdate.sh (sed): Look for GNU sed.
(usage): Ask for GNU sed.
2000-09-12 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (AC_EGREP_CPP): Use additional quotes instead of
changequote.
2000-09-12 R�diger Kuhlmann <autoconf-list@ruediger-kuhlmann.de>
* acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WIDTH): Add trailing
semicolon to final fi.
2000-09-11 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_WARNING_ERROR_IFELSE)
(__AC_WARNING_ERROR_IFELSE): New macros for checking whether
warnings should be considered errors.
(_AC_DIAGNOSE): Use _AC_WARNING_ERROR_IFELSE.
2000-09-11 Pavel Roskin <proski@gnu.org>
* autoconf.sh: Properly report names of unexpanded macros that
begin with an underscore.
2000-09-11 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Preset Output Variables): Correctly specify
what languages are affected by CPPFLAGS, LDFLAGS and LIBS.
Extended description of LDFLAGS and LIBS.
(Compilers and Preprocessors, C Compiler Characteristics):
Recommend Automake as the source of ansi2knr.
(Autoconf Language, Quotation and Nested Macros): English fixes.
(Quotation and Nested Macros): Unclear example replaced with
an explanation of when m4 expands quotes. Added explanation why
unquoted calls are dangerous.
2000-09-08 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi: Always use one space before the opening
parenthesis in @defmac.
2000-09-06 Morten Eriksen <mortene@sim.no>
* acspecific.m4 (_AC_OBJEXT): No longer use AC_COMPILE_IFELSE,
which uses $ac_objext hence depends upon _AC_OBJEXT.
* aclang.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Call
_AC_OBJEXT before _AC_EXEEXT since the latter needs $ac_objext.
2000-09-06 Bernard Dautrevaux <dautrevaux@objectlive.com>
* acspecific.m4 (_AC_EXEEXT): Set extension to void if linking
creates both an unsuffixed file and suffixed ones.
2000-09-06 Peter Eisentraut <peter_e@gmx.net>
* autoconf.texi: English and typo fixes.
2000-09-05 Pavel Roskin <proski@gnu.org>
* autoconf.sh: Consider undefined macros as errors.
* tests/base.m4 (unexpanded macros): Expect error, not warning.
2000-09-05 Dave Love <fx@gnu.org>
* aclang.m4 (_AC_PROG_F77_GNU): Run command from standard input so
that we can get some standard output.
2000-09-04 Peter Eisentraut <peter_e@gmx.net>
* autoscan.pl: Repair broken Getopt::Long use.
2000-09-04 Akim Demaille <akim@epita.fr>
* configure.in: Bump version to 2.49b.
* Makefile.am (bin_SCRIPTS): Depend upon configure.in.
2000-08-11 Akim Demaille <akim@epita.fr>
Version 2.49a.
2000-08-11 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_NO_EXECUTABLES): New macro.
2000-08-11 Akim Demaille <akim@epita.fr>
* tests/base.m4 (AC_SHELL_MKDIR_P): Remove `a' too.
2000-08-11 Akim Demaille <akim@epita.fr>
* configure.in: Bump version to 2.49a.
2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
* autoconf.sh: Change `exit N' to `(exit N); exit' to provide
the correct exit status when an exit trap is taken.
2000-08-11 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH,
AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Deactivate
their AU_ALIAS definition: Automake 1.4 does not quote the name of
these macros, hence when Autoconf reads Automake's definition the
name is expanded with unpredictable results.
2000-08-09 Akim Demaille <akim@epita.fr>
* autoreconf.sh (Installing Autoconf extensions files): Remove.
2000-08-09 Akim Demaille <akim@epita.fr>
* autoconf.sh (finalize.awk): Don't leave spaces before the user
function calls.
Reported by John David Anglin.
* doc/autoconf.texi (Limitations of Usual Tools): Start the AWK
section.
* tests/tools.m4 (AWK portability): New test.
2000-08-08 Pavel Roskin <proski@gnu.org>
* Makefile.am: Substitute @bindir@ in shell scripts, needed by
autoheader.
2000-08-07 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (_AC_LIBOBJ_ALLOCA, AC_REPLACE_FUNCS): Simplify
${foo} into $foo.
* aclang.m4 (AC_LANG(C), AC_LANG(C++)): Move some internal
comments into the header comment.
* acgeneral.m4 (AC_TRY_CPP): Likewise.
2000-08-07 Akim Demaille <akim@epita.fr>
* tests/tools.m4 (undefined macros): New test.
2000-08-07 Akim Demaille <akim@epita.fr>
* autoconf.sh (finalize.awk): New subtool, eved from the previous
literal AWK program that performed the `oline' and quadrigraphs
substitution.
Fix its `oline' computation which was dead wrong when there are
empty lines (i.e., always).
Enhance it in order to look for and report unexpanded macro.
Don't let it pretend there are bugs in Autoconf (c:, the test
suite makes this scenario pretty unlikely as opposed to an actual
user bug.
Catch `m4_' too.
Remove the shell snippet which used to do this.
2000-08-07 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_MSG_NOTICE): New macro, suggested by Pavel
Roskin.
(AC_MSG_ERROR): Use it.
2000-08-04 Ruediger Kuhlmann <uck4@rz.uni-karlsruhe.de>
* acspecific.m4 (AC_PROG_RANLIB): Use AC_CHECK_TOOL.
* doc/autoconf.texi (Limitations of Usual Tools): Typos.
2000-08-04 Akim Demaille <akim@epita.fr>
Solaris' /usr/ucb/expr, and SunOS' /usr/bin/expr fail with the `:'
operator when \(\) is used, and matches a string longer than 120
characters.
Reported by Geoff Keating.
* doc/autoconf.texi (Limitations of Usual Tools): Some words about
this.
* acgeneral.m4 (_AC_SHELL_DIRNAME): Fall back to echo|sed if expr
fails.
From Paul Eggert.
2000-08-04 Akim Demaille <akim@epita.fr>
* acgeneral.m4: (AC_RUN_IFELSE, AC_LINK_IFELSE, AC_COMPILE_IFELSE):
Don't create the source file if none is given, and in this case,
don't remove it either.
2000-08-04 Akim Demaille <akim@epita.fr>
* libm4.m4 (m4_ifvanl): New macro.
* acgeneral.m4: Use it.
2000-08-02 Akim Demaille <akim@epita.fr>
Release Automake from being a substitute to Autoconf.
* acspecific.m4 (_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H,
_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL, AC_HEADER_TIOCGWINSZ,
AC_SYS_POSIX_TERMIOS): New macros from both Automake and the
fileutils.
2000-08-02 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Recent changes
inverted the results. Fix that.
2000-08-02 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Special Shell Variables): More emphasis on
the dangers of character ranges.
From Paul Eggert.
2000-08-01 Akim Demaille <akim@epita.fr>
* autoheader.sh (_ac_warnings): Be robust to LC_COLLATE.
`IFS=,; echo ,' will give a comma. Take this into account.
2000-08-01 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_PROG_CC): Also try to find $target_alias-cc.
2000-08-01 Akim Demaille <akim@epita.fr>
AC_VALIDATE_CACHED_SYSTEM_TUPLE no longer works properly since the
AC_CANONICAL_* revamping.
Reported by Peter Eisentraut.
In fact, let's just use the precious variables handling.
* acgeneral.m4 (AC_VALIDATE_CACHED_SYSTEM_TUPLE): Obsoleted.
(_AC_ARG_VAR_PRECIOUS): New macro, eved from...
(AC_ARG_VAR): this macro. Adjust.
(_AC_INIT_PREPARE): `build_alias', `host_alias', and
`target_alias' are precious.
* doc/autoconf.texi: Adjust.
2000-08-01 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Neutralize also
LC_COLLATE and LC_NUMERIC.
* autoconf.m4: Don't rely on character ranges with tr.
* doc/autoconf.texi (Special Shell Variables): Adjust.
2000-08-01 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (_AC_LIBOBJ_STRTOD, AC_FUNC_STRTOD,
AM_FUNC_STRTOD): New macros, from Automake.
* acfunctions: Adjust.
2000-08-01 Akim Demaille <akim@epita.fr>
* acidentifiers: Catch ptrdiff_t.
* acspecific.m4 (AM_TYPE_PTRDIFF_T): AU define.
2000-08-01 Akim Demaille <akim@epita.fr>
* autoscan.pl: Be ready to handle AC_CHECK_TYPES requests.
Quote properly the output.
Remove useless backslashes.
2000-08-01 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_ONSTACK): New macro, from
Automake.
* doc/autoconf.texi (Particular Functions): Adjust.
2000-08-01 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_ERROR_AT_LINE): New macro, from
Automake.
* doc/autoconf.texi (Particular Functions): Adjust.
2000-08-01 Akim Demaille <akim@epita.fr>
Create acfunctions.m4, in charge of the macros related to
functions.
* acgeneral.m4 (AC_CHECK_FUNC, AC_CHECK_FUNCS, AC_REPLACE_FUNCS):
Move to...
* acfunctions.m4: here, new file.
* acspecific.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_ALLOCA, AC_FUNC_CHOWN,
AC_FUNC_CLOSEDIR_VOID, AC_FUNC_FNMATCH, AC_FUNC_GETGROUPS,
_AC_LIBOBJ_GETLOADAVG, AC_FUNC_GETLOADAVG, AC_FUNC_GETMNTENT,
AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK,
AC_FUNC_MALLOC, AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP,
AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, _AC_FUNC_STAT,
AC_FUNC_STAT, AC_FUNC_LSTAT, AC_FUNC_STRERROR_R, AC_FUNC_STRFTIME,
AC_FUNC_VFORK, AC_FUNC_VPRINTF, AC_FUNC_WAIT3, AC_FUNC_UTIME_NULL,
AC_FUNC_STRCOLL, AC_FUNC_SETVBUF_REVERSED): Likewise.
* Makefile.am: Adjust.
Move also the old definitions into acfunctions.m4, and adjust the
test suite.
* acgeneral.m4 (AU_ALIAS): New macro.
* acoldnames (AC_FUNC_CHECK, AC_HAVE_FUNCS, AC_ALLOCA,
AC_GETLOADAVG, AC_MMAP, AC_SETVBUF_REVERSED, AC_STRCOLL,
AC_UTIME_NULL, AC_VFORK, AC_VPRINTF, AC_WAIT3, AM_FUNC_FNMATCH,
AM_FUNC_MKTIME, fp_FUNC_FNMATCH): Move to...
* acfunctions.m4: here, using AU_ALIAS.
* acgeneral.m4 (AC_FD_CC, AC_CANONICAL_SYSTEM): Use AU_ALIAS to
define them.
* acoldnames.m4: Use AU_ALIAS instead of AU_DEFUN.
* tests/Makefile.am (MACRO_FILES): Adjust.
2000-08-01 Akim Demaille <akim@epita.fr>
* autoscan.pl: Use Getopt::Long;
* acidentifiers: Classify, sort.
2000-08-01 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_PROG_CXX_GNU, _AC_PROG_CC_GNU, _AC_PROG_F77_GNU):
Use grep instead of egrep, don't redirect stderr.
2000-08-01 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_NOTICE): Adjust so that there are no
empty lines in the header comments (should be `#' alone instead).
Reported by Didier Verna.
2000-08-01 Greg A. Woods <woods@weird.com>
* doc/autoconf.texi (Installation Directory Variables):
Clarifications and typos.
2000-08-01 Didier Verna <didier@lrde.epita.fr>
* acgeneral.m4 (AC_REVISION): Put a dot at the end of the line.
(_AC_INIT_HELP): Output the bug report address at
the end of a `configure --help' output.
(_AC_INIT_NOTICE): Ditto, but at the top of `configure'.
2000-07-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PREPARE_FDS): New macro, pulled out of
(_AC_INIT_PREPARE): here, where it is called from.
* aclang.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't test -z "`foo`".
2000-07-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_DIVERT(INIT_PARSE_ARGS)): Rename as...
(_AC_DIVERT(PARSE_ARGS)): this. Adjust dependencies.
(AC_ARG_WITH): Remove spurious newline.
(AC_ARG_VAR): No longer save precious variables in
ac_configure_args, rather snapshot them twice (one kept
unmodified, another one to be written to/overwritten by the cache
file).
(AC_CACHE_SAVE): Let the cache variables named `ac_cv_env_*'
be overwritten when loading the cache (i.e., don't use the
: ${foo=...} trick).
(_AC_ARG_VAR_VALIDATE): Compare the two snapshots of the precious
variables.
(_AC_INIT_PREPARE): Call it after having loaded the cache file.
2000-07-28 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_LANG_CONFTEST, _AC_PROG_CC_GNU, _AC_PROG_CXX_GNU,
_AC_PROG_F77_GNU): Use ac_ext. Use _ACEOF instead of ACEOF.
2000-07-28 Akim Demaille <akim@epita.fr>
* autoconf.sh (--warnings): Catch `no-category', not `nocategory'.
* autoheader.sh: Likewise.
* acgeneral.m4 (_AC_WARNING_IFELSE): Adjust.
2000-07-28 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Installation Directory Variables): New
section, Eved off from `Preset Output Variables', i.e., was a
small part of it, grew independent, and is its equal (at least).
(Coding Style): `$#' padding.
* Makefile.am (editsh, editpl): Do what the doc says you do: use
@datadir\@ instead of @''datadir''@.
2000-07-28 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_PROG_CC_GNU, _AC_PROG_CXX_GNU,
_AC_PROG_F77_GNU): Use ac_ext. Use ACEOF instead of EOF.
(AC_LANG_CONFTEST): New macro.
(_AC_PROG_CC_G, AC_PROG_CC_C_O, _AC_PROG_CXX_G, AC_PROG_F77_C_O,
_AC_PROG_F77_V_OUTPUT): Use it.
* acgeneral.m4 (AC_TRY_CPP, AC_EGREP_CPP, AC_COMPILE_IFELSE,
AC_LINK_IFELSE, AC_RUN_IFELSE): Likewise.
2000-07-24 Steven G. Johnson <stevenj@alum.mit.edu>
* aclang.m4 (AC_F77_FUNC): New macro to give the user a clean
way of accessing Fortran name-mangling information other than
through CPP, and without having to know the different possible
name-mangling schemes.
* autoconf.texi: Documented AC_F77_FUNC
2000-07-24 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_CHECK_TYPE_BUILTIN_P): Add `off_t' and
`size_t' which are often used too.
Fix a bug which prevents recognition of `bool' and `char'.
(_AC_CHECK_TYPE_MAYBE_TYPE_P): New macro.
(AC_CHECK_TYPE): Use it.
2000-07-19 Peter Eisentraut <peter_e@gmx.net>
* Makefile.am: Remove INSTALL.txt by maintainer-clean target.
2000-07-19 Akim Demaille <akim@epita.fr>
* autoupdate.sh: Typo: s/infile/file/.
2000-07-19 Martin Wilck <martin@tropos.de>
* aclang.m4 (AC_F77_NAME_MANGLING): Obsolete, becomes
_AC_F77_NAME_MANGLING.
(_AC_F77_NAME_MANGLING): Use independent checks for the
name mangling of symbols with and without underscores.
Use algorithm with for loops instead of recursive macro calls.
(AC_F77_WRAPPERS): Adapt to changes in _AC_F77_NAME_MANGLING.
* doc/autoconf.texi (Fortran 77 Compiler Characteristics):
Remove documentation of AC_F77_NAME_MANGLING.
Remove documentation of f77_case and f77_underscore.
Replace AC_F77_FUNC_WRAPPER with AC_F77_WRAPPERS.
2000-07-19 Akim Demaille <akim@epita.fr>
* NEWS: Fresh air.
* TODO: Fresh blood.
2000-07-19 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (autoheader Invocation): Explain the purpose
of autoheader.
2000-07-19 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Various English fixes from Jim.
2000-07-19 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Compilers and Preprocessors, Obsolete
Macros): Don't give boring internal details.
(Language Choice): Typo.
(Limitations of Builtins): Some about `!', `set', `$@'.
(Coding Style): Some about $[@] quotation.
Some about cross-compilation.
2000-07-19 Akim Demaille <akim@epita.fr>
* autoreconf.sh (dir): When verbose, say what are the tools you
will use.
2000-07-19 Akim Demaille <akim@epita.fr>
Warnings related to obsolete constructs should be properly
classified.
* acspecific.m4 (AC_RSH, AC_USG, AC_MEMORY_H, AC_DIR_HEADER,
AC_INT_16_BITS, AC_LONG_64_BITS, AC_STRUCT_ST_BLKSIZE,
AC_STRUCT_ST_RDEV, AC_HAVE_POUNDBANG, AC_ARG_ARRAY): Use
`AC_DIAGNOSE(obsolete, ...)' instead of `AC_WARNING'.
2000-07-19 Akim Demaille <akim@epita.fr>
autoconf -W error does not work.
* acgeneral.m4 (_AC_DIAGNOSE): use _AC_WARNING_IFELSE,
_AC_WARNING_ENABLE is dead.
2000-07-19 Akim Demaille <akim@epita.fr>
Martin Wilck found a Fortran 77 compiler which always exits with
success.
* acgeneral.m4 (AC_COMPILE_IFELSE): Also check that the output
file was created and is nonempty.
2000-07-19 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Introduction): More about CVS, Gnats, the web
pages, and the mailing lists.
2000-07-19 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Prerequisite Macros): Dedocument AC_PROVIDE.
(Coding Style): Move some into...
(Macro Definitions): here.
2000-07-19 Akim Demaille <akim@epita.fr>
The --help message should have paragraphs starting with a title,
the options, and then optionally a small paragraph.
* acgeneral.m4 (AC_DIVERT_ONCE): New macro.
(HELP_VAR_END): New diversion.
(AC_ARG_ENABLE, AC_ARG_WITH, AC_ARG_VAR): Use AC_DIVERT_ONCE.
(AC_ARG_VAR): Follow the --help style.
* acspecific.m4 (AC_PATH_X): Use AC_DIVERT_ONCE.
2000-07-19 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_PROG_CC): Don't require AC_PROG_F77, require
AC_PROG_CC instead.
From Martin Wilck.
(AC_PROG_F77_C_O): Require AC_PROG_F77.
Use a cache variable independent of $F77.
2000-07-19 Akim Demaille <akim@epita.fr>
* autoreconf.sh: Accept --symbolic and -s.
2000-07-19 Akim Demaille <akim@epita.fr>
Make it clear that the regular user does not need --macrodir.
In fact, rename this option as -A, --autoconf-dir.
* autoconf.sh: Complain when -m, --macrodir is used.
Accept -A, --autoconf-dir.
Use $autoconf_dir instead of $AC_MACRODIR.
Adjust --help.
* autoheader.sh: Likewise.
* autoscan.sh: Likewise.
* autoupdate.sh: Likewise.
Use $optarg.
* autoreconf.sh: Likewise.
* doc/autoconf.texi: Adjust.
* tests: Adjust the test suite.
2000-07-19 Akim Demaille <akim@epita.fr>
* autoreconf.sh: Forward --debug to sub tools.
Let them share the same tmp dir.
2000-07-18 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_MING32): Rename as AC_MINGW32.
2000-07-18 Steven G. Johnson <stevenj@alum.mit.edu>
Fixed bug where the F77 compiler output was parsed differently
when detecting the verbose flag than when scanning for linker
options, and as a result the former test failed (under AIX/xlf).
* aclang.m4 (_AC_PROG_F77_V_OUTPUT): New macro to get the
output of linking an F77 program with a given verbose flag,
and preprocess it as required to scan for linker flags.
(_AC_PROG_F77_V): Use the above macro here...
(AC_F77_LIBRARY_LDFLAGS): ...and here, enforcing consistency.
2000-07-17 Martin Wilck <martin@tropos.de>
* autoupdate.sh (autoconf): s,$updated,$tmp/updated,.
2000-07-17 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Configuration Actions): Explain the
behavior of AC_CONFIG_HEADERS and AC_CONFIG_FILES with respect to
absolute and relative filenames, and stdin/stdout.
(config.status invocation): Likewise.
2000-07-17 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Configuration Actions): Explain the
behavior of AC_CONFIG_HEADERS and AC_CONFIG_FILES with respect to
absolute and relative filenames, and stdin/stdout.
(config.status invocation): Likewise.
2000-07-13 Akim Demaille <akim@epita.fr>
Make it easier to trace what autoreconf does.
* autoheader.sh: Be more verbose, and always report your name in
verbose messages.
* autoconf.sh: Likewise.
* autoreconf.sh: Likewise.
(update.sh): Redirect ls' stderr to /dev/null.
2000-07-13 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS): Properly
handle absolute input file names.
From Alexandre Oliva.
2000-07-12 Martin Wilck <martin@tropos.de>
* aclang.m4 (AC_PROG_F77): Delete AC_BEFORE(AC_PROG_CPP) that
leads to unnecessary warnings if both C and Fortran are checked.
(AC_PROG_F77_C_O): AC_REQUIRE AC_PROG_F77 instead of pretend you
need to be AC_BEFORE it.
2000-07-12 Akim Demaille <akim@epita.fr>
* autoconf.sh (_ac_warnings): Fix call to tr.
Reported by Johan Danielsson.
2000-07-11 Martin Wilck <martin@tropos.de>
* aclang.m4 (_AC_PROG_F77_V): New macro to determine the flag that
causes the compiler to output verbose linking information.
(AC_F77_LIBRARY_LDFLAGS): Use _AC_PROG_F77_V instead of
simply "-v"
(AC_F77_LIBRARY_LDFLAGS): New algorithm to parse flags, uses
set/shift shell commands.
(AC_F77_LIBRARY_LDFLAGS): Set FLIBS at end, after determining
ac_cv_flibs.
2000-07-11 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_DEFAULTS) <ac_max_here_lines>: Set to 38
instead of 48, to pass the test on RISC/OS 4.52.
2000-07-11 Akim Demaille <akim@epita.fr>
!*^&$@ sed portability problems... The test on AC_CHECK_TYPES is
failing on RISC/OS 4.52 because of the forget-to-reset-the-flag
bug in its sed.
* acgeneral.m4 (_AC_OUTPUT_HEADERS): Work around this bug.
2000-07-11 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): s/ac_check/ac_cv/.
2000-07-10 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS): Look for
the input files first in $builddir, then $srcdir.
Suggested by Lars J. Aas, designed by Alexandre Oliva.
2000-07-10 Lars J. Aas <larsa@sim.no>
* acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS):
Accept special filename '-' for stdin and stdout.
2000-07-10 Akim Demaille <akim@epita.fr>
Alexandre's suggestions.
* autoreconf.sh (update.sh): Use `ls -1dt' instead of `-lt'.
Use test instead of sed.
<automake>: If automake is used, always run it: it has its own
mechanism not to update if unneeded.
2000-07-10 Akim Demaille <akim@epita.fr>
* acspecific.m4 (_AC_PROG_ECHO): Modernize.
2000-07-10 Akim Demaille <akim@epita.fr>
Stop being ridiculous :*(
* acgeneral.m4 (_AC_SHELL_DIRNAME): When using m4 the argument
is named `$1' not `$dir'.
When using m4 you ought to quote properly.
When using m4, you should check that there are not too many shell
quotes (inside the macro itself, and where it is called).
When you do this, Autoconf, hm, works better.
2000-07-10 Steven G. Johnson <stevenj@alum.mit.edu>
Improve --help documentation of important environment variables.
* acgeneral.m4 (_AC_INIT_HELP): Direct reader to descriptions
of useful variables at the end of the --help.
(AC_ARG_VAR): Emphasize use of environment variables to override
and/or help the configure script. Ensure that a given variable
is only documented once in the --help.
(AC_CHECK_LIB): Call AC_ARG_VAR to document and register the
LDFLAGS variable, and...
(AC_CHECK_HEADER): do the same for the CPPFLAGS variable.
* aclang.m4 (AC_PROG_CC): Call AC_ARG_VAR to document and register
the CC and CFLAGS variables, and do the same for...
(AC_PROG_CXX): CXX and CXXFLAGS, and...
(AC_PROG_F77): F77 and FFLAGS.
2000-07-10 Akim Demaille <akim@epita.fr>
* Makefile.am (wget-update): New target.
(WGET): New variable.
2000-07-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Coding Style): Some more constraints :).
2000-07-10 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_FUNC_STRERROR_R): Aaaaaaarg! Don't leave the
AC_DEFINE inside the AC_CACHE_CHECK.
2000-07-10 Akim Demaille <akim@epita.fr>
* acspecific.m4 (_AC_FUNC_STAT, AC_FUNC_STAT, AC_FUNC_LSTAT): New
macros, from Jim's stat.m4 and lstat.m4 serial 6.
* doc/autoconf.texi (Particular Functions): Document
* acfunctions: Add them.
2000-07-10 Akim Demaille <akim@epita.fr>
AC_LIBOBJ when used by AC_REPLACE_FUNCS should not complain for
variables as argument.
* acgeneral.m4 (_AC_LIBOBJ): Same as the former AC_LIBOBJ, but
takes an additional argument: action to perform when non-literal
argument.
(AC_LIBOBJ): Use it.
(AC_REPLACE_FUNCS): Use _AC_LIBOBJ, not AC_LIBOBJ.
2000-07-10 Akim Demaille <akim@epita.fr>
LANGUAGE should be neutralized too.
* acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Do it.
* doc/autoconf.texi (Special Shell Variables): Mention it.
2000-07-10 Akim Demaille <akim@epita.fr>
Set autoconf's default warnings to `syntax'.
In fact, honor the most recent specification in the concatenation
of `syntax',$WARNINGS,<options> in that order.
Implement support for `none' and `noCATEGORY' so that the options
may override the previous choices.
Suggested by Didier Verna.
* acgeneral.m4 (_AC_WARNING_IFELSE): New macro.
(AC_WARNING_IFELSE): Use this macro to implement the new specs.
(AC_WARNING): The empty category must not be used, default to
`syntax'.
* doc/autoconf.texi (autoconf Invocation, Reporting Messages): Adjust.
* autoconf.sh: Adjust.
Use `optarg' to fetch the arguments of options.
Fix a bug in the handling of `--trace='.
* acgeneral.m4 (AC_CACHE_VAL): Typo: the macro was complaining iff
it shouldn't have.
2000-07-10 Akim Demaille <akim@epita.fr>
* autoreconf.sh (--install, --symlink): New options.
2000-07-10 Akim Demaille <akim@epita.fr>
* autoreconf.sh (dots, aclocal_m4, acconfig_h): Remove.
Adjust dependencies.
When using $verbose, redirect to stderr.
2000-07-10 Akim Demaille <akim@epita.fr>
* autoreconf.sh: Clarify the difference between the location of
`aclocal.m4' and that of the location Autoconf extensions.
(-M, --m4dir): New option.
(aclocal_flags): Do not use $localdir, but $m4dir.
(localdir_opt): Remove, since $autoconf, $autoheader already
include `-l $localdir'.
2000-07-10 Akim Demaille <akim@epita.fr>
* autoconf.sh (task install): We no longer use AC_INCLUDE.
2000-07-10 Akim Demaille <akim@epita.fr>
* acoldnames.m4: Remove the obsolete comments. The technology is
now detailed in `autoupdate'.
Quote the names being defined.
Formatting changes.
2000-07-10 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_DEFUNCT): Remove.
(AC_RSH, AC_UNISTD_H, AC_USG, AC_MEMORY_H, AC_DIR_HEADER,
AC_INT_16_BITS, AC_LONG_64_BITS): They're alive!...
* doc/autoconf.texi (Obsolete Macros): but not fresh.
2000-07-10 Akim Demaille <akim@epita.fr>
* autoreconf.sh (debug): New variable.
(tmp): s/ac/ar/.
<options handling>: Support --debug.
* doc/autoconf.texi: Adjust.
2000-07-10 Akim Demaille <akim@epita.fr>
Fix the bugs recently introduced in autoreconf.
* autoreconf.sh: Don't run automake when the package is not using
it.
When checking whether autoheader should be rerun, don't ask
config.h to be newer than stamp-h and vice-versa.
Remove an unbalanced `fi'.
2000-07-10 Akim Demaille <akim@epita.fr>
* autoreconf.sh (run_aclocal): Rename as `uses_aclocal' to avoid
the convention clash with autoconf.sh where `run_foo' is the
command to run `foo'.
(uses_autoheader): New variable.
2000-07-10 Akim Demaille <akim@epita.fr>
* autoreconf.sh (update.sh): New sub program.
Use it in the whole process.
(acconfig_h): New variable.
2000-07-10 Akim Demaille <akim@epita.fr>
* autoreconf.sh <run_aclocal>: Use false/: instead of no/yes.
Formatting and factoring changes.
2000-07-10 Akim Demaille <akim@epita.fr>
* autoreconf.sh: You too can have a $tmp dir if you wish.
(alflags.sed): New sub sed program.
Compute the flags of aclocal from Makefile.am instead of
Makefile.in, it is unlikely that aclocal be used but not automake,
while it is convenient to be able to run autoreconf even if
automake was not run yet.
Use `autoconf --trace' to get the list of configuration headers.
2000-07-10 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_PLAIN_SCRIPT): New macro.
* tests/base.m4 (m4_wrap, AC_REQUIRE, AC_SHELL_MKDIR_P): Use it.
* autoconf.sh: Properly handle the case where `$output' is `-'
(i.e., stdout).
Handle `-ofile', not just `-o file'.
2000-07-10 Akim Demaille <akim@epita.fr>
* autoreconf.sh: Formatting changes.
When verbose, display exactly what you do, not just a synopsis.
When using `$verbose' don't use quotes to avoid spurious spaces
for empty arguments.
2000-07-10 Akim Demaille <akim@epita.fr>
* autoreconf.sh (force): Instead of yes/no, use :/false.
Adjust the code.
(automake_deps, automake_force): No longer used.
2000-07-10 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_SHELL_DIRNAME): Use an `expr' solution instead
of echo|sed.
From Paul Eggert.
* doc/autoconf.texi (Limitations of Usual Tools): Include the
words from Paul about `|' with expr(1).
2000-07-10 Akim Demaille <akim@epita.fr>
* aclang.m4: Promote s,,, over s%%%, and `sed prog' over `sed -e
prog'.
* acgeneral.m4: Likewise.
* acspecific.m4: Likewise.
* doc/autoconf.texi (Limitations of Usual Tools, Coding Style):
Likewise.
2000-07-10 Akim Demaille <akim@epita.fr>
* autoconf.sh: When using `mktemp -d', be sure that the directory
was created.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise.
2000-07-10 Akim Demaille <akim@epita.fr>
* AUTHORS: Update.
* doc/autoconf.texi: Free Franc,ois Pinard from iftex and ifinfo,
use @,c.
Don't use `@code{m4}' when you mean M4, just as you shall not say
`@code{cc}' when you refer to the C language.
2000-07-10 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)): Set
ac_gnu_compiler.
(_AC_PROG_CC_GNU, _AC_PROG_CXX_GNU, _AC_PROG_F77_GNU): Compute
ac_gnu_compiler.
* acgeneral.m4 (AC_LINKER_OPTION): Adjust.
2000-07-10 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Move the code
processing the result of AC_PROG_CC_G, AC_PROG_CXX_G, and
AC_PROG_F77_G into them.
2000-07-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Multiple Cases, Quotation Rule Of Thumb):
Follow the coding style.
2000-07-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Obsoleting Macros): Is not a subsection of
`Dependencies Between Macros', but rather a section of `Writing
Macros'.
2000-07-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Coding Style): New node.
2000-07-07 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_SHELL_MKDIR_P): s/ac_dir/ac_mkdir_dir/ to avoid
clashes with the numerous ac_dir loops.
Reported by Lars J. Aas.
2000-07-07 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_SHELL_DIRNAME): Return `.', not `' when there
is no directory part.
2000-07-07 Fran�ois Pinard <pinard@iro.umontreal.ca>
* tests/atgeneral.m4 (AT_CHECK): Fix a redirection problem.
2000-07-07 Akim Demaille <akim@epita.fr>
AC_REVISION must not AC_REQUIRE AC_INIT, it leaves the diversions
in a messy state. Don't even try to emulate AC_REQUIRE: just
introduce a diversion just for AC_REVISION, and let the magic
happen.
Fixes Autoconf PR/134, from Raja R Harinath.
* acgeneral.m4 (_AC_DIVERT(REVISION)): New diversion.
(AC_REVISION): Don't require AC_INIT, dump in your diversion.
(_AC_INIT): Delete, inline its body in...
(AC_INIT): here.
(_AC_INIT_NOTICE, _AC_INIT_COPYRIGHT): New macros so that...
(AC_INIT): be more uniform.
(AC_INIT, AC_REVISION, AC_COPYRIGHT): `define', don't AC_DEFUN.
2000-07-07 Martin Wilck <martin@tropos.de>
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Keep -lm, if a Fortran
compiler needs it, it is likely to be required when linking C/C++
with Fortran.
<-YP,*>: Fix the list of arguments to loop on.
Don't mess with the user variable name space.
<ac_ld_run_path>: Prepend LD_RUN_PATH directories with -R only
when running Solaris (without this, link errors occur).
2000-07-06 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_SHELL_DIRNAME): Fix quotation.
2000-07-06 Akim Demaille <akim@epita.fr>
* aclang.m4: Formatting and quotations changes.
2000-07-06 Raja R Harinath <harinath@cs.umn.edu>
* aclang.m4 (AC_LANG_INT_SAVE(C++)): Be a copy of
AC_LANG_INT_SAVE(C), not AC_LANG_INT_SAVE_TRY(C).
Fixes Autoconf PR/133.
2000-07-06 Mo DeJong <mdejong@cygnus.com>
* acgeneral.m4 (_AC_INIT_PARSE_ARGS, AC_CHECK_TOOLS): Change
warning message printed when only --host is given. Fix printing
of multiple compiler cache values, use PATH argument.
* aclang.m4 (AC_LANG_COMPILER_WORKS): Print the cross compile
status, fix problem where two results were printed at once.
2000-07-06 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_SHELL_TMPDIR): Typo.
2000-07-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* acgeneral.m4 (_AC_SHELL_DIRNAME): Behave properly when the
argument has trailing slashes, and when its depth is just one
(`/tmp').
2000-07-06 Lars J. Aas <larsa@sim.no>
* acgeneral.m4 (_AC_SHELL_DIRNAME): New macro.
(_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS):
Use _AC_SHELL_DIRNAME.
2000-07-06 Martin Wilck <martin@tropos.de>
* aclang.m4 (AC_PROG_F77): Add two compilers,
lf95 (Lahey/Fujitsu Fortran) and pgf77 (Portland Group Fortran)
(_AC_PROG_F77_G): Some Fortran compilers produce stdout/stderr
output even if no errors occur - check exit status rather than
output.
2000-07-05 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_SHELL_TMPDIR): When using `mktemp -d', be sure
that the directory was created: under Ultrix 4.3 it just returns
a name, but does not create the directory.
Reported by Christian Krackowizer.
2000-07-03 Lars J. Aas <larsa@sim.no>
* acgeneral.m4 (AC_SHELL_MKDIR_P): New macro.
(_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS,
AC_PROG_INSTALL): Use AC_SHELL_MKDIR_P.
* tests/base.m4 (AC_SHELL_MKDIR_P): Test it.
2000-07-04 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CACHE_LOAD): Be ready to read the cache even
when `.' is not in the PATH.
* doc/install.texi (configure Invocation): Adjust.
2000-06-30 Jim Meyering <meyering@lucent.com>
* acgeneral.m4 (AC_REQUIRE): Tweak a diagnostic.
2000-06-30 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Re-enable the old behavior of --host and --build.
* acgeneral.m4 (build_alias): Set to host_alias if --build is not
given but --host is, and enable cross-compile auto-detection. If
both are, and are different, enable cross compilation.
(AC_CANONICAL_HOST): Adjust help message.
(cross_compiling): Enclose in quotes when testing.
* aclang.m4 (_AC_LANG_COMPILER_WORKS): If cross_compiling is
maybe, set it to yes or no depending on the result of the
execution test.
* doc/autoconf.texi: Document the change.
* doc/install.texi: Likewise.
2000-06-27 Jim Meyering <meyering@lucent.com>
* acspecific.m4 (_AC_LIBOBJ_GETLOADAVG): Put quotes around use of
`$ac_cv_lib_elf_elf_begin', since that variable may not be defined.
From Volker Borchert.
2000-06-26 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Fix various typos.
(Limitations of Usual Tools) <sed>: Anchors and groups.
(Language Choice): Don't mention cross_compiling here, do it...
(Specifying Names) <--host>: here.
(Obsoleting Macros): Don't document AC_DEFUNCT, it's going to be
removed anyway, obsoleted itself by AU_DEFUN.
2000-06-26 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CACHE_VAL): Swap the arguments of `regexp'.
Reported by Alexandre Oliva.
2000-06-26 Akim Demaille <akim@epita.fr>
* autoreconf.sh (automake, aclocal): New variables. Import
$AUTOMAKE and $ACLOCAL.
Pass --verbose to the tools.
Avoid using plenty of variables, just append to existing
variables.
* doc/autoconf.texi: List options in the order --help, --version,
--verbose, --debug, and then specific options.
2000-06-26 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Various Texinfo adjustments.
(Specifying Names): When describing the system triplets, use the
same names as the shell variables.
(System Type Variables): Delete, merge its content into...
(Canonicalizing): here.
Clarify the difference between the `foo_target' and `foo'
variables.
2000-06-26 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PARSE_ARGS, _AC_OUTPUT_CONFIG_STATUS):
s/echo | sed/expr/.
2000-06-26 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CONFIG_LINKS, AC_CONFIG_HEADERS,
AC_CONFIG_COMMANDS, AC_CONFIG_FILES): Use a shell variable instead
of an m4 variable to store what must be done, so that sh
conditionals are honored.
(_AC_OUTPUT_LINKS, _AC_OUTPUT_HEADERS,
_AC_OUTPUT_COMMANDS, _AC_OUTPUT_FILES): Adjust.
* tests/semantics.m4: Test the four AC_CONFIG sisters.
* doc/autoconf.texi (Configuration Actions): Promote the use of
literals, show it works properly with sh conditionals.
2000-06-26 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CACHE_VAL): Too many people put AC_DEFINE in
the commands-to-set-it part of it. Give them a warning.
2000-06-26 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Prerequisite Macros): More about AC_REQUIRE.
2000-06-26 Akim Demaille <akim@epita.fr>
Given better names to the diversions.
* acgeneral.m4 (_AC_DIVERT(NORMAL_2), _AC_DIVERT(NORMAL_3),
_AC_DIVERT(NORMAL_4)): Delete, unused.
(_AC_DIVERT(NORMAL_1), _AC_DIVERT(NORMAL), AC_DIVERT_DIVERSION):
Rename as _AC_DIVERT(PREPARE), _AC_DIVERT(BODY),
_AC_DIVERT_DIVERSION.
2000-06-26 Akim Demaille <akim@epita.fr>
The current implementation of AC_REQUIRE fails on
| AC_DEFUN([TEST1], [REQUIRE([TEST2a])REQUIRE([TEST2b])])
| AC_DEFUN([TEST2a], [])
| AC_DEFUN([TEST2b], [REQUIRE([TEST3])])
| AC_DEFUN([TEST3], [REQUIRE([TEST2a])])
|
| AC_INIT
| TEST1
because it produces TEST3; TEST2a; TEST2b; TEST1.
Fix this bug, implement the solution provided by Axel Thimm,
and test AC_REQUIRE.
* acgeneral.m4: Document this implementation.
(_AC_DEFUN_PRO, _AC_DEFUN_EPI, AC_REQUIRE): Be sure that macros
are emitted in the same order as they are expanded.
(AC_REQUIRE): Forbid being calling out of an AC_DEFUN'd macro (in
particular the top level).
* tests/base.m4 (AC_REQUIRE): New test.
2000-06-26 Akim Demaille <akim@epita.fr>
A macro which is not defined with AC_DEFUN should not be
AC_REQUIRE'd, since it doesn't AC_PROVIDE itself.
* acgeneral.m4 (AC_REQUIRE): Issue a warning when after expansion,
the macro is not AC_PROVIDE'd.
2000-06-26 Akim Demaille <akim@epita.fr>
Various cleanups.
* acgeneral.m4 (AC_PRO, AC_EPI): Rename as _AC_DEFUN_PRO and
_AC_DEFUN_EPI.
Adjust dependencies.
(AC_DEFUN): Remove the not-to-be-released specializing mechanism.
(AC_SPECIALIZE): Remove for the same reasons.
Adjust dependencies.
(_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS, _AC_INIT_VERSION,
_AC_INIT_PREPARE, _AC_CANONICAL_SPLIT, _AC_CHECK_TYPE_NEW,
_AC_CHECK_TYPE_OLD): Define via `define' instead of `AC_DEFUN':
they are not related to AC_REQUIRE in any way.
* acspecific.m4 (AC_PROG_ECHO, _AC_DECL_YYTEXT, _AC_PATH_X_XMKMF,
_AC_PATH_X_DIRECT): Define via `define' instead of `AC_DEFUN'.
2000-06-19 Steven G. Johnson <stevenj@alum.mit.edu>
* acgeneral.m4 (AC_CHECK_TOOL): Use two variables in order to
avoid cache variable conflicts between AC_CHECK_PROG invocations.
(AC_PATH_TOOL): Fix same bugs as in 6/9/00 fixes to AC_CHECK_TOOL.
Pass correct arguments to AC_CHECK_PATH (different from
AC_CHECK_PROG). Use AC_CHECK_PATH cache variable, not
AC_CHECK_PROG var, and use two variables for two invocations as
above. Quote AC_CHECK_* args.
2000-06-16 Akim Demaille <akim@epita.fr>
The test suite reveals AC_OUTPUT_MAKE_DEFS fails on RISC/OS.
* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS) <confdef2opt.sed>: Reset the
t flag between each cycle.
* doc/autoconf.texi (Limitations of Usual Tools): Some about the t
flag in sed.
2000-06-16 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_EXEEXT, AC_OBJEXT): Don't obsolete them, let
them be empty, so that Automake still provide support for $(EXEEXT).
2000-06-15 Akim Demaille <akim@epita.fr>
* autoconf.sh (option handling): Give a more understandable
message when an option is missing its argument.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* autoheader.sh: Likewise.
2000-06-13 Akim Demaille <akim@epita.fr>
`./config.status -d' is buggy.
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Remove the `shift' in
--debug.
* doc/autoconf.texi (Limitations of Builtins): Some about shift.
2000-06-13 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Caching Results): Bigger warning about the
extremely frequent action-in-commands bug.
Move the documentation of AC_CACHE_SAVE and AC_CACHE_LOAD...
(Cache Files): into here.
2000-06-09 Steven G. Johnson <stevenj@alum.mit.edu>
* acgeneral.m4 (AC_CHECK_TOOL): Even if VALUE-IF-NOT-FOUND is not
specified, we should still check whether PROG-TO-CHECK-FOR
actually works before returning it when the prefixed program is
not found. Also, fixed a bug where it failed to pass the PATH
argument in the second call to AC_CHECK_PROG.
2000-06-09 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_TOOLS): Rewrite.
2000-06-09 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi: Use `@option' for options, not `@samp' nor
`@code'.
* doc/install.texi: Likewise.
2000-06-09 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Don't require AC_CYGWIN.
(AC_F77_NAME_MANGLING): Removed useless comment.
(_AC_PROG_F77_GNU): Use `.f' not `.fpp' which is not properly
processed by Abysoft's Fortran compiler.
2000-06-09 Steven G. Johnson <stevenj@superjdj.mit.edu>
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fixed bug where
compiler output to stdout was not caught and interpreted.
2000-06-09 Akim Demaille <akim@epita.fr>
`autoconf --trace' dies on filenames with `:'.
Reported by Mark Elbrecht.
* autoconf.sh <trace> (trace2m4.sed): Use `..*' instead of
`[^:][^:]*' to catch file names. The rest of regex is probably
precise enough to avoid incorrect parsing.
2000-06-09 Akim Demaille <akim@epita.fr>
* acspecific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE): Always initialize
$3 to no.
2000-06-08 Paul Eggert <eggert@twinsun.com>
Import AC_SYS_LARGEFILE from largefile.m4 serial 12.
* acspecific.m4 (AC_SYS_LARGEFILE, _AC_SYS_LARGEFILE_MACRO_VALUE,
_AC_SYS_LARGEFILE_SOURCE): New.
* doc/autoconf.texi (System Services): Document AC_SYS_LARGEFILE.
2000-06-08 Steven G. Johnson <stevenj@alum.mit.edu>
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Don't override FLIBS if
specified by the user.
Fix a bug: use the cached value to set FLIBS.
2000-06-07 Dave Love <fx@gnu.org>
* aclang.m4 (AC_PROG_F77): Check for f95 and fc too.
2000-06-07 Philippe De Muyter <phdm@macqel.be>
`foo=1 foo=2 cmd' has an undefined behavior.
* acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Do not put two shell
variable assignments in one shell command.
* doc/autoconf.texi (Shell Substitutions): Document.
2000-06-07 Steven G. Johnson <stevenj@alum.mit.edu>
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fix problem on Cray due to
confusion from the link command getting echoed in quotes. In the
future, a more general fix for quoted arguments with spaces might
be better.
2000-06-07 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Builtins): More on `test' and
`case'.
Some on `if' and `break'.
2000-06-07 Morten Eriksen <mortene@sim.no>
* acspecific.m4 (_AC_PATH_X_DIRECT): Include `X11/Intrinsic.h'
when trying to use `XtMalloc' to actually have a chance of
succeeding.
2000-06-07 Akim Demaille <akim@epita.fr>
Hard (code) X.
* acspecific.m4 (_AC_PATH_X_DIRECT): Hard code `X11/Intrinsic.h'
instead of using `ac_x_direct_test_include', likewise for `Xt' and
`ac_x_direct_test_lib', `XtMalloc' and
`ac_x_direct_test_function'.
2000-06-07 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_PATH_X): Use AC_DIVERT.
Use `no', not `NO' for ac_x_includes and ac_x_libraries.
Adjust dependencies.
(_AC_PATH_X_DIRECT): Introduce ac_x_header_dirs to factor the list
of places where headers and libs might be.
(AC_PATH_XTRA): Don't quote the argument of `case'.
2000-06-07 Jim Meyering <meyering@lucent.com>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Put the expansion of
AC_LIST_LINKS in an unquoted `here'-document.
2000-06-06 Akim Demaille <akim@epita.fr>
* tests/aclocal.m4 (AC_ENV_SAVE): Skip `no_x'.
From Mark Elbrecht.
2000-06-05 Mo DeJong <mdejong@cygnus.com>
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Move the setting
of ac_tool_prefix before the call to AC_DIVERT_POP.
2000-06-05 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_TOOL_PREFIX): AU define it.
Suggested by Mo DeJong.
2000-06-05 Steven G. Johnson <stevenj@alum.mit.edu>
* aclang.m4 (AC_C_CHAR_UNSIGNED): Use the new compiler-test
technology so that we can do the test via compilations only. Also
use (char) -1 instead of (char) 255 to check if char is unsigned.
2000-05-28 Jim Meyering <meyering@lucent.com>
* acspecific.m4 (AC_FUNC_STRERROR_R): Call strerror_r with 2nd arg
of type char*, not int. Suggestion from Paul Eggert.
* doc/autoconf.texi (Particular Functions): Give better description of
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK. From Paul Eggert.
2000-05-26 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools): Document `ln -s'
on DJGPP, based on the comments from Mark Elbrecht.
2000-05-26 Akim Demaille <akim@epita.fr>
* autoreconf.sh (autoconf, autoheader): Be more conscientious when
looking for the executable.
* autoupdate.sh: Likewise.
* autoheader.sh: Likewise.
Suggested by Alexandre Oliva.
2000-05-26 Akim Demaille <akim@epita.fr>
Thanks to --program-transform-name, `autoconf' might be install as
`yo-man-i-am-the-all-mighty-AVt0c0nF-eh-eh'. But when
`yo-man-i-am-the-all-mighty-AVt0h3Ad3R-eh-eh' and the other tools
want to trace, they might stupidly invoke the program named
`autoconf' instead. Pfff, stupid scripts :)
* Makefile.am (editsh): Transfer the names of the install
`autoconf' and `autoheader'.
* autoconf.sh: Add a missing period at the end of the comment
# Parse command line
Make sure to have a ChangeLog much longer than the patch.
* autoheader.sh: Use the right `autoconf'.
* autoupdate.sh: Likewise.
* autoreconf.sh: Likewise, and for `autoheader' too.
Simplify the handling of localdir and AC_MACRODIR.
* ifnames.sh: Formatting changes.
2000-05-25 Steven G. Johnson <stevenj@alum.mit.edu>
Don't use f2c as a possible Fortran compiler, since by itself it
cannot produce object code.
* aclang.m4 (AC_PROG_F77): Remove f2c from the search list.
* doc/autoconf.texi: Excise mentions of f2c in AC_PROG_F77 docs.
2000-05-26 Mark Elbrecht <snowball3@bigfoot.com>
Currently, AC_PROG_LN_S incorrectly reports yes with DJGPP. This
is because the DJGPP `ln' emulates soft links for executables by
generating a stub that in turn calls the real program. This
feature also works with nonexistent files like in the Unix
spec. So `ln -s X conftestdata' will generate `conftestdata.exe'
which will attempt to call 'X.exe'. But this feature only works
for executables. Fix it.
* acspecific.m4 (AC_PROG_LN_S): Create a sample file and use it to
test `ln -s'.
2000-05-26 Ossama Othman <ossama@ece.uci.edu>
* aclang.m4 (AC_PROG_CXX): Look for aCC before CC.
2000-05-26 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_FUNC_STRERROR_R): New, from `strerror_r.m4',
serial 2, by Jim Meyering.
(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): New, from
`lstat-slash.m4', serial 1, by Jim Meyering.
* acfunctions: Adjust.
2000-05-26 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_TOOLS): Don't require
AC_CHECK_TOOL_PREFIX, it's dead.
2000-05-26 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Simplify all the
case "$switch" in
into
case $switch in
* acspecific.m4: Likewise.
* aclang.m4: Likewise.
2000-05-26 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_TOOL_PREFIX): Remove.
Adjust dependencies.
(_AC_INIT_PARSE_ARGS): Set ac_tool_prefix.
2000-05-26 Akim Demaille <akim@epita.fr>
In `info', it is easier to type `autoconf <TAB>' to reach the list
of options, that `Invoking autoc<TAB>'.
* doc/autoconf.texi: s/Invoking foo/foo Invocation/.
2000-05-26 Akim Demaille <akim@epita.fr>
Merge `Upgrading' and `Obsolete Constructs' together.
* doc/autoconf.texi (Obsolete Constructs): Move right after
`Recreation a Configuration.
(Invoking autoupdate): Be a subsection of
`Obsolete Constructs'.
(Upgrading): Demote from chapter to section.
Be a section of `Obsolete Constructs'.
Rename as `Autoconf 1'.
2000-05-26 Akim Demaille <akim@epita.fr>
Find a means to extract integers from the compiler.
Use this technology to compute `sizeof' even when cross-compiling.
Ideas and initial suggestion by Kaveh Ghazi.
Binary search by Bruno Haible.
* aclang.m4 (AC_LANG_BOOL_COMPILE_TRY,
AC_LANG_BOOL_COMPILE_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C++),
AC_LANG_INT_SAVE, AC_LANG_INT_SAVE(C), AC_LANG_INT_SAVE(C++)): New
macros.
* acgeneral.m4 (_AC_COMPUTE_INT_COMPILE, _AC_COMPUTE_INT_RUN,
_AC_COMPUTE_INT): New.
(AC_CHECK_SIZEOF): Use them.
Check whether the type exists beforehand.
* tests/semantics.m4 (AC_CHECK_SIZEOF): Strengthen.
2000-05-26 Ossama Othman <ossama@ece.uci.edu>
* aclang.m4 (AC_PROG_CXX): Look for aCC KCC RCC xlC_r xlC.
s/c++ g++/g++ c++/.
* doc/autoconf.texi (Compilers and Preprocessors): Adjust.
2000-05-26 Akim Demaille <akim@epita.fr>
No library nor special privilege is needed to run `getloadavg'
under FreeBSD.
Reported by Alec Wolman.
* acspecific.m4 (AC_FUNC_GETLOADAVG): Check for `getloadavg'
without any additional library.
Fixes Autoconf/109.
2000-05-26 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools, Limitations of
Builtins): Integrate comments from Paul Eggert and Jim Meyering.
Add the sed limitation discovered by Philippe De Muyter.
Fix a typo spotted by Pavel Roskin.
2000-05-25 Akim Demaille <akim@epita.fr>
The test suite needs GNU m4.
Reported by Bob Friesenhahn.
* tests/atconfig.in (M4): Set it.
* tests/base.m4: Use it.
2000-05-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Don't use negated character
classes with `case'. Use `expr' instead.
Suggested by Paul Eggert.
* doc/autoconf.texi (Limitations of Builtins): Explain expr, the
`x' trick, and negated character classes.
2000-05-24 Didier Verna <didier@lrde.epita.fr>
* acgeneral.m4 (AC_INIT): Call _AC_PACKAGE before _AC_INIT.
2000-05-24 Ossama Othman <ossama@debian.org>
* aclang.m4 (AC_LANG(C++)): Change `ac_ext' from from `C' to `cc'
to avoid potential ambiguities on case-insensitive shells.
2000-05-24 Mo DeJong <mdejong@cygnus.com>
Have --host=sun4 automatically look for CC=sun4-cc etc.
* acgeneral.m4 (AC_CHECK_TOOLS): New.
* aclang.m4 (AC_PROG_CXX, AC_PROG_CC, AC_PROG_F77): Use new
AC_CHECK_TOOLS macro instead of AC_CHECK_PROGS so that a cross
compiler is found by default with --host.
* doc/autoconf.texi (Generic Programs, Manual Configuration):
Describe new AC_CHECK_TOOLS macro. Fix unclear working about
AC_CHECK_PROGS.
* tests/Makefile.am (FILTER_MACROS): Adjust.
2000-05-24 Akim Demaille <akim@epita.fr>
The night of the living dead...
* acspecific.m4 (AC_XENIX_DIR, AC_DYNIX_SEQ, AC_IRIX_SUN,
AC_SCO_INTL): Wake up a few zombies.
* doc/autoconf.texi: Adjust.
* tests/aclocal.m4 (AC_ENV_SAVE): Likewise.
2000-05-24 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_LANG_FUNC_LINK_TRY, AC_LANG_FUNC_LINK_TRY(C),
AC_LANG_FUNC_LINK_TRY(C++)): New macros.
(AC_CHECK_FUNC): Use it, together with AC_LINK_ELSE.
2000-05-24 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_FUNC_VFORK): Quote properly.
(AC_FUNC_STRFTIME, AC_FUNC_VFORK, AC_FUNC_VPRINTF): Don't use
AC_DEFINE, just use the AC_CHECK_*S macro.
2000-05-24 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_WHICH_A): Replace it with...
(AC_SHELL_PATH_WALK): this.
(AC_CHECK_PROG, AC_PATH_PROG): Use it.
2000-05-24 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Builtins): Document `unset'.
(Special Shell Variables): Adjust.
(Shellology): New section. Introduce bash and zsh.
(Special Shell Variables): Some data on NULLCMD.
(Quotation Thumb Rule): Rename as
(Quotation Rule of Thumb): this.
* acgeneral.m4 (AC_SHELL_UNSET): Remove.
(AC_SHELL_UNSETENV): Rename as...
(AC_SHELL_UNSET): this.
(_AC_INIT_PREPARE_ENVIRONMENT): Prepare bash and zsh.
Adjust to AC_SHELL_UNSET.
2000-05-24 Akim Demaille <akim@epita.fr>
The options --build etc. used to set `$build'. *If*
AC_CANONICAL_SYSTEM was run, then the value of `$build' given by
the user was saved into `$build_alias', and `$build' was
normalized using `config.sub'.
Now, let `--build' set `$build_alias' so that scripts with or
without `AC_CANONICAL_BUILD' have the same semantics. This allows
to use `AC_CHECK_TOOL' without requiring `config.guess' and
`config.sub' (which was bizarre anyway).
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): --build, --host and --target
set `build_alias' etc.
After the option handling, set host to $host_alias etc. for
bugward compatibility.
(AC_CANONICALIZE): Mutate into...
(_AC_CANONICAL_SPLIT): this, which does not canonicalize, it just
computes `$foo_os' etc.
(_AC_CANONICAL_THING): Remove, too confusing.
(AC_CANONICAL_BUILD): Adjust.
Do not assign any value to `build_alias', just compute `build', and
`build_{cpy, vendor, os}'.
(AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Likewise.
(AC_CHECK_TOOL_PREFIX): Fire your rule when `$host_alias' is
given, not when `$host != $build'.
* acgeneral.m4 (sinclude): Fix typo.
2000-05-23 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Builtins): More details on
`test -n ='.
2000-05-23 Akim Demaille <akim@epita.fr>
Simplify the interface: users shouldn't need to explicitly check
for special environments.
* acspecific.m4 (AC_EXEEXT, AC_OBJEXT): AU defined to
nothing. Replace them by...
(_AC_EXEEXT, _AC_OBJEXT): this.
* aclang.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Call them.
(AC_PROG_CC_G, AC_PROG_CXX_G, AC_PROG_F77_G): Rename as...
(_AC_PROG_CC_G, _AC_PROG_CXX_G, _AC_PROG_F77_G): this.
Adjust dependencies.
* tests/Makefile.am (FILTER_MACROS): Adjust.
* doc/autoconf.texi (Compilers and Preprocessors): New section,
move the documentation of AC_PROG_CC, AC_PROG_CC_C_O,
AC_PROG_CC_STDC, AC_PROG_CPP, AC_PROG_CXX, AC_PROG_CXXCPP,
AC_PROG_F77, AC_PROG_F77_C_O, AC_PROG_GCC_TRADITIONAL here.
Factor the comment documentation of AC_PROG_CC, AC_PROG_CXX,
AC_PROG_F77.
2000-05-23 Akim Demaille <akim@epita.fr>
Modernize AC_EXEEXT and AC_OBJEXT.
Now work with other languages than C and C++.
* acspecific.m4 (AC_EXEEXT, AC_OBJEXT): Use
AC_COMPILE_IFELSE/AC_LINK_IFELSE and AC_LANG_PROGRAM instead of
ad hoc code.
Use `$ac_ext' instead of listing `.c', `.C' etc.
Use AC_CACHE_CHECK.
* doc/autoconf.texi (System Services): Adjust.
2000-05-23 Akim Demaille <akim@epita.fr>
Simplify the interface: users shouldn't need to explicitly check
for special environments.
* acspecific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32): AU defined to
nothing. Replace them by...
(_AC_CYGWIN, _AC_EMXOS2, _AC_MINGW32): these, which are
automatically called by...
(AC_EXEEXT): this.
* doc/autoconf.texi (System Services, Obsolete Macros): Adjust.
2000-05-23 Akim Demaille <akim@epita.fr>
AC_PROG_GNU_M4 should actually be private to the package
Autoconf.
* acspecific.m4 (AC_PROG_GNU_M4): Move to...
* m4/m4.m4: here.
* m4/Makefile.am (EXTRA_DIST): Adjust.
* doc/autoconf.texi (Particular Programs): Adjust.
2000-05-23 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Exiting from Shell Scripts): Move contents
into...
(Limitations of Builtins): this new node.
Document limitations of `exit', `export' and `case'.
Welcome the documentation of `test' from...
(Limitations of Usual Tools): here.
2000-05-22 Akim Demaille <akim@epita.fr>
Load the additions *before* running AC_INIT.
This is important if you want to redefine AC_INIT or some of its
sub macros (eeerk!), or if you want to use user defined macros
before AC_INIT.
Suggested by Didier Verna.
* acgeneral.m4 (_AC_INIT): Don't include `acsite.m4' and
`aclocal.m4'.
* autoconf.sh (run_m4, run_m4f): Do it.
2000-05-22 Akim Demaille <akim@epita.fr>
Reading the ChangeLog revealed that the recent update of
AC_FUNC_GETLOADAVG introduced a bug which already happened (see
Mon Nov 11 18:02:58 1996 David J MacKenzie).
* acgeneral.m4 (AC_CHECK_LIB): Use a less tempting name:
s/ac_save_LIBS/ac_check_lib_save_LIBS/.
2000-05-22 Akim Demaille <akim@epita.fr>
* acspecific.m4 (_AC_LIBOBJ_ALLOCA): New macro, extracted from...
(AC_FUNC_ALLOCA): here. Adjust.
2000-05-22 Akim Demaille <akim@epita.fr>
Add `configure --config-cache', `-C' as a shortcut for
`--cache-file=config.cache'.
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Let `configure' support
`--config-cache' and `-C'.
Report them in `--help'.
Fix the display of missing argument.
(_AC_OUTPUT_SUBDIRS): Adjust.
* doc/install.texi (Invoking configure): Rename the node as
(Running configure scripts): this, the name of the chapter.
(Operation Controls): Rename as...
(Invoking configure): this.
Document the new options.
* doc/autoconf.texi (direntry): Huh? What is this `aclocal' doing
here? Point to `Invoking configure'.
(Cache Files): No need to document the disabling of the cache.
2000-05-22 Mark Elbrecht <snowball3@bigfoot.com>, Eli Zaretskii <eliz@gnu.org>
More MS-DOS support.
* acgeneral.m4 (_AC_OUTPUT_FILES): Fix the computation of
`ac_file_inputs' for `$ac_given_srcdir' containing a colon.
(AC_CHECK_MEMBERS, AC_PATH_PROG): s/ac_save_ifs/ac_save_IFS/.
2000-05-22 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_FUNC_CHOWN): New macro, based on Jim
Meyering's `chown.m4' serial 4.
(AC_FUNC_GETGROUPS): New macro, based on Jim Meyering's
`getgroups.m4' serial 3.
(AC_FUNC_MEMCMP): Updated, based on Jim Meyering's `memcmp.m4'
serial 3.
(AC_FUNC_MALLOC): New macro, based on Jim Meyering's
`malloc.m4' serial 3.
(AC_FUNC_MMAP): Include `stdlib.h' when `STDC_HEADERS'.
* acfunctions: Sort.
Add `chown' and `malloc', point `getgroups' to `AC_FUNC_GETGROUPS'
instead of `AC_TYPE_GETGROUPS'.
* doc/autoconf.texi (Particular Functions): Adjust.
2000-05-22 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Quote the names being m4-defined.
* acspecific.m4: Likewise.
* aclang.m4: Likewise.
2000-05-22 Akim Demaille <akim@epita.fr>
Factor the AC_PROG_<compiler>_WORKS macros.
* acgeneral.m4 (_AC_INIT_DEFAULTS): Set `cross_compiling'.
(AC_TRY_COMPILER): Remove.
* aclang.m4 (AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS,
AC_PROG_F77_WORKS): Removed.
(_AC_LANG_COMPILER_WORKS): New macro.
(AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Adjust.
2000-05-22 Akim Demaille <akim@epita.fr>
* aclang.m4: Formatting changes.
2000-05-22 Akim Demaille <akim@epita.fr>
More than one argument to `configure' builds a broken
`config.status'. Fix and test.
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Use
`$ac_configure_args' directly, not via a tmp variable.
* tests/torture.m4 (command line interface): Test with more than
one argument.
2000-05-19 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_MSG_WARN): s/warning/WARNING/.
* autoheader.sh: Likewise.
From Fran�ois Pinard.
2000-05-19 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_PACKAGE): Rename as _AC_INIT_PACKAGE.
(AC_INIT): Dispatch arguments either to _AC_INIT_PACKAGE or
to AC_CONFIG_SRCDIR.
(AU::AC_INIT): New.
* configure.in: Adjust.
Use `#', not `dnl'.
* doc/autoconf.texi (configure.in Layout): Document the new form
of AC_INIT.
Document AC_CONFIG_SRCDIR.
(Obsolete Macros): Document the old one.
2000-05-19 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Simplify all the unjustified `[\$]foo' into
`\$foo', the quotes are needed only for `\$[1]', `\$[@]' etc.
Prefer `$$1' to `[$]$1', `$foo' to `[$]foo', `$[1]' to `[$]1' etc.
* aclang.m4: Likewise.
* acspecific.m4: Likewise.
2000-05-19 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_TRY_COMPILER): Fix quotation.
2000-05-19 Akim Demaille <akim@epita.fr>
Fix Autoconf/123.
* libm4.m4: Rename `symbols' as `m4_symbols'.
2000-05-19 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_PROG_CC_GNU, AC_PROG_CXX_GNU, AC_PROG_F77_GNU):
Rename as:
(_AC_PROG_CC_GNU, _AC_PROG_CXX_GNU, _AC_PROG_F77_GNU): these.
Compute the value of GCC, GXX and G77 here.
Set to `no' (instead of empty) if not the GNU compiler.
(AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Adjust.
* doc/autoconf.texi: Adjust.
2000-05-19 Akim Demaille <akim@epita.fr>
Fix Autoconf/106.
* aclang.m4 (AC_PROG_F77): Follow strictly the same scheme as
AC_PROG_CC to compute the default FFLAGS.
2000-05-19 Akim Demaille <akim@epita.fr>
Either we cross-compile the whole package, or we don't.
Using --host enables cross-compilation.
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): `--host' enables cross
compilation.
(AC_CANONICAL_BUILD): The help string should explicitly mention
cross compilation.
* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)): Don't
set `cross_compiling'.
(AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Run your `WORK' partner
only if not cross-compiling.
(AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS, AC_PROG_F77_WORKS):
If does not work, don't assume an implicit cross-compilation:
fail.
* doc/autoconf.texi: Adjust.
2000-05-19 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_SHELL_UNSETENV, AC_SHELL_UNSET): Add the
missing quotes.
2000-05-19 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Prefer
case $foo in
*[^-a-zA-Z0-9_]*) AC_ACTION;;
esac
over
if echo "$foo" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
AC_ACTION
fi
2000-05-19 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Testing Values and Files): Delete, move its
content into...
(Limitations of Usual Tools::test): here.
Document more limitations.
2000-05-19 Akim Demaille <akim@epita.fr>
* acspecific.m4 (_AC_LIBOBJ_GETLOADAVG): New macro, extracted from
(AC_FUNC_GETLOADAVG): here.
Use it.
2000-05-19 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_SPECIALIZE): Avoid a useless `indir'.
(AC_CHECK_MEMBER, AC_CHECK_MEMBERS): Fix to work properly on
`struct f.g.h'.
* acspecific.m4 (AC_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS and
AC_CHECK_MEMBERS instead of performing their task by hand.
2000-05-19 Akim Demaille <akim@epita.fr>
Synchronize AC_FUNC_GETLOADAVG with the version of the shellutils
1.16f (serial 4).
* acspecific.m4 (AC_FUNC_GETLOADAVG): Check for
`pstat_getdynamic'.
Define `C_GETLOADAVG' if compiling `getloadavg.c'.
Check for NLS.
Compute `GETLOADAVG_LIBS'.
(AC_FUNC_MKTIME): Remove a forgotten `AC_SUBST(LIBOBJS)'.
2000-05-19 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_SHELL_UNSET, AC_SHELL_UNSETENV): New macro.
(_AC_INIT_PREPARE_ENVIRONMENT): Use AC_SHELL_UNSETENV.
Set CDPATH. Fixes Autoconf/96.
* doc/autoconf.texi (Special Shell Variables): New node.
Document `status', `CDPATH', `LANG', `LC_ALL', `LC_MESSAGES' and
`LC_CTYPE'.
2000-05-12 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (sinclude): Define, some packages (binutils) need
it.
2000-05-12 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Invoking config.status): Move the
documentation of the envvar CONFIG_(FILES, HEADERS, COMMANDS,
LINKS) to
(Obsolete config.status Use): here.
2000-05-12 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Exiting from Shell Scripts): New node.
(Autoconf Language): Follow the advice in the new node.
2000-05-12 Peter Eisentraut <peter_e@gmx.net>
* doc/autoconf.texi: Fix typos.
2000-05-11 Akim Demaille <akim@epita.fr>
AC_CONFIG_SUBDIRS needs two lists: one, ac_subdirs_all, which
contains all the possible subdirs for `--help=recursive', and
another, `subdirs' which can be built dynamically for launching
sub configurations.
* acgeneral.m4 (AC_CONFIG_SUBDIRS): Define `subdirs' dynamically.
Define `ac_subdirs_all' statically.
Warn if the argument is not a literal.
(AC_LIST_SUBDIRS): Rename as...
(_AC_LIST_SUBDIRS): this.
(_AC_INIT_HELP): Loop over `ac_subdirs_all', not `subdirs'.
(_AC_OUTPUT_SUBDIRS): Loop over `subdirs', not `AC_LIST_SUBDIRS'.
* doc/autoconf.texi (Subdirectories): Adjust.
* acgeneral.m4: Replace all the `test ! -d foo && bar' with
`test -d foo || bar'.
* Makefile.am (.m4.m4f): Stop hiding what you're doing.
Don't check for GNU m4, let it die.
2000-05-11 Akim Demaille <akim@epita.fr>
The Associated Rewriters are even prouder to present...
.
|
|
/-\
/ \
)===( U T O U P D A T E I V
// \\
=========
_//_ _\\_ The ``Eiffel Tower'' Release
* autoupdate.sh: Complete rewrite. See that file for a detailed
explanation. Basically, simulate the name spaces thanks to
`autoconf --trace' and auxiliary files.
No longer use `autoupdate.m4', remove the dependencies.
Synchronize the options and `--help'.
* doc/autoconf.texi (Invoking autoupdate): Humanoupdate.
* autoupdate.m4: Delete.
* tests/Makefile.am (FILTER_MACROS): Add `AC_OUTPUT'.
Since `AC_OUTPUT' is now AU_DEFUN'd, it is extracted for testing,
while it was not before.
* tests/tools.m4 (autoupdate): Re-enable. Adjust the expected
output with the right quotation (yeah!).
Pass `-m $top_srcdir': autoupdate wants the `.m4' files, not the
frozen files.
* Makefile.am (nodistpkgdataDATA): Move `acversion.m4' to
(distpkgdataDATA): here, so that all the `.m4' files are in the
source hierarchy, not split across src and build.
* acversion.m4.in: Update to today's standards.
* Makefile.am: Adjust.
2000-05-11 Akim Demaille <akim@epita.fr>
* libm4.m4: Be robust to multiple inclusion.
Have the first `changequote' robust to the current quotation
system.
Always quote the first argument of `define'.
2000-05-11 Akim Demaille <akim@epita.fr>
The Associated Rewriters are proud to present...
^
/ \ U T O U P D A T E I I I
/===\
/ \ It bells, It whistles...
* autoupdate.sh: Complete rewrite. See that file for a detailed
explanation.
* acgeneral.sh: Don't use AU_DEFINE, but AU_DEFUN.
(AC_OUTPUT_COMMANDS_CNT): Renamed as...
(_AC_OUTPUT_COMMANDS_CNT): this.
2000-05-11 Akim Demaille <akim@epita.fr>
Get rid of the m4 name spaces.
* libm4.m4 (m4_changequote, m4_define, m4_defn, m4_dnl, m4_indir,
m4_popdef, m4_pushdef, m4_undefine, m4_namespace_push,
m4_namespace_pop, m4_namespace_register, m4_namespace_define,
m4_disable, m4_enable): Removed.
All dependencies adjusted.
* libm4.m4: Remove all the name space initialization.
* acgeneral.m4: Adjust.
(AU_DEFINE): Redefine as `AC_DEFUN'.
* autoupdate.m4: Adjust.
* tests/tools.m4: Temporarily disable the `autoupdate' test.
2000-05-11 Akim Demaille <akim@epita.fr>
Eradicate AC_TRY_COMPILE.
* aclang.m4 (AC_PROG_CC_STDC, AC_C_BIGENDIAN, AC_C_INLINE,
AC_C_CONST, AC_C_VOLATILE, AC_F77_NAME_MANGLING): Use
`AC_COMPILE_IFELSE'.
* acspecific.m4 (AC_DECL_SYS_SIGLIST, _AC_CHECK_HEADER_DIRENT,
AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_TYPE_SIGNAL,
AC_FUNC_GETLOADAVG, AC_FUNC_SELECT_ARGTYPES, AC_STRUCT_TM,
AC_CYGWIN, AC_MINGW32, AC_EMXOS2): Likewise.
* tests/semantics.m4 (C keywords): Check that AC_C_CONST,
AC_C_VOLATILE, and AC_C_INLINE function properly with GCC.
2000-05-11 Akim Demaille <akim@epita.fr>
Replace AC_LANG_SAVE/AC_LANG_RESTORE with AC_LANG_PUSH/AC_LANG_POP.
* aclang.m4 (_AC_LANG_CURRENT, AC_LANG_STACK): You two are the same
thing, which now we shall name `_AC_LANG'.
All users adjusted.
(AC_LANG_PUSH, AC_LANG_POP): New macros.
(AC_LANG_SAVE, AC_LANG_RESTORE): AU defined.
(AC_PROG_CC_WORKS, AC_PROG_CXXCPP, AC_PROG_CXX_WORKS,
AC_PROG_F77_WORKS, AC_F77_LIBRARY_LDFLAGS, AC_F77_NAME_MANGLING):
Use them.
(AC_F77_LIBRARY_LDFLAGS): Move the requirements to its top.
* doc/autoconf.texi (Language Choice): Document them.
(Old Macros): Welcome AC_LANG_SAVE and AC_LANG_RESTORE.
2000-05-11 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Less adventurous use of
`test'.
Fixes Autoconf/108.
2000-05-11 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Particular Headers): Some more sorting.
Use `@multitable'.
2000-05-11 Akim Demaille <akim@epita.fr>
* acspecific.m4 (_AC_CHECK_HEADER_DIRENT): Use more modern
Autoconf idioms.
(_AC_CHECK_HEADERS_DIRENT): Removed, instead...
(AC_HEADER_DIRENT): Handle the loop.
2000-05-11 Akim Demaille <akim@epita.fr>
Provide a means to track the dependencies of files created by
`configure'.
* acgeneral.m4 (AT_FILE_DEPENDENCY, _AC_CONFIG_DEPENDENCY,
_AC_CONFIG_DEPENDENCIES): New macros.
(AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Use them.
2000-05-11 Akim Demaille <akim@epita.fr>
Merge AC_DECL_YYTEXT into AC_PROG_LEX.
* acgeneral.m4 (AC_DECL_YYTEXT): Rename as
(_AC_DECL_YYTEXT): this.
(AC_PROG_LEX): Use it.
(AC_DECL_YYTEXT): New AU macro.
* doc/autoconf.texi: Adjust.
2000-05-10 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_F77_NAME_MANGLING): Use AC_COMPILE_IFELSE.
Move the requirements to the top of the macro.
2000-05-10 Akim Demaille <akim@epita.fr>
Update and polish the documentation.
* doc/autoconf.texi: Use @sc where upper case names were used.
Remove a few useless `dnl'.
Convert some `dnl' into comments.
Promote `$(foo)' in Makefiles, not `${foo}'.
Promote `$foo' in shell scripts, not `${foo}'.
Promote `foo = bar' in Makefiles, not `foo=bar'.
(Language Choice): Document `AC_LANG', move `AC_LANG_C',
`AC_LANG_CPLUSPLUS' and `AC_LANG_FORTRAN77' to
(Old Macros): here.
* doc/install.texi: Fix a typo in the specification of the system
quadruples.
2000-05-10 Akim Demaille <akim@epita.fr>
* libm4.m4 (m4_foreach): Rewritten so that it does not require
lists in between parens.
(m4_foreach_quoted): new copy of the previous `m4_foreach' which
is still used by `m4_wrap'.
* acgeneral.m4 (AC_INCLUDE, AC_INCLUDES): Removed.
(AC_FOREACH): Don't use parens with `m4_foreach'.
(AC_CHECK_MEMBER, AC_CHECK_DECLS, AC_CHECK_TYPES): Adjust the
description.
* acspecific.m4 (AC_STRUCT_TIMEZONE, AC_STRUCT_ST_BLKSIZE,
AC_STRUCT_ST_BLOCKS, AC_STRUCT_ST_RDEV): Adjust.
* autoconf.texi (AC_CHECK_MEMBER, AC_CHECK_DECLS, AC_CHECK_TYPES):
Adjust their documentation.
(AC_INCLUDE): Undocument.
* tests/semantics.m4: Adjust.
* tests/actest.m4: Rename as...
* tests/aclocal.m4: this.
* tests/atspecific.m4: No longer include actest.m4.
* tests/torture.m4: Likewise.
* tests/Makefile.am: Adjust.
2000-05-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Obsolete Macros): Document `AU_DEFUN'.
Move the documentation of `AC_OBSOLETE' from here, to...
(Old Macros): here.
* acspecific.m4 (AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV):
AU_DEFUN'd.
2000-05-10 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_LIBOBJ_DECL, AC_LIBOBJ): New macros.
(AC_REPLACE_FUNCS): Use AC_LIBOBJ.
* acspecific.m4 (AC_FUNC_MKTIME, AC_FUNC_MEMCMP,
AC_STRUCT_ST_BLOCKS): Use AC_LIBOBJ.
* doc/autoconf.texi : Adjust so that the user is not encouraged to
use LIBOBJS directly.
(Generic Functions): Document AC_LIBOBJ_DECL and AC_LIBOBJ.
2000-05-09 Jim Meyering <meyering@lucent.com>
* acgeneral.m4 (AC_SEARCH_LIBS): Remove double quotes around `no'.
2000-05-09 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_FILES): Don't automatically spit
`Generated by...' in Makefiles.
Fixes Autoconf/102.
2000-05-09 Akim Demaille <akim@epita.fr>
Let `config.status' use a private temp dir.
Suggested by Jim Meyering.
* acgeneral.m4 (_AC_SHELL_TMPDIR): New macro.
(_AC_OUTPUT_CONFIG_STATUS): Use it.
Use more quoted here docs to improve readability.
Compute `$me' and use it in the error messages.
Define `$configure' and `$configure_args' to avoid continuously
mixing the uses of `configure' and `config.status' evaluation in a
single line.
Define `$SHELL' and use it.
Simplify all the unjustified `[\$]foo' into `\$foo', the quotes
are needed only for `\$[1]', `\$[@]' etc.
Replace all the uses of `ac_cs_root' with files in the tmp dir of
`config.status'.
Remove a few `rm' covered by the removal of the `$tmp' dir.
Let `config.status' support `--debug'.
(_AC_INIT_PREPARE): Avoid the leading space in `ac_configure_args'.
* doc/autoconf.texi (Invoking config.status): Adjust.
2000-05-05 Jim Meyering <meyering@lucent.com>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Set up traps to remove
temporaries upon exit, too, not just upon receipt of signal.
2000-05-05 Akim Demaille <akim@epita.fr>
AC_CHECK_PROG macro fails if REJECT value is set under Digital
Unix 4.0x and 5.0 because `"$@"' expands into an empty parameter
(instead of nothing) when there are no positional parameters.
From Nicolas Joly.
* acgeneral.m4 (AC_CHECK_PROG, AC_CHECK_PROGS): Prefer
`$$1' to `[$]$1', `$foo' to `[$]foo', `$[1]' to `[$]1', and
`${1+"$[@]"}' to `"[$]@"'.
2000-05-04 Akim Demaille <akim@epita.fr>
AC_PREREQ understands `2.14a' as `2.141'.
Reported by Didier Verna.
* acgeneral.m4 (AC_PREREQ): Don't quote AC_ACVERSION.
2000-05-04 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AH_TOP, AH_BOTTOM): New macros.
(_AH_COUNTER): New variable.
* tests/tools.m4 (autoheader): Check their proper functioning.
2000-05-04 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Obsolete Macros): Rename as...
(Obsoleting Macros): this.
(Old Macros): Rename as...
(Obsolete Macros): this.
Be a section of...
(Obsolete Constructs): New chapter.
(Invoking autoheader): Move the `acconfig.h' documentation to...
(acconfig.h): here, new section of `Obsolete Constructs'.
(Autoheader Macros): Document AH_VERBATIM, AH_TEMPLATE, AH_TOP and
AH_BOTTOM.
2000-05-03 Nicolas Joly <njoly@pasteur.fr>
* autoheader.sh (config_h): Sort the templates.
Under NetBSD 1.4.1 /bin/sh `set' command does not return a sorted
variables list.
2000-05-03 Akim Demaille <akim@epita.fr>
* tests/tools.m4 (autoheader): Don't pass `-l at_srcdir' to
`autoheader', since `acconfig.h' is created in the build dir.
There's one empty line less in `config.h.in' than before when
using `acconfig.h'.
2000-05-03 Akim Demaille <akim@epita.fr>
Simplify the handling of `acconfig.h'.
* autoheader.sh: No longer try to select the needed paragraphs of
`acconfig.h', just dump everything into `config.h.in'.
Implement support for `--warnings'.
Warn the users that these auxiliary files are obsolete when `-W
obsolete'.
* doc/autoconf.texi (Invoking autoheader): Adjust.
2000-05-03 Akim Demaille <akim@epita.fr>
Support of acconfig.h was broken. Fix and test.
Reported by Jim Meyering.
* autoheader.sh: Trace AC_DEFINE and AC_DEFINE_UNQUOTED to build
the list of $syms which are defined.
* tests/tools.m4 (autoheader): New test.
2000-05-03 Akim Demaille <akim@epita.fr>
Rename the language FORTRAN77 as Fortran 77.
* aclang.m4 (AC_LANG(FORTRAN77), AC_LANG_SOURCE(FORTRAN77),
AC_LANG_PROGRAM(FORTRAN77), AC_LANG_CALL(FORTRAN77)): Rename as...
(AC_LANG(Fortran 77), AC_LANG_SOURCE(Fortran 77),
AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77)): This.
(AC_LANG_FORTRAN77): Adjust.
2000-05-03 Akim Demaille <akim@epita.fr>
Provide a macro to canonicalize a configuration name.
Suggested by Ralf Corsepius.
* acgeneral.m4 (AC_CANONICALIZE): New macro.
(_AC_CANONICAL_THING): Use it.
Change the defaults for build, host, and target systems:
build defaults to `config.guess`.
host defaults to $build.
target defaults to $host.
Suggested by Mo DeJong, Pavel Roskin, Tom Tromey, Ian Lance
Taylor, and many others.
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Set `$build', `$host' and
`$target' to nothing instead of NONE.
(AC_CANONICAL_SYSTEM): AU_DEFUN'd as `AC_CANONICAL_TARGET'.
(_AC_CANONICAL_THING): Use an explicit m4_case to set the defaults
depending upon the THING.
Implement the default values.
(AC_CANONICAL_TARGET): Handle the `AC_ARG_PROGRAM' part
`AC_CANONICAL_SYSTEM' used to provide.
* doc/autoconf.texi: Adjust.
When receiving an explicit argument, consider this is a default
for --build, --host and --target (unless set).
Some scripts might still depend on this historical syntax.
Suggested by Alexandre Oliva.
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Do that.
(_AC_CANONICAL_THING): Drop the support of `$nonopt'.
Documenting --build, --host and --target when configure does not
handle them causes confusion.
Suggested by Pavel Roskin.
Nevertheless configure must not die on such an `unsupported'
option: it does happen that people build an entire tree of
packages, some of them expecting `--host' etc. some others not.
Stressed by Tom Tromey and Ian Lance Taylor.
* acgeneral.m4 (HELP_CANON): New diversion.
(_AC_INIT_PARSE_ARGS): Don't document these options.
(AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
Document your associated option.
2000-04-28 Akim Demaille <akim@epita.fr>
Don't double quote in AC_MSG_*.
* acgeneral.m4 (_AC_SH_QUOTE): Don't double quote. Escape the
double quotes too.
(_AC_ECHO_UNQUOTED): Don't double quote :).
(_AC_ECHO, _AC_ECHO_N): Quote the call to _AC_SH_QUOTE.
The autoheader chain needs to be adjusted.
* acgeneral.m4 (AH_VERBATIM): Just pass two arguments to AH_OUTPUT
instead of trying to build what `autoheader' needs: let it handle
the format by itself.
* autoheader.m4: Adjust.
s,tmp/config.h,tmp/config.hin.
The adjustment revealed that `autoconf --trace' is not robust to
single quotes in its argument.
* autoconf.sh: Fix this issue.
Rename the escape `$*' as `$%'. Implement `$@'.
* doc/autoconf.texi: Adjust.
2000-04-28 Akim Demaille <akim@epita.fr>
mawk suffers a severe performance loss when using `sub' with a
changing value. On the `configure' script of the fileutils:
mawk '{ sub (/foo/, foo++) }' -> 14s.
mawk '{ if ($0 ~ /foo/) sub (/foo/, foo++) }' -> 0.03s.
mawk '{ sub (/foo/, foo) }' -> 0.03s.
* autoconf.sh (task script, AWK script): Run `sub (__oline__,
oline)' only in the lines that match `__oline__'.
Suggested by Paul Eggert.
2000-04-28 Akim Demaille <akim@epita.fr>
* autoconf.sh (options handling::-W*): Strip two leading chars, not
just one.
2000-04-20 Dave Love <fx@gnu.org>
* acspecific.m4 (AC_FUNC_MKTIME): Use AC_SUBST.
2000-04-12 Akim Demaille <akim@epita.fr>
Provide a fine grained control over autoconf's warnings.
* acgeneral.m4 (AC_WARNING_IFELSE, _AC_DIAGNOSE, AC_DIAGNOSE):
New macros.
(AC_DEFUN_ONCE, AC_OBSOLETE, AC_BEFORE, AU_DEFUN, AC_PREREQ,
AC_WARNING, AC_FATAL, AC_TRY_RUN): Use AC_DIAGNOSE.
* autoconf.sh: Provide support for `--warnings', `-W'.
* doc/autoconf.texi (Invoking autoconf): Adjust.
(Reporting Messages): New section.
2000-04-12 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_HELP): Move --srcdir in the first
section.
Document --help=short and recursive.
Split the `Directory' section into `Installation directories' for
--prefix and --exec-prefix, and all the others into `Fine tuning
of the installation directories'.
In the latter, don't repeat `in DIR', the user understands, and it
comes out better.
Default for --exec-prefix is PREFIX.
Reported by Kathryn Hargreaves.
Move --host before --build.
Fix a test on `$ac_init_help' which was not updated.
2000-04-11 Akim Demaille <akim@epita.fr>
Have `make check' succeed with CC=g++.
* tests/atspecific.m4 (AT_TEST_MACRO): Don't check `env-after' if
the file does not exist, which may happen when a `configure' exits
brutally.
* tests/semantics.m4 (AC_CHECK_MEMBERS, AC_CHECK_TYPES): ANSI C++
forbids members named like their hosting struct, so don't do it.
2000-04-11 Akim Demaille <akim@epita.fr>
* autoscan.pl: Reindent using 2 spaces, not 4.
Use `#' to denote Autoconf comments, not `dnl'.
Put a few `\' here and there to avoid misfontification and
misindentation.
Use your base name when reporting errors.
(parse_args::usage): Use $0, use the same order as the other
executables.
(parse_args): Don't dump `--help' on cmd line errors.
2000-04-11 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_PROVIDE_IF): Rename as...
(AC_PROVIDE_IFELSE): this. Change all callers.
Spread the use of AC_PROVIDE_IFELSE, no macro should know how
AC_PROVIDE names its internal variables.
2000-04-11 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Simplify all the `foo="$bar"' into `foo=$bar'.
* acspecific.m4: Likewise.
* aclang.m4: Likewise.
2000-04-11 Akim Demaille <akim@epita.fr>
Move obsolete macros' definitions out of the way.
* doc/autoconf.texi (Old Macro Names): Rename as...
(Old Macros): this. Change the @table enumeration into a list of
@defmac.
(AC_CHECKING, AC_CHECK_TYPE, AC_COMPILE_CHECK, AC_C_CROSS,
AC_DYNIX_SEQ, AC_HAVE_LIBRARY, AC_IRIX_SUN, AC_LINK_FILES,
AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_SCO_INTL, AC_VERBOSE,
AC_XENIX_DIR): Move their descriptions into here.
Kill a few TeX warnings.
2000-04-11 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_MSG_ERROR_UNQUOTED): Remove.
(AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED): Output to the log too.
(AC_CHECKING, AC_VERBOSE): AU_ define.
2000-04-07 Akim Demaille <akim@epita.fr>
* acgeneral.m4: s/1>&/>&/g.
(AC_FD_LOG): New macro, replaces...
(AC_FD_CC): this. Provide an AU definition.
(_AC_ECHO_UNQUOTED, _AC_ECHO_N): Use m4_default.
2000-04-05 Akim Demaille <akim@epita.fr>
At the end of `./configure', save the cache values, and the CPP
values.
* acgeneral.m4 (_AC_CACHE_DUMP): New macro.
(AC_CACHE_SAVE, AC_OUTPUT): Use it.
(AC_OUTPUT): Dump confdefs.h into config.log.
(_AC_INIT_PREPARE::config.log): Name the package being configured
if you can.
2000-04-05 Steven G. Johnson <stevenj@alum.mit.edu>
Disable caching by default, so as not to cause problems when
newbies accidentally use a stale cache file.
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Set cache_file to /dev/null
to disable caching by default.
(_AC_INIT_HELP): Adjust the --help message.
(AC_CACHE_LOAD, AC_CACHE_SAVE): Don't print "loading/updating
/dev/null" messages.
* autoconf.texi: Note that caching is disabled, how to enable it,
and that `./config.cache' is the traditional name of the cache file.
* install.texi: Likewise.
2000-04-03 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): If any option waiting for a
directory receives a relative path, die (bindir, sbindir,
libexecdir, datadir, sysconfdir, sharedstatedir, localstatedir,
libdir, includedir, oldincludedir, infodir, mandir, exec_prefix,
prefix). Fixes Autoconf 42.
2000-04-03 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Canonicalizing): Officially recognize
AC_CANONICAL_TARGET and AC_CANONICAL_BUILD.
2000-04-03 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Writing configure.in): Explain what Autoconf
is. Explain how to use the quotation scheme used in Autoconf.
(Quoting): Update. Do not advocate changequote.
2000-03-30 Steven G. Johnson <stevenj@alum.mit.edu>
Fix F77 name-mangling macros to work with cached values (so
they don't break the second time you run configure).
* aclang.m4 (AC_F77_NAME_MANGLING): Extract f77_case,
f77_underscore from cache variable.
(AC_F77_WRAPPERS): Get rid of ac_cv_f77_wrappers, it's useless.
Simplify the nested case-esac into a single one.
Simplify the documentation strings of CPP symbols.
2000-03-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the accumulation in
CONFIG_HEADERS.
2000-03-31 Akim Demaille <akim@epita.fr>
* autoheader.sh: Catch up with the `mktemp -d' changes in
autoconf.sh.
* autoupdate.sh: Likewise.
2000-03-31 Steven G. Johnson <stevenj@alum.mit.edu>
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): bug fix in F77 test program
(missing whitespace--F77 requires program statements to start in
column 7).
2000-03-29 Akim Demaille <akim@epita.fr>
Rewrite the autoheader chain on top of `autoconf --trace'.
* autoheader.m4: Dispatch the prototypes next to there AC_
siblings.
(AH_TEMPLATE, AH_VERBATIM): Move to...
* acgeneral.m4: here.
(AH_OUTPUT): New macro.
* autoheader.sh: Run `autoconf --trace' instead of `m4 autoheader.m4'.
* autoheader.m4: Remove.
* Makefile.am: Adjust.
* tests/tools.m4 (AH_DEFUN): Remove, no longer makes sense.
* tests/actests.m4 (autoheader::AC_TATOOINE): Remove, was used by
the test above.
2000-03-29 Akim Demaille <akim@epita.fr>
silent.m4 depends upon the current quotation in m4, which changes
if `-i' is used or not.
* autoconf.sh (trace::silent.m4): Removed.
(trace::run_m4_trace): Pass -Derrprint.
2000-03-29 Akim Demaille <akim@epita.fr>
Use `mktemp -d' when possible to create securely a tmp work dir.
* autoconf.sh: Use it when possible to create the dir $tmp.
Stop using variables for tmp files, use their names in $tmp.
[install]: Use the new features of autoconf --trace.
2000-03-28 Akim Demaille <akim@epita.fr>
Probably all the versions of bash up to 2.04 fail on
fnmatch ("/tmp", "[/\\\\]")
The backslash must not be last.
* acgeneral.m4 (_AC_INIT_HELP, AC_PATH_PROG, _AC_OUTPUT_FILES,
_AC_OUTPUT_LINKS, _AC_OUTPUT_SUBDIRS): Always make `\\' be the
first character in all the `[]' of `case' patterns.
2000-03-27 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_CHECK_TOOL_PREFIX): Rename back as
AC_CHECK_TOOL_PREFIX since some packages rely on it.
2000-03-27 Akim Demaille <akim@epita.fr>
Move all the language dependent macros into aclang.m4.
* aclang.m4: New file.
* autoconf.m4: Include it.
* autoheader.m4: Likewise.
* autoupdate.m4: Likewise.
* Makefile.am: Adjust.
* test/Makefile.am: Likewise.
* acgeneral.m4 (AC_LANG_CASE,AC_LANG_SAVE, _AC_LANG_DISPATCH,
AC_LANG, _AC_LANG_CURRENT, AC_LANG_SOURCE, AC_LANG_PROGRAM,
AC_LANG_CALL, AC_LANG(C), AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C),
AC_LANG_CALL(C), AC_LANG(C++), AC_LANG_SOURCE(C++),
AC_LANG_PROGRAM(C++), AC_LANG_CALL(C++), AC_LANG(FORTRAN77),
AC_LANG_SOURCE(FORTRAN77), AC_LANG_PROGRAM(FORTRAN77),
AC_LANG_CALL(FORTRAN77): Move to...
* aclang.m4: here.
* acspecific.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77,
AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS, AC_PROG_F77_WORKS,
AC_PROG_CC_GNU, AC_PROG_CXX_GNU, AC_PROG_F77_GNU, AC_PROG_CC_G,
AC_PROG_CXX_G, AC_PROG_F77_G, AC_PROG_GCC_TRADITIONAL,
AC_PROG_CC_C_O, AC_PROG_F77_C_O, AC_PROG_CC_STDC, AC_PROG_CPP,
AC_PROG_CXXCPP, AC_REQUIRE_CPP, AC_PROG_LEX, AC_TYPE_MODE_T,
AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE, AC_C_BIGENDIAN,
AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE, AC_C_STRINGIZE,
AC_C_PROTOTYPES, AC_F77_LIBRARY_LDFLAGS, AC_F77_NAME_MANGLING,
AC_F77_WRAPPERS): Move to...
* aclang.m4: here.
2000-03-27 Akim Demaille <akim@epita.fr>
* autoconf.sh (trace): Let translate_awk do the whole translation
from `$trace' to the m4 program.
2000-03-27 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_PACKAGE): Also define AC_PACKAGE_STRING.
Use it here and there.
2000-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acgeneral.m4 (_AC_INIT_HELP, _AC_OUTPUT_SUBDIRS): Fix the DOS
absolute path pattern: s/?:[[/\\]]/?:[[/\\]]*/.
2000-03-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_CANONICAL_TARGET, _AC_CANONICAL_BUILD): Rename
as (AC_CANONICAL_TARGET, AC_CANONICAL_BUILD), although internal,
too much foreign code depends upon them.
2000-03-25 Akim Demaille <akim@epita.fr>
* autoconf.sh (translate_awk): `> "/dev/stderr"' is not portable
to systems without a real /dev/stderr in the file system or if not
using one of the three free awks. Use
print message | "cat >&2"
...
END { close("cat >&2") }
From Aharon Robbins.
2000-03-25 Akim Demaille <akim@epita.fr>
* autoheader.sh (checking completeness): Be ready to recognize
patterns with a value, and spaces between `#' and the directive, e.g.
# define FOO FIXME:
Reported by John Fortin.
2000-03-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_RUN_IFELSE): New macro.
(AC_TRY_RUN_NATIVE): Remove.
(AC_TRY_RUN): Use AC_RUN_IFELSE, not AC_TRY_RUN_NATIVE.
2000-03-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_LIB): Ah ah! I recognized you, even
masked: you are AC_TRY_LINK_FUNC.
Fix quotation.
(AC_SEARCH_LIBS): Use AC_SHELL_IFELSE.
2000-03-25 Akim Demaille <akim@epita.fr>
* tests/semantics.m4 (AC_TRY_LINK_FUNC, AC_CHECK_LIB): New tests.
2000-03-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_LANG_CALL, AC_LANG_CALL(C), AC_LANG_CALL(C++),
AC_LANG_CALL(FORTRAN77)): New macros.
(AC_TRY_LINK_FUNC): Use it.
(AC_TRY_CPP): Argument was output twice.
(AC_COMPILE_IFELSE, AC_LINK_IFELSE): Output $3 only if needed.
2000-03-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_TRY_COMPILER): Use AC_LINK_IFELSE.
(AC_TRY_LINK_FUNC, AC_CHECK_LIB, AC_CHECK_FUNC): Don't check that
the current language is C++ to output `extern "C"': the CPP
condition is enough.
2000-03-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_LINK_IFELSE, AC_COMPILE_IFELSE): New macros.
(AC_TRY_LINK, AC_TRY_COMPILE): Use them.
(AC_CHECK_MEMBER, AC_COMPILE_CHECK, AC_CHECK_DECL,
_AC_CHECK_TYPE_NEW): Adjust.
* acspecific.m4 (AC_DECL_YYTEXT, AC_PATH_XTRA): Adjust.
2000-03-23 Steven G. Johnson <stevenj@alum.mit.edu>
* acspecific.m4 (AC_F77_NAME_MANGLING): Need to use
AC_F77_LIBRARY_LDFLAGS when linking C and Fortran code.
2000-03-23 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_LANG_PROGRAM, AC_LANG_PROGRAM(C),
AC_LANG_PROGRAM(C++), AC_LANG_PROGRAM(FORTRAN77)): New macros.
(AC_TRY_COMPILE, AC_TRY_LINK): Use them.
2000-03-23 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Support --help={long, short,
recursive}.
(_AC_INIT_HELP): Propagate --help=recursive to CONFIG_SUBDIRS.
Code stolen from...
(AC_OUTPUT_SUBDIRS): s/ac_config_dir/ac_subdir/g.
2000-03-23 Lars J. Aas <larsa@sim.no>
* libm4.m4 (m4_do): New macro.
2000-03-21 Akim Demaille <akim@epita.fr>
Provide a language independent means to generate language specific
programs.
* acgeneral.m4 (_AC_LANG_DISPATCH): New macro.
(AC_LANG): Use it.
(AC_LANG_SOURCE, AC_LANG_SOURCE(C), AC_LANG_SOURCE(C++),
AC_LANG_SOURCE(FORTRAN77)): New macros.
(AC_TRY_COMPILER, AC_EGREP_CPP, AC_TRY_RUN_NATIVE): Use
AC_LANG_SOURCE.
2000-03-21 Akim Demaille <akim@epita.fr>
Fix a bug: some macros (e.g., AC_REVISION, AC_COPYRIGHT etc.) can
be used before AC_INIT, but they do require it. But then, the
argument of the explicit AC_INIT call is lost.
* acgeneral.m4 (AC_CONFIG_SRCDIR): New macro.
(_AC_INIT_SRCDIR): Adjust.
(_AC_INIT): Pass your argument to AC_CONFIG_SRCDIR.
2000-03-21 Akim Demaille <akim@epita.fr>
* tests/semantics.m4 (AC_PATH_PROG, AC_PATH_PROGS): New tests.
2000-03-21 Akim Demaille <akim@epita.fr>
Start the language support overhaul: Introduce AC_LANG().
* acgeneral.m4 (AC_LANG): Renamed as _AC_LANG_CURRENT.
(AC_LANG, AC_LANG(C), AC_LANG(C++), AC_LANG(FORTRAN77)): New
macros.
(AC_LANG_C, AC_LANG_CPLUSPLUS, AC_LANG_FORTRAN): AU_DEFUN'ed.
Adjust all callers.
* acspecific.m4 (AC_F77_NAME_MANGLING): Remove the exceeding
AC_LANG_RESTORE.
* tests/Makefile.am (FILTER_MACROS): Add AC_LANG.
2000-03-21 Akim Demaille <akim@epita.fr>
Speed ups.
* libm4.m4 (m4_append, m4_list_append): Use m4_define, not define.
On my machine the former implementation takes 4mn 40s to run the
test suite. Using m4_define leads to 4mn 15s.
* acgeneral.m4 (_AC_SUBST): Use AC_EXPAND_ONCE (which uses
m4_define, not define). 4mn.
(_AC_DIVERT): Don't use m4_case. Starting from those 4mn, if you
just move NORMAL* first in m4_case, the test suite is run in 3mn.
If instead of using m4, you use an `associative array' plus a
wrapper (current implementation), it falls to 2mn.
2000-03-21 Akim Demaille <akim@epita.fr>
* tests/tools.m4 (autoconf --trace): New test.
2000-03-21 Akim Demaille <akim@epita.fr>
* autoconf.sh (task trace): Pipe the output of the first m4 into
the second one, instead of saving to a tmp file, so that we can
trace endless configure.in expansion.
2000-03-21 Akim Demaille <akim@epita.fr>
Uniform idioms.
* acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
_AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Prefer
for i in : $is; do test $i = : && continue
over
for i in .. $is; do if test $i != ..; then
2000-03-21 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PREPARE, _AC_INIT_PARSE_ARGS): Move more
initializations to...
(_AC_INIT_DEFAULTS): here.
2000-03-21 Akim Demaille <akim@epita.fr>
Give a means to compute `srcdir' earlier in configure.
* acgeneral.m4 (_AC_INIT_SRCDIR): New macro, pulled out from...
(_AC_INIT_PREPARE): No longer compute `srcdir'.
(_AC_INIT): Use _AC_INIT_SRCDIR.
(AC_INIT): Don't forget to pass the argument to _AC_INIT.
2000-03-20 Jim Meyering <meyering@lucent.com>
* acspecific.m4 (AC_SYS_LONG_FILE_NAMES): Don't test for existence
of $ac_xdir. Not only is `test -e' not portable, but the test isn't
necessary at all; the following mkdir ends up accomplishing the
same goal. Suggestion from Alexandre Oliva.
* acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT) [setting IFS]: Be careful
to use space, tab and new line, in precisely that order.
2000-03-20 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_OUTPUT_SUBDIRS): Rename as _AC_OUTPUT_SUBDIRS.
No argument, use AC_LIST_SUBDIRS.
Adjust callers.
2000-03-20 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Double quote the head
of the help snippet.
2000-03-20 Akim Demaille <akim@epita.fr>
Give an identity to `configure' scripts.
* acgeneral.m4 (AC_PACKAGE): New macro.
(_AC_COPYRIGHT_SEPARATOR): Remove.
(AC_COPYRIGHT): Adjust.
(_AC_INIT_HELP, _AC_INIT_VERSION): Name the package you configure
when you want.
(_AC_INIT): Adjust.
* configure.in (AC_PACKAGE): Add.
2000-03-20 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Formatting changes.
2000-03-20 Akim Demaille <akim@epita.fr>
Don't rely on RS = "\0" to swallow the whole input as a single
record, this is not portable: mawk and nawk understand it as RS =
"". gawk understands it as expected.
* autoconf.sh (translate_awk::BEGIN): No longer change RS.
(translate_awk::body): Move to the END.
Instead, accumulate the input in `request'.
2000-03-20 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Testing Values and Files): Be a subsection of
`Portable Shell Programming'.
(Shell Substitutions, Limitations of Usual Tools): New subsections.
2000-03-17 Akim Demaille <akim@epita.fr>
Use a single tool to reformat the raw `configure' script output by
m4.
Suggested by Paul Eggert.
* autoconf.sh: Stop playing with 2 seds and an AWK to finalize
`configure', a single AWK program is enough.
2000-03-17 Akim Demaille <akim@epita.fr>
In Autoconf 2.13, although AC_OUTPUT_COMMANDS did double quote its
arguments, AC_OUTPUT arguments 2 and 3 were not! Currently,
AC_OUTPUT over quotes too: stop that.
Reported by Martin Buchholz.
* doc/autoconf.texi (Output): Don't expand on the ternary
AC_OUTPUT.
* acgeneral.m4 (AC_OUTPUT): Don't over quote $2 and $3.
2000-03-17 Joseph S. Myers <jsm28@cam.ac.uk>
* acspecific.m4 (AC_SYS_LONG_FILE_NAMES): Security fixes: create
the temp files in a private temporary directory, not directly in
TMPDIR.
2000-03-17 Akim Demaille <akim@epita.fr>
Install the IFS we need once for all.
* acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): New macro.
Handle the NLS envvars, and IFS.
(_AC_INIT_PREPARE): Use it, no longer set the NLS envvars.
(_AC_WHICH_A, AC_PATH_PROG): Rely on the default IFS.
* acspecific.m4 (AC_PROG_INSTALL, AC_FUNC_SELECT_ARGTYPES):
Likewise.
2000-03-17 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_TRY_CPP, AC_EGREP_CPP, AC_TRY_COMPILE,
AC_TRY_LINK, AC_TRY_RUN_NATIVE): Simplify the removal of the
contest files: don't remove them before running the actions, just
remove them at the end of the macro.
2000-03-16 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_FUNC_SELECT_ARGTYPES): Use
: ${foo='some words'}
not
: ${foo=some words}
since this is not portable: Digital Unix v5.0: `bad substitution'.
From Nicolas Joly.
2000-03-16 Lars J. Aas <larsa@sim.no>
* libm4.m4 (m4_assert, m4_shiftn): New macros.
(m4_case,m4_match): Rewrite to use m4_shiftn (for readability reasons).
(m4_for): Add the STEP argument and some argument-verifying asserts.
(m4_split): Correct spaces to tabulator in regexp.
2000-03-15 Akim Demaille <akim@epita.fr>
Revamp AC_FUNC_SELECT_ARGTYPES.
* acspecific.m4 (AC_FUNC_SELECT_ARGTYPES): Use a single cache
variable instead of three.
Use AC_CACHE_CHECK.
Shorten the name of the var loops, they are no longer cached.
Include sys/types.h unconditionally.
`select' returns an int, fixes Autoconf/46.
Don't display parens in the user messages.
2000-03-14 Akim Demaille <akim@epita.fr>
* autoheader.sh: Use run_m4f, not run_m4.
2000-03-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
* tests/actest.m4 (AC_ENV_SAVE): Don't consider RANDOM and LINENO
which some shells update. At least ksh on HP-UX 10.20 and sh on
IRIX 6.5 do change their `RANDOM' even if `read' via `set'.
2000-03-14 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH): No use for @%:@ here,
no need to over quote $1 in the comments.
2000-03-14 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Replace some ifelse with ifval or m4_default, or
even nothing when not needed.
* acspecific.m4: Likewise.
2000-03-14 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PREPARE): Insert the Autoconf version in
config.log, and the command line which ran configure.
Kill a couple of useless quote around dollars.
2000-03-14 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PREPARE): Kill a changequote in the
building of `ac_configure_args'.
2000-03-14 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_DIVERT): Rename _AC_DIVERT.
(AC_DIVERT): New macro.
Spread its use where better than a pair of AC_DIVERT_PUSH/POP.
2000-03-14 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_BINSH): Remove, useless now that...
(AC_REVISION): Require AC_INIT, not _AC_INIT_BINSH.
(AC_INIT): Do what _AC_INIT_BINSH used to.
Don't require _AC_INIT_VERSION, just call it.
Rename as _AC_INIT.
(AC_INIT): New macro, single expansion wrapper around _AC_INIT.
(_AC_COPYRIGHT_SEPARATOR): New.
(AC_COPYRIGHT): Use it.
Require AC_INIT, not _AC_INIT_VERSION.
* doc/autoconf.texi (Versions): Promote as first section of
`Setup'.
Rename as `Notices'.
Document AC_COPYRIGHT.
Don't give false reasons for placing AC_REVISION before AC_INIT,
the place no longer matters.
2000-03-14 Akim Demaille <akim@epita.fr>
* autoconf.sh (trace_m4::smash): Double quote, we don't want the
result to be evaluated.
2000-03-14 Akim Demaille <akim@epita.fr>
* acgeneral.m4: s/@%:@line __oline__/#line __oline__/g. __oline__
is not a macro, so there is just no use in avoiding `#'.
2000-03-14 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): When there were no
CONFIG_FILES, we had to expand _AC_OUTPUT_FILES into the KILL
diversion, because it is AC_OUTPUT_FILES which undiverted the
AC_SUBST sed script at its proper place, otherwise it would have
been undiverted at the end of `configure', leading to an sh syntax
error.
Now that we no longer use a diversion, we don't need to call
AC_OUTPUT_FILES if useless.
(AC_OUTPUT_FILES): Rename as _AC_OUTPUT_FILES.
(AC_OUTPUT_LINKS): Rename as _AC_OUTPUT_LINKS.
2000-03-14 Akim Demaille <akim@epita.fr>
AC_ARG_PROGRAM must not be expanded twice, which is likely since
Automake calls it, and usually users do too. If it happens,
`--program-prefix=g' actually prepend two (or more) `g'.
* acgeneral.m4 (AC_DEFUN_ONCE): New macro.
(AC_ARG_PROGRAM): AC_DEFUNed_ONCE. Or is it AC_DEFUN_ONCE'd? :).
No longer AC_EXPAND_ONCE the help string, the macro itself is
expanded at most once.
Rename the here-doc tag EOF_SED as EOF.
2000-03-14 Akim Demaille <akim@epita.fr>
Get rid of the ICMDS diversion.
* acgeneral.m4 (AC_DIVERT): Remove ICMDS.
(_AC_OUTPUT_COMMANDS_INIT): New growing string.
(_AC_CONFIG_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS): Adjust.
2000-03-14 Akim Demaille <akim@epita.fr>
Introduce AC_SUBST(VAR, VAL).
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Stop global double quoting,
failed experiment.
Merge all the var=val AC_SUBST(var) into AC_SUBST(var, val).
(AC_SUBST): Implement support for 2nd arg.
* doc/autoconf.texi (Setting Output Variables): Adjust.
2000-03-13 Akim Demaille <akim@epita.fr>
Simplify the diversions naming system.
Suggested by Alexandre Oliva and Lars J. Aas
* libm4.m4 (ifndef): New macro.
* acgeneral.m4 (AC_DIVERT): New macro, maps a diversion name to
its value. The diversions now have a short name, e.g., `NOTICE',
instead of the former macros which had long names, e.g.,
`AC_DIVERSION_NOTICE'.
(AC_DIVERT_PUSH): Adjust.
(AC_DIVERT_POP): Use ifndef.
(AC_DIVERSION_CURRENT): Rename as `AC_DIVERT_DIVERSION' to stay
within the `AC_DIVERT' name domain.
Adjust all callers.
* acspecific.m4: Adjust all callers.
2000-03-13 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Invoking autoconf): Update documentation of
`autoconf --trace'.
2000-03-13 Akim Demaille <akim@epita.fr>
* autoconf.sh (tmpbase): New var. Adjust trap code and other tmp
file names.
(translate_awk::BEGIN): Set RS to "\0" so that the whole file be a
single record.
(translate_awk::trans): Convert from array to function.
(translate_awk::error): New function.
(translate_awk::main action): Implement support for ${sep}@ and
${sep}*. Use trans() and error().
(translate_awk): Don't put space before user functions call, it is
not portable.
Remove trailing `;', this is not C :).
(task trace): Quote `$traces' when you eval it, to protect the
white spaces.
Propagate `translate_awk' failures to `autoconf.sh'.
Translate the quadrigraphs.
2000-03-13 Akim Demaille <akim@epita.fr>
Trap on 0 is not executed when `exit' is called without argument.
* autoheader.sh (trap 1 2 13 15): s/exit/exit $?/.
* autoconf.sh: Likewise.
Remove translate_awk too.
* autoupdate.sh: Likewise.
Handle `--debug'.
2000-03-13 Akim Demaille <akim@epita.fr>
More uniform style in scripts.
* autoheader.sh: s/-eq/=/.
Uniform ordering of variable initializations, option handling.
Don't use quotes where useless (foo=$1, not foo="$1").
Propagate `run_m4' and `run_m4f'.
Use `$0' in --help.
* autoconf.sh: Likewise.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* ifnames.sh: Likewise.
* autoupdate.m4: Small bug: at the end `dnl' is disabled, so use
`m4_dnl'.
2000-03-13 Akim Demaille <akim@epita.fr>
`autoconf --trace': faster.
* autoconf.sh (initialization): New var, new option.
(option loop): When you need an arg, make sure there is one.
(run_m4f): New var, which content is that of the former...
(run_m4): Don't use m4 frozen state files.
Change all callers.
Don't pass AC_LOCALDIR, not documented, and unused.
(task trace): Honor `--verbose' and `--initialization'.
(globally): Send `--verbose' messages in stderr.
Fix random typos.
2000-03-13 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_PROG_BINSH): Removed.
2000-03-13 Akim Demaille <akim@epita.fr>
Start revamping `autoconf --trace'.
* autoconf.sh (debug): New var, new option.
Adjust the trap code.
(task trace): Instead of decoding `m4 --trace' with sed, decode it
with m4 itself.
($silent_m4): New file, which disables m4's `errprint'.
($trace_m4): New file. Logistic for the m4 which is in charge of
decoding the traces of the first.
($translate_awk): Transform a user trace request into $trace_m4
code.
2000-03-10 Akim Demaille <akim@epita.fr>
Multiple `-e' to egrep are not portable. On IRIX 6.5 and Solaris
2.5.1 only the last one is honored:
> printf "foo\nbar\n" | egrep -e 'foo' -e 'bar'
bar
> printf "foo\nbar\n" | egrep -e 'bar' -e 'foo'
foo
Reported by Nicolas Joly.
An alternative would have been to use `sed', unfortunately
alternation is not portable.
* tests/actest.m4 (join): New macro.
(AC_ENV_SAVE): Join the egrep patterns into a single big one.
* tests/Makefile.am (EGREP_EXCLUDE): Rename as FILTER_MACROS.
Join the egrep patterns into a single big one.
2000-03-10 Jim Meyering <meyering@lucent.com>
* acgeneral.m4 (_AC_CHECK_TOOL_PREFIX): Correct typos in definition:
add `_' prefix to make the function name match comments and existing
uses. Remove leading prefix from _AC_CANONICAL_HOST.
2000-03-09 Ossama Othman <ossama@debian.org>
* acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Added some missing
headers if they exist (needed for some missing prototypes) and
corrects the signal handler prototype/definition. The signal
handler prototype is now prepended with an `extern "C"' for C++
compilers since some platforms explicitly require an `extern "C"'
signal handler.
2000-03-08 Akim Demaille <akim@epita.fr>
* autoheader.m4 (autoheader::AC_CHECK_HEADERS_DIRENT): Rename as
(autoheader::_AC_CHECK_HEADERS_DIRENT): to cope with the new name
of the autoconf:: macro.
Fixes autoconf/119, reported by Raja R Harinath.
2000-03-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_PATH_PROG, AC_OUTPUT_FILES, AC_OUTPUT_SUBDIRS):
Fix quotation problems in DOS path handling.
2000-03-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* acspecific.m4 (AC_FUNC_MMAP, AC_FUNC_ALLOCA): Make them C++
safe: include the right headers, cast the allocations etc.
2000-03-08 Akim Demaille <akim@epita.fr>
The argument of AC_COPYRIGHT should be plain text, not an sh
comment.
* libm4.m4 (m4_quote): s/$@/$*/.
* acgeneral.m4 (AC_COPYRIGHT): Prepend `# ' to the lines that go
on the top of `configure'. Actually, prepend `@%:@ ' so that
there are as many evaluations on both sides.
(_AC_INIT_VERSION): No longer strip `# '.
2000-03-08 Akim Demaille <akim@epita.fr>
* tests/Makefile.am (all-local): Remove. It wastes time to have
testsuite rebuilt each time an ac*.m4 file changes. It is enough
to build it for each `make check'.
2000-03-08 Akim Demaille <akim@epita.fr>
Leave a diversion exclusively for Copyright notices.
* acgeneral.m4 (AC_DIVERSION_DEFAULTS): New diversion number.
(_AC_INIT_NOTICE): Move definition of `ac_includes_default' from
here...
(_AC_INIT_PREPARE): to here.
(_AC_INIT_NOTICE): Play with your diversion yourself, don't let
(AC_INIT): do it for you.
(_AC_INIT_DEFAULTS): New macro.
(AC_INIT): Use it.
2000-03-08 Akim Demaille <akim@epita.fr>
Provide a means to specify more Copyright information in
`configure'. And after all, it suits to `configure --version' too.
* acgeneral.m4 (AC_DIVERSION_DEFAULTS, AC_DIVERSION_INIT_PREPARE):
New diversion numbers.
(AC_DIVERSION_INIT): Rename as...
(AC_DIVERSION_INIT_PARSE_ARGS): this.
(AC_DIVERT_POP): Instead of going into wild endless loops when
there are more pops than pushes, die with dignity.
(AC_COPYRIGHT): New macro.
(_AC_INIT_NOTICE): Move definition of `ac_includes_default' from
here...
(_AC_INIT_PREPARE): to here.
(_AC_INIT_NOTICE): Remove.
(AC_INIT): Use it to install Autoconf's Copyright.
(_AC_INIT_DEFAULTS): New macro.
(AC_INIT): Use it.
(AC_PREFIX_DEFAULTS): Dump in AC_DIVERSION_DEFAULTS.
(_AC_INIT_PARSE_ARGS): Dump in AC_DIVERSION_INIT_PREPARE.
2000-03-08 Akim Demaille <akim@epita.fr>
We don't need _AC_ARG_*_HELP_PROLOGUE.
* acgeneral.m4 (AC_EXPAND_ONCE): AC_PROVIDE yourself, in case
there is no AC_DEFUN associated with the text to expand.
(_AC_ARG_ENABLE_HELP_PROLOGUE, _AC_ARG_WITH_HELP_PROLOGUE,
_AC_ARG_VAR_HELP_PROLOGUE): Remove, instead...
(AC_ARG_ENABLE, AC_ARG_WITH, AC_ARG_VAR): do it yourself.
2000-03-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Fix copy n' paste typos in
`--with-*', `--without-*' and `*' decoding.
Reported by Raja R Harinath.
Fixes autoconf/118.
2000-03-08 Akim Demaille <akim@epita.fr>
Don't dump AC_ARG_PROGRAM help messages if not used.
* acgeneral.m4 (_AC_INIT_HELP): Don't.
(AC_ARG_PROGRAM): Do.
2000-03-08 Akim Demaille <akim@epita.fr>
Don't dump X help messages when `configure' does not check for X.
* acgeneral.m4 (_AC_INIT_HELP): Don't dump X help messages.
* acspecific.m4 (AC_PATH_X): Do it.
2000-03-08 Akim Demaille <akim@epita.fr>
No longer rely on /bin/sh to compose the optional parts of
`configure --help'.
* acgeneral.m4 (AC_DIVERSION_HELP_BEGIN, AC_DIVERSION_HELP_ENABLE,
AC_DIVERSION_HELP_WITH, AC_DIVERSION_HELP_VAR,
AC_DIVERSION_HELP_END): New diversion numbers.
(AC_EXPAND_ONCE): New macro.
(AC_PROVIDE_IF): New macro.
(AC_BEFORE, AC_REQUIRE): Use it.
(AC_REQUIRE): Don't use indir.
(_AC_ARG_ENABLE_HELP_PROLOGUE, _AC_ARG_WITH_HELP_PROLOGUE,
_AC_ARG_VAR_HELP_PROLOGUE): New macros.
(AC_ARG_ENABLE, AC_ARG_WITH, AC_ARG_VAR): Expand once the
_HELP_PROLOGUE macro which corresponds.
(_AC_INIT_HELP): Adjust to AC_DIVERSION_HELP_BEGIN and
AC_DIVERSION_HELP_END.
(_AC_INIT_NOTICE, _AC_INIT_HELP): Remove the sh code which handled
the optional help strings.
2000-03-08 Akim Demaille <akim@epita.fr>
AC_OUTPUT_COMMANDS no longer uses a diversion.
* acgeneral.m4 (AC_DIVERSION_CMDS): Removed.
(_AC_OUTPUT_CONFIG_STATUS): Don't undivert it.
2000-03-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Fix quoted/non quoted here
document problems.
2000-03-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_INIT_BINSH, AC_INIT_NOTICE, AC_INIT_PREPARE):
Rename as...
(_AC_INIT_BINSH, _AC_INIT_NOTICE, _AC_INIT_PREPARE): this.
All callers adjusted.
2000-03-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Rename as...
(_AC_INIT_PARSE_ARGS): this.
Move the display of help and version strings to...
(_AC_INIT_HELP, _AC_INIT_VERSION): here.
(AC_INIT): Adjust. Also, fix quotation.
2000-03-08 Akim Demaille <akim@epita.fr>
Some tests are failing with srcdir != builddir, because they can't
find config.guess, install-sh etc.
Reported by Erez Zadok.
* tests/atspecific.m4 (AT_TEST_MACRO): Set AC_CONFIG_AUX_DIR to
top_srcdir in configure.in, and pass the value of top_srcdir to
configure.
2000-03-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH, AC_PATH_PROG,
AC_PATH_PROGS, AC_PATH_TOOL, AC_CHECK_TOOL, AC_PREFIX_PROGRAM,
AC_EGREP_CPP, AC_TRY_LINK, AC_COMPILE_CHECK, AC_TRY_RUN_NATIVE):
Use ifval instead of ifelse.
2000-03-07 Mark Elbrecht <snowball3@bigfoot.com>
Support absolute DOS-style paths.
Any character before the colon is accepted because network drives
can be assigned characters outside the [a-zA-Z] range. DOS-style
relative paths (?:foo/bar) are also considered absolute for
Autoconf's purposes since the path '../?:foo/bar' is invalid.
* acgeneral.m4 (AC_OUTPUT_FILES): Treat DOS-style paths (?:*') as
absolute.
(AC_OUTPUT_SUBDIRS): Likewise.
(AC_PATH_PROG): Make pattern for matching DOS-style paths the same
as that used in AC_OUTPUT_FILES and AC_OUTPUT_SUBDIRS.
2000-03-06 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4 (m4_match): Remove, no longer used.
2000-03-04 Jim Meyering <meyering@lucent.com>
* autoheader.sh: Use `rm -f', not just `rm' when removing temporaries.
Preserve exit status in trap handler.
Based on suggestions from Paul Eggert.
2000-03-03 Paul Eggert <eggert@twinsun.com>
Move the quadrigraphs out of the user name space.
* acgeneral.m4: 's/\@BKL@/@<:@/g', 's/\@BKR@/\@:>@/g',
's/\@DLR@/\@S|@/g', 's/\@PND@/@%:@/g'.
* acspecific.m4: Likewise.
* autoconf.sh: Likewise.
2000-03-03 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_WHICH_A): New macro.
(AC_CHECK_PROG): Use it. Use ifval.
(AC_CHECK_PROGS): Use ifval. Fix the quoting.
* tests/semantics.m4: Test AC_CHECK_PROG.
* tests/Makefile.am (EGREP_EXCLUDE): Add /AC_CHECK_PROGS?/.
2000-03-02 Russ Allbery <rra@stanford.edu>
* autoscan.pl (parse_args): Add support for -m <macrodir>.
2000-03-02 Akim Demaille <akim@epita.fr>
The whole family supports -V = --version.
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Report and support -V.
* autoconf.sh: Likewise.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* autoheader.sh: Likewise.
* autoscan.pl: Likewise.
* ifnames.sh: Likewise.
In addition, don't dump --help on invalid options.
* doc/autoconf.texi: Adjusted.
* doc/install.texi: Likewise.
2000-03-02 Lars J. Aas <larsa@sim.no>
* libm4.m4 (m4_noquote): New macro.
2000-03-02 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_PATH_X_DIRECT): Moved all the shell variable
into the ac_ name space.
Reported by Nicolas Joly.
2000-03-02 Akim Demaille <akim@epita.fr>
* acspecific.m4: Move some macros to a better place.
2000-03-02 Akim Demaille <akim@epita.fr>
Internal macros are named `_AC_'.
* acgeneral.m4 (AC_CANONICAL_TARGET, AC_CANONICAL_BUILD,
AC_CANONICAL_THING, AC_CHECK_TOOL_PREFIX, AC_CONFIG_UNIQUE):
Prepend `_' to their names.
* acspecific.m4 (AC_CHECK_HEADER_DIRENT, AC_CHECK_HEADERS_DIRENT,
AC_PATH_X_XMKMF, AC_PATH_X_DIRECT): Prepend `_' to their names.
* doc/autoconf.texi (Macro Names): Adjusted.
2000-03-02 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Formatting changes.
* acspecific.m4: Likewise.
2000-03-01 Akim Demaille <akim@epita.fr>
The empty regexp cannot be portably used in egrep's alternation.
For instance with Digital Unix v5.0:
> echo "foo" | egrep -e "^(|foo|bar)$"
> echo "|foo" | egrep -e "^(|foo|bar)$"
|foo
> echo "|bar" | egrep -e "^(|foo|bar)$"
> echo "bar" | egrep -e "^(|foo|bar)$"
bar
> echo "bar" | egrep '^(foo|bar|)$'
> echo "bar|" | egrep '^(foo|bar|)$'
bar|
> echo "bar" | egrep '^(foo||bar)$'
> echo "|bar" | egrep '^(foo||bar)$'
|bar
> echo "foo" | egrep '^(foo||bar)$'
foo
> echo "foo|" | egrep '^(foo||bar)$'
>
Reported by Nicolas Joly.
* src/actest.m4 (AC_ENV_SAVE): s/(|EXTRA_|PRE_)/(EXTRA_|PRE_)?/.
2000-03-01 Akim Demaille <akim@epita.fr>
* acspecific.m4: Removed a few addresses, the map is...
* THANKS: here.
2000-03-01 Lars Hecking <lhecking@nmrc.ucc.ie>
* acspecific.m4 (AC_PATH_XTRA): On LynxOS 3.0.1/i386,
gethostbyname(), getservbyname(), and inet_addr() are in -lbsd.
2000-03-01 Akim Demaille <akim@epita.fr>
* tests/actest.m4 (AC_ENV_SAVE): Use multiple -e instead of
multiple egrep.
2000-03-01 Akim Demaille <akim@epita.fr>
* config.guess: Updated from master repository.
* config.sub: Likewise.
2000-03-01 Akim Demaille <akim@epita.fr>
Test suite: instead of using a full list of the AC macros and an
AT macro with selects which are the AC macros to test, just
produce the list of the AC macros we want to test.
* tests/atspecific.m4 (TEST_MACRO): Removed.
* tests/Makefile.am (EGREP_EXCLUDE): New variable, performing the
selection TEST_MACRO used to do.
(macros.m4): Use it. Use AT_TEST_MACRO, not TEST_MACRO. Check
also AU macros.
2000-03-01 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Tune the use of quotes, add missing
@noindents, remove dead FIXME:s, promote #if ! over #ifndef,
simplify duplicated text.
2000-03-01 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Configuration Commands): Document
AC_CONFIG_COMMANDS_PRE and _POST.
2000-02-29 Akim Demaille <akim@epita.fr>
Test suite: more debugging information.
* tests/atspecific.m4 (AT_TEST_MACRO): When verbose, report the
content of config.log.
2000-02-29 Akim Demaille <akim@epita.fr>
* Makefile.am (MAKEINFO): Removed.
(INSTALL.txt): Call $(MAKEINFO) with --no-split.
Reported by Nicolas Joly.
2000-02-28 Akim Demaille <akim@epita.fr>
* doc/Makefile.am (MAKEINFO): s/makeinfo/@MAKEINFO@/.
* missing: chmod +x.
2000-02-28 Akim Demaille <akim@epita.fr>
* tests/Makefile.am (testsuite): Use $(M4), not m4.
From Patrick Tullmann.
2000-02-25 Akim Demaille <akim@epita.fr>
* src/acgeneral.texi (AC_INIT_NOTICE): Include inttypes.h in the
ac_includes_default.
* doc/autoconf.texi (Default Includes): Adjust.
2000-02-25 Akim Demaille <akim@epita.fr>
Export the knowledge on disabling echo's trailing new line.
* acspecific.m4 (AC_PROG_ECHO_N): Rename as...
(_AC_PROG_ECHO): this.
Set ECHO_N, ECHO_C, ECHO_T instead of ac_n, ac_c and ac_t.
All dependencies changed.
* doc/autoconf.texi (Preset Output Variables): Document ECHO_C,
ECHO_N and ECHO_T.
* m4/atconfig.m4 (fp_PROG_ECHO): Removed.
(AT_CONFIG): Don't use it.
2000-02-24 Akim Demaille <akim@epita.fr>
* autoconf.sh (AC_ACLOCALDIR): Use `(aclocal) 2>/dev/null`, not
`aclocal 2>/dev/null` if you want no complaints for missing
aclocal.
From Nicolas Joly.
2000-02-22 Pavel Roskin <pavel_roskin@geocities.com>
* configure.in (HELP2MAN): Specify the third argument of
AM_MISSING_PROG. Fixes autoconf/116.
2000-02-21 Akim Demaille <akim@epita.fr>
* tests/tools.m4 (syntax.sh): The logic of the previous patch was
twisted. Fix it so that it performs what claims the entry below.
From Nicolas Joly.
2000-02-21 Akim Demaille <akim@epita.fr>
* tests/tools.m4 (syntax.sh): Exit 1 if you managed to kill the
child, since it means `/bin/sh -n' went loopy.
2000-02-18 Akim Demaille <akim@epita.fr>
Some `diff' refuse to diff with /dev/null, such as Tru64's.
Reported by Nicolas Joly.
* tests/atgeneral.m4 (empty): New dummy file.
Changed various `diff /dev/null' as `diff empty'.
2000-02-18 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4 (TEST_MACRO): Don't run AC_PATH_TOOL and
AC_PATH_PROG.
2000-02-18 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (at_diff): Don't use `cmp -s', on DOS it
differentiate between Unix and DOS EOL. `diff' does not.
Reported by Eli Zaretski.
Also, be ready to use a diff that does not support `-u'.
2000-02-18 Akim Demaille <akim@epita.fr>
* tests/tools.m4 (Syntax of the scripts): Be robust to shells that
never return on some `/bin/sh -n foo.sh'.
Reported by Nicolas Joly.
2000-02-17 Akim Demaille <akim@epita.fr>
Move the documentation into doc/.
Some CVS tricks were used so that history is kept in both the top
directory, and in doc/.
* doc/Makefile.am: New file.
* Makefile.am: Adjusted.
* configure.in: Adjusted.
* autoconf.texi: Moved from here to...
* doc/autoconf.texi: here.
* make-stdts.texi: Likewise.
* install.texi: Likewise.
* texinfo.tex: Likewise.
2000-02-17 Akim Demaille <akim@epita.fr>
* tests/actest.m4 (AC_ENV_SAVE): Added ALLOCA.
2000-02-17 Akim Demaille <akim@epita.fr>
* tests/semantics.m4 (AC_CHECK_TYPES): `addr, addr' is not
portable sed: use `addr,addr'.
2000-02-17 Akim Demaille <akim@epita.fr>
Fix the `missing dummy.in' reported by the test suite.
Reported by Erez Zadok.
* tests/torture.m4 (config.status under extreme conditions):
Reorganized. Because files required by this test were created
outside the pair AT_SETUP/AT_CLEANUP, when the test fails and
autotest extracts this test, the `debug' script does not contain
the files it needs. Now AT_SETUP/AT_CLEANUP encloses the full
auto contained section.
2000-02-16 Akim Demaille <akim@epita.fr>
* tests/actest.m4 (AC_ENV_SAVE): X_EXTRA_LIBS can be changed by
AC_PATH_EXTRA.
Reported by Erez Zadok.
2000-02-15 Akim Demaille <akim@epita.fr>
Define HAVE_DECL_FOO both to 1 if found and 0 otherwise.
* acgeneral.m4 (AC_CHECK_DECLS): Define HAVE_DECL_FOO to 1 instead
of NEED_FOO_DECL if found. Define to 0 if not found.
* autoheader.m4 (AC_CHECK_DECLS): Template HAVE_DECL_FOO.
* tests/semantics.m4 (AC_CHECK_DECLS): Adjusted.
* doc/autoconf.texi (Generic Declarations): Adjusted.
2000-02-15 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Generic Structures):
s/AC_FATAL/AC_MSG_ERROR.
2000-02-15 Akim Demaille <akim@epita.fr>
autoreconf had a silly syntax error, test it and fix it.
Reported by Franc,ois Pinard and Rainer Orth.
* autoreconf.sh: Removed spurious `;;'.
Formatting changes.
* tests/tools.m4 (Syntax of the scripts): Run `sh -n' on all the
shell scripts.
2000-02-15 Akim Demaille <akim@epita.fr>
* autoconf.sh (options handling): --v* of --version was shadowing
--verbose.
2000-02-11 Akim Demaille <akim@epita.fr>
* tests/torture.m4: Nuke the trailing space in defs.
2000-02-11 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4: Really added to the CVS repository.
2000-02-11 Akim Demaille <akim@epita.fr>
Don't use `cat -s' to single out new-lines, it is not portable.
Also remove trailing blanks.
* tests/Makefile.am (testsuite): Use sed instead of cat.
* tests/torture.m4: No longer check for a trailing space.
* autoconf.sh: Likewise.
2000-02-10 Akim Demaille <akim@epita.fr>
* tests/actest.m4 (AC_ENV_SAVE): OpenBSD-2.3's /bin/sh defines an
envvar SECONDS which does change with time.
KMEM_GROUP is set by AC_FUNC_GETLOADAVG.
Reported by Volker Borchert.
2000-02-10 Akim Demaille <akim@epita.fr>
* tests/Makefile.am (macros.m4): Better regex to build `macro'.
Depend upon acgeneral.m4.
2000-02-10 Akim Demaille <akim@epita.fr>
* autoheader.sh: Remove the duplicate trap code.
2000-02-10 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_OUTPUT): When dispatching your arguments, use
ifval, not ifset!
Dispatch actions to AC_CONFIG_COMMANDS not AC_OUTPUT_COMMANDS, to
avoid unneeded warnings for obsolete use of AC_OUTPUT_COMMANDS.
2000-02-10 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_VERBOSE): This is a tab, not spaces.
2000-02-10 Akim Demaille <akim@epita.fr>
Changequote busters II.
They're back to save the world.
* acspecific.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O,
AC_PROG_MAKE_SET, AC_TYPE_GETGROUPS, AC_FUNC_GETLOADAVG,
AC_FUNC_MKTIME, AC_STRUCT_TIMEZONE, AC_F77_LIBRARY_LDFLAGS): Blast
that jelly o' changequote. Set the quotes free.
2000-02-10 Akim Demaille <akim@epita.fr>
Interrupting autoheader left temp files.
From Jim Meyering.
* autoheader.sh (usage): The usage is to use $0 here.
(ah_base): Be in TMPDIR.
Install the `trap' before creating the first tmp file.
Also trap on 0.
2000-02-10 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): This is a routine of
`configure', not `config.status', hence use `conftest' for tmp
files, not `$ac_cs_root'.
Removed forgotten developer comment.
Double quoting the whole body is nicer than just the part that
needs to be.
2000-02-10 Akim Demaille <akim@epita.fr>
* tests/torture.m4: Also check the value of @DEFS@ when no
CONFIG_HEADER is used.
2000-02-10 Akim Demaille <akim@epita.fr>
Changequote-busters!
From Dan Ackroyd.
* acgeneral.m4 (AC_INIT_PARSE_ARGS, AC_INIT_PREPARE,
AC_CACHE_SAVE, AC_PREFIX_PROGRAM, AC_OUTPUT,
_AC_OUTPUT_CONFIG_STATUS, AC_OUTPUT_MAKE_DEFS, AC_OUTPUT_FILES,
_AC_OUTPUT_HEADERS, AC_OUTPUT_LINKS, AC_OUTPUT_SUBDIRS): Quit
playing with changequotes, @BKL@ and Co.! Just quote properly.
2000-02-10 Akim Demaille <akim@epita.fr>
Honor properly the `#define' config.h.in templates.
Test it.
* acgeneral.m4 (AC_OUTPUT_HEADERS): Rename as...
(_AC_OUTPUT_HEADERS): this. All callers changed.
Don't mess with changequote, just quote properly.
Bug 1. Because of the `#' in `ac_dA', the quotes <<>> were not
removed, and therefore the sed script contained `<<define>>'
instead of `define'. Now that the block is properly quoted, there
is no need to quote `define'.
Bug 2. Once a `#define' substitution performed, we were branching
to the top of the sed script (`t top'). This resulted in an
endless substitution of `#define foo 1' to `#define foo 1'.
Branching is not enough: you also have to fetch the next input
line, i.e., use `t' instead of `t t' in ac_dD, and don't output
`: top' in `config.defines'.
Though it was correct for `#undef' templates, just apply the same
transformation to `ac_uD' and `config.undefs'.
Bug 3. Don't try to preserve what was behind the value in the
template, since on
#define NAME "bar baz"
it leads to
#define NAME 1 baz"
Now `ac_dB' catches everything behind the NAME (making sure there
is at least a space) and `ac_dC' only outputs a space.
* tests/torture.m4: Check that various forms of `#define' header
templates are properly handled.
2000-02-10 Akim Demaille <akim@epita.fr>
Avoid calling `rm' without arguments.
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): It is smarter to use a
quoted here doc to output the section providing defaults for
CONFIG_*.
Don't rm the CONFIG_FILES here but in..
(AC_OUTPUT_FILES) [test -n "$CONFIG_FILES"]: here.
Hm, actually, no, just don't remove them at all, let the newly
created files replace the old ones, exactly as in
AC_OUTPUT_HEADERS.
From Graham Jenkins.
2000-02-10 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_LIST_MEMBER_OF): s/ac_$exists/$ac_exists/!
2000-02-10 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Formatting changes.
* acspecific.m4: Likewise.
2000-02-10 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Don't
: ${FOO="$foo"}
but
: ${FOO=$foo}
Since Ultrix will also assign the quotes to FOO.
Reported by Harlan Stenn.
2000-02-10 Akim Demaille <akim@epita.fr>
Keep `AC_CHECK_TYPE' backward compatibility and provide a proper
`AC_CHECK_TYPE',
Based on ideas from Paul Eggert and Alexandre Oliva.
* acgeneral.m4 (AC_CHECK_TYPE_INTERNAL): Rename as...
(_AC_CHECK_TYPE_NEW): this.
(AC_CHECK_TYPES): Adjusted.
(AC_CHECK_TYPE): Rename as...
(_AC_CHECK_TYPE_OLD): This. Adjusted to _AC_CHECK_TYPE_NEW.
No longer support extra includes, stick to 2.13's interface.
(_AC_CHECK_TYPE_BUILTIN_P): New macro.
(AC_CHECK_TYPE): New macro.
* autoheader.m4 (autoheader::AC_CHECK_TYPE): Rename as...
(autoheader::_AC_CHECK_TYPE_OLD): this.
* tests/atspecific.m4 (TEST_MACRO): Skip /^_AC_/ macros.
* tests/semantics.m4: Test the choices of AC_CHECK_TYPE (wrt _NEW
or _OLD implementation).
* doc/autoconf.texi (Generic Types): Reorganized. Explain
everything about AC_CHECK_TYPE and Co.
2000-02-10 Akim Demaille <akim@epita.fr>
* libm4.m4 (near m4_split): Remove the buggy additional
changequote.
Quote properly `m4_split' when registering it.
2000-02-10 Akim Demaille <akim@epita.fr>
The AU-glue code for AC_LINK_FILES was not fully compatible: in
AC_LINK_FILES($from, $to)
`$from' and `$to' can be lists, hence `AC_CONFIG_LINKS($to:$from)'
is wrong.
Reported by H.J. Lu.
* acgeneral.m4 (AC_LINK_FILES): Replace the m4-glue code from
AC_LINK_FILES to AC_CONFIG_LINKS, with sh-glue code.
Give a detailed update message.
(_AC_LINK_FILES_CNT): New variable. Initialize.
* tests/tools.m4 (autoupdate): No longer exercise `autoupdate'
with AC_LINK_FILES.
2000-02-10 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_PROG_SED): Removed.
2000-02-10 Akim Demaille <akim@epita.fr>
AC_CHECK_FILES has never worked properly.
* acgeneral.m4 (AC_CHECK_FILE): Use AC_CACHE_CHECK.
* autoheader.m4 (AC_CHECK_FILES): AH-define.
* tests/semantics.m4: Test AC_CHECK_FILES.
* tests/atspecific.m4 (TEST_MACRO): Don't.
2000-02-10 Akim Demaille <akim@epita.fr>
No longer use a diversion to store the sed program implementing
AC_SUBST.
* acgeneral.m4 (_AC_SUBST): New macro.
(_AC_SUBST_SED_PROGRAM): Initialize.
(AC_SUBST): Use _AC_SUBST.
(AC_SUBST_FILE): Likewise.
(AC_DIVERSION_SED): Removed. Renumber the AC_DIVERSIONs.
(AC_OUTPUT_FILES): Instead on undiverting AC_DIVERSION_SED, output
_AC_SUBST_SED_PROGRAM.
2000-02-10 Akim Demaille <akim@epita.fr>
Standardize the error messages in the options handling of
`configure' and `config.status'.
* acgeneral.m4 (AC_OUTPUT_CONFIG_STATUS): Rename as...
(_AC_OUTPUT_CONFIG_STATUS): this.
Change the error messages from
value: invalid feature name
to
invalid feature: value
Invite the user to try --help for invalid options.
(AC_INIT_PARSE_ARGS): Likewise.
2000-02-10 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_OUTPUT_COMMANDS_COMMANDS): Rename as...
(_AC_OUTPUT_COMMANDS): This. All callers changed.
Disable the verbose message until Automake uses the new features
of `config.status'.
Reported by Jim Meyering.
2000-02-10 Akim Demaille <akim@epita.fr>
Clean up a few changequotes.
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Instead of using changequote
to protect a few `[ ]', double quote the constant sections.
2000-02-10 Akim Demaille <akim@epita.fr>
Restore AC_HAVE_LIBRARY.
* acgeneral.m4 (AC_HAVE_LIBRARY): AU_DEFUNed in terms of
AC_CHECK_LIB.
* doc/autoconf.texi (Libraries): Document.
2000-02-09 Akim Demaille <akim@epita.fr>
Fix the handling of `./configure foo=bar' and test it.
* acgeneral.m4 (AC_INIT_PARSE_ARGS, getopt loop): Always define
ac_optarg as the rhs of the first `=', not only on `-.*=', so that
`configure var=val' defines ac_optarg=val.
Improve the robustness to shell special characters:
- Use grep when checking that shell variable names are valid.
- Quote the quotes in ac_optarg before `eval var='$ac_optarg''.
- Quote the quotes when building ac_configure_args.
* tests/torture.m4: Test that `./configure foo=bar' works properly.
2000-02-09 Akim Demaille <akim@epita.fr>
Resynchronize `INSTALL' with the current `configure', and
conversely...
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Let `configure' support `-h =
--help' and `-n = --no-create'.
Document -h, -n and -q in configure's help message.
* install.texi (Operation Controls): Formatting changes.
Document `configure -h'.
2000-02-09 Akim Demaille <akim@epita.fr>
* README: Updated.
2000-02-09 Akim Demaille <akim@epita.fr>
* ChangeLog.1: Formatting changes.
2000-02-09 Akim Demaille <akim@epita.fr>
Clean up `make clean'.
* Makefile.am (CLEANFILES): Added autoupdate.m4f and autoconf.tmp.
* tests/torture.m4: Rm dummy and dummy.in.
2000-02-09 Akim Demaille <akim@epita.fr>
Test `autoupdate'.
* tests/tools.m4 (AH_DEFUN): Fix the comments.
Quote properly.
(autoupdate): New test.
2000-02-09 Akim Demaille <akim@epita.fr>
AU_ glue code for AC_OUTPUT with arguments.
* acgeneral.m4 (AU_DEFINE): New macros, pulled out from AU_DEFUN.
Defines a macro in `autoupdate::' with all the required wrapping
for `autoupdate'.
(AU_DEFUN): Use it.
(AC_OUTPUT): When dispatching your arguments, use ifval, not
ifset!
Dispatch actions to AC_CONFIG_COMMANDS not AC_OUTPUT_COMMANDS, to
avoid unneeded warnings for obsolete use of AC_OUTPUT_COMMANDS.
(autoupdate::AC_OUTPUT): New macro.
* doc/autoconf.texi (Writing configure.in, the example): Don't
advocate AC_OUTPUT with args.
(Output, AC_OUTPUT with args): Simplify the documentation, and
provide the translation into the new scheme.
Propagate what remained into the proper sections.
2000-02-09 Akim Demaille <akim@epita.fr>
AU_ glue code for AC_OUTPUT_COMMANDS.
* acgeneral.m4 (AC_OUTPUT_COMMANDS): AU_DEFUNed in terms of
AC_CONFIG_COMMANDS.
(AC_OUTPUT_COMMANDS_CNT): New variable, declared both in
`autoconf::' and `autoupdate::'.
(AC_OUTPUT): Register your arguments to AC_OUTPUT_COMMANDS only if
there are to avoid spurious `run autoupdate' messages.
* doc/autoconf.texi (Libraries): Document the changes.
2000-02-09 Akim Demaille <akim@epita.fr>
Avoid outputting `config_files' code in `config.status' if there
are none.
* acgeneral.m4 (AC_OUTPUT): Don't register $1 to `AC_CONFIG_FILES'
if $1 is empty.
Normalize the names of the sections in `config.status --help'.
2000-02-09 Akim Demaille <akim@epita.fr>
* README-alpha: New file, based on Automake's.
* Makefile.am: Tuned.
2000-02-09 Akim Demaille <akim@epita.fr>
Extend the concept of `INIT-CMDS' to the AC_CONFIG_FOOS.
* acgeneral.m4 (_AC_CONFIG_COMMANDS_INIT): New macro which will
collect the `INIT-CMDS'.
(AC_CONFIG_COMMANDS, AC_CONFIG_LINKS, AC_CONFIG_HEADERS,
AC_CONFIG_FILES): Use it, and also temporarily divert to -1
instead of spamming dnl everywhere.
(AC_OUTPUT_CONFIG_STATUS): Make sure to output the INIT-CMDS
before the other sections, it'd be a pity to initialize after the
use :).
* doc/autoconf.texi (Configuration Actions): New section,
documenting the common behavior of AC_CONFIG_FILES,
AC_CONFIG_HEADERS, macro AC_CONFIG_COMMANDS, and AC_CONFIG_LINKS.
(Configuration Files): Document $2 and $3 of AC_CONFIG_FILES.
(Configuration Headers): Document $2 and $3 of AC_CONFIG_HEADERS.
(Configuration Commands): Document $2 and $3 of AC_CONFIG_COMMANDS.
(Configuration Links): Document $2 and $3 of AC_CONFIG_FILES.
2000-02-09 Akim Demaille <akim@epita.fr>
* libm4.m4 (m4_sign, m4_cmp, m4_list_cmp): New macros.
* acgeneral.m4 (AC_UNGNITS): Rename as...
(_AC_VERSION_UNLETTER): this. All callers changed.
Implement the scheme proposed by Alexandre Oliva:
Nl -> (N+1).-1.(l#)
(_AC_VERSION_COMPARE): New macro.
(AC_PREREQ): Use it.
2000-02-09 Akim Demaille <akim@epita.fr>
* tests/base.m4: Really added to the CVS repository.
* tests/tools.m4: Likewise.
2000-02-09 Akim Demaille <akim@epita.fr>
* tests/base.m4: s/m4 -I ../m4 -I $at_top_srcdir/.
2000-02-08 Akim Demaille <akim@epita.fr>
* autoheader.sh (debug): Initialize to `false', not 0.
2000-02-08 Akim Demaille <akim@epita.fr>
Fix a bug: `libm4::define' was incorrectly registered.
* libm4.m4 (libm4::define): Not only register, define too.
2000-02-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_COMPILE_CHECK): Use AU_DEFUN, remove the call
to AC_OBSOLETE.
2000-02-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_PROVIDE): Use `m4_define', not `define'.
Because of the names pace machinery this change makes `autoconf'
about four times faster on complex `configure.in's.
2000-02-08 Akim Demaille <akim@epita.fr>
Open the access to AH_ to users.
* autoheader.m4 (autoheader::AH_DEFUN): New macro.
* tests/tools.m4: New file, in charge of testing the scripts.
All the dependencies adapted.
* tests/actest.m4 (autoheader::AC_TATOOINE): New macro, used while
testing autoheader.
* tests/atspecific.m4: Create config.hin instead of config.h.in.
2000-02-08 Akim Demaille <akim@epita.fr>
Because of commas and brackets, m4_split must mess with the
quotes.
* libm4.m4 (m4_split): Quote the elements of the list you produce.
* tests/base.m4: New file, testing libm4.
All callers adapted.
Test m4_wrap.
2000-02-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CONFIG_UNIQUE): Strip the `:foo.in' part
yourself, in order to give better error messages.
(AC_CONFIG_IF_MEMBER): Adapted to the above change.
Quote some regexp active characters ([+.*]).
Suggested by Alexandre Oliva.
2000-02-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_INCLUDES_DEFAULT): Make it more robust to
the fact it is used non quoted.
Reported by Jim Meyering.
2000-02-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_OUTPUT_FILES): Simplify some excess in
changequote.
(AC_OUTPUT_SUBDIRS): Likewise.
2000-02-08 Akim Demaille <akim@epita.fr>
* autoupdate.sh: Don't dump --help on --wrong-option.
* autoconf.sh: Reformatting, and use >&2 instead of 1>&2.
* autoreconf.sh: Likewise.
* autoheader.sh: Likewise.
2000-02-08 Akim Demaille <akim@epita.fr>
* libm4.m4 (m4_namespace_push, m4_namespace_pop): Use the private
macros to be robust to name space changes.
(m4_popdef, m4_pushdef): New private macros.
2000-02-08 Akim Demaille <akim@epita.fr>
Let the doc catch up.
* doc/autoconf.texi (Common Behavior): New section, to document
the common behavior of the macros.
(Standard Symbols): New subsection. Describes the transformation
of the AC_DEFINEd names.
(Default Includes): New subsection. Obvious content.
All the ``callers'' updated.
2000-02-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_OUTPUT_HEADERS): Don't use `break' to exit the
while loops which are breaking conftest.defines and
conftest.undefs into smaller snippets: just use the proper
condition for the while.
Suggested by Alexandre Oliva.
2000-02-08 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Configuration Commands): New section, for
AC_CONFIG_COMMANDS.
Move the definition of AC_OUTPUT_COMMANDS here.
(Configuration Links): New section, for AC_CONFIG_LINKS and
AC_LINK_FILES.
(Configuration Files): New section, for AC_CONFIG_FILES.
(Globally) Promote AC_CONFIG_HEADERS over AC_CONFIG_HEADER.
(Using System Type): Don't document AC_CONFIG_LINKS and
AC_LINK_FILES.
(Invoking config.status): Mention CONFIG_COMMANDS.
Document --file and --header.
Talk first of the newest interface of config.status.
2000-02-08 Akim Demaille <akim@epita.fr>
Introduce a concept index, and update a bit the documentation.
* doc/autoconf.texi (Concept Index): New section.
Various entries added.
(Typedefs): Rename as...
(Types): this. Pay attention to not limiting the documentation to
the typedefs.
(Particular Types): Mention the equivalent generic test.
Promote the GNU coding style at various places.
2000-02-08 Akim Demaille <akim@epita.fr>
Revamp the autoupdate/AC_OBSOLETE chain. All the details are
given in the prologue of acoldnames.m4.
* acgeneral.m4 (Prologue): Enter the `autoconf' name space.
(AU_DEFUN): New macro.
* autoupdate.m4: New file.
Disable the name spaces `autoconf', and `libm4'. Disable libm4.
* Makefile.am: Tuned to support the changes above.
* autoupdate.sh: Model after autoconf.sh.
Can run on several files at once (for instance m4/*.m4).
Don't touch files that are up to date.
Run m4 on autoupdate.m4f instead of playing with sed.
Use AU_DEFUN.
* acgeneral.m4 (AC_LINK_FILES, AC_ENABLE, AC_WITH): Use AU_DEFUN,
remove the call to AC_OBSOLETE.
* acspecific.m4 (AC_CYGWIN32): Likewise.
* acoldnames.m4: Replaced all the definitions via `define' or
`AC_DEFUN' to use `AU_DEFUN'.
2000-02-08 Akim Demaille <akim@epita.fr>
Clean up some m4 files.
* acoldnames.m4: Use `#', not `dnl'.
Don't spread `dnl' everywhere, anyway, we are in a divert(-1).
* autoconf.m4: Likewise.
* autoheader.m4: Likewise.
2000-02-08 Akim Demaille <akim@epita.fr>
Clean up autoconf.
* autoconf.sh: Minor reorganizations to clearly separate the
prologue, which is almost common to all the shell scripts of
Autoconf, and the body.
2000-02-08 Akim Demaille <akim@epita.fr>
Improve support of name spaces in libm4. Put the m4 builtins
in the `libm4' name space.
* libm4 (m4_changequote, m4_define, m4_defn, m4_dnl, m4_indir,
m4_undefine): Private copies in the global name space. Used by
the name space mechanisms.
(m4_namespace_register): New macro.
(m4_namespace_define): Use it.
(builtin, changequote, defn, dnl, esyscmd, ifdef, ifelse, indir,
patsubst, popdef, pushdef, regexp, undefine, syscmd, sysval): Put
in the `libm4' name space.
(m4_disable, m4_enable): Use the private m4_indir, otherwise once
`libm4' closed, there is no `indir' available, and therefore no
means to reopen a name space.
2000-02-08 Akim Demaille <akim@epita.fr>
Output really nothing if AC_INIT was not given. Unconditional
output can be problematic with autoupdate.
* acgeneral.m4 (AC_INIT_NOTICE): Output ac_includes_default.
(Default includes section): No longer dump ac_includes_default in
AC_DIVERSION_INIT.
2000-02-08 Akim Demaille <akim@epita.fr>
* libm4.m4 (m4_namespace_define): Fix a bug: `m4_namespace'
instead of `$1'.
Simplify some excess in quoting.
Use NAMESPACE::MACRONAME instead of `m4_defn(NAMESPACE,
MACRONAME)'.
2000-02-08 Akim Demaille <akim@epita.fr>
Adapt autoheader to use libm4's name spaces.
* autoheader.m4 (AH_HOOK): Removed.
(AH_DEFUN): Define in the `autoheader' name space.
Use only AH_DEFUN to define macros in this file.
(epilogue): No longer run the `AH_HOOKS', enter the `autoheader'
name space.
2000-02-08 Akim Demaille <akim@epita.fr>
Clean up a bit the user interface.
* autoconf.sh: Give your name while reporting errors.
Don't spit --help for errors on arguments.
* autoreconf.sh: Likewise.
* autoheader.sh: Likewise.
More temporary files that one can browse when debugging.
Don't ${var}, just $var.
Don't dump --help when the arguments are invalid.
(config_h): Use the empty value instead of `undefined' to check
that it is defined.
* acspecific.m4: Formatting changes.
2000-02-08 Akim Demaille <akim@epita.fr>
Introduce name spaces in libm4.
* libm4.m4 (m4_namespace_push, m4_namespace_pop,
m4_namespace_define, define, m4_disable, m4_enable, m4_rename):
New macros.
(_m4_foreach, _m4_for, m4_wrap): Use m4_define for temporaries.
(m4_split): Don't mess with the quotes.
* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS, AC_OUTPUT_HEADERS): Quote
`define'.
2000-02-08 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Introduction): m4 1.4 is now required.
(Invoking autoconf): A better help on --trace.
(Defining Symbols): Advocate a proper use of the quotes in m4
code, including if the quotes are sometimes useless. It is bad,
very bad not to quote properly, so quote all the examples
properly.
(Cache Files): Use a unary call to define, instead of an empty
$2.
(Using System Type): Watch out TeX wrapping.
(Pretty Help Strings): Don't give too long a snippet of --help.
Promote the coding style of Autoconf. Quote properly.
2000-02-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_PRO): Use AC_PROVIDE instead of defining
yourself. This allows to see everything that is AC_PROVIDEd via
autoconf --trace.
(AC_SPECIALIZE): define'd, not AC_DEFUN'd.
(AC_PROVIDE): Use define with a single arg, instead of an empty $2.
2000-02-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (ac_includes_default): Don't use simple quotes, but
doubles quotes if you want to use \-continuation lines: this is
not recognized by MIPS' sh.
2000-02-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4. Formatting changes.
* acspecific.m4: Likewise.
2000-02-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CONFIG_HEADERS, AC_CONFIG_LINKS,
AC_CONFIG_SUBDIRS): A space was missing to separate the arguments
of m4_append.
2000-02-08 Akim Demaille <akim@epita.fr>
Arrange that config.status creates the file with the AC_SUBSTing
engine only if needed.
* acgeneral.m4 (AC_OUTPUT_FILES): Create the sed code only if test
-n "$CONFIG_FILES".
2000-02-08 Akim Demaille <akim@epita.fr>
Promote AC_LANG_CASE.
* acgeneral.m4 (AC_TRY_COMPILER, AC_TRY_LINK_FUNC, AC_CHECK_LIB,
AC_TRY_COMPILE, AC_TRY_LINK, AC_TRY_RUN_NATIVE, AC_CHECK_FUNC):
Use AC_LANG_CASE instead of ifelse (AC_LANG, ...).
(AC_TRY_LINK_FUNC): Quote the body the the AC_DEFUN (whoa, how
could this survive so long?!?).
2000-02-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Formatting changes.
* acspecific.m4: Likewise.
2000-02-08 Akim Demaille <akim@epita.fr>
Use the style we promote.
* doc/autoconf.texi (Header Templates): Promote #if over #ifdef;
and #undef over #define in templates.
* acspecific.m4 (AC_DECL_SYS_SIGLIST, AC_FUNC_MMAP,
AC_FUNC_SETPGRP, AC_FUNC_VFORK, AC_FUNC_SELECT_ARGTYPES): Use #if,
not #ifdef and #ifndef, indent CPP directives.
2000-02-08 Akim Demaille <akim@epita.fr>
Quote properly AC_SHELL_IFELSE and callers.
* acgeneral.m4 (AC_SHELL_IFELSE): Don't overquote $1.
(AC_VAR_IF_SET, AC_CHECK_MEMBER, AC_CHECK_LIB, AC_CHECK_HEADER,
AC_CHECK_DECL, AC_CHECK_FUNC, AC_CHECK_TYPE_INTERNAL): Quote the
first argument of AC_SHELL_IFELSE.
2000-02-08 Akim Demaille <akim@epita.fr>
It seems quite delicate to have AC_INCLUDES_DEFAULT insert the
default headers in the INIT section of configure: the reason is
that AC_INCLUDES_DEFAULT is called unquoted, and this results in
an un expected behavior. Thanks to Roman V. Shaposhnick for the
details.
The current implementation is not satisfying: the default headers
are defined in the INIT section even if they are not used.
* acgeneral.m4 (Prologue of AC_INCLUDES_DEFAULTS): Dump the
definition of ac_includes_default in the INIT section of
configure.
(AC_INCLUDES_DEFAULTS): Use it.
2000-02-08 Akim Demaille <akim@epita.fr>
* TODO: Updated.
* THANKS: Updated.
2000-02-08 Akim Demaille <akim@epita.fr>
* libm4.m4 (m4_for): New macro.
2000-02-07 Akim Demaille <akim@epita.fr>
Stay in Autoconf's name space.
* acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): Prefixed with 'ac_':
arg, save_arg, i, seen, previous_arg, ld_run_path.
Rename f77_link_output as ac_link_output.
* tests/actest.m4 (AC_ENV_SAVE): Don't note F77, FFLAGS, FLIBS,
G77, f77_case, f77_underscore.
2000-02-07 Akim Demaille <akim@epita.fr>
Use `#' for comments instead of `dnl'.
Better highlighting of the sections in the sources.
* acgeneral.m4: Formatting changes.
* acspecific.m4: Likewise.
* autoheader.m4: Likewise.
* acoldnames.m4: Likewise.
2000-02-07 Akim Demaille <akim@epita.fr>
Create libm4.m4.
* Makefile.am: Adjusted for libm4.m4.
* acgeneral.m4 (m4_errprint, m4_warn, m4_fatal, m4_prefix,
m4_eval, m4_shift, m4_format, m4_include_unique, m4_include,
m4_sinclude, m4_quote, m4_split, m4_join, m4_strip, m4_append,
m4_list_append, ifval, ifset, m4_default, m4_case, m4_match,
m4_foreach): Moved from here, to...
* libm4.m4: here.
* acgeneral.m4 (AC_WRAP): Moved from here, to...
* libm4.m4 (m4_wrap): here. All callers changed.
* acgeneral.m4: Don't include acversion.m4.
* autoconf.m4: Include libm4.m4 and acversion.m4.
* autoheader.m4: Likewise.
2000-02-07 Akim Demaille <akim@epita.fr>
AC_CHECK_SIZEOF: Fix a bug, use standard default headers, and
test.
* acgeneral.m4 (AC_CHECK_SIZEOF): Don't over quote $1, some []
were left in the C code, and had the macro fail.
Use AC_INCLUDES_DEFAULT.
* doc/autoconf.texi: Mention default includes. Explain stdio.h
must always be given.
* tests/atspecific.m4 (TEST_MACRO): Updated the list of
exceptions.
(AT_CHECK_DEFINES): New macro, to check the content of config.h.
* tests/semantics.m4: All the tests are updated to use
AT_CHECK_DEFINES.
Test AC_CHECK_SIZEOF, AC_CHECK_HEADERS, and AC_CHECK_FUNCS.
2000-02-07 Akim Demaille <akim@epita.fr>
Give explicit diagnostics when an input file (for config headers;
config files etc.) does not exist.
From Jim Meyering.
* acgeneral.m4 (AC_OUTPUT_FILES, AC_OUTPUT_HEADERS): Check for the
existence of source files.
2000-02-07 Akim Demaille <akim@epita.fr>
Torture test config.status, AC_SUBST and AC_DEFINE.
* tests/torture.m4: New file.
* tests/suite.m4: Include it.
2000-02-07 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4 (m4_for, m4_foreach): New macros.
2000-02-07 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_TYPE_INTERNAL): Instead of defining an
unused pointer to the type $1, use
if (($1 *) 0) return 0;
to avoid warnings from the compiler.
From Paul Eggert.
2000-02-07 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_INCLUDES_DEFAULT): Include sys/types.h
Reported by Jim Meyering.
2000-02-07 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4: New file, for AT macros specific to
Autoconf testing.
* tests/suite.m4 (AT_TEST_MACRO): Moved to
* tests/atspecific.m4 (AT_TEST_MACRO): here.
* tests/syntax.m4 (TEST_MACRO): Moved to
* tests/atspecific.m4 (TEST_MACRO): here. Don't test /^AC_INIT/,
nor /^AC_PROG_\(CC\|CXX\|F77\)_\(GNU\|WORKS\)$/: they are already
tried elsewhere.
* tests/Makefile.am: Adjusted.
2000-02-07 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (m4_case): Fixed a typo and a bug: one shift was
missing.
(m4_match): New macro.
* tests/atgeneral.m4 (AT_CASE): Fixed.
2000-02-07 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Formatting changes.
* acspecific.m4: Likewise.
2000-02-07 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): Don't use FFLAGS_SAVE
but ac_save_FFLAGS.
(AC_F77_NAME_MANGLING): Don't use foo_bar but ac_foo_bar.
2000-02-07 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_C_INLINE): Proceed as for AC_C_CONST:
condition out the test case if __cpluscplus.
Don't document the autoheader template twice, one is enough.
* autoheader.m4 (AC_CONFIG_HEADER): don't hook on this guy, but
on...
(AC_CONFIG_HEADERS), since the former is defined on the latter.
2000-02-07 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_TYPE_INTERNAL): Use the scheme proposed
by Alexandre Oliva for testing the definition of TYPE:
TYPE *foo;
sizeof (TYPE);
2000-02-07 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_C_CONST): Don't changequote, there is no need
for it. Just quote properly!
condition out the test case if __cpluscplus.
AC_REQUIRE AC_PROG_CC_STDC.
Fix slightly the display of the result (formerly the first run
says `none needed', and later, because of the cache `no').
(AC_C_INLINE, AC_C_VOLATILE): AC_REQUIRE AC_PROG_CC_STDC.
* doc/autoconf.texi (AC_C_CONST): Give a few hints on the
motivation for trusting the C++ compilers.
2000-02-07 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4: Updated.
(AT_CASE): new macro.
(AT_CHECK): Use it. Don't changequote for patsubst, there is no
need.
* tests/syntax.m4 (TEST_MACRO): Don't run AC_ARG_VAR.
Reported by Jim Meyering.
Use AT_CASE.
2000-02-07 Akim Demaille <akim@epita.fr>
Test that the macros respect the user variable name space.
* acgeneral.m4 (AC_CANONICAL_THING): define, not AC_DEFUN.
Don't AC_PROVIDE, there is no need.
When calling `config.sub`, also || exit 1, to catch failures from
config.sub.
* acspecific.m4 (AC_SYS_LONG_FILE_NAMES): Use ac_val, not val.
(AC_EXEEXT): Use ac_file, not file.
* tests/actest.m4: New file, holding extra Autoconf macros used
during the testing.
(AC_ENV_SAVE): New macro, save the sh variables in a file.
* tests/suite.m4 (AT_TEST_MACRO, Generation of configure.in):
include actest.m4, and call twice AC_ENV_SAVE to compare the
variables before and after the macro.
* tests/Makefile.am (macro.m4): Don't test macros that are
required: they will be tested somewhere else.
2000-02-07 Akim Demaille <akim@epita.fr>
* acgeneral.m4(AC_CONFIG_PRE_COMMANDS, AC_CONFIG_POST_COMMANDS):
Rename as AC_CONFIG_COMMANDS_PRE, AC_CONFIG_COMMANDS_POST. All
dependencies changed.
From Jim Meyering.
2000-02-07 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Formatting changes.
* acspecific.m4: Likewise.
2000-02-07 Akim Demaille <akim@epita.fr>
Start a new series of tests which check the semantics.
* acgeneral.m4 (AC_CHECK_MEMBER): It is not smart to define
ac_Foo, and use AC_Foo. Got rid of AC_Member_Aggregate and
AC_Member_Member which were complicating more than simplifying.
(AC_CHECK_DECLS): Use m4 lists.
(AC_CHECK_TYPES): A comma was missing.
* autoheader.m4: (AC_CHECK_DECLS): Use m4 lists.
* doc/autoconf.texi (Generic Declarations): AC_CHECK_DELCS uses m4
lists.
* tests/semantics.m4: New file. Collection of semantical tests:
verify that the tests are positive and negative when appropriate.
Test AC_CHECK_MEMBERS, AC_CHECK_DECLS and AC_CHECK_TYPES.
2000-02-04 Akim Demaille <akim@epita.fr>
* tests/Makefile.am (macros.m4): Fix the sed snippet.
2000-02-04 Akim Demaille <akim@epita.fr>
* testsuite/autoconf.g/init.exp: Removed, test performed by
tests/syntax.m4.
* testsuite/autoconf.g/sizeof.exp: Likewise.
* testsuite/autoconf.s/defines.exp: Likewise.
* configure.in (AC_OUTPUT): Adjusted.
* Makefile.am (SUBDIRS): Adjusted.
2000-02-04 Akim Demaille <akim@epita.fr>
* tests/syntax.m4: Test AC_CHECK_SIZEOF.
* tests/Makefile.am (CLEANFILES, DISTCLEANFILES): Adjusted.
(macros.m4): Use tmp dest files ($@-t), not directly `$@'.
2000-02-04 Akim Demaille <akim@epita.fr>
Hide AH_HOOK behind AH_DEFUN.
* autoheader.m4 (AH_DEFUN): New macro. Combination of define and
AH_HOOK.
(AC_TRY_RUN, AC_DEFINE, AC_DEFINE_UNQUOTED, AC_CHECK_LIB,
AC_CHECK_HEADERS, AC_CHECK_HEADERS_DIRENT, AC_CHECK_DECLS,
AC_CHECK_FUNCS, AC_CHECK_SIZEOF, AC_PROG_LEX, AC_CHECK_MEMBERS,
AC_CHECK_TYPE, AC_FUNC_ALLOCA, AC_CHECK_TYPES, AC_C_CHAR_UNSIGNED,
AC_AIX, AC_F77_WRAPPERS, AC_CONFIG_HEADER): All the former calls
to define and AH_HOOK in autoheader.m4 are replaced by AH_DEFUN.
2000-02-04 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_RSH, AC_ARG_ARRAY, AC_HAVE_POUNDBANG): No use
to hide, you are DEFUNCT.
1999-11-14 Akim Demaille <akim@epita.fr>
* autoconf.texi (Invoking ifnames): ifnames no longer supports
--macrodir.
1999-11-13 Akim Demaille <akim@epita.fr>
Run the `syntax' test on acgeneral macros too.
Fix the bugs discovered.
* acgeneral.m4 (AC_CANONICAL_THING): Quote the
AC_REQUIRE([AC_CANONICAL_HOST]). Bug triggered by the use of
AC_CANONICAL_BUILD alone in configure.in. Also, quote the
arguments of macros (eg, ifelse([$1]...), not ifelse($1...)).
(m4_case): New macro.
(AC_LINKER_OPTION): Don't clash with user's name space
(s/i/ac_link_opt).
(AC_LIST_MEMBER_OF). You mean AC_FATAL, not AC_MSG_ERROR.
Quote properly the argument.
dnl out the empty lines that result from m4 pure code.
Don't pollute the user name space.
Use AC_SHELL_IFELSE.
(AC_F77_NAME_MANGLING): Don't use `test -o'. There are still
name space problems.
* tests/Makefile.am (macros.m4): Also fetch the macros from
acgeneral.m4.
1999-11-13 Akim Demaille <akim@epita.fr>
Really install this patch.
* acgeneral.m4 (AC_MSG_ERROR, AC_MSG_ERROR_UNQUOTED): Allow an
optional $2: exit status.
1999-11-13 Akim Demaille <akim@epita.fr>
Check that the AC_DEFINEs from acspecific.m4 do have a template.
Fix the discovered bugs.
* tests/atgeneral.m4 (AT_CHECK): Don't just exit 1 when you want
to propagate the failure of a test: exit with the same exit
status, at least to preserve 77 (=ignore).
* tests/syntax.m4 (TEST_MACRO): Run also autoheader. Don't run
this test on all the macros, some just cannot run without
arguments.
* acgeneral.m4 (AC_OUTPUT_CONFIG_STATUS): In the if egrep/fi for
#define templates, add a `:' to prevent syntax errors in
config.status when there are no AC_DEFINE performed.
* autoheader.m4 (AH_TEMPLATE): Don't use _AC_SH_QUOTE here, use it
in...
(AH_VERBATIM): here. Now AH_C_UNSIGNED_CHAR is no longer failing
(formerly it would produce a non backslashed backquote, which
made sh choke).
1999-11-13 Akim Demaille <akim@epita.fr>
Introduce a means to distinguish failures of `configure' due to
extern software (so that the test suite doesn't fail on them).
* acgeneral.m4 (AC_MSG_ERROR, AC_MSG_ERROR_UNQUOTED): Allow an
optional $2: exit status.
* doc/autoconf.texi: Document.
* acspecific.m4 (AC_PROG_CC_WORKS, PROG_CXX_WORKS,
AC_PROG_F77_WORKS): Exit 77 if the compiler does not work.
1999-11-13 Akim Demaille <akim@epita.fr>
Clean up a bit the handling of the LANG stack. More is needed.
* acgeneral.m4 (AC_LANG_CASE): New macro.
(AC_LANG_RESTORE): Use m4_case.
(AC_LINKER_OPTION): Use AC_LANG_CASE.
1999-11-11 Akim Demaille <akim@epita.fr>
* autoconf.texi (Generic Declarations): Fixed a typo which
prevented `make distcheck' from succeeding.
* texinfo.tex: Updated for the same reasons.
1999-11-11 Akim Demaille <akim@epita.fr>
Introduce a new style of testing, independent from DejaGNU.
Introduce the logistics.
* configure.in: Initialize AT, and output tests/atconfig, and
tests/Makefile.
* m4/atconfig.m4: New file.
* m4/Makefile.am: Adjusted.
* aclocal.m4: Include atconfig.m4.
* Makefile.am: Adjusted.
* tests/Makefile.am: New file.
* tests/atgeneral.m4: Likewise.
* tests/atconfig.in: Likewise.
Write tests.
* tests/syntax.m4: New file, in charge of checking the validity of
the sh code produced by the macros defined in acspecific.m4.
acgeneral.m4 is not checked here, because these macros require
arguments.
* tests/suite.m4: New file. Run syntax.m4.
1999-11-10 Akim Demaille <akim@epita.fr>
A test suite will be introduced which tries to run all the
specific macros, but hasbeen'd macro make configure die with bad
exit status. So we wish to distinguish live macros from defunct
macros at the moment they are AC_DEFUN'd, not in their body. Hm,
defunct, defunct... Hey! That's a good name!
* acgeneral.m4 (AC_DEFUNCT): New macro, comparable to AC_DEFUN,
but for macros which are no longer defined. Replaces AC_HASBEEN.
(AC_HASBEEN): Defunct. Well, removed in fact.
(AC_HAVE_LIBRARY): Don't use AC_DEFUN and AC_HASBEEN, just
AC_DEFUNCT.
* acspecific.m4 (AC_UNISTD_H, AC_USG, AC_MEMORY_H, AC_DIR_HEADER,
AC_INT_16_BITS, AC_LONG_64_BITS): Likewise.
(AC_XENIX_DIR): It was defunct even before I declared it was: was
depending upon AC_DIR_HEADER which is defunct. So AC_DEFUNCT'ed
now.
(AC_DYNIX_SEQ, AC_IRIX_SUN, AC_SCO_INTL): While we're here, you
too are defunct now.
* autoconf.texi (Obsolete Macros): Replace the documentation of
AC_HASBEEN with that of AC_DEFUNCT.
1999-11-10 Akim Demaille <akim@epita.fr>
* autoconf.sh: Formatting changes.
Removed development junk.
* acspecific.m4: Formatting changes.
* autoconf.m4: Likewise.
* autoheader.m4: Likewise.
1999-11-10 Akim Demaille <akim@epita.fr>
Let Autoconf use autoconf's `--install'.
* m4/Makefile.am: New file.
* m4/init.am: New file, required by Automake.
* m4/missing.am: Likewise.
* m4/sanity.am: Likewise.
* aclocal.m4: Include them.
* configure.in (AC_OUTPUT): Added m4/Makefile.
1999-11-10 Akim Demaille <akim@epita.fr>
Make autoconf support --install.
* autoconf.sh (task install): New task. Extract the set of
auxiliary m4 files a configure.in depends upon. Install links
from library files to the local dir so that the packages depends
only on local extensions. Check that the user includes exactly
the files she needs.
1999-11-10 Akim Demaille <akim@epita.fr>
Require GNU m4 1.4 (well 1.3 in fact).
Because we are ready to handle the case where there are no frozen
files, we *have* to pass a -I, which is dangerous in conjunction
with the silent including of `aclocal.m4': you may include things
that were not expected. Since anyway handling pre 1.3 complicates
the task, just require an m4 which supports reloading of frozen
files.
* acspecific.m4 (AC_PROG_GNU_M4): Check for --reload.
* autoconf.sh: Likewise
* autoheader.sh: Likewise.
* configure.in: Explicitly state the m4 version you want.
1999-11-10 Akim Demaille <akim@epita.fr>
No need for foo="`bar`", foo=`bar` is fine.
Simplify ${foo} and ${1} into $foo and $1.
* acgeneral.m4 (ac_LF_and_DOT): Remove the double quotes.
* acspecific.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O): Likewise.
* autoconf.sh: Likewise.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* ifnames.sh: Remove all the code and messages related to
AC_MACRODIR, since ifnames is not related to macros in anyway.
1999-11-10 Akim Demaille <akim@epita.fr>
New version of AC_INCLUDE, which does not glob, nor rely upon the
shell. Add AC_INCLUDES too. Help tracking multiple inclusions.
* acgeneral.m4 (m4_errprint, m4_warn, m4_fatal): New macros,
variations around errprint.
(m4_include_unique): New macro which registers what are the files
already included, and warns if some are included several times.
(m4_include, m4_sinclude): New macro, using m4_include_unique.
(AC_INCLUDE): Is now just a wrapper of m4_include.
(AC_INIT): Use m4_sinclude, not sinclude.
(_AC_ERRPRINT): Removed, m4_errprint is here!
(AC_WARNING, AC_FATAL): Wrappers of m4_warn and m4_fatal.
1999-11-01 Akim Demaille <akim@epita.fr>
* autoheader.sh: No longer rely on a system acconfig.h.
1999-11-01 Akim Demaille <akim@epita.fr>
Be kind to Automake: list the arguments of selected macros
(for instance AC_SUBST will list each variable which may be
substitued).
* autoconf.sh (--trace, --output): New options.
Implement tracing of macros.
trap also on 0, so that there is no need to rm here and there.
* autoconf.texi (Output): Document --trace and --output.
1999-11-01 Akim Demaille <akim@epita.fr>
Clean up the macros for testing members of aggregates.
* acgeneral.m4 (AC_CHECK_MEMBER): FATAL if $1 has no dot in it.
Use AC_INCLUDE_DEFAULTS.
(AC_C_STRUCT_MEMBER): Removed.
* acspecific.m4 (AC_STRUCT_TIMEZONE): Adapted to AC_CHECK_MEMBERS.
(AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Adapted to
AC_CHECK_MEMBERS and obsoleted.
(AC_STRUCT_ST_BLOCKS): Adapted to AC_CHECK_MEMBERS.
* autoconf.texi (AC_STRUCT_ST_BLKSIZE, HAVE_STRUCT_STAT_ST_RDEV):
Explain they are obsoleted, and how to migrate.
(AC_STRUCT_ST_BLOCKS, AC_STRUCT_TIMEZONE): Explain that the
AC_DEFINE changed (but the former #defines remain defined
currently).
(AC_C_STRUCT_MEMBER): Removed, replaced by the definitions of
AC_CHECK_MEMBER and AC_CHECK_MEMBERS.
1999-11-01 Akim Demaille <akim@epita.fr>
Install a uniform set of default includes.
* acgeneral.m4 (AC_INCLUDES_DEFAULT): New macro. Expands in its
argument if non empty, otherwise a default list of includes.
(AC_CHECK_DECL, AC_CHECK_TYPE_INTERNAL): Use AC_INCLUDES_DEFAULT.
* autoconf.texi: Adjusted.
1999-11-01 Akim Demaille <akim@epita.fr>
* autoheader.m4 (AH_FUNC_ALLOCA, AH_C_CHAR_UNSIGNED, AH_AIX):
Don't leave `[]dnl' in pseudo #-comment (actually CPP directives).
1999-11-01 Akim Demaille <akim@epita.fr>
Fix a bit of the brokenness of AC_CHECK_TYPE.
* acgeneral.m4 (AC_CHECK_TYPE_INTERNAL): New macro, inspired from
the former AC_CHECK_TYPE. This macro is exactly the one that
ought to be named AC_CHECK_TYPE: it just checks, and executes user
actions. In the future, this macro ought to be renamed
AC_CHECK_TYPE.
There is a big difference with the former AC_CHECK_TYPE: instead
of grepping in the headers, it tries to compile a variable
declaration. This is both safer, slower, and better, since now we
can check for compiler types (e.g., unsigned long long).
(AC_CHECK_TYPES): The looping and AC_DEFINEing version of the
previous macro. Uses m4 loops.
(AC_CHECK_TYPE): Reimplemented on top of AC_CHECK_TYPE_INTERNAL.
* autoheader.m4 (AH_CHECK_TYPE, AH_CHECK_TYPES): New macros,
hooked.
* autoconf.texi (@ovar): New macro, for optional variables.
(Generic Typedefs): Document AC_CHECK_TYPES.
* autoheader.texi: (AH_CHECK_TYPE, AH_CHECK_TYPES): New macros.
(Epilogue): Hooks them.
1999-11-01 Akim Demaille <akim@epita.fr>
Update autoupdate.
* acoldnames.m4: Sort the two sections.
* acoldnames.m4 (AM_CYGWIN32, AM_EXEEXT, AM_FUNC_FNMATCH,
AM_FUNC_MKTIME, AM_PROG_LIBTOOL, AM_MINGW32, AM_PROG_INSTALL,
fp_FUNC_FNMATCH): Added their new names.
1999-10-31 Akim Demaille <akim@epita.fr>
Create man pages for the executables.
* Makefile.am (SUBDIRS): Add `man' and prepend `.' so that
executables be built before help2man is run.
* configure.in (AC_OUTPUT): Add man/Makefile.
AC_MSG_ERROR, not AC_ERROR.
Check for missing help2man.
* man/Makefile.am: New file.
* man/autoconf.x: Likewise.
* man/autoreconf.x: Likewise.
* man/autoheader.x: Likewise.
* man/autoscan.x: Likewise.
* man/autoupdate.x: Likewise.
* man/ifnames.x: Likewise.
* man/common.x: Likewise.
1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Reformating of configure and
config.status --help.
1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_OUTPUT_CONFIG_STATUS): Implement `config.status
--file' and `--header'.
1999-10-31 Akim Demaille <akim@epita.fr>
* autoheader.m4 (AH_TEMPLATE): Quote $2 once, now _AC_SH_QUOTE
behaves properly.
1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Formatting changes.
* acspecific.m4: Likewise.
1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CONFIG_LINKS): Allow a second argument,
commands to run, as AC_CONFIG_FILES and HEADERS.
(AC_LIST_LINKS_COMMANDS): New growing string. Initialize.
(AC_OUTPUT_LINKS): Use it.
(AC_OUTPUT_FILES, AC_OUTPUT_HEADERS, AC_OUTPUT_LINKS): Don't
pretend to have arguments: you don't depend upon it.
(AC_OUTPUT): Call the previous macros without arguments.
1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_PREFIX_PROGRAM): Don't use define/undefine, but
pushdef/podef. AC_UPCASE_NAME no longer exist.
1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Formatting changes.
1999-10-31 Akim Demaille <akim@epita.fr>
* TODO: Updated.
1999-10-31 Akim Demaille <akim@epita.fr>
Clean up dead comments/code. Clean up the incompatibilities
between quoted and non quoted _AC_ECHO and the like.
* acgeneral.m4: Remove the comments on the no longer defined AC_TR.
(_AC_SH_QUOTE): Be robust to active symbols.
(_AC_ECHO): Quote properly the argument.
(AC_TRY_RUN): Don't quote [AC_TRY_RUN] in the warning.
1999-10-31 Akim Demaille <akim@epita.fr>
* acspecific.m4: Formatting changes.
1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_INIT_NOTICE, AC_INIT_PREPARE, AC_ARG_ENABLE,
AC_ARG_WITH, AC, TRY_COMPILER, AC_TRY_RUN, AC_TRY_CPP,
AC_EGREP_CPP): Use @PND@ instead of [#]: it looses the editors
that try to match the pairs of (), [] etc.
1999-10-31 Akim Demaille <akim@epita.fr>
Fix the compatibility of the compiling macros with C++.
* acgeneral.m4 (AC_TRY_COMPILE, AC_TRY_LINK, AC_CHECK_SIZEOF): Use
`int main () {...}', instead of `main () {...}'.
* acspecific.m4 (AC_TYPE_GETGROUPS, AC_FUNC_CLOSEDIR_VOID,
AC_FUNC_FNMATCH, AC_FUNC_GETPGRP, AC_FUNC_SETPGRP, AC_FUNC_VFORK,
AC_FUNC_WAIT3, AC_FUNC_ALLOCA, AC_FUNC_UTIME_NULL,
AC_FUNC_SETVBUF_REVERSED, AC_FUNC_MEMCMP, AC_C_CHAR_UNSIGNED,
AC_C_LONG_DOUBLE, AC_C_BIGENDIAN, AC_SYS_RESTARTABLE_SYSCALLS):
Likewise.
* acspecific.m4 (AC_FUNC_FNMATCH): Call
AC_CHECK_HEADERS(fnmatch.h), and include fnmatch.h in the compiled
code.
1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_COMPILE_CHECK, AC_TRY_COMPILE,
AC_TRY_RUN_NATIVE, AC_OUTPUT_CONFIG_STATUS): Use @PND@ instead of
[#]: it looses the editors that try to match the pairs of (), []
etc.
Formatting changes.
* acspecific.m4: Formatting changes.
1999-10-31 Akim Demaille <akim@epita.fr>
Allow standard beta version numbers.
* configure.in: Declare version 2.14a.
* acgeneral.m4 (AC_UNGNITS): New macro which transform version
numbers to pure digits (2.14a to 2.14.0.1, 2.15z to 2.15.0.26
etc.).
(AC_PREREQ): Normalize argument and AC_ACVERSION via AC_UNGNITS.
1999-10-31 Akim Demaille <akim@epita.fr>
Fix the --version of all the executables.
* Makefile.am (editsh, editpl): Substitute also PACKAGE and
VERSION.
* autoconf.sh (version): New string.
(--version): Use it.
(--help) Output on stdout, not stderr.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise.
* autoscan.pl: Likewise.
* autoupdate.sh: Likewise.
* ifnames.sh: Likewise.
1999-10-31 Akim Demaille <akim@epita.fr>
Perform a better checking for missing templates in autoheader.
* autoheader.m4 (AH_HOOK): When hook AC_FOO on AH_FOO, define the
new AC_FOO to be the expansion of both AH_FOO *and* AC_FOO. See
its definition for the motivations.
* autoheader.m4 (AH_FUNC_ALLOCA): Remove the now useless
additional templates.
1999-10-31 Akim Demaille <akim@epita.fr>
Work properly with Automake 1.4.
* Makefile.am (distpkgdataDATA): Replaces dist_pkgdata_DATA.
(nodistpkgdataDATA): Replaces nodist_pkgdata_DATA.
(EXTRA_DIST): Added $(distpkgdataDATA).
(pkgdata_DATA): Adapted.
(AUTOMAKE_OPTION): Require 1.4.
1999-10-31 Akim Demaille <akim@epita.fr>
Fix a bug in templates of AC_CHECK_LIB.
* autoheader.m4 (AH_CHECK_LIB): Template HAVE_LIBFOO, not
HAVE_FOO.
1999-10-31 Akim Demaille <akim@epita.fr>
* acspecific.m4: Formating changes.
1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Formating changes.
* acspecific.m4: Likewise.
1999-10-31 Akim Demaille <akim@epita.fr>
* Makefile.am (pkgdata_DATA): Split into dist_pkgdata_DATA and
nodist_pkgdata_DATA.
1999-10-31 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_PROG_GNU_M4): New macro.
* configure.in: Use it.
1999-10-31 Akim Demaille <akim@epita.fr>
Provide a means to specify commands to run before config.status is
created (and, for symmetry, after it is created).
This is typically needed by Automake so that AC_REPLACEd functions
go through deansification via
LIBOBJS=`echo $LIBOBJS | sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
and/or by Libtool which needs to define LTLIBOBJS and others:
LTLIBOBJS=`echo $LIBOBJS | sed 's/\.o/\.lo/g'`
AC_SUBST(LTLIBOBJS)
* acgeneral.m4 (AC_OUTPUT_PRE_COMMANDS): New growing string.
Initialize.
(AC_OUTPUT_POST_COMMANDS): Likewise.
(AC_CONFIG_PRE_COMMANDS): New macro, grows AC_OUTPUT_PRE_COMMANDS.
(AC_CONFIG_PRE_COMMANDS): Likewise.
(AC_OUTPUT): Run AC_OUTPUT_PRE_COMMANDS before
AC_OUTPUT_CONFIG_STATUS, and AC_OUTPUT_POST_COMMANDS after.
1999-10-31 Akim Demaille <akim@epita.fr>
Remove spurious empty lines appearing in configures.
* acgeneral.m4 (AC_CONFIG_UNIQUE): Produce no output. Instead of
fighting with dnl, divert to KILL upon entry, and pop at exit.
1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Avoid using double quotes
inside "`...`": some shells parse this incorrectly.
1999-10-31 Akim Demaille <akim@epita.fr>
* Makefile.am (pkgdata_DATA, EXTRA_DIST): Removed acconfig.h.
* testsuite/autoconf.s/defines.exp: Commented out, there is no
longer an acconfig.h.
1999-10-31 Akim Demaille <akim@epita.fr>
* autoconf.m4: Insert -*- Autoconf -*-.
* acgeneral.m4: Likewise.
* acspecific.m4: Likewise.
* acoldnames.m4: Likewise.
1999-10-31 Akim Demaille <akim@epita.fr>
Create AC_CONFIG_HEADERS which has the same interface as the other
AC_CONFIG_*S.
* acgeneral.m4 (AC_CONFIG_HEADERS): New macro, with the same
interface as AC_CONFIG_LINKS and AC_CONFIG_FILES.
(AC_LIST_HEADERS_COMMANDS): New growing string, initialize it.
(AC_CONFIG_HEADER): Rename as...
(AC_CONFIG_HEADERS): this, for consistency.
(AC_CONFIG_HEADER): New macro, which calls AC_OUTPUT_HEADERS.
(AC_OUTPUT_HEADERS): The square brackets for sed and grep were
not properly quoted: use @BKL@ and @BKR@.
(AC_OUTPUT_HEADERS): Run the AC_LIST_HEADERS_COMMANDS.
* acgeneral.m4 (AC_OUTPUT): Once config.status created, before
running it, trap to `exit 1' so that config.status is not removed
if configure is interrupted when config.status is complete.
* acgeneral.m4 (AC_OUTPUT_CONFIG_STATUS): When recognizing
arguments, accept only foo, and no longer foo:foo.in etc.
1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Formating changes.
1999-10-31 Akim Demaille <akim@epita.fr>
config.status: Speed up the creation of config headers (about four
times faster on Linux).
The previous scheme had three sed commands for each AC_DEFINE: one
for #define templates, and two for #undef templates (with or
without trailing spaces). Divide this in three sed scripts
instead: a one liner that removes the trailing spaces, one for
#defines, and then the last for #undef.
The real speed up comes from the fact that the #define script
starts by checkin if the current input line has a #define, and if
not the script immediately goes to the next line, without running
the rest of the script as was the case before. Equally for the
#undef script.
Note that this way, users that don't use #define templates don't
pay too much the overhead, since the sed script `realizes' quickly
there are no #define lines. My test case runs in 0.32s with
#define templates, and 0.24s without. To improve this common
case, the whole code for #define templates is conditionalized by a
proper egrep call. The result runs is 0.24s, i.e., almost no cost
at all.
I made one dangerous change that I carefully evaluated before
commiting: the sed scripts are cut at 48 lines instead of 12 as
before. This produces here docs of about 4Kb. I checked many
`configure's and they all have big here documents, much bigger
than the 12 lines (for instance AC_FUNC_MMAP produces a 150 lines
long, 3800+ character here document). So I moved to the well
known HP UX sed limitations: no more than 100 commands, and there
are two commands per line now, plus a two command preamble. The
speed up is noticeable.
* acgeneral.m4 (AC_OUTPUT_HEADERS): Remove the ac_e
family.
Changed ac_uD and ac_dD to `...;t t', instead of `...g'.
Instead of creating `conftest.vals' with both ac_e, ac_d,
and ac_u family, preprocess to strip the trailing spaces, and
create `conftest.defines' with the ac_d family, and then
`conftest.undefs' for the ac_e family.
Break up both `conftest.defines' and `conftest.undefs'. Insert a
top label and a global test for `#defines' and `#undef' before.
Call `conftest.defines' if there are #define in the input.
Call `conftest.undefs'.
1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Prefer `>file' over `> file' etc.
* acspecific.m4: Likewise.
1999-10-31 Akim Demaille <akim@epita.fr>
Rename the family AC_NEED_DECL as AC_CHECK: it is more uniform,
but keep defining NEED_FOO_DECL when `foo' is not declared. Files
not using Autoconf behave better when declarations lacks than when
they are wrong. So the unset position should off, hence #if NEEDS
instead of #if !HAVE (which is triggered when HAVE is not set).
* acgeneral.m4 (AC_NEED_DECL): Rename as...
(AC_CHECK_DECL): This. Make sure the arguments are the usual
IF-FOUND, IF-NOT-FOUND.
(AC_NEED_DECLS, AC_CHECK_DECLS): Likewise.
* autoconf.texi (Generic Declarations): Document the changes
aforementioned.
* autoheader.m4 (AH_NEED_DECLS): Rename as
(AH_CHECK_DECLS): This.
(AH_HOOKS): Hook AH_CHECK_DECLS on AC_CHECK_DECLS instead of
_NEED_.
1999-10-31 Akim Demaille <akim@epita.fr>
Revamp the handling of the arguments of config.status: instead of
looping over config_files etc. to recognize the file names, use
the case which handles the options.
Suggested by Alexandre Oliva.
* acgeneral.m4 (ifset): Rename as...
(ifval): This. All callers changed.
(ifset): New macro, which tests if a macro is set to a non empty
value.
* acgeneral.m4: Initialize growing lists and strings to empty, to
ease the tests.
(AC_CONFIG_HEADER): Quote AC_LIST_HEADERS in the define, to handle
the case AC_LIST_HEADERS is initialized.
* acgeneral.m4: (AC_OUTPUT_CONFIG_STATUS): New macro, pulled out
from...
(AC_OUTPUT): Instead of using $1, $2 and $3, pass them to the
official macros (AC_CONFIG_FILES, AC_OUTPUT_COMMANDS).
Call AC_OUTPUT_CONFIG_STATUS.
(option handling): Use the case-esac to recognize arguments.
(AC_OUTPUT_COMMANDS): Fix the missing fi;done.
1999-10-31 Akim Demaille <akim@epita.fr>
Add a means to specify commands to be run by config.status. At
the difference of AC_OUTPUT_COMMANDS, require that the set of
commands be named, so that both
CONFIG_COMMANDS=foo ./config.status
and
./config.status foo
perform the Right Thing.
* acgeneral.m4 (AC_CONFIG_UNIQUE): Also check in
AC_LIST_COMMANDS.
(AC_CONFIG_FILES): Remove a dead pushdef.
(AC_CONFIG_COMMANDS): New macro.
(AC_LIST_COMMANDS): New config list.
(AC_LIST_COMMANDS_COMMANDS): New growing string.
(AC_OUTPUT_COMMANDS_COMMANDS): New macro, output config commands
in config.status.
(AC_OUTPUT): Take AC_LIST_COMMANDS into account.
(AC_OUTPUT): Call AC_OUTPUT_COMMANDS_COMMANDS.
1999-10-31 Akim Demaille <akim@epita.fr>
New macro: AC_CONFIG_FILES which is very much like AC_OUTPUT but
that one associates commands to run when a config file is created.
For instance for a shell script `foo', one uses
AC_CONFIG_FILES(foo, chmod +x foo).
In addition, check that the same name is never used twice in
config files, headers, subdirs and links.
* acgeneral.m4 (m4_append): Don't insert new line between
elements.
(m4_list_append): New macro.
(AC_CONFIG_IF_MEMBER): New macro which tests if a file is member
of a config list.
(AC_CONFIG_UNIQUE): New macro which ensures that a config file
name is not yet used.
(AC_CONFIG_HEADER, AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS): Use
AC_CONFIG_UNIQUE.
* acgeneral.m4 (AC_CONFIG_FILES): New macro.
(AC_LIST_FILES): New list, which stores arguments of
AC_CONFIG_LISTS the same as AC_LIST_LINKS stores AC_CONFIG_LINKS
etc.
(AC_OUTPUT): No longer rely on $1 to designate the config files:
register them via AC_CONFIG_FILES. All uses of $1 replaced by
uses of AC_LIST_FILES.
(AC_OUTPUT_FILES): Run the commands associated to the
CONFIG_FILES.
1999-10-31 Akim Demaille <akim@epita.fr>
* autoconf.sh (Looking for bugs): In addition to AC_, match AH_
and AM_.
1999-10-31 Akim Demaille <akim@epita.fr>
Provide the m4 infrastructure for defining AH_ hooks.
* autoheader.m4 (AH_HOOK): New macro.
Hook all the AC_ macros to their AH_siblings in AH_HOOKS.
Run AH_HOOKS.
* acgeneral.m4 (m4_append): New macro.
(m4_list_append, m4_list_add): Removed.
1999-10-31 Akim Demaille <akim@epita.fr>
* acspecific.m4: Formating changes.
* acgeneral.m4: Likewise.
1999-10-31 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_CHECK_MEMBER, AC_CHECK_MEMBERS): New macros.
* autoheader.m4 (AH_CHECK_MEMBERS): New macro.
(epilogue): Hook AH_CHECK_MEMBERS on AC_CHECK_MEMBERS.
1999-10-31 Akim Demaille <akim@epita.fr>
* autoheader.m4 (AC_FUNC_ALLOCA): Rename from this ...
(AH_FUNC_ALLOCA): ... to this. Includes all the needed templates.
(AC_C_CHAR_UNSIGNED): Rename from this ...
(AH_C_CHAR_UNSIGNED): ... to this.
1999-10-31 Ben Elliston <bje@cygnus.com>
* Makefile.am (CLEANFILES): New explicit variable.
(editsh): acdatadir is no longer defined, so use pkgdatadir.
(editpl): Likewise. From Akim Demaille.
* Makefile.in: Regenerate.
* configure: Regenerate.
* aclocal.m4: Generate.
* Makefile.in: Regenerate with Automake.
* testsuite/Makefile.in: Likewise.
1999-10-31 Akim Demaille <akim@epita.fr>
Use Automake. Based on files from Ben Elliston.
* acgeneral.m4: No longer define AC_ACVERSION, include
acversion.m4.
* acversion.m4.in: New AC_CONFIG_FILE.
* acspecific.m4: Few formating changes.
* autoconf.texi: No longer define EDITION, VERSION and UPDATED:
include version.texi.
AC_OUTPUT the Makefiles mentioned below and acversion.m4.
* configure.in: Use AM_INIT_AUTOMAKE.
Do not AC_ARG_PROGRAM: AM_INIT_AUTOMAKE does it.
* Makefile.am: New file.
* mdate-sh: Likewise.
* missing: Likewise.
* testsuite/Makefile.am: Likewise.
1999-10-31 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_PROG_CC_STDC, AC_C_PROTOTYPES): Inherit from
Automake. From Franc,ois Pinard.
* autoconf.texi (Particular Programs): Document AC_PROG_CC_STDC.
(C Compiler Characteristics): Document AC_C_PROTOTYPES.
* testsuite/autoconf.s/defines.exp: Changed `fail' and `pass' in
`xfail' and `xpass'. The test suite checks that acconfig.h
templates the AC_DEFINEs. Since we no longer rely on acconfig.h,
the test is obsolete.
* acspecific.m4 (AC_PROG_BINSH, AC_PROG_SED): Don't quote the name
of the macro defined; the test suite does not recognize this
syntax. From Akim Demaille.
1999-10-27 Ben Elliston <bje@cygnus.com>
* autoconf.texi (Generic Programs): @defmac for AC_PATH_TOOL may
not span multiple lines.
1999-10-26 Ben Elliston <bje@cygnus.com>
* INSTALL: Regenerate.
1999-10-16 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_PROG_CXX): gcc is not a C++ compiler.
* autoconf.texi (AC_PROG_CXX): Update documentation.
1999-10-13 Ben Elliston <bje@cygnus.com>
* acconfig.h: Reintroduce missing definitions due to test suite
regressions.
* autoconf.texi (Configuration Headers): Document the potential
trouble caused by autoheader and boilerplate files. Fix for
PR autoconf/45.
1999-10-07 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* Makefile.in (dist): Fixed for srcdir != objdir.
1999-10-07 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_CHECK_HEADER_DIRENT): Reintroduce its
AC_DEFUN.
1999-10-06 Akim Demaille <akim@epita.fr>
* acspecific.m4: Various formatting changes.
* acspecific.m4 (AC_PROG_CC_WORKS): Declare main returns an int.
1999-10-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
Shell meta characters in an argument causes the configure script
to freak out and generate a config.status file that contains
syntax errors.
Bug triggered by ./configure --with-foobar=\''`"$'.
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Quote single quotes that end
up between single quotes. Protect arguments of echo with double
quotes.
(AC_INIT_PREPARE): Likewise.
(AC_PATH_PROG): Protect argument of test.
(AC_OUTPUT): Quote meta characters in ac_configure_args.
1999-10-05 Ben Elliston <bje@cygnus.com>
* autoconf.texi (AC_PATH_XTRA): Correctly document the behaviour
when X is not available.
1999-10-05 Akim Demaille <akim@epita.fr>
The sed quoting script depends on the shape of the commands used
by AC_SUBST. The latter was changed, but not the former.
Bug triggered with FOO='%\c' AC_SUBST(FOO).
* acgeneral.m4 (AC_OUTPUT_FILES): Fix the sed quoting script.
1999-10-05 Akim Demaille <akim@epita.fr>
When you rely on the `t' flag of sed for the immediately
preceding substitution, use a combination of `: foo; t foo'.
Bug triggered if you AC_DEFINE(FOO, "%").
Additionally, work around a bug in IRIX sed.
Suggested by Ken Pizzini.
* acgeneral.m4 (AC_OUTPUT_HEADER): Added a label and a test in the
sed code of `$ac_cs_root.hdr'.
1999-10-05 Akim Demaille <akim@epita.fr>
Implement AC_PATH_TOOL.
Submited by Gary V. Vaughan.
* acgeneral.m4 (AC_PATH_TOOL): New macro.
* autoconf.texi (Generic Programs): Document.
1999-10-05 Akim Demaille <akim@epita.fr>
Handle arbitrary version numbers.
Reported by H.J. Lu.
* acgeneral.m4 (m4_split): Support a second optional argument: a
regexp to specify where to split.
(m4_compare): New macro, compares arbitrary long m4 lists of
integers.
(AC_PREREQ_SPLIT, AC_PREREQ_CANON, AC_PREREQ_COMPARE): Removed,
replaced by more generic macros.
(AC_PREREQ): Reimplemented, using m4_compare and m4_split.
1999-10-04 Akim Demaille <akim@epita.fr>
Beware of the expansions of $n in comments.
* acgeneral.m4 (AC_OUTPUT): Changed $1 into $[1] in dnls.
1999-10-04 Akim Demaille <akim@epita.fr>
Revert partially the previous changes: AC_CHECK_HEADERS_DIRENT is
used by AC_HEADER_DIRENT.
* autoheader.m4: Restablish the hook for AC_CHECK_HEADERS_DIRENT.
* acspecific.m4 (AC_CHECK_HEADERS_DIRENT, AC_CHECK_HEADER_DIRENT):
Reinserted.
1999-10-02 Akim Demaille <demaille@inf.enst.fr>
* acgeneral.m4: Instead of just undefining eval, format, include
and shift, rename them to m4_eval, etc.
1999-10-02 Akim Demaille <akim@epita.fr>
AC_DIR_HEADERS is hasbeen'ed.
* acspecific.m4 (AC_DIR_HEADER): Raised from obsolete to hasbeen.
* acspecific.m4 (AC_CHECK_HEADERS_DIRENT, AC_CHECK_HEADER_DIRENT):
Removed, were used only by AC_DIR_HEADER and were not documented.
* autoheader.m4: Remove the hooks for AC_CHECK_HEADERS_DIRENT.
* autoconf.texi (Particular Headers): Removed the documentation of
AC_DIR_HEADER.
* autoconf.texi (Environment Variables): Remove the very last
traces of documentation of --env-VAR.
1999-10-02 Akim Demaille <akim@epita.fr>
Remove hasbeen'ed macros from the documentation.
* autoconf.texi (Obsolete Macros): Document AC_HASBEEN.
* autoconf.texi (Libraries): Remove the documentation of
AC_HAVE_LIB.
(Particular Headers): likewise for AC_UNISTD_H, AC_MEMORY_H,
AC_USG.
(C Compiler Characteristics): Likewise for AC_INT_16_BITS,
AC_LONG_64_BITS.
1999-10-01 Akim Demaille <akim@epita.fr>
Make the handling of the configuration links (AC_LINK_FILES)
exactly the same as that of configurations files (AC_OUTPUT_FILES)
and headers (AC_CONFIG_HEADERS). As a result, it is sane to run
./config.status src/libmy_lib
or
CONFIG_LINKS=src/lib_mylib:lib/lib_mylib ./config.status
* acgeneral.m4 (AC_LINK_FILES): Use AC_FATAL to diagnose bad
number of argument.
Obsoleted (but implemented) in favor of AC_CONFIG_LINKS.
* acgeneral.m4 (AC_CONFIG_LINKS): New macro. Takes space
separated list of DEST:SOURCES arguments.
* acgeneral.m4: Rename each occurence of AC_LIST_HEADER as
AC_LIST_HEADERS for consistency.
* acgeneral.m4 (AC_OUTPUT, config.status prologue): Move the
definition of config_files and config_headers to the top.
Add the definition of config_links.
Change the help message to use the aforementioned variables.
* acgeneral.m4 (AC_OUTPUT_LINKS): Adapted to the new scheme of
AC_LIST_LINKS.
* autoconf.texi (Output, AC_OUTPUT): Mention AC_CONFIG_LINKS.
(Invoking config.status): Mention CONFIG_LINKS.
* autoconf.texi (Using System Type): Document AC_CONFIG_LINKS.
Explicit the obsoleteness of AC_LINK_FILES.
1999-10-01 Akim Demaille <akim@epita.fr>
Moving most of the task of creating config.h.in from sh to m4.
Getting rid of acconfig.h by supply a major new family of macros:
AH_* which make it possible to insert arbitrary text into
config.h.in.
* autoheader.m4: Major rewrite: introduction of a set of macros
AH_ that produce code into config.h.in. There are two sets of
macros: generic macros, or specialized, documented below. The
basic idea is that an AC_FOO macro which needs an entry in
config.h.in should have a sibling AH_FOO which expands into that
entry. In a near future, these macros will be moved next to their
siblings.
* autoheader.m4 (AH_VERBATIM, AH_DEFINE, AH_DEFINE, AH_NEED_DECLS,
AH_CHECK_SIZEOF, AH_CHECK_FUNCS, AH_CHECK_HEADERS,
AH_CHECK_HEADERS, AH_CHECK_LIB, AH_PROG_LEX, AH_FUNC_ALLOCA,
AH_C_CHAR_UNSIGNED, AH_AIX, AH_F77_WRAPPERS): New macros.
* autoheader.m4 (End section): Bind AC_ macros to their
AH_siblings.
* autoheader.sh: Remove the sections in charge of SYMS, TYPES,
FUNCS, HEADERS, LIBS and DECLS: autoheader.m4 is now in charge of
these.
* autoheader.sh (options): Added -d, --debug, which does not
remove the temporary files.
* autoheader.sh: Instead of redirecting stdout to the output
stream, always output to a temporary file. This allows to change
slightly the consistency check: before autoheader would check that
each non documented AC_DEFINE is templated in an acconfig. Now it
just checks whether the template is in the output file.
* acconfig.h: Completely emptied, the remaining templates
(_ALL_SOURCE, __CHAR_UNSIGNED__, F77_FUNC, F77_FUNC_,
HAVE_STRINGIZE, and STACK_DIRECTION) are now either associated to
their AC_DEFINE, or to one of the new AH_ macros.
* acgeneral.m4: Reordering of the m4 macros which are not specific
to Autoconf.
* acgeneral.m4 (AC_HAVE_LIB): Promoted from obsolete to hasbeen.
* acgeneral.m4 (AC_TR_CPP): Fixed quoting problem, and missing ^
in patsubst.
(AC_TR_SH): Fixed quoting problem.
1999-09-29 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_WRAP): Don't output an extra space after the
last word.
1999-09-29 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_FUNC_GETLOADAVG): Check for the kstat_open()
function in libkstat (on systems such as Solaris). This family of
functions is preferred since they don't require setgid permissions
to use them. Fix for PR autoconf/65.
1999-09-29 Akim Demaille <akim@epita.fr>
* acconfig.h: Commit the change announced below.
1999-09-29 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_C_CONST): Changed from
const charset x;
to
const charset x = {0, 0};
From Jim Meyering.
1999-09-28 Akim Demaille <akim@epita.fr>
Start to get rid of acconfig.h. It is an anachronism.
* acgeneral.m4 (_AC_SH_QUOTE): Both cases must be evaluated the
same number of times.
* acconfig.h (_ALLOCA, CLOSEDIR_VOID, const, CRAY_STACKSEG_END,
DGUX, DIRENT, GETGROUPS_T, GETLOADAVG_PRIVILEGED, GETPGRP_VOID,
gid_t, HAVE_ALLOCA, HAVE_ALLOCA_H, HAVE_DOPRNT, HAVE_FNMATCH,
HAVE_GETLOADAVG, HAVE_GETMNTENT, HAVE_LONG_DOUBLE,
HAVE_LONG_FILE_NAMES, HAVE_MMAP, HAVE_RESTARTABLE_SYSCALLS,
HAVE_ST_BLKSIZE, HAVE_ST_BLOCKS, HAVE_STRCOLL, HAVE_ST_RDEV,
HAVE_STRFTIME, HAVE_SYS_WAIT_H, HAVE_TM_ZONE, HAVE_TZNAME,
HAVE_UNISTD_H, HAVE_UTIME_NULL, HAVE_VFORK_H, HAVE_VPRINTF,
HAVE_WAIT3, inline, INT_16_BITS, LONG_64_BITS, MAJOR_IN_MKDEV,
MAJOR_IN_SYSMACROS, _MINIX, NDIR, NEED_MEMORY_H, NLIST_NAME_UNION,
NLIST_STRUCT, NO_MINUS_C_MINUS_O, F77_NO_MINUS_C_MINUS_O,
_POSIX_1_SOURCE, _POSIX_SOURCE, RETSIGTYPE, SELECT_TYPE_ARG1,
SELECT_TYPE_ARG234, SELECT_TYPE_ARG5, SETPGRP_VOID,
SETVBUF_REVERSED, STAT_MACROS_BROKEN, STDC_HEADERS, SVR4, SYSDIR,
SYSNDIR, SYS_SIGLIST_DECLARED, TIME_WITH_SYS_TIME, TM_IN_SYS_TIME,
uid_t, UMAX, UMAX4_3, USG, vfork, VOID_CLOSEDIR, WORDS_BIGENDIAN,
X_DISPLAY_MISSING, YYTEXT_POINTER): Removed their autoheader
template. They are now documented with their own AC_DEFINE.
* acgeneral.m4 (AC_HASBEEN): New macro. Same as AC_OBSOLETE, but
dies.
* acspecific.m4 (AC_UNISTD_H, AC_USG, AC_MEMORY_H, AC_INT_16_BITS,
AC_LONG_64_BITS): Promoted from obsolete to hasbeen.
* autoheader.m4 (AC_DEFINE_UNQUOTED): Define via AC_DEFINE, so
that we program things only once.
(AC_DEFINE): Use AC_WRAP and _AC_SH_QUOTE. It is now safe to have
backquotes and extra spaces in the third argument, without
yielding a bad result.
* autoheader.m4: Instead of a huge `eval', use a temporary file.
(option handling): Added --debug, to keep the temporary files.
Fixed a couple of missing quotes.
1999-09-28 Akim Demaille <akim@epita.fr>
Make AC_FOREACH be robust to active symbols.
* acgeneral.m4 (m4_split, m4_join, m4_strip): New macros.
(AC_FOREACH_COMMA): Rename as...
(m4_foreach): this.
(_AC_CAR): Renamed as...
(_m4_car): this.
(_AC_FOREACH): Renamed as...
(_m4_foreach): this.
(_AC_COMMATIZE): Removed.
(AC_FOREACH): Rewritten using m4_split, m4_join, m4_strip, and
m4_foreach.
* acgeneral.m4: Spell checked.
* autoconf.texi: Likewise.
1999-09-28 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_NEED_DECL): When $4 is given, don't provide
defaults headers.
Change the message from `have' to `need'.
Change the actions for `if-(not-)found' to `if-(not-)needed.
Remove trailing parentheses.
* acgeneral.m4 (AC_NEED_DECLS): Change the actions for
`if-(not-)found' to `if-(not-)needed.
Define NEED_DECL_foo, instead of NEED_foo_DECL.
* autoheader.sh (decls): Reflect this.
* autoconf.texi (Generic Declarations): Update.
1999-09-27 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_OUTPUT): Divert AC_OUTPUT_FILE to
AC_DIVERSION_KILL if there are no CONFIG_FILES.
(AC_OUTPUT, ac_cs_usage): Output the list of files to instanciate
only if there are.
1999-09-27 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_DECL): Renamed as...
(AC_NEED_DECL): This.
(AC_CHECK_DECLS): Renamed as...
(AC_NEED_DECLS): This.
(AC_NEED_DECL): Include <stdio.h>, <memory.h>, <string.h>,
<strings.h>, <stdlib.h>, <stddef.h>, and <unistd.h>.
* autoconf.texi (Generic Declarations): Updated.
1999-09-27 Ben Elliston <bje@cygnus.com>
* autoscan.pl (scan_files): Emit an AC_PROG_CC invocation to
configure.scan if there are any C files present. Fix for PR
autoconf/19.
1999-09-26 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_WRAP): Rewritten.
(AC_HELP_STRING): Wrapper of AC_WRAP.
* acgeneral.m4 (_AC_SH_QUOTE): Rewritten. Don't try to handle
both backslashed and non backslashed backquotes in a single
string: consider that either all the backquotes are quoted, or
none.
1999-09-26 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_PATH_PROG): Use a single case statement for
Unix and DOS absolute paths.
* acgeneral.m4 (AC_CHECK_SIZEOF): Fix a typo.
Allow a third default argument: extra headers.
* autoconf.texi (C Compiler Characteristics): Document.
* acgeneral.m4 (AC_CHECK_TYPE): Convert to the AC_VAR_* family.
Allow a third optional argument: extra includes.
* autoconf.texi (Generic Typedefs): Documents.
1999-09-26 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_OUTPUT_LINKS): Eliminate gratuitous spaces from
$ac_sources if this variable is otherwise empty. Fix for PR
autoconf/30.
1999-09-25 Ben Elliston <bje@cygnus.com>
* autoconf.texi (AC_FUNC_SETVBUF): Do not mention which systems
might have their setvbuf() arguments reordered. It's difficult to
accurately determine and is not essential. Fix for PR autoconf/7.
* acgeneral.m4 (AC_LINK_FILES): Emit an error if an incorrect
number of arguments are collected. Fix for PR autoconf/10.
1999-09-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_OUTPUT, handling of options): Make it possible
to specify the files to configure on the command line instead of
via envvars. Document it.
1999-09-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Rename the occurences of the variable `confstat'
as `ac_cs_root'. The previous name was breaking the naming
scheme.
1999-10-24 Akim Demaille <akim@epita.fr>
* TODO: Updated.
Added a section for 2.15 and 3.
1999-09-24 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_HEADER_STDC): Define ISLOWER and ISUPPER
macros correctly on EBCDIC systems. Contributed by Kurt D.
Zeilenga. Fix for PR autoconf/6.
1999-09-24 Jim Blandy <jimb@zwingli.cygnus.com>
* acspecific.m4 (AC_C_VOLATILE): New test.
* acconfig.h: Add new entry for `volatile'.
* autoconf.texi (C Compiler Characteristics): Document it.
1999-09-24 Ben Elliston <bje@cygnus.com>
* autoreconf.sh: Do not run autoheader if AC_CONFIG_HEADER is
commented out in configure.in. Reported by Erez Zadok
as a fix for PR autoconf/21.
* install.texi: Replace `can not' with `cannot'.
1999-09-23 Pavel Roskin <pavel_roskin@geocities.com>
Avoid that comments from aclocal.m4 show up in configure when
using AC_REVISION.
* acgeneral.m4: New diversion levels AC_DIVERSION_KILL and
AC_DIVERSION_BINSH introduced. Use AC_DIVERSION_KILL as the
initial value for AC_DIVERSION_CURRENT.
(AC_INIT_BINSH): Set AC_DIVERSION_BINSH explicitly
(AC_REVISION): Likewise.
(AC_INIT): Set AC_DIVERSION_NOTICE when calling AC_INIT_NOTICE.
1999-09-23 Akim Demaille <akim@epita.fr>
* NEWS: Document AC_ARG_VAR.
* acspecific.m4 (AC_C_LONG_DOUBLE): Avoid a needed execution by
using a pure compilation test. Excellent for cross compilation.
From Kaveh R. Ghazi.
1999-09-22 Akim Demaille <akim@epita.fr>
* install.texi: Give more details on envvar handling.
* acgeneral.m4 (AC_HELP_STRING): Add a third argument to tune the
width of the first column.
(AC_INIT_NOTICE): Initialize ac_arg_enable_help, ac_arg_with_help,
and ac_arg_var_help.
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Remove the handling of
--env-var=. After debate, the solution chosen to specify envvars
to configure is a` la make: ./configure VAR=VAL.
(AC_INIT_PARSE_ARGS, --help): Output ac_arg_enable_help,
ac_arg_with_help, and ac_arg_var_help.
* acgeneral.m4 (AC_ARG_VAR): New macro, to register and document
influent envvars.
* acspecific.m4 (AC_PROG_CC): Document CFLAGS.
This is mainly to test AC_ARG_VAR. Var to document are to be
defined.
1999-09-22 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (m4_default): New macro.
(AC_CHECK_LIB): When ACTION-IF-FOUND is specified, don't perform
the default action.
Reported by Pavel.
1999-09-22 Ben Elliston <bje@cygnus.com>
* config.guess: Clear the CCOPTS environment variable before
invoking the C compiler on HP-UX. This is necessary to guarantee
that the test program is compiled correctly. Reported by Dietmar
P. Schindler.
1999-09-22 Linas Vepstas <linas@linas.org>
* config.guess: Add OS/390 match pattern.
* config.sub: Add mvs, openedition targets.
1999-09-21 Nick Clifton <nickc@cygnus.com>
* config.sub: Add fr30 target.
1999-09-21 Ben Elliston <bje@cygnus.com>
* configure.in: Check if an appropriate version of GNU m4 is
installed at configure-time rather than at runtime. From Pavel
Roskin. Fix for PR autoconf/2.
* configure: Regenerate.
1999-09-21 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_INIT_PARSE_ARGS, --help message): Use quoted
heredocs to avoid problems with quotes.
1999-09-21 Akim Demaille <akim@epita.fr>
* NEWS: Updated.
* THANKS: Likewise.
* acgeneral.m4 (AC_CHECK_HEADER): Use AC_VAR_*.
(AC_CHECK_HEADERS): Adapted.
* acgeneral.m4 (AC_TR): Remove, it is useless.
(AC_TR_CPP): Updated version of formerly AC_TR_DEFINE, based on
the model of AC_TR_SH.
All callers changed.
* autoconf.sh (Checking for Bugs): Remove the indirection that
made the `sort -u' useless.
1999-09-21 Akim Demaille <akim@epita.fr>
* autoconf.sh (Last sed cmd): Change also @PND@ to `#', since this
is also a symbol very hard to quote in m4.
* acgeneral.m4 (AC_CHECK_LIB): Use AC_VAR_*.
* acgeneral.m4: Use `m4_BUILTIN' instead of indirection via
`builtin'.
1999-09-21 Akim Demaille <akim@epita.fr>
* autoconf.texi (Particular Structures): Move documentation of
AC_HEADER_STAT and AC_HEADER_TIME from here...
(Particular Headers): to here.
(Declarations): New section.
(Particular Headers): Move doc of AC_DECL_SYS_SIGLIST from here...
(Particular Declarations): to here.
1999-09-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* acgeneral.m4 (AC_CHECK_FUNC_DECL, AC_CHECK_FUNC_DECLS): New
macros.
* autoconf.texi (AC_CHECK_FUNC_DECL, AC_CHECK_FUNC_DECLS):
Document.
* autoheader.m4: Add support for AC_CHECK_FUNC_DECLS.
* autoheader.sh: Likewise.
1999-09-21 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_SHELL_IFELSE): New macro.
(AC_VAR_IF_SET): Use it.
(AC_CHECK_FUNC): Likewise.
* Makefile.in (${srcdir}/configure): Use autoconf.sh to build
Autoconf's configure. Before the building was performed running
m4 at hand, but much was not done (e.g., __oline__,
@BKL@... expansion)
1999-09-20 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_OUTPUT): Don't remove the CONFIG_HEADERS
unconditionaly: it breaks the `config.h has not changed' trick.
1999-09-20 Ben Elliston <bje@cygnus.com>
* autoheader.sh: Bourne shell compatibility fix. From Pavel Roskin.
1999-09-20 Pavel Roskin <pavel_roskin@geocities.com>
* autoheader.sh: Fix the tr invocation.
1999-09-17 Ben Elliston <bje@cygnus.com>
* config.guess: Detect QNX version 4.
* config.sub: Handle `qnx' and `i386-qnx' aliases.
1999-09-17 Erez Zadok <ezk@cs.columbia.edu>
* config.guess: Eliminate the trailing dot if ${UNAME_RELEASE} is
1.4-<SOMETHING>. Fix for PR autoconf/22.
1999-09-17 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Improve configure's --help.
* acgeneral.m4 (AC_OUTPUT): Change the root of filenames of
config.status from $conftest to $confstat.
The previous patch to make config.status reentrant was wrong,
because it changed some `conftest' that are used by configure into
`$conftest', while it was for config.status only. To avoid
another confusion like this, all the filenames of config.status
should be `$confstat*', and those of configure should be
`conftest*'.
(AC_OUTPUT): Rename the uses of `ac_file' for the sed fragments as
`ac_sed_frag'.
* acgeneral.m4 (AC_OUTPUT): This macro used to open the here
documents that configure uses to generate config.status, included
that of the submacros. Now, it no longer handles the here
documents for its subroutines (it was far to hard to track).
(AC_OUTPUT_FILES): Open and close your here documents to
$CONFIG_STATUS.
(AC_OUTPUT_HEADER): Likewise.
(AC_OUTPUT_LINKS): Likewise.
* acgeneral.m4 (AC_OUTPUT_FILES): Move $ac_vpsub and $extrasub
from the AC_SUBST substitutions (i.e., that of @SHELL@ etc.) to
the specific section (that of @srcdir@ etc.).
Now the ``general substitution'' section is absolutely uniform.
* acgeneral.m4 (AC_SUBST): Change sed call from `s%@from@%to%g'
into `s%@from@%to%;t t'.
(AC_SUBST_FILE): Likewise.
(AC_OUTPUT_FILES): Optimize the sed scripts by branching if there
are no `@' on the line. Impressive speed up.
* Makefile.in (DISTFILES): Add THANKS.
* THANKS: New file.
1999-09-15 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_FILE): Use ifset.
(AC_CHECK_FUNC): Updated to use AC_VAR_*, and AC_CACHE_CHECK.
(AC_CHECK_SIZEOF): Likewise.
(AC_CACHE_CHECK): Use AC_MSG_RESULT_UNQUOTED.
(AC_MSG_RESULT_UNQUOTED): New macro.
1999-09-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Fix for PR autoconf/28.
* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Don't assume LF is \012, use
`echo` followed by a non-blank, within quotes.
* autoheader.sh (syms): Likewise.
* configure: Rebuilt.
1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Don't assume LF is \012,
use `echo` followed by a non-blank, within quotes.
* autoheader.sh (syms): Likewise.
* configure: Rebuilt.
Reported by Christian Krone.
* acgeneral.m4 (AC_INCLUDE): New macro.
* autoconf.texi: Document it.
* acgeneral.m4 (AC_OUTPUT_SUBDIRS): Save INSTALL in
ac_given_INSTALL, so that we can adjust relative pathnames for
sub-configures.
* acgeneral.m4 (Configuration): Accept --env-VAR=VALUE and
VAR=value.
* autoconf.texi, install.texi: Document it.
* configure: Rebuilt.
1999-09-14 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_HELP_STRING): Rewrite in m4. Have m4 work, and
give a break to sh.
(_AC_FOREACH): Be careful not to evaluate the arguments. A loop
over *quoted* macro names should loop over the macro names, not
upon their expansion.
(_AC_COMMATIZE): Also swallow end of lines.
* autoconf.texi (Pretty Help Strings): Updated to reflect the
changes.
1999-09-13 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (ifset): New helpy tiny macro.
(AC_OUTPUT): Improved --help of config.status.
(AC_OUTPUT): Remove inconditionaly all the files to be updated.
(AC_OUTPUT): Use pid to define the temporary file names in order
to allow parallel builds.
* autoconf.sh: Substitute also /@BKL@/[/ /@BKR@/]/ /@DLR@/$/ so
that these characters are more easily accessible from m4 without
turning changequote juggling into a nightmare.
* acgeneral.m4 (AC_WRAP): New macro, for word wrapping.
* autoconf.texi: Update the direntry for more modern Texinfos.
Add pointer to configure and config.status.
Remove the dots from the menus: horizontal space is precious.
(Invoking config.status): More traditional presentation of the options.
1999-09-07 Ben Elliston <bje@cygnus.com>
* autoreconf.sh: Recognise -v as a synonym for --verbose.
1999-09-07 Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
* Makefile.in (INSTALL, standards.info, autoconf.info): MiKTeX
for Windows treats all options after the first filename as
additional filenames, so real options must appear before the first
filename.
1999-09-07 Steven G. Johnson <stevenj@alum.mit.edu>
* autoconf.texi (LDFLAGS, LIBS): Document that -L linker flags
should be kept in LDFLAGS and not LIBS.
1999-09-07 Jim Meyering <meyering@ascend.com>
* acgeneral.m4 (AC_SEARCH_LIBS): Use $ac_lib as the index, not $i.
1999-09-06 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_FUNC_ALLOCA): Rename cache variable to avoid
name clashes with AC_CHECK_HEADER(alloca.h).
1999-09-05 Steve Chamberlain <sac@pobox.com>
* config.sub: Add support for configuring for picoJava (pj).
1999-09-05 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (CONFIG_AUX_DIRS): Try running `shtool install'.
Contributed by Ralf S. Engelschall.
1999-09-04 Ben Elliston <bje@cygnus.com>
* config.guess: Use POSIX compliant shell code on DG/UX.
Suggested by Stephen Gildea.
1999-09-04 Pavel Roskin <pavel_roskin@geocities.com>
* acgeneral.m4 (AC_OUTPUT_FILES): Output comment to not only
`Makefile', but also `makefile'.
1999-09-04 Jim Blandy <jimb@zwingli.cygnus.com>
* Makefile.in (install): Don't freak if the M4FROZEN files were
never generated. m4 1.1 is supported, but doesn't freeze files.
1999-09-04 Scott Bambrough <scottb@netwinder.org>
* config.guess: Autodetect ArmLinux using 2.9.1.xx linker
emulation names and using the emulation names from the linker from
the binutils CVS tree.
* config.sub: Change manufacturer name for the NetWinder alias
from Corel to Rebel.
1999-09-04 Jeremy Elson <jelson@circlemud.org>
* autoheader.m4 (AC_CHECK_HEADER): Define.
1999-09-02 Tom Tromey <tromey@cygnus.com>
* autoheader.sh: Allow multiple spaces between #undef and symbol
name.
1999-09-01 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_ACVERSION): Bump to 2.14.1 to differenciate the
experimental branch from the main trunk.
* acgeneral.m4 (AC_FOREACH_COMMA): New macro, to perform m4 loops
on m4 lists (i.e., list='(item_1, item_2, ..., item_n)').
(AC_FOREACH): New macro, to perform m4 loops on shell lists (i.e.,
list='item_1 item_2 ... item_n').
* acgeneral.m4 (AC_DEFUN): Now accept two other optionnal
parameters: the name of the macro which is specialized here, and
the name of the first argument. For instance `AC_CHECK_FNMATCH'
should be declared as specializing `AC_CHECK_FUNC' for `fnmatch'
as first argument.
* acgeneral.m4 (AC_CHECK_FILES): Use AC_FOREACH for looping,
instead of the shell's loop.
* acgeneral.m4 (AC_TR): In addition to transliteration, provide a
means to specify the valid destination alphabet and a default
character for aliens characters. This is in order to remove
characters such as `+:-' etc. that may appear in file names, but
are not valid for shell variables or #defines.
(AC_TR_DEFINE): New macro, maps anything to a valid uppercase
#define rhs.
(AC_TR_UPCASE_NAME): Replaced by AC_TR_DEFINE. All callers
changed.
(AC_TR_UPCASE_FILE): Likewise.
* acgeneral.m4 (AC_TR_SH): Don't use the generic AC_TR: there is a
difficult problem of quoting between m4 and sh. Use the variable
$ac_tr_sh to work around this difficulty.
(AC_VAR_TEST_SET): New macro, which tests if a variable is set.
(AC_VAR_IF_SET): New `ifelse' macro.
(AC_CACHE_VAL): Use AC_VAR_IF_SET.
(AC_INIT_NOTICE): Define $ac_tr_sh.
* acgeneral.m4 (AC_CHECK_FILE): Converted to use AC_TR and AC_VAR
families.
* acgeneral.m4: Fixed the regular expressions: `$' shall not be
portably in a sed \(\) group.
1999-08-28 Ben Elliston <bje@cygnus.com>
* config.guess: Once and for all, emit the correct string for
Unixware 7! Contributed by Mike Hopkirk.
* acspecific.m4 (AC_C_INLINE): Qualify the return type of the
dummy inlined function to satisfy newer C++ compilers. Fix for
PR autoconf/49.
1999-08-26 Ben Elliston <bje@cygnus.com>
* autoconf.texi (Changed Results): Correct an error in one of the
examples. Fix for PR autoconf/38.
1999-08-25 Ben Elliston <bje@cygnus.com>
* autoconf.texi (Cache Variable Names): Be more explicit about the
requirements for cache variable names. Fix for PR autoconf/53.
1999-08-25 Alexandre Oliva <oliva@dcc.unicamp.br>
* autoreconf.sh: Run aclocal with the -I option only if
aclocal_dir != `.'. Fix for PR autoconf/44.
1999-08-22 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* acspecific.m4 (AC_PROG_CC): Remove uname test for win32/Cygwin,
and just test for `cl' as a last resort.
* autoconf.texi (Particular Programs): Document new optional
argument to AC_PROG_CC, AC_PROG_CXX and AC_PROG_F77. Document
additions to the Fortran 77 compiler search list.
* acspecific.m4 (AC_PROG_F77): Add more Fortran 77 compilers to
the search list. Contributed by Steven G. Johnson.
(AC_PROG_CC): Likewise.
(AC_PROG_CXX): Likewise.
* acspecific.m4 (AC_PROG_F77): Add an optional first argument
which gives the user an opportunity to specify an alternative
search list for the compiler.
1999-08-18 Ben Elliston <bje@cygnus.com>
* config.guess: Remove "/MP" from the release string on
multiprocessor x86 machines running SVR4.0. Suggested by Tom
Purcell.
1999-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* acgeneral.m4 (AC_CHECK_TYPE): Add optional third argument
INCLUDES, which specifies the headers in which to search for the
type in question. Also, pass a "description" argument to
AC_DEFINE_UNQUOTED.
* acconfig.h (mode_t, off_t, pid_t, size_t): Remove definitions.
* autoconf.texi (AC_CHECK_TYPE): Document optional third argument.
1999-08-05 Jeffrey A Law <law@cygnus.com>
* config.sub (-wrs case): Use os=-vxworks, not os=vxworks.
1999-08-05 Ben Elliston <bje@cygnus.com>
* config.guess: Update patch submission address.
1999-08-05 Ben Elliston <bje@cygnus.com>
* config.sub: Accept version number appended to OS name for MiNT.
Contributed by Guido Flohr.
1999-08-04 Ben Elliston <bje@cygnus.com>
* Makefile.in (INSTALL_SCRIPT): Substitute.
(install): Install scripts with $(INSTALL_SCRIPT).
1999-07-20 Tom Tromey <tromey@cygnus.com>
* autoheader.sh: Fixed regexp when searching for missing symbol.
From Pavel Roskin.
1999-07-16 Tom Tromey <tromey@cygnus.com>
* autoheader.sh: Be more stringent when looking to see if symbol
is in a template file.
1999-07-15 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): New implementation, to
make maintenance easier.
Grep the initial output so that we don't start parsing "-l" and
"-L" too early. From Christopher Lee.
* acgeneral.m4 (AC_LIST_MEMBER_OF): New "private implementation
macro" use by AC_F77_LIBRARY_LDFLAGS.
(AC_LINKER_OPTION): Likewise.
1999-07-11 Ben Elliston <bje@cygnus.com>
* config.guess: Cray T3E has an Alpha CPU.
1999-07-04 Mark Elbrecht <snowball3@bigfoot.com>
* acspecific.m4 (AC_PROG_CXX): Look for gpp after g++. gpp is the
DJGPP C++ compiler, since `g++' is not a valid DOS filename.
1999-06-12 Ben Elliston <bje@cygnus.com>
* config.guess: Detect Linux on ia64.
* config.sub: Handle ia64.
1999-06-12 Ben Elliston <bje@cygnus.com>
* config.guess: Handle `elf32ppclinux' from ld. Contributed by
Cort Dougan.
1999-06-09 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* autoconf.texi (Pretty Help Strings): Synchronize documentation
with implementation.
1999-06-04 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Fix sed regexp for handling
CPP macros with args.
1999-06-04 Nick Clifton <nickc@cygnus.com>
* config.sub: Add mcore target.
1999-06-03 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_ACVERSION): Correct version number.
* autoconf.texi (EDITION): Likewise.
(VERSION): Likewise.
1999-06-02 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* autoconf.texi (Pretty Help Strings): Document and regenerate the
indices.
* acgeneral.m4 (AC_HELP_STRING): New macro.
* NEWS: Begin documenting "Major changes" for release 2.14.
* acconfig.h (F77_FUNC): Add.
(F77_FUNC_): Likewise.
1999-06-01 Akim Demaille <demaille@inf.enst.fr>
* acgeneral.m4 (AC_PREFIX_PROGRAM): Use macros of the AC_TR_
family.
(AC_HAVE_LIBRARY): Likewise.
(AC_CHECK_FUNCS): Likewise.
(AC_CHECK_FILES): Likewise.
(AC_CHECK_SIZEOF): Likewise.
* acgeneral.m4 (AC_TR): New macro which performs transliteration
by m4 when possible, or by `tr' at configure time.
(AC_TR_UPCASE_NAME): New macro, transliteration 'a-z' to 'A-Z'.
(AC_TR_UPCASE_FILE): New macro, transliteration 'a-z./-' to
'A-Z___'.
(AC_TR_SH): New macro, transliteration to valid sh var name.
* acgeneral.m4 (_AC_SH_QUOTE): New macro which protects non
protected backquotes against shell expansion.
(AC_MSG_CHECKING): Use it.
(AC_CHECKING): Use it.
(AC_MSG_RESULT): Use it.
(AC_VERBOSE): Use it.
(AC_MSG_WARN): Use it.
(AC_MSG_ERROR): Use it.
* acgeneral.m4 (_AC_MESSAGE): New macro to report message at m4
time.
(AC_WARNING): New macro to report warnings at m4 runtime.
(AC_FATAL): New macro, to report fatal error at m4 runtime.
* acspecific.m4 (AC_RSH): Use AC_FATAL.
(AC_ARG_ARRAY): Idem.
(AC_HAVE_BOUNDBANG): Idem.
* acgeneral.m4 (AC_VAR_IF_INDIR): New macro.
(AC_VAR_SET): Likewise.
(AC_VAR_GET): Likewise.
1999-05-30 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* autoheader.m4 (AC_DEFINE): Ignore CPP macro arguments.
(AC_DEFINE_UNQUOTED): Likewise.
* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Change sed regexps to
recognize CPP macros that take arguments. Reported, and based on
a patch, by Steven G. Johnson.
(AC_OUTPUT_HEADER): Likewise.
* autoconf.texi (Fortran 77 Compiler Characteristics): Document
new AC_F77_NAME_MANGLING macro.
1999-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
* autoconf.texi (Fortran 77 Compiler Characteristics): Document
new AC_F77_FUNC_WRAPPER macro.
* acspecific.m4 (AC_F77_WRAPPERS): New macro to define the
F77_FUNC and F77_FUNC_ CPP macros to properly mangle the names of
C identifiers so that they match the name mangling scheme used by
the Fortran 77 compiler.
(AC_F77_NAME_MANGLING): New macro to test for the name mangling
scheme used by the Fortran 77 compiler.
1999-05-27 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* acgeneral.m4 (AC_CHECK_LIB): Translate the ":" character to a
"_", which allows checking for member functions in C++ libraries.
1999-05-25 H.J. Lu <hjl@gnu.org>
* config.guess (dummy): Changed to $dummy.
1999-05-22 Ben Elliston <bje@cygnus.com>
* config.guess: Handle NEC UX/4800. Contributed by Jiro Takabatake.
1999-05-17 Ben Elliston <bje@cygnus.com>
Merge with the EGCS source tree.
* config.guess: Add detection for Interix and UWIN on Windows NT,
OpenBSD on PA-RISC and UnixWare version 7.x.
Improve usage of `tr' where sets are concerned.
Detect all HP 9000 machines.
Determine machine types more completely on older UnixWare systems.
Determine C library version on GNU/Linux for the PowerPC.
* config.sub: Numerous additions. Some cleanup.
1999-04-29 Ben Elliston <bje@cygnus.com>
* config.sub: Handle `t3e' alias for Cray T3E. Contributed by
James A. Lupo.
1999-04-19 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* acgeneral.m4 (AC_TRY_LINK_FUNC): Add support for Fortran 77.
1999-04-17 Paul Eggert <eggert@twinsun.com>
* autoconf.texi, acspecific.m4 (AC_FUNC_MKTIME): New macro.
taken from automake's AM_FUNC_MKTIME.
* acfunctions: mktime now belongs to AC_FUNC_MKTIME.
1999-04-11 Philipp Thomas <kthomas@gwdg.de>
* config.sub: Set basic_machine to i586 when target_alias = k6-*.
1999-04-11 Pavel Roskin <pavel_roskin@geocities.com>
* autoheader.m4: Do not complain about using AC_TRY_RUN without a
cross-compilation action--only autoconf should do this.
1999-04-11 Paul Eggert <eggert@twinsun.com>
* acgeneral.m4 (AC_CHECK_TYPE): Allow first argument to be a
shell variable.
1999-04-11 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_C_STRUCT_MEMBER): New macro.
* acspecific.m4 (AC_STRUCT_TIMEZONE): Rewrite in terms of
AC_C_STRUCT_MEMBER.
(AC_STRUCT_ST_BLOCKS): Likewise.
(AC_STRUCT_ST_BLKSIZE): Likewise.
(AC_STRUCT_ST_RDEV): Likewise.
* autoconf.texi (Structures): Update. Add menu for subnodes.
(Particular Structures): New node.
(Generic Structures): New node.
(AC_C_STRUCT_MEMBER): Document.
1999-04-10 Ben Elliston <bje@cygnus.com>
* mkinstalldirs: Add `-m' flag to specify the mode of a newly
created directory. Add command line usage and `-h', `--help'
options. Contributed by Jeff Garzik.
1999-04-08 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_PROG_CC): Try using the `cl' C compiler under
Cygwin. Contributed by Scott Stanton.
* config.sub: Handle MPE/iX.
1999-04-07 Ben Elliston <bje@cygnus.com>
* config.guess: Add more CLIX machines. From Thomas Dickey.
1999-04-06 Ben Elliston <bje@cygnus.com>
* config.guess: Avoid the possibility of `ld' on GNU/Linux systems
being something other than the GNU linker (such as a directory, in
the case of GNU binutils).
1999-04-05 Ben Elliston <bje@cygnus.com>
* config.sub: Add modern Alpha processors. Reorganise.
* acspecific.m4 (AC_CYGWIN): Do not remove conftest*; let
AC_TRY_COMPILE clean up after itself.
(AC_MINGW32): Likewise.
(AC_EMXOS2): Likewise.
* acspecific.m4 (AC_EMXOS2): New macro. Contributed by Ryuji Abe.
(AC_EXEEXT): Handle case for OS/2.
(AC_PROG_CC_WORKS): Show $CPPFLAGS when running the compiler.
(AC_PROG_CXX_WORKS): Likewise.
* autoconf.texi (AC_EMXOS2): Document.
(AC_EXEEXT): Mention OS/2.
(AC_MINGW32): Move.
(UPDATED): Update.
1999-04-02 Mike Stump <mrs@wrs.com>
* acgeneral.m4 (AC_ARG_PROGRAM): Remove spaces, as there is one
more pass through sh than you think.
1999-04-01 Ben Elliston <bje@cygnus.com>
* standards.texi: Update from FSF.
* acspecific.m4 (AC_PROG_INSTALL): Avoid using the installation
script belonging to HP `pwplus' when running the install
program. Contributed by Steven G. Johnson and Dave Adams.
(AC_EXEEXT): Do not consider `.xcoff' as a possible executable
filename extension. Contributed by Robert S. Maier.
1999-03-28 Tom Tromey <tromey@cygnus.com>
* autoconf.texi (AC_OUTPUT_COMMANDS): Add to macro index.
1999-03-22 Ben Elliston <bje@cygnus.com>
* config.guess: Rename BUILD_CC to CC_FOR_BUILD; there is a
precedent for the usual name of this environment variable.
1999-03-22 Pavel Roskin <pavel_roskin@geocities.com>
* autoheader.sh: Report an error if AC_CONFIG_HEADER is not
present in the configure input file.
1999-03-21 Ben Elliston <bje@cygnus.com>
* config.guess: Correct typo for detecting ELF on FreeBSD.
1999-03-14 Alexandre Oliva <oliva@dcc.unicamp.br>
* config.guess: Recognise HP 9000/8x0 machines.
1999-03-11 Ben Elliston <bje@cygnus.com>
* config.sub: Recognise hppa2.0w. Contributed by Erez Zadok.
1999-03-11 Pavel Roskin <pavel_roskin@geocities.com>
* config.guess: Prefer $HOST_CC over $CC when deciding on a C
compiler to compile stub programs. Allow this to be overridden
with the value of $BUILD_CC in cross-compilation environments
where the native compiler must be used for running tests on the
host.
1999-03-11 Ben Elliston <bje@cygnus.com>
* config.guess: Recognise MiNT and TOS on Atari machines.
Contributed by Guido Flohr.
* config.sub: Add aliases for MiNT.
1999-03-10 Ben Elliston <bje@cygnus.com>
* config.guess: Recognise HP 9000/800. Merged from the master
FSF version of this file.
1999-03-01 Gordon Matzigkeit <gord@trick.fig.org>
* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Don't require that macro
symbols be valid C identifiers.
1999-02-28 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_FUNC_VFORK): Allow test to behave correctly
when $ac_cv_func_vfork_works is the empty string. Contributed by
<red@nym.alias.net>.
* config.sub: Add `oskit' as a basic system type. From Godmar Back.
1999-02-26 Ben Elliston <bje@cygnus.com>
* install-sh: Avoid trailing whitespace.
* autoscan.pl (parse_args): Make compatible with Perl version 4.
1999-02-24 Ben Elliston <bje@cygnus.com>
* config.guess: Detect LynxOS 3.x. Contributed by Giuseppe
Guerrini.
1999-02-23 Ben Elliston <bje@cygnus.com>
* config.guess: Detect ReliantUNIX on MIPS. Contributed by Andrej
Borsenkow.
Also remove random trailing whitespace.
1999-02-22 Ben Elliston <bje@cygnus.com>
* autoconf.texi (System Services): Explain the semantics of the
AC_SYS_RESTARTABLE_SYSCALLS macro in greater detail. Suggested by
Franc,ois Pinard.
1999-02-22 Stu Grossman <grossman@cygnus.com>
* acgeneral.m4 (AC_CANONICAL_SYSTEM): Explicitly require
AC_CANONICAL_HOST, AC_CANONICAL_TARGET and AC_CONICAL_BUILD.
(AC_CONFIG_AUX_DIR): Run auxillary shell scripts through $SHELL.
Do not rely on their magic number.
(AC_CANONICAL_THING): New macro. Cache results.
(AC_CANONICAL_HOST): Reimplement; use AC_CANONICAL_THING.
(AC_CANONICAL_TARGET): Likewise.
(AC_CANONICAL_BUILD): Likewise.
(AC_OUTPUT): Use $SHELL.
(AC_OUTPUT_SUBDIRS): Likewise.
1999-02-19 Ben Elliston <bje@cygnus.com>
* config.guess: Make C code clean for C++ compilers. Contributed
by Markus Oberhumer.
1999-02-19 Ben Elliston <bje@cygnus.com>
* config.guess: Automatically recognise ELF on FreeBSD. From Niall
Smart and improved by Andrew Cagney.
1999-02-19 Felix Lee <flee@cygnus.com>
* acgeneral.m4 (AC_CACHE_VAL): Don't need backticks. This is a
performance enhancement for about a 5% reduction in the runtime of
the generated configure script.
1999-02-18 Ben Elliston <bje@cygnus.com>
* config.guess: Detect NEC EWS4800. Contributed by Koji Arai.
1999-02-11 Ben Elliston <bje@cygnus.com>
* standards.texi: Update from FSF.
1999-02-10 Tom Tromey <tromey@cygnus.com>
* acgeneral.m4 (AC_CACHE_LOAD): Avoid sourcing special files.
Works around bug in some versions of bash.
1999-02-02 Pavel Roskin <pavel_roskin@geocities.com>
* autoconf.texi: Corrected definitions for AC_CONFIG_AUX_DIR and
AC_PROG_F77. Duplicated descriptions for AC_SEARCH_LIBS and
AC_TRY_LINK_FUNC removed.
1999-01-29 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_EXEEXT): Ignore C++ source files.
1999-01-28 Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
* acspecific.m4 (AC_PROG_INSTALL): set INSTALL_SCRIPT to
${INSTALL} so that automake doesn't propogate install time flags
for INSTALL_PROGRAM into INSTALL_SCRIPT.
1999-01-25 Ben Elliston <bje@cygnus.com>
* install-sh: Use $mkdirprog, not `mkdir' directly. Contributed by
Jeff Garzik.
* Makefile.in (clean mostlyclean distclean maintainer-clean):
Remove .m4f files.
* config.guess: Synchronise with master FSF version. Add detection
for HP MPE/iX.
* config.sub: Likewise.
1999-01-23 Ben Elliston <bje@cygnus.com>
* config.guess: Catch more NILE system models. Contributed by
Akim Demaille and Graham Jenkins.
* autoheader.sh: Force $tmpout to close to avoid Windows file
sharing conflicts. From Mark Elbrecht.
1999-01-21 Ben Elliston <bje@cygnus.com>
* autoconf.texi (Introduction): Update bug reporting address.
* config.guess: Likewise.
1999-01-19 Pavel Roskin <pavel_roskin@geocities.com>
* ifnames.sh: Source lines ending with backslash are prepended to
the following line before further processing.
1999-01-19 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_PROG_CXXCPP): Substitute @CXXCPP@ correctly
when $CXXCPP is overridden in the supervisory shell. Contributed
by Michael Schoene.
1999-01-16 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_ACVERSION): Bump to 2.14.1 for prereleases.
1999-01-14 Scott Bambrough <scottb@corelcomputer.com>
* config.guess: Recognise armv[234][lb] types (ie. `armv*').
1999-01-13 Ben Elliston <bje@cygnus.com>
* autoconf.sh: Remove -v and --verbose from the command line usage
help. They do not exist.
1999-01-12 Scott Bambrough <scottb@corelcomputer.com>
* config.sub: Recognize armv[234][lb] types (ie. `armv*'). Add
alias for the NetWinder; set company to `corel'.
1999-01-11 Akim Demaille <demaille@inf.enst.fr>
* autoreconf.sh (verbose): use either `:' or `echo'.
(aclocal_m4): Renamed from aclocal.
(aclocal_flags): New var.
Run aclocal using $aclocal_flags.
Redirect ls' stderr to /dev/null to avoid spurious messages.
1999-01-11 Ben Elliston <bje@cygnus.com>
* config.guess: Detect HP-UX on MPE/iX machines.
* acgeneral.m4 (AC_ACVERSION): Increment to 2.14.
* autoconf.texi (EDITION): Likewise.
(VERSION): Likewise.
1999-01-10 Ben Elliston <bje@cygnus.com>
* config.guess: Detect Rhapsody on PowerPC and other machines.
Contributed by Wilfredo Sanchez.
* config.sub: Add rhapsody and openstep aliases.
1999-01-09 Ben Elliston <bje@cygnus.com>
* Makefile.in (html): New target. Generate HTML documentation.
(install-strip): Add.
Contributed by Wilfredo Sanchez.
* autoconf.texi (AC_CHECK_LIB): Explain more. Contributed by Bob
Friesenhahn.
(UPDATED): Bump to 1999.
* config.guess: Distinguish between OpenStep and NeXTStep
platforms. Contributed by Wilfredo Sanchez.
1999-01-09 J"orn Rennecke <amylaar@cygnus.co.uk>
* acgeneral.m4 (AC_CHECK_FUNC): Don't actually call the function.
1999-01-09 H.J. Lu <hjl@lucon.org>
* config.guess: Permit multiple concurrent instances by including
the process ID of the shell running this script in temporary
filenames.
1999-01-08 Ben Elliston <bje@cygnus.com>
* autoconf.sh: More useful and up-to-date help from the --help
option. Contributed by Akim Demaille.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise.
* autoscan.pl: Likewise.
* autoupdate.sh: Likewise.
* ifnames.sh: Likewise.
* config.guess: Detect Cray T3E and NEC SX-4, SX-5 machines.
Contributed by Andreas Schott.
1999-01-06 Ben Elliston <bje@cygnus.com>
* autoconf.texi (AC_OBJEXT): Correct documentation.
1999-01-05 Ben Elliston <bje@cygnus.com>
* Version 2.13.
1999-01-04 Ben Elliston <bje@cygnus.com>
* autoconf.texi (AC_CHECK_FILE): Document.
(AC_CHECK_FILES): Likewise.
(AC_SEARCH_LIBS): Likewise.
(AC_FUNC_SELECT_ARGTYPES): Use Jeff Garzik's version.
(AC_C_STRINGIZE): Likewise.
(AC_CYGWIN): Document.
(AC_EXEEXT): Likewise.
(AC_OBJEXT): Likewise.
(AC_MINGW32): Likewise.
(AC_TRY_LINK_FUNC): Likewise.
(AC_VALIDATE_CACHED_SYSTEM_TUPLE): Likewise.
1999-01-01 Ben Elliston <bje@cygnus.com>
* NEWS: Update.
* acspecific.m4 (AC_PROG_CXX_WORKS): Specify an explicit return
type for `main' to keep modern C++ compilers happy.
1998-12-28 Jeff Garzik <jgarzik@pobox.com>
* autoconf.texi:
(AC_SEARCH_LIBS, AC_CHECK_FILE, AC_CHECK_FILES,
AC_TRY_LINK_FUNC): Document.
(AC_CHECK_LIB): Indicate the absence of
action-if-not-found will not kill default action.
(AC_SYS_INTERPRETER): Alphabetize with rest of section,
s/ac_cv_sys_interpreter/interpval/
* acgeneral.m4:
(AC_TRY_LINK_FUNC): Fix arg transposition.
(AC_SEARCH_LIBS): Require autoconf 2.13, add other-libs arg.
(AC_CHECK_FILES): Add underscore to HAVE_file define.
* acspecific.m4:
(AC_SYS_INTERPRETER): New shell var 'interpval' stores
internal var ac_cv_sys_interpreter.
1998-12-27 Ben Elliston <bje@cygnus.com>
* autoconf.texi (AC_PROG_INSTALL): Update.
(AC_FUNC_ALLOCA): Correct code fragment.
(AC_FUNC_SELECT_ARGTYPES): Document.
(AC_C_STRINGIZE): Likewise.
(AC_VALIDATE_CACHED_SYSTEM_TUPLE): Likewise.
* acspecific.m4 (AC_CYGWIN): Rename from `AC_CYGWIN32'.
(AC_CYGWIN32): Warn about deprecated usage. Forward to AC_CYGWIN.
* config.sub: Drop `32' from `Cygwin32'.
* config.guess: Likewise.
Handle BSD/OS variants for non-x86 machines. Contributed by Chris
P. Ross.
* NEWS: Update.
* configure: Rebuild.
1998-12-26 Ben Elliston <bje@cygnus.com>
* autoreconf.sh (stamp): Add missing quote.
* mkinstalldirs: Write output which is not diagnostic to standard
output and not standard error. Suggested by Steve Robbins.
1998-12-11 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* acconfig.h, acgeneral.m4, acspecific.m4, autoconf.texi: Change
all of the Fortran 77 code to use the new `F77' prefix instead of
the older `FC' prefix.
1998-12-11 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_ACVERSION): Bump to 2.13.
* autoconf.texi (EDITION): Likewise.
(VERSION): Likewise.
1998-10-30 Jeff Garzik <jgarzik@pobox.com>
* autoconf.texi: Document AC_CACHE_LOAD and AC_CACHE_SAVE. Explain
how AC_CACHE_SAVE can be used as a means of syncing the cache to
disk prior to doing something potentially fatal in configure.
1998-10-29 Alexandre Oliva <oliva@dcc.unicamp.br>
* autoreconf.sh: Support several automake command line options,
and run aclocal and automake when needed. Also, create stamp files
just like automake's Makefiles would do for config headers.
Additional contributions from Tom Tromey.
1998-10-24 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* acgeneral.m4 (AC_LANG_FORTRAN77): Remove [] (i.e. the m4 quotes)
since it was confusing the test suite. Also make `f77' the default
for FC, otherwise the test suite fails.
* autoconf.texi (Fortran 77 Compiler Characteristics): Added new
node documenting the new AC_F77_LIBRARY_LDFLAGS macro.
* acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): New macro to determine
the linker flags (e.g. `-L' and `-l') for the Fortran 77 intrinsic
and run-time libraries.
1998-10-24 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_FUNC_SELECT_ARGTYPES): New macro. Detects the
types of formal arguments to select(). Contributed by Lars Hecking.
* acconfig.h (SELECT_TYPE_ARG1): Add.
(SELECT_TYPE_ARG234): Likewise.
(SELECT_TYPE_ARG5): Likewise.
* config.guess: Hide warnings emitted by the HP linker when
generating a PA 2.0 object file. Contributed by Marcus Thiessel.
1998-10-20 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_LANG_RESTORE): Fix a typo spotted by Noah
Elliott.
1998-10-09 Tom Tromey <tromey@cygnus.com>
* Makefile.in (autoconf.m4f): New target.
(autoheader.m4f): Likewise.
1998-10-08 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_TRY_LINK_FUNC): Fix macro ordering.
Sun Oct 4 21:57:20 1998 Tom Tromey <tromey@cygnus.com>
* autoconf.texi (Defining Symbols): Documented third argument to
AC_DEFINE.
* autoheader.m4 (AC_DEFINE_UNQUOTED): Generate `verbatim'
assignment if third argument given.
(AC_DEFINE): Likewise.
* acgeneral.m4 (AC_DEFINE): Handle case where $# is 3.
(AC_DEFINE_UNQUOTED): Likewise.
* autoheader.sh: Echo $verbatim if not empty.
1998-10-03 Ben Elliston <bje@cygnus.com>
* acconfig.h (FC_NO_MINUS_C_MINUS_O): Add to complete the Fortran
77 support.
* README: Update bug reporting address. Include maintainer info.
1998-10-02 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_VALIDATE_CACHED_SYSTEM_TUPLE): New macro. This
macro can be used to ensure that a configure script will not run
on a second system without removing the cache and re-running
configure. Contributed by Alexandre Oliva.
1998-09-29 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_SEARCH_LIBS): New macro. Searches a series of
libraries for a given function. Contributed by Jim Blandy.
(AC_TRY_LINK_FUNC): New macro. Again, from Jim.
1998-09-28 Ben Elliston <bje@cygnus.com>
* config.guess: Detect multiprocessor DC/OSx running on Pyramid
MIServer machines. Contributed by Graham K. Jenkins.
* acgeneral.m4 (AC_CHECK_PROG): Fix a bug if the supplied path
contains colons. This was observed with some versions of NetBSD
`sh' and some versions of `bash'.
(AC_PATH_PROG): Likewise. Contributed by Tom Yu.
1998-09-27 Ben Elliston <bje@cygnus.com>
* Makefile.in (all): Generate frozen .m4 files at build time.
(install): Do not freeze .m4 files. Install pre-frozen .m4f files
using $(INSTALL_DATA).
(.m4.m4f): Freeze files if m4 supports stored internal state.
Contributed by Karl Heuer.
* install-sh: Import latest version from the FSF.
* mkinstalldirs: Likewise.
* config.guess: Apply the sysconf(2) test to HP 9000/600-series,
9000/802, 9000/804 and 9000/892 machines. Contributed by Pavel
Roskin.
Detect UnixWare 7. Contributed by Paul Gampe.
* acspecific.m4 (AC_PROG_INSTALL): Substitute `INSTALL_SCRIPT'.
Contributed by Franc,ois Pinard
(AC_C_STRINGIZE): New macro to test the availability of the
stringizing operator in the C preprocessor. Contributed by Arnold
Robbins on behalf of the GNU AWK project.
* acconfig.h (HAVE_STRINGIZE): Add for the AC_C_STRINGIZE macro.
* testsuite/Makefile.in (check): If DejaGNU is not installed,
print a warning and skip the `dejacheck' target (which will fail).
(site.exp): Use tests to guard commands from generating error
messages if `site.exp' or `site.bak' do not exist. Contributed by
Karl Heuer.
(dejacheck): Remove unused target.
1998-09-26 Ben Elliston <bje@cygnus.com>
* texinfo.tex: Import latest version from the FSF.
* config.guess: Treat all SPARC variant processors running BSD/OS
as just `sparc' for compatibility reasons. Contributed by Chris
Torek.
* acgeneral.m4 (AC_CHECK_FILE): New macro. Checks for the
existence of a file in the file system (native only).
Contributed by Ken Raeburn.
(AC_CHECK_FILES): Likewise.
1998-09-15 Didier Verna <verna@inf.enst.fr>
* acspecific.m4 (AC_PATH_XTRA): use X_EXTRA_LIBS add-on libraries
in the test for libICE. It is needed at least under Solaris.
1998-09-15 Ben Elliston <bje@cygnus.com>
* config.guess: Handle strange processor ID assignments on AIX
machines. Contributed by Didier Desseaux.
Sat Sep 12 16:25:00 1998 Aaron Crane <aaronc@pobox.com>
* acgeneral.m4 (AC_CHECK_TYPE): Changed the egrep regex to avoid
incorrectly assuming that if foobar_t is defined, then so is
bar_t.
Tue Sep 8 14:06:04 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* acgeneral.m4: Make the following macros Fortran 77 aware
(i.e. conditionalize whether to `#include "confdefs.h"', etc.):
(AC_TRY_COMPILE)
(AC_TRY_LINK)
(AC_CHECK_LIB)
* acgeneral.m4 (AC_LANG_FORTRAN77): Rename `AC_LANG_FORTRAN' to
`AC_LANG_FORTRAN77'. Change the Fortran 77 language macro from
`FORTRAN' to `FORTRAN77'.
(AC_LANG_RESTORE): Change the Fortran 77 language macro from
`FORTRAN' to `FORTRAN77'
* autoconf.texi: Updated Fortran 77 documentation, particularly
for `AC_TRY_COMPILE', `AC_TRY_LINK' and `AC_CHECK_LIB'.
Thu Sep 3 09:34:39 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* autoconf.texi: Added Fortran 77 documentation.
* acspecific.m4 (AC_PROG_FC): New macro. Determine a Fortran
compiler to use.
(AC_PROG_FC_WORKS): New macro.
(AC_PROG_FC_GNU): New macro.
(AC_PROG_FC_G): New macro.
(AC_PROG_FC_C_O): New macro.
* acgeneral.m4: Add FFLAGS (Fortran 77 flags).
(AC_LANG_FORTRAN): New macro.
(AC_LANG_RESTORE): Make Fortran 77 aware.
(AC_TRY_COMPILER): Make Fortran 77 aware (i.e. conditionalize
whether to `#include "confdefs.h"').
Thu Jun 18 12:13:27 1998 Ian Lance Taylor <ian@cygnus.com>
* acspecific.m4 (AC_EXEEXT): Correct setting of ac_exeext when
there is no extension.
Mon Jun 1 12:30:39 1998 Ian Lance Taylor <ian@cygnus.com>
* acgeneral.m4 (AC_CHECK_PROG): Set IFS to just ":" when searching
through PATH.
(AC_PATH_PROG): Likewise.
* acspecific.m4 (AC_PROG_INSTALL): Likewise.
(AC_PROG_CC): On cygwin32, if neither gcc nor cc
are found, look for cl.
(AC_PROG_CXX): Look for cl after all other choices.
* configure: Rebuild.
Thu May 28 18:37:36 1998 Ian Lance Taylor <ian@cygnus.com>
* acgeneral.m4 (AC_ACVERSION): Bump to 2.12.2.
Add support for Visual C++:
* acgeneral.m4 (ac_exeext, ac_objext): New variables.
(ac_link): Use ac_exeext.
(AC_TRY_COMPILER, AC_TRY_LINK, AC_TRY_RUN_NATIVE): Likewise.
(AC_TRY_CPP): Remove lines from stderr which contain only the name
of the file.
(AC_REPLACE_FUNCS): Use ac_objext.
* acspecific.m4 (AC_PROG_CC): Check whether compiler supports -g
even if it is not gcc.
(AC_PROG_CXX): Likewise.
(AC_PROG_CPP): Try running the compiler with the -nologo option.
(AC_FUNC_ALLOCA): Check for _MSC_VER. Use ac_objext.
(AC_FUNC_MEMCMP): Use ac_objext.
(AC_STRUCT_ST_BLOCKS): Likewise.
(AC_OBJEXT): New macro.
(AC_CYGWIN32, AC_MINGW32, AC_EXEEXT): New macros.
* configure: Rebuild.
* Makefile.in (editsh): Substitute for SHELL.
(Makefile, config.status): Use $(SHELL) when running
config.status.
* autoconf.sh: Change initial /bin/sh to @SHELL@.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* ifnames.sh: Likewise.
Thu Apr 30 16:29:00 1998 Syd Polk <spolk@cygnus.com>
* acspecific.m4 (SETPGRP_VOID): The test for setpgrp needs
to have unistd.h included or the DEC compiler does not
flag the error that triggers setting the variable.
Tue Nov 18 14:21:38 1997 Eric Mumpower <nocturne@cygnus.com>
* autoreconf.sh: Do the right thing when AC_CONFIG_HEADER is
given more than one filename. As noted in the "Invoking
autoheader" node of the info files, autoheader will use the first
file argument given to AC_CONFIG_HEADER. Prior to this patch,
autoreconf would end up executing incorrect shell code (e.g.
"test ! -f 1.h 2.h.in") in such cases.
Patch submitted in parallel to bug-gnu-utils@prep.ai.mit.edu.
Fri Oct 3 18:10:39 1997 Ian Lance Taylor <ian@cygnus.com>
* acgeneral.m4 (AC_CACHE_SAVE): Add a grep when checking whether
set quotes correctly, to avoid a cache overflow on HP-UX 9.
* configure: Rebuild.
Wed Sep 11 15:35:19 1997 Chris Provenzano <proven@cygnus.com>
* acgeneral.m4 : Always set SHELL and substitute SHELL.
When looking for a path for an executable allow the
user to override with an DOS path.
* configure : New configure generated by autoconf.
Thu Sep 4 22:30:40 1997 Jeffrey A Law (law@cygnus.com)
* acspecific (AC_PROC_INSTALL): Don't use installbsd on OSF.
Wed Sep 3 23:00:44 1997 Chris Provenzano <proven@cygnus.com>
* configure : New configure generated by autoconf.
* Makefile.in : Set SHELL=@SHELL@. configure now substiutes
${CONFIG_SHELL-/bin/sh} in for @SHELL@ at configure time.
Mon Aug 11 01:40:37 1997 Jason Molenda <crash@cygnus.co.jp>
* acspecific (AC_FUNC_VFORK): If cross-compiling, set
$ac_cv_func_vfork_works to $ac_cv_func_vfork (assume vfork works
if present).
Tue Aug 5 23:00:05 1997 Ian Lance Taylor <ian@cygnus.com>
* acgeneral.m4 (AC_VERSION): Set to 2.12.1.
(AC_CANONICAL_HOST): Use CONFIG_SHELL to run $ac_config_sub and
$ac_config_guess.
(AC_CANONICAL_TARGET, AC_CANONICAL_BUILD): Likewise.
Tue Dec 10 19:38:59 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
* acgeneral.m4 (AC_CACHE_SAVE): Use grep to prevent overflowing
HP-UX 9.05 /bin/sh buffer in case statement. From Eric Backus.
Mon Dec 9 23:39:17 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
* acspecific.m4 (AC_FUNC_GETLOADAVG): Add a semicolon between
shell variable assignments; the evaluation order varies between
implementations.
Tue Nov 26 13:00:28 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
* Version 2.12.
Wed Nov 20 13:00:21 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
* Test release 2.11.2.
* acgeneral.m4 (AC_OUTPUT): Remove a now-wrong test for whether to
make an unquoted here document.
(AC_CACHE_SAVE): Double-up backslashes in double quotes.
From Paul Eggert.
* Test release 2.11.1.
* acgeneral.m4 (AC_TRY_COMPILE, AC_TRY_LINK): Make the final
newline consistent with the other AC_TRY_* macros: no final dnl
is needed to avoid extraneous blank lines.
(AC_CHECK_LIB, AC_HAVE_LIBRARY, AC_COMPILE_CHECK): Remove
extraneous dnl's.
(AC_DIVERSION_CMDS, AC_DIVERSION_ICMDS): New macros.
(AC_OUTPUT_COMMANDS, AC_OUTPUT): Use them instead of appending to
list macros.
* acgeneral.m4 (AC_CACHE_SAVE): Handle cache variable values
correctly even if they contain single quote, or are quoted by
the shell. From Paul Eggert.
(AC_INIT_PREPARE): Set LC_MESSAGES to C if set.
From Hans Olsson.
Set LC_CTYPE to C if set.
From Thomas Winder.
* autoconf.sh, autoheader.sh: Likewise set LC_MESSAGES and LC_CTYPE.
Tue Nov 19 10:29:06 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
* testsuite/autoconf.g/sizeof.exp: Use the v2 macro name.
* acgeneral.m4 (AC_OUTPUT_FILES, AC_OUTPUT_HEADER): Support
creating output files from multiple pieces, concatenated.
Suggested by Theodore Ts'o.
(AC_LINK_FILES): If called more than once, concatenate the
arguments. From Roland McGrath.
(AC_CONFIG_SUBDIRS): Likewise.
(AC_OUTPUT_COMMANDS): New macro. Suggested by
Tom Tromey.
(AC_OUTPUT): Use the lists it sets.
* acgeneral.m4 (AC_TRY_RUN_NATIVE): Fail if linking fails, like
AC_TRY_LINK.
(AC_TRY_RUN): Don't require AC_C_CROSS.
(AC_TRY_COMPILER): New macro.
(AC_LANG_C, AC_LANG_CPLUSPLUS): Set cross_compiling.
* acspecific.m4 (AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS): Use
AC_TRY_COMPILER instead of AC_TRY_LINK.
(AC_PROG_CC_GNU, AC_PROG_CC_G): Split out of AC_PROG_CC.
(AC_PROG_CXX_GNU, AC_PROG_CXX_G): Split out of AC_PROG_CXX.
For the *_G macros, make the cache variable names non-GNU-specific.
(AC_C_CROSS): Mark obsolete, and otherwise a no-op.
* AUTHORS: New file.
* Makefile.in (DISTFILES): Add it.
* acspecific.m4 (AC_FUNC_MMAP): Update the getpagesize
declarations from getpagesize.h. Check for unistd.h.
* acgeneral.m4 (AC_OUTPUT_FILES): Run the eval in a subshell.
* acfunctions: Map fnmatch, strftime, getpgrp, setpgrp to their
own macros.
* acgeneral.m4 (AC_OUTPUT_HEADER): Check that $CONFIG_HEADERS is
unset, not that it's empty.
Mon Nov 18 10:24:50 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
* Version 2.11.
Sun Nov 17 20:12:05 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
* acspecific.m4 (AC_FUNC_STRCOLL): Make the checking message more
accurate.
Thu Nov 14 11:15:27 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
* acheaders: Add entry for malloc.h. Make the strings.h entry
suggest AC_CHECK_HEADERS instead of AC_HEADER_STDC.
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Move initialization of
ac_max_here_lines here from AC_OUTPUT_HEADER.
* autoheader.sh: Take the multiple-include protection back out.
It's not needed for a file that just #defines stuff, and, as Ken
Raeburn pointed out in Apr 1994:
Since you don't make it optional, and you don't give the writer of
configure.in much control over the name of the symbol, it also would
prevent one "config.h" file in a subdirectory from including
"../config.h" as a way to avoid duplicating some common tests.
* acspecific.m4 (AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS): Don't try
running a program, just try linking.
(AC_C_CROSS): Make the wording clearer.
Wed Nov 13 10:07:14 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
* acspecific.m4 (AC_PROG_CC, AC_PROG_CXX): Check whether the
compiler works before checking whether it's a GNU compiler.
(AC_FUNC_VFORK): Call _exit after perror.
(AC_PATH_XTRA): Go back to using -R, as setting an env var as part
of CC doesn't get eval'd correctly to actually work.
Directly test whether a space is needed after -R.
Don't add "-L" to LDFLAGS if $x_libraries is empty.
(AC_FUNC_STRFTIME): Check for it in -lintl only if it's not in the
normal libraries.
* Test release 2.10.3.
* testsuite/Makefile.in (dejacheck): New target, suggested by Tom
Tromey.
(check): Depend on dejacheck.
Tue Nov 12 00:06:14 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
* acgeneral.m4 (AC_OUTPUT_FILES): Split the list of sed commands in
conftest.subs into multiple files named conftest.s[1-9][0-9]*.
Create a pipeline of sed commands that use these files, then delete
the temporary files. From John W. Eaton.
* acspecific.m4 (AC_AIX, AC_MINIX): Remove warnings about AC_TRY_LINK.
These macros don't change the linkage options.
* Test release 2.10.2.
* acspecific.m4 (AC_PROG_CC, AC_PROG_CXX) [GCC]: Use -O2 instead
of -O. Suggested by fnf@ninemoons.com (Fred Fish).
* acgeneral.m4 (AC_OUTPUT_HEADER): Support passing
AC_CONFIG_HEADER a value containing shell variables. Suggested by
Markku Savela and Julian Onions.
* acgeneral.m4 (AC_TRY_RUN_NATIVE, AC_TRY_LINK, AC_TRY_COMPILE,
AC_TRY_CPP): Show the test program in config.log if the test fails.
From Karl Berry.
* testsuite/config/unix.exp: Run the configure script as "./script"
in case the user doesn't have "." in their PATH.
Mon Nov 11 18:02:58 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
* acgeneral.m4 (AC_TRY_COMPILE, AC_TRY_LINK): Deal with smart
compilers that know that an unused function doesn't have to be
linked in: call the function directly from main().
(Removing a legacy from when they tried to run the code, I think-djm.)
From fnf@ninemoons.com (Fred Fish).
* acspecific.m4 (AC_FUNC_GETLOADAVG): Rename ac_save_LIBS to avoid
a clash with AC_CHECK_LIB.
From Jim Meyering.
(AC_FUNC_FNMATCH, AC_FUNC_MMAP, AC_FUNC_VFORK, AC_FUNC_WAIT3,
AC_FUNC_STRCOLL, AC_FUNC_MEMCMP): Rename cache variables to avoid
wrong results if someone calls AC_CHECK_FUNC for these functions.
* autoheader.sh: Don't cmp with config.h.in if it doesn't exist yet.
Don't frob lines 1-@TOP@ or @BOTTOM@-end of acconfig.h's.
Accept TAB as well as SPC after #undef in acconfig.h's.
Sat Nov 9 01:54:04 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
* Test release 2.10.1.
* acspecific.m4 (AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS): New macros
adapted from Bruno Haible.
(AC_PROG_CC, AC_PROG_CXX): Use them.
* acgeneral.m4 (AC_TRY_RUN_NATIVE): Split out of AC_TRY_RUN.
(AC_TRY_LINK): Check that the executable exists after linking.
(AC_EGREP_CPP): Disable m4 quote chars around egrep, so [] in regexps
isn't eaten.
* autoheader.sh: Add multiple-inclusion protection for config.h.
* acgeneral.m4 (AC_PREFIX_PROGRAM): Pretty up the output.
(AC_CHECK_LIB): Include the function being tested in the message.
(AC_CHECK_PROG, AC_PATH_PROG): Add a dummy variable to force word
splitting on the path.
* acspecific.m4 (AC_FUNC_MMAP): Remove check and uses of valloc.
It turns out it's a separate issue, for GNU grep.
Replace the test program with a new version from Mike Haertel.
* acgeneral.m4 (AC_CACHE_SAVE): Accept the HP-UX sh 'set' output
format. From Marcus Daniels.
* acgeneral.m4 (AC_MSG_CHECKING, AC_CHECKING): Write a message to
config.log also. From T.E.Dickey.
(AC_CHECK_LIB, AC_CHECK_HEADER, AC_CHECK_HEADERS): Replace use of
tr with sed, to avoid a bug in the AIX 4.1.3.0 tr reported by
Alain Knaff. He says that version of tr interprets \055 as a
range specifier, like an unquoted -.
* acspecific.m4 (AC_PROG_MAKE_SET, AC_CHECK_HEADER_DIRENT,
AC_CHECK_HEADERS_DIRENT): Ditto.
* acspecific.m4 (AC_FUNC_SETPGRP): New macro.
* acconfig.h (SETPGRP_VOID): New entry.
From T.E.Dickey.
* acspecific.m4 (AC_PATH_X_DIRECT): Try /lib/usr/lib/X11 for A/UX.
From Guillermo Gomez.
(AC_PATH_XTRA): Replace -R with adding LD_RUN_PATH to CC in the
Solaris kludge. Suggested by Paul Eggert.
Define X_DISPLAY_MISSING with AC_DEFINE, and
if not using X, clear out the X variables.
Check system-dependent libs before system-independent ones.
Check for more system-dependent libs.
From Karl Berry.
Use AC_CHECK_FUNC in the system-dependent libs tests.
From Larry Schwimmer.
Wart removal: Don't require AC_ISC_POSIX.
(AC_ISC_POSIX): Require AC_PROG_CC, since it uses $GCC.
From gvran@uddeborg.pp.se.
Don't blather about being called before AC_TRY_LINK,
which is now called in AC_PROG_CC. Don't encourage using this macro.
* acconfig.h (X_DISPLAY_MISSING): Add entry.
Fri Nov 8 16:02:08 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
* acspecific.m4 (AC_PATH_X_DIRECT): Search for /usr/X11 before
/usr/X11Rn, etc. From bostic@bsdi.com (Keith Bostic).
* acgeneral.m4 (AC_CHECK_TYPE) [STDC_HEADERS]: Check in stddef.h, too.
From Glenn P. Davis.
Don't require the second char after the type name to be a space.
(AC_TRY_RUN): Remove the test files before executing the "failure"
case code.
* acspecific.m4 (AC_PROG_CXX): Check for cc++ for NexT.
From Carl Edman.
(AC_PROG_CC, AC_PROG_CXX): Check whether -g works even if
C[XX]FLAGS is set. From T.E.Dickey.
(AC_FUNC_FNMATCH): New macro.
* acconfig.h (HAVE_FNMATCH): New entry.
* acgeneral.m4 (AC_REPLACE_FUNCS): Call AC_CHECK_FUNCS to do the work.
Tue Oct 29 13:03:44 1996 Doug Evans <dje@canuck.cygnus.com>
* acgeneral.m4 (AC_OUTPUT_SUBDIRS): Fix thinko in computation of
ac_sub_srcdir in relative but not "." case.
Thu Oct 10 22:29:37 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
* acgeneral.m4 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET,
AC_CANONICAL_BUILD): Allow the os part of the string returned by
config.sub to contain dashes, as in "linux-gnu".
Fri Jul 19 16:59:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_TYPE): Add dnl so regexp doesn't have a
leading newline.
Wed Jun 12 13:56:57 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
* acgeneral.m4 (AC_CHECK_TYPE): Remove extra ')'.
* Many files: Update the FSF street address.
Sun Jun 9 17:54:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Add missing \ in last change.
Fri Jun 7 11:54:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Identifierize lib name in $ac_tr_lib.
Mon May 27 13:49:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acspecific.m4 (AC_SYS_LONG_FILE_NAMES): If $TMPDIR names an
existing, writable directory, then test it instead of /tmp, /var/tmp,
and /usr/tmp for long file name support.
* acgeneral.m4 (AC_PREREQ): Prepend "FATAL ERROR: " to msg.
Sun May 26 19:07:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acspecific.m4 (AC_PROG_MAKE_SET): Sanitize $MAKE for use as
identifier.
* acgeneral.m4 (AC_CHECK_TYPE): Tighten regexp so ulong doesn't match
ulong_t.
* autoheader.sh: Put $syms in a temporary file and use fgrep -f.
Tue May 7 13:20:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acgeneral.m4: Version 2.10 released.
Tue Mar 26 13:03:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_OUTPUT_HEADER): Make subdir if necessary.
Thu Mar 21 10:52:03 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acspecific.m4 (AC_FUNC_GETLOADAVG): Fix name of -lelf cache variable
name in test of it.
(AC_PATH_XTRA): Fix name of -ldnet cache variable name in test of it.
Wed Mar 20 09:37:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Use \055 for -; leading and trailing
both lose with some tr.
* acspecific.m4 (AC_C_CONST): Remove check for gcc 2.7 bug.
RMS wants everyone to lose until gcc is fixed.
* acgeneral.m4 (AC_CHECK_LIB): Put - last in tr set so it is not
considered a range.
* acspecific.m4 (AC_C_CONST): Add check for gcc 2.7 bug.
From Paul Eggert and Jim Meyering.
* acgeneral.m4 (AC_CHECK_LIB): Omit `char $2' decl when $2 is `main'.
Wed Mar 13 22:10:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* acgeneral.m4 (AC_CHECK_LIB): Put quotes around _ when
constructing cache variable name, to separate it from preceding
text.
Sat Mar 16 15:53:22 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* Version 2.9 released.
* acgeneral.m4 (AC_ACVERSION): Updated to 2.9.
Wed Mar 13 12:49:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_OUTPUT_HEADER): Undo last change to $ac_dB,
and instead change the code written into conftest.hdr.
Tue Mar 12 02:51:24 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_OUTPUT_HEADER): Apply Jan 15 fix to
AC_OUTPUT_MAKE_DEFS here too: Match `#define foo' without trailing
space in confdefs.h. Before configure would lose if all its trailing
whitespace got stripped, and that can happen in mail.
Sun Mar 10 20:30:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_INIT_NOTICE): Add 95 and 96 to copyright years.
Sat Mar 9 18:28:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Add missing [.
Fri Mar 8 15:06:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Declare $2 to override gcc2 internal
prototype.
* Version 2.8 released.
Wed Mar 6 14:38:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Use a cache variable name containing
both the library and function name.
Tue Jan 16 16:39:21 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_PROG): Take optional 6th arg, full name
of program to reject if found in search path.
* acspecific.m4 (AC_PROG_CC): If gcc not found use AC_CHECK_PROG
for cc, rejecting /usr/ucb/cc.
Fatal configure error if no $CC found at all.
Mon Jan 15 15:57:36 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Match `#define foo' without
trailing space in confdefs.h. Before configure would lose if
all its trailing whitespace got stripped, and that can happen in mail.
Fri Jan 12 14:38:37 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* acgeneral.m4 (AC_TRY_CPP): Use "" instead of '' when setting
ac_try; we need one level of expansion there for $ac_cpp, then
AC_TRY_EVAL does one more for its the expansion of $ac_cpp.
Thu Jan 11 10:38:19 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* acgeneral.m4 (AC_LANG_C, AC_LANG_CPLUSPLUS): Removed echo cmds
from $ac_cpp, $ac_compile, and $ac_link.
(AC_TRY_EVAL, AC_TRY_COMMAND): New macros for running tests' commands.
Always put the configure source line and command line into config.log.
(AC_TRY_CPP, AC_TRY_COMPILE, AC_TRY_LINK): Use them.
* acspecific.m4: Use AC_TRY_EVAL and AC_TRY_COMMAND for running
all tests.
Fri Jan 5 17:50:28 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* acspecific.m4 (AC_PATH_X, AC_PATH_X_XMKMF, AC_PATH_X_DIRECT):
Rearrange logic: do no tests if $with_x=no; make incl and lib
tests independent, and distinguish unset from empty.
* autoconf.sh (undefined macro check): \ sed \s inside "". If
grep $name in $infile misses, give error message that there must
be an Autoconf bug.
Tue Dec 19 10:49:20 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* autoconf.sh: Ignore undefined macros in shell comments.
Mon Dec 11 22:12:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* acspecific.m4 (AC_PROG_CC_C_O): Rearrange logic to get the right
answer for cc.
Fri Nov 24 17:26:38 1995 Miles Bader <miles@gnu.ai.mit.edu>
* autoconf.sh: Define $AWK from the subst @AWK@, and use it.
Wed Nov 22 11:01:16 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* Version 2.7.
* autoheader.m4 (AC_CHECK_FUNCS, AC_CHECK_HEADERS): Expand the
optional action args. From jj@jfch.vc.cvut.cz (Jakub Jelinek).
* acgeneral.m4 (AC_CHECK_LIB): Translate - in library names to _.
(AC_ARG_PROGRAM): Use cat instead of echo to avoid SysV echo
interpreting backslashes. From kim@tac.nyc.ny.US (Kimmo Suominen).
(AC_OUTPUT_FILES): Quote $ and \ for being in an unquoted here
document. From Paul Eggert.
* acspecific.m4 (AC_PATH_X_XMKMF): Use ${MAKE-make}, not plain make.
(AC_C_CONST): Avoid a warning from g++.
From tgl@sss.pgh.pa.us (Tom Lane).
(AC_FUNC_MMAP): Check for valloc and getpagesize; don't rely on
predefines.
(AC_HEADER_STDC): If cross-compiling, assume the ctype macros are
ANSI. From dje@cygnus.com (Doug Evans).
(AC_TYPE_SIGNAL) [__cplusplus]: Give a full prototype.
From churritz@cts.com (Chad Hurwitz).
(AC_FUNC_VFORK): If cross-compiling, use AC_CHECK_FUNC instead.
From Steve Chamberlain.
Tue Sep 5 20:37:48 1995 Paul Eggert <eggert@twinsun.com>
* acspecific.m4 (X_LIBS): Use `-R lib', not `-Rlib', since Sun
CC 3.0 requires this.
Tue Aug 8 20:10:12 1995 Paul Eggert <eggert@twinsun.com>
* acgeneral.m4: When creating config.status, start a new
here-script just before building conftest.subs, to work around
a bug in the HP-UX 9 HP9000-800 sh.
Tue Nov 21 17:36:41 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* Makefile.in (install): Undo last ASCRIPTS panic change.
The bug reporter hadn't cleaned up his source dir.
Mon Nov 20 15:26:50 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* Version 2.6.
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Prettify usage message somewhat.
* Makefile.in: Use @bindir@, @datadir@, @infodir@.
(install): Find ASCRIPTS in $(srcdir).
Sat Nov 18 14:21:55 1995 Karl Berry <karl@cs.umb.edu>
* autoconf.sh: Allow lowercase letters in the undefined-macro name.
Fri Nov 17 15:05:44 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Version 2.5 released.
Fri Nov 17 15:23:04 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* acgeneral.m4 (AC_CHECK_LIB): Don't start tr argument with '+',
so as not to confuse old GNU tr's. From
Ian Lance Taylor.
(AC_INIT_PARSE_ARGS): Make sure MFLAGS and MAKEFLAGS are empty.
From Paul Townsend (aab@cc.purdue.edu).
(AC_CHECK_LIB, AC_CHECK_HEADERS, AC_CHECK_FUNC): Remove
duplicate `d' from alphabets.
* acspecific.m4 (AC_USG): Define USG if we don't have rindex and
bzero, not if we do have them.
From Viktor Dukhovni.
Sun Oct 29 15:13:37 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_PROG): Use arg 5 as search list, not arg 4.
Wed Aug 30 17:34:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* acspecific.m4 (AC_PROG_CC_C_O): If $CC groks it and cc doesn't
exist, choose yes.
Wed Jul 26 00:03:26 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* Test release 2.4.2.
* acgeneral.m4 (AC_CHECK_SIZEOF): Take an optional size to
use when cross-compiling.
* acspecific.m4 (AC_FUNC_CLOSEDIR_VOID, AC_DIR_HEADER): If
cross-compiling, assume it returns void. It's not a big loss.
From Karl Berry.
* acgeneral.m4 autoheader.sh: Change tr [a-z] [A-Z] into expansion
of the full alphabet, to combat losing AIX 4.1.1 tr when LANG
isn't set the way it likes.
* acspecific.m4 (AC_FUNC_GETMNTENT): Check in -lgen for Unixware.
From miguel@roxanne.nuclecu.unam.mx (Miguel de Icaza).
* autoheader.m4 (AC_CONFIG_HEADER): Set config_h to the first
argument. From ghudson@mit.edu (Greg Hudson).
* Makefile.in (all): Depend on info.
* acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG, AC_CHECK_PROGS,
AC_PATH_PROGS, AC_CHECK_TOOL): Add optional PATH
parameter.
Mon Jul 24 17:27:11 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* acgeneral.m4 (AC_CHECK_LIB): Don't enclose tr args in [], for
SysV and POSIX. From Karl Heuer.
Wed Jul 19 17:43:44 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* acgeneral.m4 (AC_CHECK_LIB): Translate + to p in lib name.
Wed Jun 28 13:45:16 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Allow an empty value
for --enable and --with args.
(AC_CACHE_CHECK): New macro.
* acspecific.m4: Use it where possible.
Tue Jun 27 13:29:54 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* acgeneral.m4 (AC_INIT_PARSE_ARGS, AC_INIT_PREPARE): Add options
--bindir, --libdir, etc.
Mon Jun 26 20:54:36 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* acgeneral.m4 (AC_LANG_C, AC_LANG_CPLUSPLUS): Put the command
being run into the log file.
Thu Jun 22 22:33:23 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* acspecific.m4 (AC_PROG_INSTALL): Don't cache a shell script path.
* acgeneral.m4 (AC_CHECK_LIB): Allow lib name to contain a . or /,
by fixing the cache variable name.
Wed Jun 14 23:07:20 1995 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
* Version 2.4.
Sun May 7 08:09:12 1995 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
* acspecific.m4 (AC_PATH_X_XMKMF): Check for libX11.{so,sl} as
well as .a when seeing whether LIBDIR or USRLIBDIR is right.
Sat May 6 17:29:07 1995 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
* acspecific.m4 (AC_PROG_CPP): If CPP is already set, use that as
the value and set the cache variable to it.
Mon Mar 27 10:48:36 1995 David J. MacKenzie <djm@churchy.gnu.ai.mit.edu>
* Version 2.3.
* acgeneral.m4 (AC_OUTPUT): Add quotes around the echo arguments
in the trap, so backslashes aren't required for multiline input.
From G.Wilford@ee.surrey.ac.uk.
Also use the sed trick when not using a config header file.
Thu Mar 23 18:02:25 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* acgeneral.m4 (AC_LANG_C, AC_LANG_CPLUSPLUS): Put "-c" right
after compiler name. Same for "-o conftest".
* ifnames.sh (AC_MACRODIR): Default to @datadir@, not a hardcoded
path.
* Test release 2.2.1.
* acgeneral.m4 (AC_OUTPUT): Use sed, not tr, so we only remove the
output config header, not the input one too. From
muessig@ipf.bau-verm.uni-karlsruhe.DE (Peter Muessig).
(AC_LANG_C): Undo Feb 7 change. According to Roland McGrath,
most compilers require all options but -l... and -o to come first.
* Makefile.in (uninstall): Don't use $@, since the cd makes it
invalid when srcdir is relative.
Wed Mar 8 17:05:06 1995 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
* Version 2.2.
Wed Mar 8 12:44:34 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* Makefile.in: Follow cd commands with &&, not ;.
From Franc,ois Pinard.
Tue Mar 7 11:48:19 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* acspecific.m4 (AC_FUNC_ALLOCA): Keep sh variable name space
clean. Put newline after AC_DEFINE_UNQUOTED call to avoid Irix
syntax error.
Mon Mar 6 15:07:00 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* Test release 2.1.3.
* acspecific.m4 (AC_FUNC_ALLOCA): Replace nested AC_FUNC_CHECK
calls with a loop.
* acspecific.m4 (AC_FUNC_VPRINTF): Don't check for signal munging.
From Paul Eggert.
* acgeneral.m4 (AC_CACHE_SAVE): Tell the user whether the cache
changed or not. From gnu@toad.com (John Gilmore).
* Makefile.in (install-info): Don't cd, to avoid breaking
install-sh references.
Fri Mar 3 11:41:01 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* Makefile.in (autoconf.info, standards.info): Use --no-split to
avoid creating filenames > 14 chars.
* acgeneral.m4 (AC_CHECK_FUNC): Use assert.h,
to avoid protype conflicts from ctype.h (!!) on OSF/1 3.0.
Sat Feb 25 01:56:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* acspecific.m4 (AC_C_BIGENDIAN): Check for BYTE_ORDER macro from
sys/param.h before trying the test program which cannot be
cross-compiled.
Fri Feb 24 20:02:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_FUNC): Include errno.h instead of ctype.h
in test program.
Wed Feb 22 18:01:27 1995 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
* Test release 2.1.2.
Tue Feb 21 13:00:07 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* acgeneral.m4 (AC_CACHE_VAL): Add extra quotes to work around AIX
4.1 bug reported by hyc@locus.com (Howard Chu).
* acspecific.m4 (AC_FUNC_GETLOADAVG): Check for -lelf before -lkvm.
Reported by Kaveh R. Ghazi.
(AC_HEADER_STAT): Check whether S_IFDIR is defined, to work around
ISC bug reported by rick@anasazi.com (Rick Coupland).
* autoheader.sh: Better solution to @BOTTOM@ printing.
From Paul Eggert.
Mon Feb 13 18:13:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* acspecific.m4 (AC_PROG_CC_C_O): Use sed filter to make sure
${ac_cc} is always a valid shell variable name.
(AC_PROG_MAKE_SET): Remove gratuitous backslashes in checking message.
Sun Feb 12 18:42:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_TOOL_PREFIX): Require AC_CANONICAL_BUILD,
so both $build and $host are definitely set before we compare
them.
Sat Feb 11 04:37:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_TOOL): Rewritten. Take optional third
arg VALUE-IF-NOT-FOUND. Check for
${ac_tool_prefix}PROG-TO-CHECK-FOR first. If not found and third
arg given, and ${ac_tool_prefix} is nonempty, check for unadorned
PROG-TO-CHECK-FOR as well. Last choice use VALUE-IF-NOT-FOUND.
Fri Feb 10 17:45:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* acgeneral.m4 (AC_OUTPUT): Fix sed command to produce $ac_dots
for subdir configures.
Thu Feb 9 14:42:20 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* testsuite/config/unix.exp (autoconf_load): Run the script with
/dev/null as the cache.
* acgeneral.m4 (AC_CHECK_TOOL_PREFIX, AC_CHECK_TOOL): New macros,
from Roland McGrath.
* acspecific.m4 (AC_DECL_YYTEXT): Cache the output file root.
(AC_C_INLINE): If the compiler doesn't recognize it, define it
away. Try __inline__ too. From Jim Avera.
(AC_FUNC_GETPGRP): New macro. From Arnold Robbins.
* acconfig.h: New entry for it.
* configure.in: Check for new awk.
* Makefile.in (editsh): Substitute in AWK.
* acspecific.m4 (AC_PROG_INSTALL): Allow trailing slashes in PATH
elements.
* acgeneral.m4 (AC_PREFIX_PROGRAM): Ditto.
Tue Feb 7 11:32:09 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* acgeneral.m4 (AC_CHECK_LIB, AC_HAVE_LIBRARY): Check and add the new
library before existing libs, not after, in case it uses them.
* acspecific.m4 (AC_FUNC_GETLOADAVG, AC_FUNC_GETMNTENT,
AC_FUNC_STRFTIME, AC_DYNIX_SEQ, AC_IRIX_SUN, AC_SCO_INTL): Ditto.
* autoheader.sh: Allow @BOTTOM@ to be the first line in
acconfig.h. From iwj10@cus.cam.ac.uk (Ian Jackson).
* acspecific.m4 (AC_FUNC_GETLOADAVG): Add semicolons before
AC_DEFINE. Check for -lkvm before -lutil. Assume it needs setgid
if using -lutil.
* acgeneral.m4 (ac_compile, ac_link): Put the file name before the
variables, so they can contain -l options.
* acspecific.m4 (AC_FUNC_WAIT3): Sleep longer for HPUX.
(AC_TYPE_SIGNAL): Declare signal as extern "C" for C++.
* Makefile.in testsuite/Makefile.in (maintainer-clean): Renamed
from realclean.
* autoconf.sh (TMPDIR): Inherit from environment, or set if not.
* acgeneral.m4 (AC_PREFIX_PROGRAM): Say we're checking the prefix.
* acspecific.m4 (AC_ISC_POSIX): Fix typo.
(AC_PATH_X): Screen out bogus values from imake.
(AC_PROG_LEX): Check for yywrap, not main, in the library.
Thu Feb 2 11:32:07 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* acconfig.h (__CHAR_UNSIGNED): Protect with #ifndef.
From marcus@ee.pdx.edu (Marcus Daniels).
* acgeneral.m4 (AC_CACHE_SAVE): Workaround Ultrix and 4.3BSD sh
bug in setting the high bit on variable values.
From Ken Raeburn.
(AC_OUTPUT_FILES, AC_OUTPUT_SUBDIRS): Ignore initial "./" to
avoid messing up the dot-dot counts.
(AC_OUTPUT_SUBDIRS): Pass INSTALL magic to subdirectories.
From Karl Berry.
* ifnames.sh: Speed up drastically by folding 3N+2 processes into 2.
From Paul Eggert.
Wed Feb 1 11:58:27 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
* acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Add additional
quoting for internal consistency.
From junio@twinsun.COM (Jun Hamano).
* acspecific.m4 (AC_PATH_XTRA): R6 function name was wrong.
From Karl Berry.
(AC_C_CROSS): Fix typo in cache var name.
From tgl@sss.pgh.pa.us (Tom Lane).
(AC_PROG_MAKE_SET): Change / in the make program name into _ so it
can be part of a shell variable name.
(AC_DECL_YYTEXT): Fix arguments to AC_TRY_LINK.
From interran@uluru.stanford.edu (John Interrante).
* acgeneral.m4 (AC_CHECK_SIZEOF): If test program fails, set the
variable to 0 as the doc sez.
From eisen@cc.gatech.edu (Greg Eisenhauer).
* acgeneral.m4, acspecific.m4: Remove *.core and core.* as well as
core, for recent BSD's.
* acspecific.m4 (AC_SYS_INTERPRETER): Use `#! /' instead of `#!/'.
* acgeneral.m4 (AC_INIT_BINSH): Likewise.
* All scripts: likewise.
From woods@kuma.web.net (Greg A. Woods).
* acgeneral.m4 (AC_INIT_PREPARE): Use fd 6 instead of 4, to
prevent a conflict on the Kubota Titan. From
muessig@ipf.bau-verm.uni-karlsruhe.DE (Peter Muessig).
* autoconf.sh: Use a more concise syntax to set variables.
From Karl Berry.
* acspecific.m4 (AC_FUNC_WAIT3): Check page fault measurements to
catch Linux. From tobias@server.et-inf.fho-emden.de (Peter Tobias).
* acgeneral.m4 (AC_OUTPUT): If running config.status
fails, exit with a nonzero status. From Ken Raeburn.
Tue Dec 6 19:07:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* acspecific.m4 (AC_FUNC_GETLOADAVG): Use elf_begin in -lelf
check, not elf_read.
Mon Nov 7 18:18:11 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* acspecific.m4 (AC_PROG_MAKE_SET): Fix msg; $MAKE is not useful
Make syntax.
Fri Nov 4 09:08:33 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
* Version 2.1.
* autoreconf.sh: Add -f --force option.
From Theodore Ts'o.
Thu Nov 3 10:24:08 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
* acgeneral.m4 (AC_TRY_RUN): Reword warning.
* acspecific.m4 (AC_PROG_CXX): Notify the user of the check for
GNU C++.
(AC_PROG_CXX, AC_PROG_CXXCPP): Use g++, not gcc, as default C++
compiler.
* acgeneral.m4 (AC_LANG_CPLUSPLUS): Ditto.
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Move ac_usage string directly
into the here document to work around A/UX shell limitation.
* acgeneral.m4 (AC_COMPILE_CHECK): Mention the MSG macros in the
obsolete warning.
* autoscan.pl (output_programs): Use AC_CHECK_LIB, not
AC_HAVE_LIBRARY.
* acgeneral.m4 (AC_CHECK_FUNC): Move prototype outside of function
so it works with C++. From ejb@era.COM (E. Jay Berkenbilt).
Fri Oct 28 11:23:30 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
* acspecific.m4 (AC_CHECK_HEADERS_DIRENT): Use define, not
AC_DEFUN, so the test suite doesn't call it with no arguments,
leading to a syntax error in the real Bourne shell.
Wed Oct 26 18:40:41 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
* Version 2.0.
Tue Oct 25 11:04:16 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Change -
in file names to _.
* acspecific.m4 (AC_CHECK_HEADER_DIRENT, AC_CHECK_HEADERS_DIRENT):
Likewise.
Mon Oct 24 11:28:20 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
* Makefile.in (uninstall): Remove the transformed names.
(SCRIPTS): Rename from PROGS.
* configure.in: Likewise.
Fri Oct 21 07:14:23 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
* acgeneral.m4 (AC_TRY_COMPILE): New macro.
(AC_LANG_C, AC_LANG_CPLUSPLUS): Set $ac_compile.
(AC_TRY_LINK): Don't declare exit.
* acspecific.m4 (AC_C_INLINE, AC_C_CONST, AC_CHECK_HEADER_DIRENT,
AC_DECL_SYS_SIGLIST, AC_HEADER_SYS_WAIT, AC_TYPE_SIGNAL,
AC_FUNC_GETLOADAVG, AC_HEADER_TIME, AC_STRUCT_TM,
AC_STRUCT_TIMEZONE, AC_STRUCT_ST_BLOCKS, AC_STRUCT_ST_BLKSIZE,
AC_STRUCT_ST_RDEV): Use AC_TRY_COMPILE instead of AC_TRY_LINK.
(AC_AIX, AC_MINIX, AC_ISC_POSIX): Must come before AC_TRY_COMPILE.
* acspecific.m4 (AC_PROG_LEX): Don't assume -ll if using lex;
check for it. From Mark Eichin.
Thu Oct 20 07:11:22 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
* acgeneral.m4 (AC_PARSE_ARGS): Ignore --site.
* autoscan.pl: Add more blank lines to the output. Pacify perl -w.
Wed Oct 19 09:14:50 1994 David J. MacKenzie (djm@churchy.gnu.ai.mit.edu)
* acgeneral.m4 (AC_PREREQ_COMPARE): Allow secondary and ternary
numbers >99. From John Eaton.
Wed Oct 19 00:06:40 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
* ifnames.sh: Take comments out of sed script.
Tue Oct 18 00:20:04 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
* acgeneral.m4 (AC_INIT_NOTICE): Set ac_default_prefix.
(AC_INIT_PARSE_ARGS, AC_SITE_LOAD, AC_OUTPUT): Use it.
(AC_PREFIX_DEFAULT): New macro.
From Ken Raeburn.
* testsuite/autoconf.s/syntax.exp: Renamed from specific.exp.
* acgeneral.m4 (AC_SITE_LOAD): Change where to look for config.site.
* configure.in: Call AC_ARG_PROGRAM.
* Makefile.in (install): Use program_transform_name.
* acgeneral.m4 acspecific.m4 acoldnames.m4: Clarify copying terms.
* acgeneral.m4 (AC_CANONICAL_BUILD): Default build to host, not empty.
* acspecific.m4 (AC_PROG_CC): Recognize NeXT cpp as GNU C.
From tom@basil.icce.rug.NL (Tom R.Hageman).
Mon Oct 17 18:25:53 1994 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
* acspecific.m4 (AC_PROG_CPP): Use assert.h (comes with gcc), not
stdio.h (loses for new cross-compilers). From Roland McGrath.
Tue Oct 11 13:22:22 1994 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
* acspecific.m4 (AC_PATH_XTRA): Add X_PRE_LIBS variable and assume
-lSM if -lICE is found. From Karl Berry.
Mon Oct 3 20:12:36 1994 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
* testsuite/Makefile.in (AUTOCONF, AUTOCONFFLAGS): Test
../autoconf, not installed autoconf.
Sat Oct 1 04:43:43 1994 Paul Eggert <eggert@twinsun.com>
* acspecific.m4: Catch `const' bug in NEC SVR4.0.2 mips cc.
* Makefile.in (.sh, .pl, configure): Do chmod before mv.
* acheaders, acspecific.m4 (AC_HEADER_SYS_WAIT): New entry.
* acconfig.h (HAVE_SYS_WAIT_H): New entry.
Wed Sep 28 08:59:01 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
* Makefile.in: Set datadir to $(prefix)/share.
Tue Sep 27 08:00:38 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
* Makefile.in: Use implicit rules to make scripts.
From Jim Meyering.
* acconfig.h: Remove #undefs of unused symbols.
From Paul Eggert.
* testsuite/autoconf.s/defines.exp: New file.
* testsuite/autoconf.s/specific.exp: Extract the list of macros to
test from acspecific.m4 instead of hardcoding it.
* acspecific.m4 (AC_PROG_CXXCPP): Default CXX to gcc, not c++.
Mon Sep 26 12:32:46 1994 David MacKenzie <djm@churchy.gnu.ai.mit.edu>
* acspecific.m4 (AC_HEADER_DIRENT): Only check for -lx if not
using dirent.
* autoreconf.sh: Shorten sed label for OSF/1.
* acgeneral.m4 acspecific.m4: Change licensing terms for output.
Thu Sep 22 15:36:56 1994 David MacKenzie <djm@churchy.gnu.ai.mit.edu>
* autoconf.sh (tmpin): Always set.
Wed Sep 21 13:12:10 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
* acgeneral.m4 (AC_INIT_PREPARE): Remove trailing slashes from
srcdir.
Mon Sep 19 17:11:39 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
* acgeneral.m4 (AC_INIT, AC_INIT_PARSE_ARGS, AC_CANONICAL_SYSTEM,
AC_ARG_PROGRAM): Make the default for program_transform_name be
a valid sed script, and substitute it always.
Sat Sep 17 08:27:58 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
* autoheader.sh: Protect `for' loop from checking empty $syms.
* ifnames.sh: Use % instead of , as sed s separator.
* autoscan.pl: Update output comments.
Fri Sep 16 11:20:02 1994 David MacKenzie (djm@geech.gnu.ai.mit.edu)
* acspecific.m4 (AC_TYPE_GETGROUPS): Provide a cross compiling
default. From Jim Meyering.
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Document
--program-transform-name.
Thu Sep 15 16:26:36 1994 David MacKenzie (djm@geech.gnu.ai.mit.edu)
* acgeneral.m4 (AC_INIT_NOTICE): Clarify copying notice.
Fix up comments between sections.
* acspecific.m4 (AC_PROG_LEX): Omit extra checking message.
* autoreconf.sh: Give usage if non-option args are given.
* autoconf.sh autoheader.sh: Define AC_LOCALDIR for configure.in.
Thu Sep 15 11:31:13 1994 Ian Lance Taylor (ian@airs.com)
* Makefile.in (check): Set AUTOCONFFLAGS from srcdir, not objdir.
Thu Sep 15 09:06:40 1994 David MacKenzie (djm@churchy.gnu.ai.mit.edu)
* acgeneral.m4 (AC_MSG_ERROR): Say that it's an error in the message.
* Makefile.in (check): Copy install-sh from srcdir if needed.
* autoreconf.sh: Only regenerate autoheader-generated header file
templates. Pass relative macrodir properly.
* autoconf.sh autoheader.sh autoreconf.sh: Add -l --localdir option.
Based on work by Mark Eichin.
* ifnames.sh: Add -h option.
* autoconf.sh autoheader.sh: Remove -v option.
* acgeneral.m4 (AC_CHECK_TYPE): Require AC_HEADER_STDC and check
stdlib.h if present.
* acgeneral.m4 (AC_OUTPUT): Protect cache save from interruptions.
Tue Sep 13 09:46:23 1994 David J. MacKenzie (djm@churchy.gnu.ai.mit.edu)
* Makefile.in (install): Use srcdir. From Mark Eichin.
* acgeneral.m4 (AC_OUTPUT_FILES): Automatically add
configure_input comment to Makefiles again.
* Makefile.in testsuite/Makefile.in: Remove configure_input ref.
* acgeneral.m4 (AC_LINK_FILES, AC_OUTPUT_LINKS): Reverse the order
of the arguments. Support relative symlinks.
* acgeneral.m4 acspecific.m4: Remove some gratuitous {} in shell
variable references.
* acgeneral.m4 (AC_OUTPUT_FILES): New output variable
configure_input replaces big kludge for adding output comment.
* Makefile.in, testsuite/Makefile.in: Use it.
Mon Sep 12 23:06:08 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
* acgeneral.m4 (AC_INIT_PREPARE, AC_OUTPUT_SUBDIRS): Make command
line quoting work for shell metachars besides blanks.
Sun Sep 11 23:34:24 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
* acspecific.m4 (AC_PATH_XTRA): Link with X_EXTRA_LIBS when
checking for -lSM.
* acfunctions (memcmp): Use AC_FUNC_MEMCMP. From Paul Eggert.
* acgeneral.m4 (AC_COMPILE_CHECK): Mark obsolete.
Sat Sep 10 10:59:19 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
* Makefile.in (DISTFILES): Include install-sh, not install.sh.
* autoscan.pl: Check AC_MACRODIR.
* acgeneral.m4 (AC_INIT_PARSE_ARGS, AC_INIT_PREPARE,
AC_CONFIG_SUBDIRS, AC_OUTPUT_SUBDIRS): Make quoting of command
line options work.
(AC_CONFIG_AUX_DIRS): Check for install-sh over install.sh.
* acspecific.m4 (AC_FUNC_GETMNTENT): Only check for second lib if
first lib isn't found. From Jim Meyering.
Fri Sep 9 10:41:42 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
* acspecific.m4 (AC_FUNC_MEMCMP): New macro, from Jim Meyering.
* testsuite/autoconf.s/specific.exp: Test it.
* testsuite/Makefile.in (site.exp): Simplify.
* acgeneral.m4 (AC_CACHE_SAVE): Use a shorter syntax for setting
the variables. Idea from Karl Berry.
(AC_CHECK_FUNCS, AC_CHECK_HEADERS): Take an action-if-not-found.
From Jim Meyering.
* acconfig.h: Add entries for getmntent and strftime.
* acspecific.m4 (AC_C_CHAR_UNSIGNED): If GCC, don't run a test
program.
Thu Sep 8 10:53:53 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
* acspecific.m4 (AC_USG): Was passing too many args to AC_TRY_LINK.
(AC_FUNC_STRFTIME, AC_FUNC_GETMNTENT): New macros.
(AC_HEADER_DIRENT): Check for Xenix dir libs.
(AC_XENIX_DIR, AC_SCO_INTL, AC_IRIX_SUN, AC_DYNIX_SEQ, AC_AIX,
AC_ISC_POSIX, AC_MINIX): Go back to the v1 names.
* acoldnames.m4: Delete their aliases.
* testsuite/autoconf.s/specific.exp: Check them.
* acgeneral.m4 (AC_ARG_PROGRAM): Use `;' instead of `-e' to
separate sed arguments, to simplify Makefile usage and support
sed arguments containing spaces.
(AC_CANONICAL_HOST): Move check for config.sub here from
AC_CANONICAL_SYSTEM.
* autoheader.m4 (AC_CHECK_HEADERS_DIRENT): Redefine. From Paul Eggert.
(AC_CHECK_SIZEOF): Redefine this, not the old name.
(AC_HAVE_LIBRARY): Redefine.
Wed Sep 7 09:32:31 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* testsuite/lib/common.exp: Ignore warnings about test programs.
* testsuite/autoconf.s/specific.exp: Check AC_FUNC_CLOSEDIR_VOID.
* Makefile.in (*clean): Remove the new index.
(dist): Undo adding write perms. Screws up RCS.
* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Remove comments from sed
program.
* acoldnames.m4: Change a couple of AC_DEFUN to define.
Wed Sep 7 01:27:19 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
* acgeneral.m4 (AC_SITE_LOAD): Check whether $CONFIG_SITE is empty.
Tue Sep 6 09:55:30 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
* acgeneral.m4 (AC_ARG_PROGRAM): New macro.
(AC_INIT_PARSE_ARGS, AC_CANONICAL_SYSTEM): Do a little setup for it.
* acspecific.m4 (AC_PROG_INSTALL): Clarify comment. Remove check
for bsdinst, since it's no better than our install.sh.
(AC_CHECK_HEADER_DIRENT, AC_CHECK_HEADERS_DIRENT): New macros.
(AC_HEADER_DIRENT, AC_DIR_HEADER): Use them.
(AC_PROG_CC, AC_PROG_CXX): Check whether GCC accepts -g.
* acgeneral.m4 (AC_INIT_PREPARE): Call AC_PROG_ECHO_N.
Use define instead of AC_DEFUN for some frequently called or
internal macros that aren't involved in ordering constraints.
Mon Sep 5 17:37:36 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
* acspecific.m4 (AC_C_CROSS): Provide default argument to AC_TRY_RUN.
Fri Sep 2 09:30:41 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
* acgeneral.m4 (AC_TRY_CPP): Use a temp file so sh -x works.
From Mark Nudelman.
* acgeneral.m4: --norecursion -> --no-recursion.
(AC_OUTPUT_LINKS): Reset srcdir to ac_given_srcdir.
* acspecific.m4 (AC_PATH_X): Call AC_ARG_WITH(x, ...).
(AC_PROG_INSTALL): Search for bsdinst too.
* Makefile.in (dist): Make distribution files writable.
* acgeneral.m4 (AC_OUTPUT): Move trap 0 commands to near the end
of configure, to work around shell bug in failing to execute the
trap when there are commands after AC_OUTPUT.
Sat Sep 3 19:47:06 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* acgeneral.m4 (AC_OUTPUT_FILES): Write CONFIG_FILES defn
unquoted, so $1 can contain references to shell variables in configure.
Thu Sep 1 15:34:15 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
* acgeneral.m4 (AC_TRY_RUN): Always warn if no cross-compile
default is given.
* acspecific.m4 (AC_FUNC_MMAP, AC_FUNC_VFORK, AC_FUNC_WAIT3,
AC_FUNC_UTIME_NULL, AC_FUNC_STRCOLL): Provide a default
for AC_TRY_RUN.
(AC_FUNC_CLOSEDIR_VOID): New macro, broken out of AC_HEADER_DIRENT.
Thu Sep 1 00:06:38 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* acgeneral.m4 acspecific.m4: Discard all output until AC_INIT is
called. Remove now-unnecessary dnl's between macro definitions.
(AC_OUTPUT): Add exit 0 and optional unquoted here document to
end of config.status.
Wed Aug 31 00:11:28 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* acspecific.m4 (AC_PATH_X_DIRECT): Use AC_TRY_LINK instead of
AC_CHECK_LIB, so we don't add the library to $LIBS or print anything.
(AC_PATH_XTRA): Remove initial checking message.
(AC_HEADER_STDC): In test program, default to no STDC headers if
cross compiling.
Tue Aug 30 16:16:29 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* autoreconf.sh: Add -h option.
* autoupdate.sh: Remove -v option.
* acgeneral.m4 (AC_EGREP_CPP, AC_TRY_CPP): Add parens around eval
for old shells. From Kaveh Ghazi.
(AC_TRY_RUN): Warn when generating configure, if called without
a default parameter and AC_CANONICAL_SYSTEM has been called.
* autoheader.sh: Don't run `for' loops on empty lists.
From Ken Raeburn.
* autoconf.sh autoheader.sh: Print the version number using grep
like the other scripts, not using m4.
* acgeneral.m4: Remove conditional for printing version number.
It broke with frozen files.
* autoheader.m4: New file.
* autoheader.sh: Use it; the frozen version if possible.
* Makefile.in (install): Install a frozen autoheader.m4f if possible.
* autoconf.m4: Don't sinclude acsite.m4 here.
* acgeneral.m4 (AC_INIT): Include it here.
Tue Aug 30 14:02:07 1994 David J. MacKenzie (djm@mole.gnu.ai.mit.edu)
* acgeneral.m4 (AC_CHECK_LIB): Use AC_DEFINE_UNQUOTED.
From Jim Meyering.
* acgeneral.m4: Revise diversions, to topologically order
macros called via AC_REQUIRE.
(AC_DIVERT_PUSH, AC_DIVERT_POP): New macros.
(AC_INIT, AC_ARG_ENABLE, AC_ARG_WITH, AC_SUBST, AC_SUBST_FILE,
AC_REQUIRE): Use them.
From Franc,ois Pinard (bless his soul!).
(AC_PRO, AC_EPI): New macros.
(AC_DEFUN): Use them.
(AC_INIT): sinclude aclocal.m4 herea.
* autoconf.m4: Not here.
* autoconf.sh: Use a freeze file if available and m4 can do it.
* Makefile.in (install): Install a freeze file if m4 supports it.
Mon Aug 29 16:18:22 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
* acgeneral.m4 (AC_TRY_CPP): Remove subshell and move quotes.
Sun Aug 28 17:37:26 1994 David J. MacKenzie (djm@bennett.eng.umd.edu)
* acspecific.m4 (AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE,
AC_C_INLINE): Don't AC_REQUIRE AC_PROG_CC.
* acspecific.m4 (AC_RSH, AC_ARG_ARRAY, AC_HAVE_POUNDBANG): Define
to print error messages.
* acgeneral.m4 (AC_OUTPUT_LINKS): Insert ac_links and ac_files
into config.status using an *un*quoted here document.
From Ken Raeburn.
Sat Aug 27 13:31:58 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
* acgeneral.m4 (AC_OUTPUT_HEADER): Remove comments from within sed
script. From Kaveh Ghazi.
Fri Aug 26 17:03:18 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
* autoconf.sh, acgeneral.m4: __LINE__ -> __oline__.
* acgeneral.m4 (AC_TRY_CPP, AC_EGREP_CPP): Append any error output
to config.log.
(AC_EGREP_CPP): Don't use a temp file.
* acspecific.m4 (AC_FUNC_ALLOCA): Require CPP.
* acgeneral.m4 (AC_INIT_PREPARE): Replace AC_SUBST_DEFAULT calls
with AC_SUBST.
(AC_SUBST_DEFAULT): Macro removed.
* acspecific.m4 (AC_PROG_CC, AC_PROG_CXX): If CFLAGS or CXXFLAGS
was not set already, give it a default value according to whether
we have gcc.
* acspecific.m4 (AC_PATH_XTRA): Use AC_CHECK_LIB, not AC_HAVE_LIBRARY.
Fri Aug 26 00:34:11 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* acconfig.h (HAVE_UNION_WAIT): Entry removed; it wasn't defined
anywhere.
* acgeneral.m4 (AC_OUTPUT_HEADER): rm files before mv onto them.
(AC_OUTPUT): Remove explicit exit at end of configure, to allow
code after AC_OUTPUT (needed for Emacs).
* acgeneral.m4 (AC_CANONICAL_SYSTEM): Move setting of alias vars
into submacros.
* acspecific.m4 (AC_PROG_CPP): If $CPP is set and is a directory,
ignore it.
Thu Aug 25 09:26:36 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* acspecific.m4 (AC_SYS_INTERPRETER): Move hash mark out of macro
call.
(AC_FUNC_MMAP): If C++, put malloc decls in extern "C".
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Untabify help message
and indent options.
* Makefile.in (DISTFILES): Remove ChangeLog.0.
* acgeneral.m4 (AC_CHECK_LIB): Do uppercasing of library name at
runtime.
(AC_HAVE_LIBRARY): Retain old behavior.
* acspecific.m4 (AC_FUNC_VFORK): If C++, use a prototype for the
function in the test program.
(AC_C_ARG_ARRAY): Macro deleted.
* acoldnames.m4, acconfig.h, testsuite/autoconf.s/specific.exp:
Remove references to it.
* autoupdate.sh: Make sure $infile can be read, and $tmpout has
the same permissions. Make sure $infile can be written. From
Paul Eggert.
* acgeneral.m4 (AC_INIT*): Remove now-incorrect AC_BEFORE calls.
(AC_CHECK_FUNC): If C++, use extern "C".
(AC_TRY_LINK, AC_TRY_RUN): If C++, declare exit.
* acspecific.m4 (AC_PATH_XTRA): Check for more libraries.
From Karl Berry.
* acgeneral.m4 (AC_INIT_PREPARE): Substitute CPPFLAGS.
(AC_LANG_C, AC_LANG_CPLUSPLUS): Include CPPFLAGS in the commands.
* acgeneral.m4 (AC_OUTPUT_FILES): Move protection for right side
of sed substitution here from AC_MAKE_DEFS, so it applies to all
AC_SUBST'd variables.
* Makefile.in (install): Use for loops. From Jim Meyering.
* acgeneral.m4: Revise diversions to rely on implicit flushing at
the end of the m4 run. Idea from Franc,ois Pinard.
(AC_INIT_PREPARE, AC_ARG_ENABLE, AC_ARG_WITH, AC_PREFIX_PROGRAM):
Write to the appropriate diversions.
(AC_ENABLE, AC_WITH): Supply default help string.
(AC_ENABLE_INTERNAL, AC_WITH_INTERNAL, AC_PREFIX_INTERNAL):
Macros removed.
(AC_CONFIG_SUBDIRS): Set `subdirs' here instead of in
AC_INIT_PREPARE.
(AC_PREFIX): Macro removed.
* acoldnames.m4 (AC_PREFIX): Make it an alias for AC_PREFIX_PROGRAM.
* acoldnames.m4: We don't officially support calling
the subroutines of AC_INIT directly, or replacing them, so don't
document it.
Wed Aug 24 00:19:05 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* acgeneral.m4 (AC_EGREP_CPP, AC_TRY_LINK, AC_TRY_RUN,
AC_TRY_CPP): Add #line directives.
* autoconf.sh: Make the #line directives accurate.
From Franc,ois Pinard.
* acgeneral.m4 (AC_OUTPUT): Set ac_given_INSTALL from INSTALL.
(AC_SUBST_FILE): Replace with what was AC_INSERT_FILE.
(AC_SUBST_DEFAULT): New macro.
(AC_INIT_BINSH): Renamed from AC_BINSH.
(AC_INIT_PREPARE): Call AC_SUBST_DEFAULT for CFLAGS, CXXFLAGS, and
LDFLAGS.
* acspecific.m4 (AC_HEADER_MAJOR): Don't nest caching tests.
* Makefile.in (clean): Remove the new index files.
* configure.in: Check for gm4 before gnum4.
* acspecific.m4 (AC_PROG_RSH): Macro removed.
* Makefile.in (install): Install autoconf.m4.
* acspecific.m4 (AC_SYS_INTERPRETER): New name and calling
convention for AC_HAVE_POUNDBANG.
(AC_OS_XENIX): Check ac_header_dir instead of DEFS.
* testsuite/autoconf.s/specific.exp: Add AC_HEADER_DIRENT.
Remove AC_SYS_REMOTE_TAPE. Replace AC_HAVE_POUNDBANG with
AC_SYS_INTERPRETER.
* acspecific.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Reword messages.
* acgeneral.m4 (AC_CHECK_LIB): Use our standard alternate m4 quote
characters << and >> instead of /.
* acspecific.m4 (AC_C_CONST, AC_TYPE_GETGROUPS,
AC_PROG_GCC_TRADITIONAL): Don't put the test program in a
temporary variable.
* acgeneral.m4 (AC_CHECK_HEADERS, AC_CHECK_FUNCS): Use
AC_DEFINE_UNQUOTED.
* autoheader.sh (AC_DEFINE_UNQUOTED): Define.
Tue Aug 23 00:03:06 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* acgeneral.m4: Improve comments on some macros.
Fix improperly quoted undefine calls.
(AC_QUOTE_DQUOTE, AC_QUOTE_SQUOTE, AC_QUOTE_HERE, AC_QUOTE_SED,
AC_QUOTE_TOKEN, AC_DEFINE_QUOTE, AC_DEFINE_SEDQUOTE,
AC_QUOTE_IDENTITY): Macros removed.
(AC_DEFINE, AC_DEFINE_UNQUOTED): Only write the (correct) value to
confdefs.h.
(AC_OUTPUT_MAKE_DEFS): New macro.
(AC_OUTPUT): Call it. Move AC_SUBST calls to AC_INIT_PREPARE.
(AC_OUTPUT_FILES): Put most variable substitutions in a here document
instead of a string, to avoid unwanted changes to the values.
(AC_OUTPUT_HEADER): Generate the sed script to transform
config.h.in from conftest.h. Only split up the sed script in
configure, not also in config.status.
* acspecific.m4 (AC_PROG_ECHO_N): Work around some greps lacking -e.
* acspecific.m4 (AC_PATH_X, AC_PATH_X_XMKMF, AC_PATH_X_DIRECT,
AC_PATH_XTRA): Fix cache use and message printing.
* acgeneral.m4 (AC_SITE_LOAD): Check env var CONFIG_SITE first.
(AC_OUTPUT_HEADER): New macro broken out of AC_OUTPUT.
* acgeneral.m4, acspecific.m4 (AC_FD_MSG, AC_FD_CC): New
symbolic constants.
* acgeneral.m4, acoldnames.m4 (AC_INIT_PARSE_ARGS): Renamed from
AC_INIT_PARSEARGS.
* autoupdate.sh: Use $SIMPLE_BACKUP_SUFFIX, if set.
* autoheader.sh (AC_CHECK_LIB): Reflect the added arg.
* autoconf.m4: New file.
* Makefile.in (DISTFILES): Add it.
* autoconf.sh, autoheader.sh, Makefile.in: Use it.
* acspecific.m4 (AC_SYS_REMOTE_TAPE): Macro removed.
* acfunctions, acheaders, acidentifiers, acmakevars, acprograms,
autoscan.pl: Use new macro names.
* acgeneral.m4 (AC_MSG_ERROR): Enclose within {} so it acts like a
single statement. From mjshield@nyx.cs.du.edu (Michael Shields).
(AC_CHECK_FUNCS, AC_CHECK_HEADERS): Only compute the uppercase
name if we're going to define that symbol.
(global): Remove AC_DIVERSION_VAR.
(AC_OUTPUT): Adjust quoting and substitutions to replace most
variable values directly in the sed script. Handle srcdir,
top_srcdir, and INSTALL specially.
Add .cpp and .hpp to c-ish suffixes list.
* configure.in: Use the new macro names.
* ChangeLog.0: New file, broken out of ChangeLog.1.
* Makefile.in (DISTFILES): Add it.
* autoupdate.sh: Update the regexps to account for changes to
acoldnames.m4.
Mon Aug 22 23:57:18 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* testsuite/autoconf.s/specific.exp: Use new macro names.
Fri Aug 12 10:15:51 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* acspecific.m4 (AC_HEADER_DIRENT, AC_DIR_HEADER): Use one cache
variable for each header file, not one for all of them.
* acgeneral.m4 (AC_CACHE_SAVE): Print a message noting when cache
is unwritable.
(AC_CHECK_FUNCS, AC_CHECK_HEADERS): Take an optional arg to
execute on a match.
* acspecific (AC_OS_AIX, AC_OS_MINIX, AC_OS_ISC): Don't need to be
called before AC_TRY_CPP, since that doesn't use CFLAGS.
* acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Print a result
whether or not we found the program.
(AC_CHECKING): Not obsolete.
(AC_WITH, AC_ENABLE, AC_INIT_PREPARE): Merge the --enable and
--with diversions.
* acgeneral.m4 (AC_DEFUN): New macro.
Use it globally to define macros that are used as functions,
as opposed to macros that are used as variables. Remove calls to
AC_PROVIDE.
Thu Aug 11 08:25:08 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* acspecific.m4 (AC_OS_XENIX): Fix assignments. From Franc,ois
Pinard.
(AC_SYS_REMOTE_TAPE): Fix typo.
Wed Aug 10 09:30:11 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* acspecific.m4 (AC_C_CHAR_UNSIGNED): Don't lie about the result
if gcc, just ignore it.
* acgeneral.m4 (AC_CHECK_LIB): Add a function argument.
* acgeneral.m4 (AC_HAVE_LIBRARY): Make it a wrapper around
AC_CHECK_LIB.
* acoldnames.m4: Remove its alias.
* acspecific.m4: Add argument to callers.
* acspecific.m4 (AC_PROG_ECHO_N): Move from acgeneral.m4 AC_MSG_ECHO_N.
* acgeneral.m4: Callers changed.
* acgeneral.m4 (AC_CACHE_LOAD, AC_CACHE_SAVE, AC_SITE_LOAD,
AC_MSG_CHECKING): Aesthetic changes to messages, suggested by
Franc,ois Pinard.
* acspecific.m4 acgeneral.m4 acoldnames.m4: Rename
AC_TRY_CROSS to AC_C_CROSS.
* acgeneral.m4 (AC_INIT_PARSEARGS): Don't mention --verbose in
help message.
(AC_INIT_PREPARE): Use file descriptor 5 for config.log, and 6 for
nothing. --verbose no longer does anything.
(AC_MSG_ECHO_N): New macro.
(AC_MSG_CHECKING, AC_MSG_RESULT, AC_CACHE_VAL): Require it and use
the shell variables it sets.
(AC_MSG_RESULT, AC_VERBOSE): Print unless --silent/--quiet is given,
not only when --verbose is given.
(AC_DEFINE): Don't echo anything.
(AC_CACHE_VAL): Use a custom echo instead of AC_MSG_RESULT.
* acgeneral.m4 (AC_CHECKING, AC_VERBOSE): Put back real versions,
marked obsolete.
* acoldnames.m4: Delete their aliases.
* acgeneral.m4, acspecific.m4 (many macros): Make sure each call
to AC_MSG_CHECKING has exactly one matching AC_MSG_RESULT, and
make the result messages make sense with the checking messages.
* acgeneral.m4 (AC_OUTPUT_SUBDIRS): Use echo, not AC_MSG_RESULT,
to print recursion notice.
Tue Aug 9 00:17:28 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* acgeneral.m4 (AC_OUTPUT): Add comment mentioning config.log.
* ChangeLog.1: File split out of ChangeLog.
* Makefile.in (DISTFILES): Add it.
* acgeneral.m4 (AC_OUTPUT, AC_OUTPUT_HEADER), autoheader.sh:
Support optional input-file specification in output-file names.
* autoheader.sh: Support top and bottom comments for config.h.in
in acconfig.h.
* acgeneral.m4, README: Say more about requiring GNU m4.
* autoheader.sh: In the list of symbols to get template entries
for, start each symbol with a blank.
* autoupdate.sh: Add sed substitutions for replacing macro
calls without parameters.
* acgeneral.m4 (AC_CACHE_VAL): Omit the cache var name from the
result message.
* acspecific.m4 (AC_DIR_HEADER): Define to be similar to
AC_HEADER_DIRENT, but only define the old cpp macros.
(AC_HEADER_DIRENT): Only define the new ones.
* acoldnames.m4: Don't say that those two macros are synonyms.
* acconfig.h: Add the new cpp macros. Add <> to some comments.
* acgeneral.m4 (AC_OUTPUT): Don't mess with $INSTALL if it starts
with a $, due to user intervention.
* Makefile.in, testsuite/Makefile.in: Fix *clean targets.
* acgeneral.m4 (AC_CACHE_SAVE, AC_CACHE_LOAD, AC_SITE_LOAD):
Use echo instead of AC_MSG_RESULT.
(AC_INIT_PARSEARGS): Group options by topic in help message. Idea
from Franc,ois Pinard.
* TODO: New file.
Mon Aug 8 23:04:01 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* acgeneral.m4 (AC_OUTPUT): Tighten up srcdir handling code slightly.
Add one or more ../ to $INSTALL when it's a relative path and
creating a file in a subdirectory.
Tue Aug 2 19:54:26 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* autoheader.sh: Read acoldnames.m4. Redefine the new macro names.
Only define HAVE_LIBFOO where AC_CHECK_LIB is called with only one
argument.
Sat Jul 30 09:53:38 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* acgeneral.m4 acspecific.m4: The Great Renaming.
(Well, I think it's great. You may have your own opinion.)
* acspecific.m4 (AC_DIR_HEADER): Define HAVE_<path>_H as well as
the old DIRENT, SYSDIR, etc.
* acgeneral.m4 acspecific.m4: Add missing spaces between arguments
to m4 calls. From Franc,ois Pinard.
* autoconf.sh: Read acoldnames.m4.
* Makefile.in (DISTFILES, PROGS, install, clean): Add
acoldnames.m4 and autoupdate.sh.
Tue Jul 26 08:52:17 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
* testsuite/Makefile.in (check): Print a message noting that
runtest is part of DejaGNU.
* autoscan.pl: Remove unneeded backslash.
Sun Jul 24 23:30:27 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
* Makefile.in (clean mostlyclean distclean realclean): Recurse
into testsuite directory.
Wed Jul 20 09:38:29 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
* Makefile.in (install): Add missing else and fi.
* acspecific.m4 (GETGROUPS_T, RETSIGTYPE, STACK_DIRECTION): Use
AC_DEFINE_UNQUOTED rather than AC_DEFINE.
From Jim Meyering.
Tue Jul 19 14:49:02 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
* acspecific.m4 (AC_MEMORY_H): Add more quotes.
* acgeneral.m4 (AC_TEST_RUN): Check for cross_compiling = yes, not
whether it's non-empty.
* acspecific.m4 (AC_MINUS_C_MINUS_O, AC_SET_MAKE): Eval the cache var
assignments.
(AC_YYTEXT_POINTER): Fix typo.
* testsuite/autoconf.s/specific.exp,
testsuite/autoconf.g/sizeof_type.exp,
testsuite/autoconf.g/init.exp: New files.
* testsuite/lib/common.exp, testsuite/config/unix.exp: Many
changes to make them work.
* acgeneral.m4 (AC_DEFINE): Use redirection for echo, not $verbose.
Sat Jul 2 22:07:18 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* acspecific.m4 (AC_REMOTE_TAPE): Substitute PROGS.
Thu Jun 30 16:29:15 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* acgeneral.m4 (AC_SUBST_FILE): New version from Ken Raeburn.
* ifnames: Add --help, --version, --macrodir options.
Fri Jun 24 06:03:35 1994 Paul Eggert (eggert@twinsun.com)
* acspecific.m4 (AC_VFORK): Improve test for the gcc-sparc vfork bug.
Thu Jun 30 09:47:17 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* acgeneral.m4 (AC_OUTPUT_SUBDIRS): Pass correct --srcdir option
to sub configures. Quote args containing spaces.
(AC_PREPARE): Set and substitute `subdirs'. Quote args containing
spaces.
(AC_CANONICAL_HOST, AC_CANONICAL_TARGET, AC_CANONICAL_BUILD):
Substitute the cpu, vendor, os variables.
* acspecific.m4 (AC_PROG_INSTALL): Look for ginstall before other
names.
* acgeneral.m4 (AC_TEST_LINK): Add newlines around argument code.
From mjshield@nyx.cs.du.edu (Michael Shields).
Wed Jun 29 16:56:28 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* autoscan.pl: Add --macrodir option.
* acgeneral.m4 (AC_CACHE_SAVE): Capture stderr for Ultrix sh.
Tue Jun 28 18:05:00 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* Makefile.in: Make INSTALL from install.texi.
Thu Jun 23 02:03:19 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
* ifnames.sh: New file.
* Makefile.in: Add it in various places.
Tue Jun 14 12:58:38 1994 David J. MacKenzie (djm@bleen.eng.umd.edu)
* Makefile.in (DISTFILES): Add testsuite files.
* autoconf.sh: Print version number on stdout, not stderr.
* acgeneral.m4: Ditto.
* acgeneral.m4 (AC_HAVE_LIBRARY): Add OTHER-LIBRARIES arg.
Treat empty commands args as if they weren't given.
Thu Jun 9 11:39:14 1994 David J. MacKenzie (djm@bleen.eng.umd.edu)
* acgeneral.m4 (AC_CHECK_TYPE): New macro.
* acspecific.m4 (AC_PROG_CPP, AC_PROG_CXXCPP, AC_YYTEXT_POINTER,
AC_LN_S, AC_RSH, AC_STDC_HEADERS, AC_MAJOR_HEADER, AC_DIR_HEADER,
AC_STAT_MACROS_BROKEN, AC_SYS_SIGLIST_DECLARED, AC_GETGROUPS_T,
AC_UID_T, AC_RETSIGTYPE, AC_MMAP, AC_VFORK, AC_WAIT3, AC_ALLOCA,
AC_GETLOADAVG, AC_UTIME_NULL, AC_STRCOLL, AC_SETVBUF_REVERSED,
AC_STRUCT_TM, AC_TIME_WITH_SYS_TIME, AC_TIMEZONE, AC_ST_BLOCKS,
AC_ST_BLKSIZE, AC_ST_RDEV, AC_CROSS_CHECK, AC_CHAR_UNSIGNED,
AC_LONG_DOUBLE, AC_WORDS_BIGENDIAN, AC_ARG_ARRAY, AC_INLINE,
AC_CONST, AC_HAVE_POUNDBANG, AC_REMOTE_TAPE, AC_LONG_FILE_NAMES,
AC_RESTARTABLE_SYSCALLS, AC_FIND_X, AC_FIND_X_XMKMF,
AC_FIND_X_DIRECT): Cache results.
(AC_SIZE_T, AC_PID_T, AC_OFF_T, AC_MODE_T): Use AC_CHECK_TYPE.
(AC_DIR_HEADER_CHECK): Macro removed.
Wed Jun 8 18:03:45 1994 David J. MacKenzie (djm@bleen.eng.umd.edu)
* acspecific.m4 (AC_MINUS_C_MINUS_O): Cache results.
Thu May 26 09:43:37 1994 David J. Mackenzie (djm@poseidon.cygnus.com)
* acspecific.m4 (AC_PROG_CC, AC_PROG_CXX): Cache results.
Eliminate temp file in gcc test.
(AC_GCC_TRADITIONAL): Cache results.
Wed May 25 14:45:44 1994 David J. Mackenzie (djm@poseidon.cygnus.com)
* acspecific.m4 (AC_VPRINTF): Use AC_FUNC_CHECK.
* acgeneral.m4 (AC_CONFIG_AUX_DIR): Renamed from AC_CONFIG_AUXDIR.
(AC_SUBST_FILE): Macro deleted; didn't work, not clear it's needed.
* acgeneral.m4 (AC_SITE_LOAD): New macro.
(AC_PREPARE): Call it.
Wed May 25 08:18:07 1994 David J. Mackenzie (djm@rtl.cygnus.com)
* acgeneral.m4: m4exit if --version, to reduce needless delay.
* acgeneral.m4 (AC_PREPARE): Redirect file descriptor 6 to
config.log.
(AC_LANG_C, AC_LANG_CPLUSPLUS): Send compiler messages to desc 6.
* acspecific.m4 (AC_MINUS_C_MINUS_O): Likewise.
* Makefile.in (distclean): Remove config.log.
* acgeneral.m4 (AC_PREPARE): Add AC_BEFORE calls for AC_CONFIG_HEADER,
AC_REVISION, AC_PREREQ, and AC_CONFIG_SUBDIRS.
Add AC_PROVIDE calls to those macros and AC_ARG_ENABLE and AC_ARG_WITH.
* acgeneral.m4 (AC_CANONICAL_SYSTEM, AC_CANONICAL_HOST,
AC_CANONICAL_TARGET, AC_CANONICAL_BUILD): Add "ICAL" to names.
(AC_LINK_FILES): Renamed from AC_MAKE_LINKS.
(AC_TEST_RUN): Renamed from AC_TEST_PROGRAM, which is now an alias.
* acspecific.m4: Change callers to use new name.
* acgeneral.m4 (AC_PREFIX_INTERNAL): Renamed from AC_PREFIX.
(AC_PREFIX): Obsolete wrapper for it.
(AC_PREFIX_PROGRAM): Define a variable.
(AC_PREPARE): Call AC_PREFIX_INTERNAL if that variable is set.
Tue May 24 18:49:35 1994 David J. Mackenzie (djm@rtl.cygnus.com)
* acspecific.m4 (AC_ALLOCA): Don't declare alloca if it's already
defined. From Bill Sommerfeld.
* acgeneral.m4 (AC_TEST_PROGRAM): Verbosely note when using the
cross-compiling default.
(AC_CACHE_WRITE): Set the cache values only if not already set.
(AC_PARSEARGS, AC_OUTPUT): Allow giving an empty prefix or exec_prefix.
* acgeneral.m4, acspecific.m4: Rename AC_CONFIG_AUX* to
AC_CONFIG_AUXDIR*.
* acgeneral.m4 (AC_OUTPUT, AC_OUTPUT_HEADER): Add an env var
CONFIG_STATUS to allow overriding the name of config.status.
* acspecific.m4 (AC_MINUS_C_MINUS_O): If $CC=cc, don't duplicate
the check. From Jim Meyering.
* acgeneral.m4 (AC_TEST_PROGRAM): Add missing newline.
Always include 'fi' for cross-compiling if.
From Jim Meyering.
* Makefile.in (prefix, exec_prefix): Use @ substitutions.
* acgeneral.m4: Make default cache file ./config.cache,
so PATH is not used by "." command. From Jim Meyering.
Thu May 19 06:05:07 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* acspecific.m4 (AC_STRUCT_TM): Fixed checking message to be less
confusing.
Wed May 18 22:11:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* acgeneral.m4 (AC_BINSH): New macro.
(AC_INIT, AC_REVISION): Require AC_BINSH first thing.
Wed May 18 09:08:39 1994 David J. MacKenzie (djm@burnout.eng.umd.edu)
* acgeneral.m4: Rename some internal macros.
Give the diversions symbolic names.
(AC_ARG_ENABLE, AC_ARG_WITH, AC_ENABLE_INTERNAL, AC_WITH_INTERNAL):
New macros.
(AC_PARSEARGS): Print --with and --enable help strings.
(AC_ENABLE, AC_WITH): Make wrappers around _INTERNAL functions.
Mark obsolete.
(AC_PREPARE): Execute any saved up --with or --enable code.
Tue May 17 15:18:00 1994 David J. MacKenzie (djm@bleen.eng.umd.edu)
* acgeneral.m4 (AC_REVISION): Move quotes around to make it work
again.
Sat May 14 07:30:57 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
* acgeneral.m4, acspecific.m4: Clean up some comments.
Tue May 10 09:50:12 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
* acspecific.m4 (AC_PROG_INSTALL): set the _path_ cache variable,
not the _program_ one.
* acgeneral.m4 (AC_PREFIX): Call AC_PROGRAM_PATH instead of
duplicating it.
(AC_PROGRAM_CHECK, AC_PROGRAM_PATH): If the user set the variable
in the environment, cache that value.
(AC_PREPARE, AC_CHECKING, AC_VERBOSE): Use file descriptors 4 and
5 for checking and results messages. Idea from metaconfig 3.0.
Mon May 9 08:20:14 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
* acgeneral.m4 (AC_TEST_PROGRAM): If no default for
cross-compiling is given, but we are cross-compiling, give an error.
(AC_PROGRAM_EGREP, AC_TEST_LINK, AC_TEST_PROGRAM, AC_TEST_CPP):
Don't add an extra blank line after the if-clause.
(AC_REVISION): Merge AC_DOREV into this macro.
Rename some macros:
AC_SYSTEM_TYPE -> AC_CANON_SYSTEM
AC_HOST_TYPE -> AC_CANON_HOST
AC_TARGET_TYPE -> AC_CANON_TARGET
AC_BUILD_TYPE -> AC_CANON_BUILD
(AC_OUTPUT): Don't do Cygnus-style magic
substitutions on prefix and exec_prefix, just initialize and
substitute them normally.
Sun May 8 01:09:42 1994 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
* acspecific.m4 (AC_AIX, AC_MINIX, AC_ISC_POSIX): Don't call
AC_BEFORE for AC_HEADER_EGREP, to avoid require loops.
* acgeneral.m4 (AC_HEADER_EGREP): Call AC_PROGRAM_EGREP instead of
duplicating most of it.
Fri May 6 15:26:48 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
* acspecific.m4 (AC_YYTEXT_POINTER): Use AC_TEST_LINK, not
AC_TEST_PROGRAM.
Fri May 6 00:45:29 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
* acspecific.m4, acgeneral.m4: Add dnl after AC_PROVIDE,
AC_REQUIRE, and AC_BEFORE calls.
Use AC_CHECKING and AC_TEST_LINK instead of AC_COMPILE_CHECK.
* acgeneral.m4 (AC_TEST_LINK): New macro.
(AC_COMPILE_CHECK): Mark obsolete. Call AC_CHECKING and
AC_TEST_LINK.
(AC_PROGRAM_CHECK, AC_PROGRAM_PATH, AC_HAVE_LIBRARY, AC_HEADER_CHECK,
AC_FUNC_CHECK, AC_SIZEOF_TYPE): Print "checking" messages even if
using cached values. Use AC_TEST_LINK instead of AC_COMPILE_CHECK.
* acspecific.m4 (AC_PROG_INSTALL): Ditto.
* acgeneral.m4 (AC_PROGRAM_CHECK, AC_PROGRAM_PATH): Fix nesting in
cache use.
* acspecific.m4 (AC_PROG_INSTALL): Ditto.
* acgeneral.m4 (AC_OUTPUT_CONFIG_SUBDIRS): Adjust relative cache
file paths before passing them to sub-configures. Omit existing
--cache-file arguments.
Thu May 5 21:38:51 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
* acgeneral.m4 (AC_FUNC_CHECK, AC_HEADER_CHECK): Combine redundant
code. Use AC_CACHE_VAL.
(AC_SIZEOF_TYPE): Use AC_CACHE_VAL.
Thu May 5 12:51:32 1994 David J. MacKenzie (djm@gamera.eng.umd.edu)
* Makefile.in (all): Don't depend on info files.
(install): Don't install INSTALL.
(installcheck, install-info): New targets.
Thu May 5 08:49:39 1994 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
* Makefile.in (dist): chmod the dist directory, not the current
directory. Don't depend on DISTFILES.
* autoconf.sh: Go back to old way of doing NLS nuisance test.
* autoheader.sh: Ditto.
* acgeneral.m4: Ditto.
Thu May 5 08:36:19 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
* acgeneral.m4: Use "yes" and "no" or "" uniformly for boolean
variables' values. Don't assume default values.
(AC_PROGRAM_CHECK, AC_PROGRAM_PATH): Always set the cache variable
and use different ones.
* acspecific.m4: Use "yes" and "no" or "" uniformly for boolean
variables' values. Don't assume default values.
(AC_STDC_HEADERS, AC_ALLOCA): Untangle nested tests.
Thu May 5 07:51:38 1994 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
* Makefile.in (distclean): Remove config.cache.
Wed May 4 19:41:35 1994 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
* acgeneral.m4 (AC_HAVE_LIBRARY): Use AC_CACHE_VAL.
* Makefile.in (install): Depend on all again.
(install-info): Depend on info again.
Wed May 4 15:05:11 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
* acspecific.m4 (AC_PROG_INSTALL): Use AC_CACHE_VAL.
* acgeneral.m4 (AC_PROGRAM_CHECK, AC_PROGRAM_PATH): Use AC_CACHE_VAL.
(AC_REPLACE_FUNCS): Use AC_FUNC_CHECK.
Rearrange general tests into 4 categories:
Checking for files - fundamental (caching)
Checking for files - derived (caching)
Checking for C features - fundamental (no caching)
Checking for C features - derived (caching)
* acgeneral.m4 (AC_CACHE_LOAD, AC_CACHE_SAVE, AC_CACHE_VAL):
New macros.
(AC_PREPARE): Call AC_CACHE_LOAD.
(AC_OUTPUT): Call AC_CACHE_SAVE.
(AC_PARSEARGS): Add --cache-file=FILE option.
(AC_CONFIG_SUBDIRS): Pass --cache-file to subdirectory configures.
* acgeneral.m4 (AC_OUTPUT_CONFIG_SUBDIRS): Renamed from
AC_CONFIG_SUBDIRS.
(AC_CONFIG_SUBDIRS): Just define AC_SUBDIR_LIST.
(AC_OUTPUT): Call AC_OUTPUT_CONFIG_SUBDIRS if AC_SUBDIR_LIST is
defined.
Make config.status --recheck pass --norecursion to configure.
* acspecific.m4 (AC_SETVBUF_REVERSED): Print "checking" message.
Wed May 4 10:40:56 1994 David J. MacKenzie (djm@burnout.eng.umd.edu)
* autoreconf.sh: Add options [--help] [--macrodir=dir] [--verbose]
[--version].
* acspecific.m4 (AC_GCC_TRADITIONAL, AC_SET_MAKE, AC_RSH,
AC_GETLOADAVG, AC_CROSS_CHECK): Print results verbosely.
(AC_GETLOADAVG): Name space cleanup.
Wed May 4 09:32:04 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
* autoheader.sh, autoconf.sh, acgeneral.m4: Make the NLS
nuisance test actually do something.
Mon May 2 16:31:33 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
* configure.in: Check for standards.texi.
* Makefile.in: Put everything back into one directory.
Don't assume standards.* exist.
Sat Apr 30 09:37:06 1994 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
* acgeneral.m4 (AC_OUTPUT): Change >> to > in sed command.
Fri Apr 29 21:56:33 1994 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
* Makefile.in (all): Make autoreconf too.
Fri Apr 29 21:03:48 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
* acgeneral.m4 (AC_OUTPUT): When doing substitutions on files, if
the file starts with "#!", put the "automatically generated"
comment on the second line instead of the first.
Fri Apr 29 12:53:53 1994 David J. MacKenzie (djm@burnout.eng.umd.edu)
* acgeneral.m4 (AC_CONFIG_AUX, AC_CONFIG_AUX_DEFAULT,
AC_CONFIG_AUX_DIRS, AC_SYSTEM_TYPE, AC_HOST_TYPE, AC_TARGET_TYPE,
AC_BUILD_TYPE, AC_SUBST_FILE, AC_MAKE_LINKS, AC_OUTPUT_MAKE_LINKS,
AC_CONFIG_SUBDIRS): New macros.
* acspecific.m4 (AC_PROG_INSTALL): Use install.sh from ac_aux_dir.
* Makefile.in: Remove references to standards.*.
Add autoreconf.
Thu Apr 28 12:01:01 1994 David J. MacKenzie (djm@burnout.eng.umd.edu)
* Makefile.in (dist): Add .., ../etc, and ../texinfo files.
* acspecific.m4 (AC_LN_S): Add verbose messages.
* Makefile.in, configure.in: Add autoscan and its data files.
Check for perl.
|