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
|
2003-11-06 Akim Demaille <akim@epita.fr>
Version 2.59.
2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
* lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
and ac_abs_top_srcdir are absolute paths.
* lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
2003-11-05 Akim Demaille <akim@epita.fr>
* configure.ac: Bump to 2.58a.
2003-11-05 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
it provokes a warning from makeinfo about looking like a cross
reference in info output.
* doc/autoconf.texi (Function Portability): Add notes on signal
handler return type, as per AC_TYPE_SIGNAL.
2003-11-04 Akim Demaille <akim@epita.fr>
Version 2.58.
* doc/standards.texi: Update from master.
* tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
2003-11-04 Akim Demaille <akim@epita.fr>
AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
computing the absolute path to d1 in the source hierarchy: it may
not exist at all. So don't cd into it.
From Alexandre Duret-Lutz.
http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
* lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
From Paul Eggert, but named after Perl's IO::Spec->catfile.
* doc/autoconf.texi (Programming in M4sh): Document.
* lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
2003-11-03 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Generic Structure Checks): Describe
action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
2003-10-31 Akim Demaille <akim@epita.fr>
* tests/fortran.at (GNU Fortran 77): Don't run FC macros.
(GNU Fortran): New.
* doc/autoconf.texi (Language Choice): Document.
* lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
the current language is Fortran.
2003-10-31 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (&freeze): Use a less likely warning separator
than `\n\n', so that `\n\n\n' is valid in warnings.
Reported by Steve Huston.
2003-10-28 Akim Demaille <akim@epita.fr>
* Makefile.cfg (local_updates, executable-update): Tweak to be
robust to parallel makes.
Suggested by Alexandre Duret-Lutz.
2003-10-27 Akim Demaille <akim@epita.fr>
* Makefile.cfg (executable-update): New.
(local_updates): Call it.
2003-10-27 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
Don't remove core.* as it may remove valid user files.
* lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
(AC_FUNC_UTIME_NULL): Likewise.
2003-10-23 Akim Demaille <akim@epita.fr>
Version 2.57g.
* config/config.guess, config/config.sub: Upgrade from masters.
2003-10-23 Akim Demaille <akim@epita.fr>
* lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
AC_COMPILE_IFELSE that use break skip the clean up. So do it by
hand...
2003-10-23 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
Don't forget to remove conftest.err.
2003-10-23 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
same object file in $LIBOBJS.
Reported by Alexandre Duret-Lutz & Derek Robert Price.
* doc/autoconf.texi (Generic Functions): Adjust.
2003-10-20 Paul Eggert <eggert@twinsun.com>
* lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
Use 'eval', so that the resulting configure scripts work even if
the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
2003-10-20 Daniel Jacobowitz <drow@mvista.com>
* lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
* lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
(_AC_LINK_IFELSE): Check the werror flag.
* doc/autoconf.texi (Generic Compiler Characteristics): Document
AC_LANG_WERROR.
* NEWS: Mention it.
2003-10-20 Daniel Jacobowitz <drow@mvista.com>
* lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
_AC_COMPILER_EXEEXT to attempt a link. If linking fails,
override AC_LINK_IFELSE.
2003-10-15 Paul Eggert <eggert@twinsun.com>
* lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
pdksh 5.2.14. Bug reported by Ralf Corsepius.
* doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
Mention /usr/dt/bin/dtksh on Solaris.
(Shell Substitutions): Warn about $((...)).
(Parentheses): New section.
2003-10-15 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Function Portability): Add @prindex for exit.
Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
* lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
cross test.
2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
2003-10-10 Andreas Schwab <schwab@suse.de>
* bin/autoheader.in: Avoid empty first line in --version and
--help output.
* bin/ifnames.in: Likewise.
2003-10-09 Paul Eggert <eggert@twinsun.com>
* lib/Autom4te/XFile.pm: Don't assume -j is solo.
Issue a more-informative diagnostic.
Problems reported by Eric Sunshine.
2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
-mGLOB_options_string stuff for Intel ifc, which can cause
_AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
pattern-matching instead of grep.
2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: Document new FC Fortran macros.
2003-10-08 Gary V. Vaughan <gary@gnu.org>
* lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
that future autopoint/aclocal/automake/autoreconf will be able
to trace to find where to install local m4 macros.
* doc/autoconf.texi (Input): Document it.
* NEWS: Updated.
2003-10-06 Gary V. Vaughan <gary@gnu.org>
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
-lcrtbegin.o to list of ignored flags and fix underquoting of
-lcrt[01].o.
2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
* lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
cache variable instead of $G77 to decide whether to include -O2,
since $G77 is specific to Fortran 77.
2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
* lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
free" flag. Re-order flags tested into rough order of popularity.
2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
* lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
arguments so that it can be used with syntax identical to
AC_PROG_F77, and so that we can more easily decide to
remove/deprecate the DIALECT optional argument in the future if it
proves troublesome.
(AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
non-freeform-supporting compilers. Document freeform flags.
2003-10-03 Akim Demaille <akim@epita.fr>
* configure.ac: Look for emacs, not macs.
Reported by Eric Sunshine.
2003-10-03 Akim Demaille <akim@epita.fr>
* lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
* bin/autoreconf.in (autoreconf_current_directory): Create the
AUX_DIR if needed, for sake of automake --add-missing etc.
Suggested by Alexandre Duret-Lutz.
2003-10-03 Akim Demaille <akim@epita.fr>
* configure.ac: Quotation and formatting changes.
(EMACS): Don't set it if it is not recent enough to support
autoconf-mode.el.
From Eric Sunshine.
2003-10-02 Akim Demaille <akim@epita.fr>
* bin/ifnames.in (&scan_file): Skip C++ comments.
From Jeremy Yallop.
2003-10-01 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Particular Structure Checks):
Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
2003-10-01 Akim Demaille <akim@epita.fr>
Version 2.57f.
2003-09-30 Paul Eggert <eggert@twinsun.com>
* lib/Autom4te/XFile.pm: Use Errno.
(lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
<http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
2003-09-30 Akim Demaille <akim@epita.fr>
* config/announce-gen (&print_news_deltas): Extracted from...
(&print_changelog_deltas): here.
(&news_file): Rename as...
(@news_file): this.
2003-09-30 Nicolas Joly <njoly@pasteur.fr>
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
have been created when invoking the compiler.
* tests/fortran.at (GNU Fortran 77): Quote $G77.
2003-09-29 Akim Demaille <akim@epita.fr>
Version 2.57e.
* config/mkinstalldirs: Upgrade.
2003-09-28 Paul Eggert <eggert@twinsun.com>
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
Problem reported by Lars J. Aas in
<http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
(_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
"test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
2003-09-26 Akim Demaille <akim@epita.fr>
* lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
directory for AC_CONFIG_COMMANDS' first argument exists.
This makes valid the invocation of _AC_SRCPATH that follows.
Reported by Eric Sunshine.
* doc/autoconf.texi (Configuration Commands): Adjust.
2003-09-26 Akim Demaille <akim@epita.fr>
* bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
Reported by Ralf Corsepius.
2003-09-26 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
arguments.
Actually, use AU_ALIAS.
From Bruno Haible.
2003-09-26 Paul Eggert <eggert@twinsun.com>
* lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
Problem reported by Eric Sunshine in:
http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
2003-09-26 Akim Demaille <akim@epita.fr>
The test suite are sometimes assigning timings incorrectly.
Reported by Henk Krus.
Diagnosed by Nicolas Joly.
* lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
AT_help_all.
Instead of making AT_help a sequence of assignments to grow
$at_help_all, just make AT_help_all be the growing contents of
$at_help_all, and make a single assignment in...
(AT_INIT): here.
(at_times_skip): Flip the meaning and rename as...
(at_times_p): this.
(AT_INIT): When summarizing the test that ran, remove
$at_times_file after use, and check it is present before trying to
use it.
2003-09-25 Akim Demaille <akim@epita.fr>
Version 2.57d.
* bin/Makefile.am (edit): Handle '@configure_input@'.
(autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
(ifnames): chmod -w.
* tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
executables, not bin/ executables! Otherwise all the magic needed
to find non installed files is turned off. This caused a failure
of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
as found in its environment (sent by tests/autoreconf): pointing
to bin/autom4te that could not find its files.
* tests/mktests.sh: Force the replacement of generated files, for
the sake of "mv" program that are interactive when overwriting a
-w file.
* config/install-sh: Upgrade from CVS Automake.
2003-09-23 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Limitations of Builtins): Document test -h
versus test -L issues.
2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
Paul Eggert <eggert@twinsun.com>
Trivial change to support GCC's configuration procedure.
* lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
about inconsistency if the preprocessor is set to give errors for
any warning.
* doc/autoconf.texi (C Compiler Characteristics): Document this.
2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
* Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
and XFile.pm from Automake.
* lib/Autom4te/XFile.pm: Update from Automake.
2003-09-12 Akim Demaille <akim@epita.fr>
Version 2.57c.
2003-09-12 Akim Demaille <akim@epita.fr>
* config/config.guess, config/config.sub, config/missing,
* lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
from masters.
2003-09-12 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Header Portability): Promote linux/types.h,
not asm/types.h.
2003-09-11 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Header Portability): linux/random.h.
From Peter Hendrickson.
2003-09-10 Akim Demaille <akim@epita.fr>
* tests/mktests.sh (au_exclude_egrep): Make it harder to be
willing to edit the output files.
2003-09-10 Akim Demaille <akim@epita.fr>
* tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
and AC_FC_FREEFORM.
* tests/mktests.sh: Skip AC_FC_SRCEXT.
* lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
2003-09-09 Akim Demaille <akim@epita.fr>
* lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
Reported by Gary Vaughan.
* bin/autom4te.in (handle_m4): Likewise.
2003-09-09 Akim Demaille <akim@epita.fr>
* lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
trailing files.
2003-09-07 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
Improve the accuracy of the wording about obsolescence.
From a suggestion by Ian Lance Taylor in
<http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
2003-09-05 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
2003-09-04 Akim Demaille <akim@epita.fr>
* tests/mktests.sh (ac_exclude_list): Fix the filtering of
AC_FUNC_WAIT3.
2003-09-04 Akim Demaille <akim@epita.fr>
* bin/autom4te.in: Use &fatal where more appropriate than &error.
(freeze): When exiting, use $exit_code.
* lib/autoconf/fortran.m4: Comment changes.
2003-09-04 Akim Demaille <akim@epita.fr>
* tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
Add support for newer Fortran dialects. The F77 interface is
unchanged, and continues to support Fortran 77. New FC macros
correspond to all the old F77 macros, with output variables FC,
FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
available dialect, but older dialects can be specified. There are
new macros AC_FC_SRCEXT to set the source extension, and
AC_FC_FREEFORM to accept free-form source files.
* lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
New macros.
(AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
* lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
_AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
_AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
_AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
_AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
_AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
_AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
AC_FC_SRCEXT, AC_FC_FREEFORM):
New macros.
(AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
Rewrite in terms of the above.
(_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
* lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
* tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
2003-09-02 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
Document problems with timestamp resolution that 'make', 'cp -p', and
'touch -r' have.
2003-08-27 Akim Demaille <akim@epita.fr>
* tests/m4sugar.at (cross_warning): Make sure to enable the
output, so that we can track spurious m4sugar output.
* tests/local.at: Require 2.57.
(AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
are defaulted by AT_CHECK anyway.
Use AT_CHECK_AUTOM4TE.
* lib/m4sugar/m4sugar.m4: There should be no output at all: add a
missing dnl.
2003-08-27 Akim Demaille <akim@epita.fr>
* bin/autoheader.in: Issue the "Using auxiliary..." message only
when -Wobsolete is set.
Set it on by default.
Suggested by Klee Dienes.
2003-08-27 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
documentation.
From Guido Draheim.
2003-08-26 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Output): Make clear that one can run code
after AC_OUTPUT.
2003-08-25 Akim Demaille <akim@epita.fr>
* config/announce-gen, GNUmakefile, Makefile.maint: Update from
CVS Bison.
2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
* bin/autoreconf.in (parse_args): Do not pass --no-force to
Automake versions prior to 1.8.
2003-08-25 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Header Portability): netinet/if_ether.h.
From Ville Karaila.
2003-08-24 Akim Demaille <akim@epita.fr>
* configure.ac: Bump to 2.57c.
2003-08-22 Akim Demaille <akim@epita.fr>
Version 2.57b.
* Makefile.cfg (local-checks-to-skip): New.
* Makefile.maint (local-check): Rename as...
(local-checks-available): this.
(local-check): New.
* Makefile.am (EXTRA_DIST): Add Makefile.cfg.
* configure.ac: Require Automake 1.7.6.
2003-08-22 Akim Demaille <akim@epita.fr>
Output stack traces in warnings.
* lib/m4sugar/m4sugar.m4 (_m4_warn): New.
Replace the former...
(m4_warn): Pass the call stack to _m4_warn.
* bin/autom4te.in: Adjust to output the call stack.
* tests/m4sugar.at (m4@&t@_warn): Adjust.
2003-08-22 Akim Demaille <akim@epita.fr>
* lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
* bin/autom4te.in: Adjust.
2003-08-21 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
(&verbose): Remove.
(&getopt): Adjust the note and verb channels, depending upon
--verbose.
* bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
* bin/autoupdate.in: Adjust.
Use &verb, not &verbose.
2003-08-21 Akim Demaille <akim@epita.fr>
* bin/autoheader.in (&parse_args): Use &parse_warnings and
&parse_WARNINGS.
($help): Use Autom4te::ChannelDefs::usage.
* bin/autoscan.in: Use Autom4te::ChannelDefs.
* lib/Autom4te/General.pm: Don't export error: you don't own it.
2003-08-21 Akim Demaille <akim@epita.fr>
First stab at preserving warnings between calls to autom4te,
including when the cache is used.
There are still several issues: (i) there are too many runs of m4
(one for include, one for warnings, and some more), (ii) warnings
spreading on several lines are not handled gracefully, (iii) the
code meant to have the call stack display for errors does not work
(its handling should move from m4 to autom4te).
* bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
Use them.
(@preselect): Add m4_warn.
($exit_status): Remove, use $exit_code.
($help): Use Autom4te::ChannelDefs::usage.
(&handle_m4): No longer define the m4_warnings.
At each run, extract and report the warnings.
Always cache the result, including if the exit status is on
failure, since if nothing changes, we should result in the same
failure, hence we can use the cache.
* lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
(_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
Remove.
(m4_warn): Redefine as a do-nothing: it is its invocation that
matters, as warnings are now reported via traces.
* lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
the contents of m4_warn: make it _call_ m4_warn, so that tracing
the latter reveals calls to the former.
Adjust the tests.
* tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
2003-08-21 Akim Demaille <akim@epita.fr>
* bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
Use them.
2003-08-21 Akim Demaille <akim@epita.fr>
* lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
forward order.
* lib/Autom4te/ChannelDefs.pm: Doc typos.
(&parse_warnings): Accept a list of warning requests.
(&usage): Return a string, not a side effect.
(cross): New warning category.
2003-08-21 Akim Demaille <akim@epita.fr>
* lib/Autom4te/Configure_ac.pm (&find_configure_ac)
(&require_configure_ac): Accept an optional directory argument.
($configure_ac): Remove.
* lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
(&catfile): Remove.
* bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
* bin/autoscan.in: Adjust.
2003-08-20 Akim Demaille <akim@epita.fr>
* bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
Reported by Alexandre Duret-Lutz.
2003-08-20 Akim Demaille <akim@epita.fr>
* bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
* bin/autom4te: Adjust.
In particular, be Autoconf tools are really silent when properly
working, bind the verbosity of the 'note' channel to $verbose.
* lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
(&xsystem, &contents): Remove, since they are exported by...
* lib/Autom4te/FileUtils.pm: this.
More perldoc.
* lib/Autom4te/General.pm (&up_to_date_p): Move to...
* lib/Autom4te/FileUtils.pm: here.
2003-08-20 Akim Demaille <akim@epita.fr>
* lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
* lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
from CVS Automake.
2003-08-20 Akim Demaille <akim@epita.fr>
* Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
(autom4te-update): New.
* Makefile.cfg (update): Bind autom4te-update.
2003-08-19 Derek Price <derek@ximbiot.com>
* lib/autotest/general.m4: Comment various HELP_* diversions.
(PARSE_ARGS_BEGIN): New section for option parsing related
initialization.
(AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
package specific options and associated help.
2003-08-19 Akim Demaille <akim@epita.fr>
* config/announce-gen, Makefile.cfg: New.
* Makefile.am: Adjust.
* GNUmakefile, Makefile.maint: Update from CVS Coreutils.
2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
* lib/autom4te.in (Automake-preselections): Preselect
AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
and m4_sinclude.
2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
* lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
(Autoconf-without-aclocal-m4): ... this new language.
* doc/autoconf.texi (autom4te Invocation): Mention
Autoconf-without-aclocal-m4.
2003-08-18 Derek Price <derek@ximbiot.com>
* doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
RUN-IF-PASS optional arguments.
2003-08-18 Derek Price <derek@ximbiot.com>
* doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
2003-08-16 Derek Price <derek@ximbiot.com>
* doc/autoconf.texi (Writing testsuite.at): Document defaults for
STDOUT & STDERR arguments.
2003-08-14 Derek Price <derek@ximbiot.com>
* lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
shorter column three. Add DESCRIPTION to log file content.
2003-08-13 Derek Price <derek@ximbiot.com>
* lib/autotest/general.m4 (AT_INIT): Correct typo in final status
output.
2003-08-12 Derek Price <derek@ximbiot.com>
* lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
(AT_CHECK_NOESCAPE): Move core functionality to...
(_AT_CHECK): ...this new macro.
2003-08-07 Derek Price <derek@ximbiot.com>
* lib/autotest/general.m4 (AT_CHECK): Move core functionality...
(AT_CHECK_NOESCAPE): ...to this new macro.
2003-07-31 Paul Eggert <eggert@twinsun.com>
* lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
in Bash 2.01. Problem reported by Brian Gough in
<http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
* lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
-lcrt1.o, for OS X. (trivial change)
2003-07-07 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
inside '#ifndef __cplusplus'. Problem reported by
Bob Friesenhahn.
2003-07-06 Bill Clarke <llib@computer.org>
* lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
'long', not 'int', for benefit of Sun's recent C++ compilers
(trivial change). See:
http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
(This really should be 'intptr_t', not 'long', but that would
take more work.)
2003-06-25 Akim Demaille <akim@epita.fr>
* lib/Makefile.am (autom4te.cfg): Make it read only.
Depend on Makefile since it contains substitutions.
From Paolo Bonzini.
* lib/autom4te.in (args): Add local.at? for Autotest args.
This change was made on autom4te.cfg which is generated.
Reported by Raja R. Harinath.
2003-06-25 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Header Portability): sys/mount.h.
From Gareth McCaughan.
2003-06-23 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Report a single config.log,
not all of them. This fixes 1. the fact that when testing
Autoconf there are many many config.log, 2. the incorrect use of
top_srcdir to find config.log.
Don't mix the detailed output of failed test with the summary of
failures. Rather, append detailed log afterwards.
2003-06-23 Akim Demaille <akim@epita.fr>
* tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
always run: output config.log on $at_group_log.
2003-06-23 Akim Demaille <akim@epita.fr>
* tests/torture.at (#define header templates): Don't use quotes in
C++ comments as it puzzles Emacs' sh font-lock-mode.
2003-06-23 Akim Demaille <akim@epita.fr>
* tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
* lib/autom4te.cfg (args): Add local.at? for Autotest args.
* tests/atspecific.m4: Rename as...
* tests/local.at: This.
* tests/suite.at: Move the globals into...
* tests/local.at: here.
* tests/Makefile.am: Adjust.
* doc/autoconf.texi (testsuite Scripts): Adjust.
2003-06-21 Kevin Ryde <user42@zip.com.au>
* lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
ensuring we add -std1 for full-ANSI.
* doc/autoconf.texi (hdrindex): New macro.
Add index entries for portability of various standard header files.
2003-06-20 Akim Demaille <akim@epita.fr>
* configure.ac: Bump to 2.57b.
2003-06-20 Akim Demaille <akim@epita.fr>
Version 2.57a.
2003-06-20 Akim Demaille <akim@epita.fr>
* bin/autom4te.in: Don't rely on $HOME being defined.
Reported by Marc Espie as PR/233.
2003-06-20 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4: Use at_times_file only if used.
From Nicolas Joly.
2003-06-20 Akim Demaille <akim@epita.fr>
* config/config.guess, config/config.sub, config/elisp-comp,
* config/install-sh, config/mkinstalldirs, doc/standards.texi:
Update from masters.
2003-06-11 Paolo Bonzini <bonzini@gnu.org>
* doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
* lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
(TEST_SCRIPT): New diversion.
(AT_SETUP): Divert output to TEST_SCRIPT and move some code...
(AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
(AT_INIT): Support for expected failures.
2003-06-02 Akim Demaille <akim@epita.fr>
* bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
changes.
* lib/Autom4te/General.pm (&backname): Remove, no longer used by
Autoconf nor Automake.
(&contents): New, from Automake.
PODify.
2003-05-28 Paul Eggert <eggert@twinsun.com>
* NEWS, doc/autoconf.texi (Particular Functions),
lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
is the inverse of localtime.
2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
* lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
(handle_exec_errors): New function. Work around $! being
altered by WEXITSTATUS.
(xqx, xsystem): Use handle_exec_errors.
2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
* lib/Autom4te/General.pm (END): Rewrite exit code processing.
Do not call `_exit()', simply modify `$?'.
(xsystem): Reset $! before running system, and check it afterward.
* tests/tools.at (autoupdating AC_PREREQ): Expect exit status
63 for version mismatches.
2003-05-23 Akim Demaille <akim@epita.fr>
* lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
the middle of a line).
* lib/m4sugar/m4sugar.m4: Likewise.
Remove useless spaces in comments.
2003-05-23 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
exit 63, so that we (or Automake's "missing") can tell the
difference with a plain failure.
* doc/autoconf.texi (Notices): Adjust.
2003-05-23 Akim Demaille <akim@epita.fr>
* Makefile.am, bin/Makefile.am, config/Makefile.am,
* doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
White spaces cleanup.
2003-05-22 Jim Meyering <jim@meyering.net>
Paul Eggert <eggert@twinsun.com>
* lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
Remove `#include <stdlib.h>' from the list; we should never
make confdefs.h include <stdlib.h> or <cstdlib>, because the
resulting namespace pollution would cause other tests to fail.
Configure scripts run with some older versions of g++ and HP's
aCC would fail due to such an #include. Problems reported by
Matthew Mueller in <http://bugs.debian.org/120704> and by
Keith Bostic in
<http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
In the test, use the test declaration before including <stdlib.h>,
as that's closer to how it'll be used.
2003-05-23 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Header Portability): ucred.h.
From Ian Redfern.
2003-05-22 Paolo Bonzini <bonzini@gnu.org>
Overhaul Autotest's logging: generate separate log files
in testsuite.dir/NNN/testsuite.log, and append them to
testsuite.log instead of re-running the test verbosely.
* lib/autotest/general.m4 (AT_INIT): Use a single redirected
file descriptor, write 0 to at_status_file instead of setting
at_status=0, initialize some new variables (at_status_file,
at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
to rerun the tests, instead append the at_group_log to the
at_suite_log when a test fails.
(AT_SETUP): pipe the test case's output into at_tee_pipe,
with the AS_MESSAGE_LOG_FD redirected to stdout.
(AT_CLEANUP): save the output status in $at_status_file
and restore it, redirect the AS_MESSAGE_LOG_FD back to
its original place.
(AT_CHECK): since tests are run with a redirected stdout,
and used to be re-run in verbose mode, turn some $at_verbose
into echo, and don't redirect the output of testing stdout
and stderr.
* lib/autotest/autoconf.texi (testsuite Scripts): Update
the name of the debugging directory and information about
its contents.
2003-05-22 Paolo Bonzini <bonzini@gnu.org>
* lib/m4sugar/m4sh.m4 [AS_REQUIRE]: actually use the 2nd
parameter
2003-05-22 Akim Demaille <akim@epita.fr>
* lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
* lib/autoconf/fortran.m4 lib/autoconf/general.m4
* lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
* lib/autoconf/status.m4: Fix and adjust copyright notices.
2003-05-22 Akim Demaille <akim@epita.fr>
* aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
* lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
* lib/autoconf/c.m4, lib/autoconf/fortran.m4,
* lib/autoconf/general.m4, lib/autoconf/headers.m4,
* lib/autoconf/lang.m4, lib/autoconf/libs.m4,
* lib/autoconf/programs.m4, lib/autoconf/specific.m4,
* lib/autoconf/status.m4, lib/autoconf/types.m4,
* lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
* tests/atspecific.m4, tests/base.at, tests/compile.at,
* tests/foreign.at, tests/m4sh.at, tests/semantics.at,
* tests/tools.at, tests/torture.at:
Whitespace clean up.
Suggested by Jim Meyering.
2003-05-22 Akim Demaille <akim@epita.fr>
* lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
' \t' as '\t ' so that Emacs' whitespace.el keep it.
Reported by Jim Meyering.
2003-05-22 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
Add AC_HELP_STRING to the obsolete macros section.
Typos.
Use '@.' for sentences that ended in a capital letter.
From Art Haas.
2003-05-22 Akim Demaille <akim@epita.fr>
* config/config.guess, config/config.sub, config/elisp-comp,
* config/install-sh, config/mdate-sh, config/mkinstalldirs,
* config/texinfo.tex, doc/standards.texi: Update from masters.
2003-05-21 Paolo Bonzini <bonzini@gnu.org>
* lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
it to eval.
2003-05-21 Akim Demaille <akim@epita.fr>
* bin/autoupdate.in ($m4): Fix quotation.
Reported by Martin Mokrejs.
2003-05-19 Paul Eggert <eggert@twinsun.com>
* ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
Remove non-ASCII characters.
2003-05-18 Paolo Bonzini <bonzini@gnu.org>
* tests/semantics.at (AC_SEARCH_LIBS): New test.
* tests/semantics.at (AC_CHECK_HEADERS_OLD,
AC_CHECK_HEADERS_NEW): New tests.
2003-05-17 Akim Demaille <akim@epita.fr>
* lib/autoconf/functions.m4: Use the default includes so that
memcmp be declared before being tested.
Reported by Sander Niemeijer.
(AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
* doc/autoconf.texi (Default Includes): Document
AC_INCLUDES_DEFAULT.
2003-05-17 Akim Demaille <akim@epita.fr>
* lib/autoconf/specific.m4: Include signal.h and unistd.h.
* doc/autoconf.texi (Obsolete Macros): Adjust.
Reported by Werner LEMBERG and Debian Bug 190886.
2003-05-16 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
user name space clashes.
Reported by Bruno Haible.
2003-05-16 Akim Demaille <akim@epita.fr>
* bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
* bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
them uniform, and more robust to Perl special characters.
Reported by Martin Mokrejs.
2003-05-14 Akim Demaille <akim@epita.fr>
* tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
2003-05-14 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
linux/irda.h.
2003-05-12 Akim Demaille <akim@epita.fr>
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
message.
From Matthias Andree.
2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
* lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
and truncate.
2003-05-06 Akim Demaille <akim@epita.fr>
Don't try to be smart with aclocal 1.8+ because (i) aclocal no
longer updates aclocal.m4 if useless, (ii) if a file m4_included
by aclocal.m4 is changed it might require the importing of another
m4 extension file, i.e., aclocal must be run.
* bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
(&parse_args): Use --force with aclocal if required and supported.
(&autoreconf_current_directory): Use &run_aclocal.
2003-05-06 Akim Demaille <akim@epita.fr>
Lock autom4te's cache.
* lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
* bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
argument instead of a file name, so that the request file remains
open during the whole autom4te run.
($icache_file): New.
(&freeze): Lock the $icache_file.
2003-04-29 Derek Price <derek@ximbiot.com>
* lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
seperator with m4_append_uniq(). It doesn't work.
(AT_CLEANUP): Add `;' to end of at_help_all.
(AT_INIT): Allow --keywords to be specified more than once. When
grepping $at_help_all for keywords, use the field and keyword
seperators to ensure a complete keyword match. Alter at_prev handling
to support the new --keywords behavior.
2003-04-27 Karl Berry <karl@freefriends.org>
* doc/autoconf.texi: Make the dir entries in the autoconf manual
align better with others. I also made some of the individual
entries on one line, for brevity and to make it easier for me to
sort my dir-example file in the Texinfo distribution :).
2003-04-12 Jim Meyering <jim@meyering.net>
* NEWS: Mention the new macro.
* lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
* doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
* tests/c.at: Test AC_C_RESTRICT.
* tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
2003-04-08 Akim Demaille <akim@epita.fr>
* bin/ifnames.in: Skip C++ comments.
From Jeremy Yallop.
2003-04-08 Akim Demaille <akim@epita.fr>
* GNUmakefile (SHELL): Don't assume sh is in /bin/.
From Ilya Zakharevich.
2003-04-08 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
net/if.h, stdlib.h.
2003-04-01 Derek Price <derek@ximbiot.com>
* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
from Akim's checkin of 2003-03-29.
2003-04-01 Derek Price <derek@ximbiot.com>
* tests/torture.at (Configuring subdirectories): Add missing
close-quote for Akim's change from 2003-03-28.
2003-04-01 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (ac, at, ms): Rename these indexes as...
(AC, AT, MS): these.
(shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
New.
Use them.
* doc/Makefile.am (CLEANFILES): Adjust.
(TEXI2DVI): Make it --batch.
2003-03-31 Derek Price <derek@ximbiot.com>
* lib/autotest/general.m4: Revert the checkin from 2003-03-27
which removed the main loop.
Thanks to Akim Demaille.
2003-03-29 Akim Demaille <akim@epita.fr>
* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
that starts a GUI.
From Ilya Zakharevich.
2003-03-29 Akim Demaille <akim@epita.fr>
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
documentation to read is Autoconf's.
Suggested by Paul Eggert.
2003-03-28 Akim Demaille <akim@epita.fr>
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
reading the section "Present But Cannot Be Compiled" when the
header causes problems.
2003-03-28 Akim Demaille <akim@epita.fr>
* tests/torture.at (Configuring subdirectories): Require aclocal
1.4, otherwise the test fails, as it does support configure.ac.
This fixes the "test 40 failed" bug reports.
2003-03-28 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (C Compiler): `#line' portability.
From Paul Eggert and Nelson H. F. Beebe.
2003-03-27 Derek Price <derek@ximbiot.com>
* lib/autotest/general.m4: Eliminate main loop and reorganize test
layout in order to allow scripting around test groups.
2003-03-27 Derek Price <derek@ximbiot.com>
* lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
use new diversions in preparation for accepting new arguments and
allowing scripting around tests.
(OPTIONS,TAIL): Remove these diversions to make way for the ones above.
2003-03-26 Derek Price <derek@ximbiot.com>
* lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
obsolete AC_HELP_STRING.
(AC_HELP_STRING): AU_DEFUN to...
* lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
* tests/m4sh.at (AS_HELP_STRING): New test.
* tests/acgeneral.at: Regenerated.
2003-03-26 Derek Price <derek@ximbiot.com>
* lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
sense. Verbosify the diversion definitions comment.
2003-03-26 Derek Price <derek@ximbiot.com>
* lib/autotest/general.m4 (AT_INIT): Remove redundant call to
AS_PREPARE.
2003-03-21 Eric Siegerman <eric_97@pobox.com>
* doc/autoconf.texi (Present But Cannot Be Compiled):
Grammar fixes and minor rewording. (trivial change)
2003-03-06 Paul Eggert <eggert@twinsun.com>
Work around a problem noted by Nelson H. F. Beebe with coreutils
4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
2002/05/09) rejects '#line 32768 "configure"' because the line
number overflows.
* lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
#line directives.
* lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
* doc/autoconf.texi (Generating Sources): Document this.
2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
* tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
file name for the m4 program, when it has an "exe" file extension.
DJGPP's error messages include the error code in brackets -
remove the error code during normalization.
2003-02-28 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Present But Cannot Be Compiled): New.
2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
* doc/autoconf.texi (Limitations of Make): Remove the section
about `$<' in inference rules, it was a bogus interpretation of
an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
Tru64 make in the "target lookup" section.
(Automake): Automake 1.5+ no longer requires special tools to be
present on the developer's host.
2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
* bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
to a shell that can handle redirection or quoting correctly.
Override SHELL with the shell detected by configure.
Use of $^O suggested by Tim van Holder.
* bin/autom4te.in (BEGIN): Likewise.
* bin/autoreconf.in (BEGIN): Likewise.
* bin/autoscan.in (BEGIN): Likewise.
* bin/autoupdate.in (BEGIN): Likewise.
* bin/ifnames.in (BEGIN): Likewise.
* bin/ifnames.in: Add final newline to help and version messages.
* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
to cope with DOS-style absolute paths, when constructing
${ac_make}.
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
When constructing paths with IFS=:, quote the path. If we're
constructing a DOS-style absolute path, we don't want to split it
on the colon.
* tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
in description.
2003-02-25 Pavel Roskin <proski@gnu.org>
* bin/autoheader.in: Add missing newline when printing
suggestion how change AC_DEFINE call.
2003-02-24 Paul Eggert <eggert@twinsun.com>
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
2002-09-01 patch by replacing "test -n" with "test -z".
This fixes a bug found by Jeff Painter and reported by Tom Epperly in
<http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
* doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
to fix a mismatch between example and discussion.
2003-02-24 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Limitations of Builtins): Add notes on printf
format starting with "-".
2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
* doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
is not portable inside Makefile.
2003-02-20 Akim Demaille <akim@epita.fr>
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
compiler says yeah, but preproc says nope, compiler is right.
Conversely, prompt the reader to send a bug report to the
maintainers of the package, not of Autoconf.
2003-02-20 Klee Dienes <kdienes@apple.com>
* bin/autoreconf.in (autoreconf_current_directory): Properly
handle an empty aclocal.m4.
2003-02-20 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
$ac_prefix_program.
From Larry Jones.
2002-12-23 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
innocuous variant befor including <limits.h> or <assert.h>. This
works around a bug reported by Albert Chin: HP-UX 11i
(and earlier versions) have a <limits.h> that declares
gettimeofday and many other functions.
2002-12-03 Paul Eggert <eggert@twinsun.com>
Version 2.57.
* NEWS, configure.ac: Update version.
* doc/fdl.texi: Upgrade to FDL version 1.2.
* lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
nontrivially in main's body, so that f's external declaration is
not optimized away in AIX. This should fix the bug reported by
Martin Frydl in
<http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
* lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
_AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
defined, to support freestanding compilers. This should fix the
bug reported by Momchil Velkov in
<http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
* doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
obsolete AC_CHECK_TYPE. The missing empty arg was reported
by Simon Josefsson in
<http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
* Makefile.maint (www-gnu): New macro.
(standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
the location has moved.
2002-12-02 Martin Frydl <martin@systinet.com>
* bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
\(.*\) match is too long and there is something more to be checked.
<http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
2002-11-15 Akim Demaille <akim@epita.fr>
Version 2.56.
* config/install-sh: chmod +x.
From Paul Eggert.
* config/move-if-change: Indenting changes.
* Makefile.am (AUTOMAKE_OPTIONS): Move to...
* configure.ac (AM_INIT_AUTOMAKE): here.
Require 1.7.1.
2002-11-14 Akim Demaille <akim@epita.fr>
Version 2.55.
* config/config.guess, config/config.sub, config/install-sh:
Update from masters.
2002-11-14 Akim Demaille <akim@epita.fr>
* Makefile.maint: Sync with Bison, i.e.:
(po-check): Scan .l and .y files instead of the
.c and the .h files that they generate. This fixes the bug
reported by Tim Van Holder in:
<http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
Look for N_ as well as for _. Try to avoid matching #define for
N_ and _.
From Paul Eggert.
2002-11-14 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (C Compiler): Compiling several files at once.
From Paul Eggert and Albert Chin-A-Young.
2002-11-14 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (C Compiler): Solitary backslashes.
From Paul Eggert and Albert Chin-A-Young.
2002-11-14 Kevin Ryde <user42@zip.com.au>
* lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
than assigning in main, to avoid HP cc +O3 optimizing it away.
2002-11-12 Peter Eisentraut <peter_e@gmx.net>
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
option. Process --recheck after parsing all options. Pass -q
option to configure on --recheck.
(AC_OUTPUT): Pass -q from configure to config.status.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
arguments to record.
* doc/autoconf.texi (config.status Invocation): Document
config.status -q option.
2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
* bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
Makefile.in if Makefile.am exists.
(output): Strip `.am' from Makefiles. Don't
output AC_CONFIG_FILES if no Makefiles were found.
2002-11-07 Akim Demaille <akim@epita.fr>
* Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
(local_updates): New.
* Makefile.maint: Update, from CVS Bison.
(local_updates): New.
2002-11-06 Akim Demaille <akim@epita.fr>
* lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
declaration in extern "C" too.
Reported by Roberto Bagnara.
2002-11-06 Akim Demaille <akim@epita.fr>
* tests/torture.at (Configuring subdirectories): Don't use grep
-w.
* doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
Reported by Ezra Peisach.
2002-11-05 Akim Demaille <akim@epita.fr>
* lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
Remove.
We _have_ to stop using the old compatibility scheme that tried to
avoid useless backslashes because Libtool 1.4.3 contains a
AC_DEFINE([error_t], [int],
[Define to a type to use for \`error_t' if it is not
otherwise available.])
We _have_ to quote the single quote and backslashes with \. The
old compatibility scheme saw that ` was backslashed, and therefore
did not quote the single quote. Hence before this patch, Autoconf
was not compatible with Libtool.
2002-11-04 Paul Eggert <eggert@twinsun.com>
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
LC_NAME, LC_PAPER, LC_TELEPHONE.
* doc/autoconf.texi (Special Shell Variables): Mention those vars.
2002-11-04 Akim Demaille <akim@epita.fr>
Version 2.54c.
* Makefile.maint (update, cvs-update, po-update, do-po-update):
New.
* config/texinfo.tex: Update.
2002-11-03 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in (&autoreconf_current_directory): New, extracted
from...
(&autoreconf): here.
($help, $make, &parse_args, &autoreconf_current_directory):
Support -m/--make.
* doc/autoconf.texi (autoreconf Invocation): Adjust.
2002-10-31 Bruno Haible <bruno@clisp.org>
* lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
Change name of cache variable to ac_cv_func_malloc_0_nonnull.
(AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
(_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
to ac_cv_func_realloc_0_nonnull.
(AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
2002-10-31 Akim Demaille <akim@epita.fr>
The test suite was no longer checking for trailing envvars and files.
* tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
(AT_CHECK_ENV): Make sure the `state-ls.before file exists.
2002-10-31 Akim Demaille <akim@epita.fr>
* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
`$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
Make variable, not a shell variable.
Suggested by Bruno Haible.
2002-10-31 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (load_configuration): Reject #args out of any
language.
2002-10-31 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
(_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
(_AC_RUN_IFELSE): Use it.
* lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
(_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
* lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
inline it.
2002-10-30 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (&parse_args, $help): Support --no-cache.
* doc/autoconf.texi (autom4te Invocation): Adjust.
Suggested by Tim van Holder.
2002-10-29 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
Problem reported by Bruno Haible.
2002-10-29 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Header Templates): Put also in words what the
pictures says to assist free style readers.
(Customizing autom4te): s/--cache=/--cache /.
2002-10-29 Akim Demaille <akim@epita.fr>
* lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
sys/wait.h.
sparc_address_test returns void.
Use it with an argument, as prototyped.
From Bruno Haible.
2002-10-29 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Subdirectories): Cygnus dirs have
configure.in, not configure.ac.
Reported by Bruno Haible.
2002-10-29 Akim Demaille <akim@epita.fr>
* tests/torture.at (Deep Package): New test.
(Configuring subdirectories): Don't use a testSubDir as Autotest
now does it itself.
2002-10-29 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in (&parse_args, $help): Support --warnings.
* doc/autoconf.texi (Invoking autom4te): Rename as...
(autom4te Invocation): this, for consistency with the other nodes.
2002-10-29 Akim Demaille <akim@epita.fr>
* lib/autom4te.in (Autoconf): s/automate/autom4te/.
Reported by Ralf Corsepius.
2002-10-29 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
characters is a back as an `obsolete' warning now.
Reported by Ralf Corsepius.
2002-10-28 Akim Demaille <akim@epita.fr>
* configure.ac: Bump to 2.54c.
2002-10-28 Akim Demaille <akim@epita.fr>
Version 2.54b.
* tests/foreign.at (Libtool): Adjust to broken libtoolize.
2002-10-28 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
m4 executable names, and different GNU M4 version.
Reported by Ezra Peisach and Paul Jarc.
2002-10-27 Akim Demaille <akim@epita.fr>
* lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
AC_RUN_IFELSE.
2002-10-27 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: More AC_MSG_FAILURE promotion.
* lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
Die when a simple Fortran program cannot be compiled.
* lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
Issue a warning if no function is given.
2002-10-27 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
Move the documentation of AC_TRY_RUN to...
(Obsolete Macros): here.
Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
(autoconf Invocation): Remove the duplicates with `invoking
autom4te'.
* lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
2002-10-27 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
and AC_LANG_FUNC_LINK_TRY.
(Examining Libraries): Rename as...
(Running the Linker): this.
Document AC_LINK_IFELSE.
Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
(Obsolete Macros): here.
* lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
AC_TRY_LINK_FUNC nor AC_TRY_LINK.
* lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
* lib/autoconf/headers.m4 (AC_USG): Likewise.
2002-10-27 Akim Demaille <akim@epita.fr>
* lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
More `check config.log' messages.
* lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
* doc/autoconf.texi (Printing Messages): Document it.
* lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
appropriate.
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
(_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
(_AC_COMPILER_OBJEXT): Likewise.
* lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
* lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
Likewise.
* lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
Likewise.
Deprecate macros with unusual interfaces.
* lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
(AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
Document the new ones, and proper style.
* doc/autoconf.texi (Generating Sources): New.
Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
(Examining Declarations): Rename as...
(Running the Preprocessor): this.
Document AC_PREPROC_IFELSE.
(Examining Syntax): Rename as...
(Running the Compiler): this.
(AC_FOO_IFELSE vs AC_TRY_FOO): New section.
(Obsolete Macros): Move the definition of AC_TRY_CPP and
AC_TRY_COMPILE here.
2002-10-27 Akim Demaille <akim@epita.fr>
Move sections around.
* doc/autoconf.texi (Customizing autom4te): Remove a lost
sentence.
Reported by Burno Haible.
(Language Choice): Now the first section of...
(Writing Tests): this section.
Make the introduction less C-centric.
(Guidelines, Test Functions): Move to...
(Writing Test Programs): this new section.
(Test Programs): Merge into...
(Run Time): this.
2002-10-27 Akim Demaille <akim@epita.fr>
* lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
autom4te.in that resulted in the need for two `make' runs.
2002-10-27 Akim Demaille <akim@epita.fr>
* configure.ac: Bump to 2.54b.
2002-10-25 Akim Demaille <akim@epita.fr>
Version 2.54a.
* Makefile.maint: Update from the Coreutils.
(AMTAR): Remove, obsolete.
(automake_repo): Update to redhat.com.
(cvs_file): New.
Adjust to the fact that ansi2knr is now hosted by Automake.
* Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
* config/config.guess, config/mkinstalldirs, config/texinfo.tex:
Update from masters.
* lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
autoscan.pre is not to be installed, and autoscan.list is not to
be shipped.
(CLEANFILES): Add autoscan.list.
(autoscan.list): Disable the cache.
* bin/Makefile.am: Include freeze.mk.
2002-10-25 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (&load_configuration): Take the file as
argument.
(&parse_args): Handle -C, --cache.
($help): Adjust.
(MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
* lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
* doc/autoconf.texi (Invoking autom4te): Document --cache.
Now a subsection of...
(Using autom4te): This new section.
(Customizing autom4te): New.
(autom4te.cache): Adjust.
2002-10-25 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Generic Headers): More information on how to
use AC_CHECK_HEADERS.
2002-10-25 Akim Demaille <akim@epita.fr>
* bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
Space changes.
2002-10-25 Akim Demaille <akim@epita.fr>
* bin/autoscan.in (output): Output AC_PREREQ.
(%needed_macros): Add AC_PREREQ so that configure.ac without one
be reported.
2002-10-23 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
document _Bool.
2002-10-23 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (handle_traces): Handle @&t@ in traces.
Reported by Peter Eisentraut.
2002-10-23 Akim Demaille <akim@epita.fr>
* lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
type _Bool.
Fix a typo.
* doc/autoconf.texi (Particular Headers): Adjust according to Paul
Eggert's recommandations.
2002-10-22 Akim Demaille <akim@epita.fr>
* lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
Bison, by Paul Eggert.
* doc/autoconf.texi (Particular Headers): Document it.
2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
`$ac_configure_args'.
2002-10-22 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
(AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
From Art Haas.
2002-10-22 Akim Demaille <akim@epita.fr>
Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
(AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
(_AC_CHECK_HEADER_NEW): Rename as...
(AC_CHECK_HEADER): this.
2002-10-22 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
words about HP-UX cmp: it was actually a user-written cmp.
2002-10-22 Akim Demaille <akim@epita.fr>
* tests/foreign.at (Libtool): Don't check autoconf's stderr: there
are a few warnings.
* lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
Quote for Perl '' strings, not "".
* bin/autoheader.in: Invoke autoconf to get '' strings, not ""
strings.
2002-10-22 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
characters is a syntax warning now.
(_AS_QUOTE): Accept $2 as list of characters to quote.
* lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
Quote for Perl, not sh.
* bin/autoheader.in: When $debug, report the file which is
`do'ne.
* tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
`@', to tickle Perl's lists.
Reported by Carlos Velasco.
2002-10-18 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
missing included files _are_ errors.
Thanks to Alexandre Duret-Lutz.
* tests/tools.at (autom4te cache): Adjust.
* tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
(AT_CHECK_M4SUGAR): Use it.
* tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
Adjust.
* tests/tools.at (autom4te): Now it does exit 1.
2002-10-17 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
Fixes the `AC_ARG_VAR' test failures.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
* lib/freeze.mk (check-forbidden-patterns): New.
* lib/autoconf/Makefile.am, lib/autotest/Makefile.am
* lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
* doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
/dev/null.
Reported months ago by H. Merijn Brand.
2002-10-17 Akim Demaille <akim@epita.fr>
* tests/tools.at (autoheader): Put randoms `@' to stress Perl.
2002-10-16 Paul Eggert <eggert@twinsun.com>
* Makefile.maint (wget_files): Remove ansi2knr.c.
(ansi2knr.c-url_prefix): Remove.
2002-10-16 Akim Demaille <akim@epita.fr>
Because of caching, some files that no longer exist and are no
longer required can still cause errors.
Reported by Alexandre Duret-Lutz.
* bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
to frozen files in @ARGV, as @ARGV must remain being a list of
files. Rather, at M4 call sites, use this...
(&files_to_options): New function.
(&freeze): Use &error.
(&up_to_date): If a file that was included according to the cache
is no longer there, then the output is out dated.
(&main): Don't even check whether a file is up to date is anyway
--force is given.
* tests/tools.at (autom4te cache): New.
2002-10-16 Akim Demaille <akim@epita.fr>
* bin/autoconf.as: Kill dead options.
* bin/autoupdate.in (&parse_args): Kill old options.
* bin/autoreconf.in (&parse_args): Remove dead options.
Factor some code.
(&autoreconf): Report the directories we enter *and leave*, so
that error messages can be easily located, and use GNU Make
format, so that Emacs' compile mode understands us.
* lib/Autom4te/General.pm (&update_file): Use `verbose' to report
if some file was changed instead of `print'.
* bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
(&parse_args): Remove the dead options.
* tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
autoheader's quiet mode.
(AT_CHECK_AUTOUPDATE): Likewise.
* tests/tools.at (autoupdate): Adjust.
* tests/semantics.at (AC_C_BIGENDIAN): Likewise.
2002-10-11 Akim Demaille <akim@epita.fr>
No longer use CPP to check for the existing of headers: use CC to
check for compilability.
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
(AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
(_AC_CHECK_HEADER_NEW): Rename as...
(AC_CHECK_HEADER): this.
* lib/autotest/general.m4 (AT_INIT): Include the failed test
numbers in the Subject suggestion.
2002-10-11 Akim Demaille <akim@epita.fr>
* lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
Suggest using AC_CHECK_DECLS instead.
2002-10-11 Akim Demaille <akim@epita.fr>
* tests/torture.at (AC_ARG_VAR): Have configure report the value
of `precious'.
2002-10-11 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
file name to enable parallel executions.
From Sam Varshavchik.
2002-10-08 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in (&autoreconf): Run autopoint before the first
aclocal invocation, as Gettext macros might not be visible to
aclocal.
Instead of blindly running autopoint, scan configure.ac (not the
traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
Reported by Paul D. Smith.
2002-10-08 Paul Eggert <eggert@twinsun.com>
Work around problems found when POSIXLY_CORRECT=1 is set.
None of this seems to have anything to do with POSIX, really,
but it's how Perl getopt works.
* bin/autom4te.in (parse_args): Configure GetOpt with
"permute", too.
* doc/autoconf.texi (Invoking autom4te):
--warning -> --warnings.
* lib/autom4te.in: --warning -> --warnings.
2002-09-28 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (autom4te.cache): New section.
2002-09-28 Akim Demaille <akim@epita.fr>
* lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
(Automake-preselections): Update.
* bin/autoreconf.in, bin/autoheader.in: Comment changes.
2002-09-28 Akim Demaille <akim@epita.fr>
* lib/autoscan/autoscan.pre: Move all the remaining rules to...
* lib/autoconf/c.m4, lib/autoconf/functions.m4,
* lib/autoconf/headers.m4, lib/autoconf/libs.m4,
* lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
2002-09-28 Akim Demaille <akim@epita.fr>
* tests/torture.at (Configuring subdirectories): Be robust to
users who use config.site to require for a cache: in this case,
the two last configure runs, using two different sets of
arguments, trigger a legitimate error.
2002-09-28 Akim Demaille <akim@epita.fr>
* tests/m4sh.at (Functions Support, Functions and return Support):
New.
2002-09-28 Akim Demaille <akim@epita.fr>
* bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
autoheader are Perl programs.
(autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
(autom4te): Specify that the sources are in the $srcdir.
* doc/autoconf.texi (Installation Directory Variables): Adjust.
2002-09-28 Akim Demaille <akim@epita.fr>
* lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
(tm_zone): Move their rules to...
* lib/autoconf/types.m4: here, using AN_ macros.
* lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
(RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
(make, mawk, nawk, ranlib, yacc): Similarly, move to...
* lib/autoconf/programs.m4: here.
* lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
(ETAGS_FOR_AUTOCONF): New.
Use it.
2002-09-28 Akim Demaille <akim@epita.fr>
* lib/autoconf/autoscan.m4: New file.
* lib/autoconf/autoconf.m4: Include it.
* lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
that were listed in the original autoscan.list.
* lib/autoconf/headers.m4: Similarly with headers.
* lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
(.m4.m4f): Don't pass --prepend-include, since that's done by
tests/autom4te itself.
* lib/autoscan/Makefile.am: Include freeze.mk.
(autoscan.list): New target --this file is no longer a source.
(autoscan.pre): New file.
2002-09-28 Akim Demaille <akim@epita.fr>
* bin/autoscan.in (@kinds): Make them singular.
Adjust all uses.
(&init_tables): When --debug, report the list of rules to ease
tracking changes in autoscan.list.
* lib/autoscan/autoscan.list (function): Strip comments, sort.
2002-09-28 Akim Demaille <akim@epita.fr>
* lib/autoscan/functions, lib/autoscan/headers,
* lib/autoscan/identifiers, lib/autoscan/makevars,
* lib/autoscan/programs: Merge into...
* lib/autoscan/autoscan.list: this.
* bin/autoscan.in (&init_tables): Adjust.
2002-09-28 Akim Demaille <akim@epita.fr>
* lib/autoscan/functions, lib/autoscan/headers,
* lib/autoscan/identifiers, lib/autoscan/makevars,
* lib/autoscan/programs: Make the `kind' explicit, i.e., each
`functions' line is now prefixed with `function:'.
* bin/autoscan.in (&init_tables): Adjust.
2002-09-28 Akim Demaille <akim@epita.fr>
From now on, autoscan files must always map a macro name to a
word: there is no `default' macro for autoscan.
* bin/autoscan.in (&init_tables): Reject entries with no macro at
all.
* lib/autoscan/functions, lib/autoscan/headers: Make the macro
explicit.
2002-09-28 Akim Demaille <akim@epita.fr>
* bin/autoscan.in (%c_keywords): Remove.
(&used): Keep only track of the words we might be interested in.
(&output_kind): It is no longer needed to look for non active
checks.
2002-09-27 Akim Demaille <akim@epita.fr>
* lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
* lib/autoscan/functions: Adjust.
* doc/autoconf.texi (Particular Functions): Adjust.
2002-09-27 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools): Some about mv
from /tmp.
Thanks to Bill Moseley and Paul Eggert.
* lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
the tmpdir must be created.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
dir be in the build tree, instead of $TMPDIR.
2002-09-27 Akim Demaille <akim@epita.fr>
* bin/autoscan.in: Improve the comments.
(&parse_args): Drop obsolete undocumented options.
(&output_kind): Output warnings.
* lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
(getwd): Trigger a warning.
2002-09-26 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in: Clarify that -s is meaningless without -i.
Reported by Ralf Corsepius.
* doc/autoconf.texi (autoreconf Invocation): Likewise.
2002-09-26 Akim Demaille <akim@epita.fr>
Single suffix rules and seperated dependencies are not portable.
* doc/autoconf.texi (Installation Directory Variables): Update.
(Limitations of Make): Some about `Single Suffix Rules and
Separated Dependencies'.
* bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
(ifnames, autoscan, autom4te): Un-factor into several rules.
2002-09-25 Paul Eggert <eggert@twinsun.com>
* BUGS (Interoperability bugs): New section. Mention libtool
1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
2002-09-24 Paul Eggert <eggert@twinsun.com>
Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
make handles suffix-rules differently from GNU make.
* bin/Makefile.am (SUFFIXES, .in): Remove.
(autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
Move the body of the old .in rule here.
2002-09-16 Akim Demaille <akim@epita.fr>
i960 compilers create `b.out' files by default.
Reported by Ralf Corsepius.
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
(_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
2002-09-13 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Particular Headers): Remove obsolete
reference to `struct timezone' in the description of
AC_HEADER_TIME.
2002-09-13 Akim Demaille <akim@epita.fr>
Version 2.54.
* config/config.sub, config/config.guess: Update.
* Makefile.maint: Update from bits of the Coreutils 4.5.1.
* Makefile.am: Adjust.
2002-09-13 Akim Demaille <akim@epita.fr>
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
reading config.log when the compiler is rejected.
Suggested by Guido Draheim.
2002-09-13 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
(chdir_init) might hang when stat'ing mounted directories.
Reported by Vance Shipley.
2002-09-12 Akim Demaille <akim@epita.fr>
* bin/autoscan.in (&parse_args): Pass a reference to the lists, not
the lists.
2002-09-12 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Defining Symbols): Present two different
prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
difference between 1 argument calls, and 2-3 argument calls.
2002-09-12 Peter Eisentraut <peter_e@gmx.net>
* doc/autoconf.texi: Review grammar and punctuation.
2002-09-11 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi: Fix minor formatting, spelling, and
grammatical typos.
(Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
is obsolescent.
2002-09-11 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Questions): Rename as...
(FAQ): this.
(Defining Directories): New.
2002-09-09 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Making testsuite Scripts): Update.
Suggested by Nishio Futoshi.
2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
* doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
plain `@' is wanted.
2002-09-09 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
`duplicates', since the algorithm was too naive and could keep
`--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
keep `--prefix foo --prefix bar' as `--prefix foo bar'.
Reported by Ralf Corsepius.
* tests/torture.at (Configuring subdirectories): Exercise these
cases.
2002-09-09 Akim Demaille <akim@epita.fr>
* lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
looking for a replacement file.
* lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
directory is relative.
* doc/autoconf.texi (Generic Functions): Clarify the replacement
directory definition.
Reported by Andreas Schwab and Jim Meyering.
2002-09-06 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Setting Output Variables): Clarify what
precious variables are.
Suggested by Pontus Skoeld.
2002-09-05 Akim Demaille <akim@epita.fr>
* bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
(ifnames, autoscan, autom4te): Since we don't only depend on
configure.ac variables (such as VERSION etc.), but also on prefix
and so forth, depend on Makefile, not configure.ac.
Reported by Alexandre Duret-Lutz.
* doc/autoconf.texi (Installation Directory Variables): Adjust.
2002-09-05 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
doesn't seem to be confined to ia64, just say "some versions".
2002-09-04 Akim Demaille <akim@epita.fr>
* Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
Automake 1.6c.
* Makefile.am (maintainer-clean-local): Remove.
(MAINTAINERCLEANFILES): Remove COPYING.
2002-09-03 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Configuration Commands): Remove obsolete
example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
Brinkmann.
2002-09-03 Akim Demaille <akim@epita.fr>
* configure.ac: Bump to 2.53d.
* Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
as of today, on Automake's team suggestion.
2002-09-03 Akim Demaille <akim@epita.fr>
Version 2.53c.
2002-09-02 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
SITE_MACRO_DIR.
* configure.ac: Disable SITE_MACRO_DIR.
2002-09-02 Jim Meyering <meyering@lucent.com>
* doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
Also, tweak grammar: s/make sure to/be sure to/.
2002-09-02 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Limitations of Builtins): Explain why logical
directory names are generally preferable to physical names.
2002-09-02 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm (&update_file): s/die/error/.
Reported by Raja R. Harinath.
* bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
* bin/autoupdate.in: Use error instead of die.
2002-09-01 Paul Eggert <eggert@twinsun.com>
* tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
ordinary shell concatenation rather than echo+tr+sed command that
runs afoul of a long-line-related sed bug in Solaris 8.
* bin/autoheader.in (parse_args): --warning -> --warnings.
* bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
stdout, as traditional "ls" does.
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
_AC_COMPILER_EXEEXT_O): Likewise.
* doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
* bin/autoconf.as: Add --prepend-include option. This patch was
applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
but bin/autoconf.in is generated automatically from bin/autoconf.as.
* bin/autoconf.in, configure: Regenerate.
* doc/autoconf.texi (Special Shell Variables): Mention
ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
MAILPATH and set PS1, PS2, PS4 to default values, to work
around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
For LC_ALL etc, first try to set to "C" as POSIX requires and as
the Autoconf documentation specifies; fall back to "unset" only if
this fails. Use a shell for-loop for this rather than an m4 loop,
to shorten the output script.
2002-08-30 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Special Shell Variables): Mention POSIX
1003.1-2001's requirements for CDPATH. Give a simpler workaround
for the CDPATH problem. Document PWD.
(Limitations of Builtins): Document the problem that "cd $foo" and
"ls $foo" may refer to different directories in shells conforming
to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
example, since the old example is now out of date.
* lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
FOO" and "ls FOO" talk about different directories; this catches
problems when POSIX 1003.1-2001 "cd" fails due to symlink
spaghetti.
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
of rolling our own unset.
(_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
in practice we needn't worry about CDPATH if unset doesn't work.
* Makefile.in, aclocal.m4, bin/Makefile.in,
config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
tests/Makefile.in: Regenerate with Automake 1.6.3.
* config/config.guess, config/config.sub, config/mkinstalldirs:
Update.
* configure: Regenerate with self.
2002-08-30 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
default output.
2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* bin/autom4te.in (Request::load): Correctly test for "do" read
failure.
2002-08-29 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm (&xqx): New.
(&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
hand, which is not portable.
(&error): New.
* bin/autom4te.in: Use them.
Use &error instead of die.
* tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
Adjust.
2002-08-17 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
default list of compilers to try, since it was long ago superseded
by the ksh fc builtin. Suggested by Steven G. Johnson.
2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
* doc/autoconf.texi (Invoking autom4te): End the option table,
fixing a bug introduced by the previous patch.
(Limitations of Make): Add a 'target lookup' subentry in the
'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
2002-07-29 Mark D. Roth <roth@feep.net>
* bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
options and use $AUTOM4TE_PATH.
* doc/autoconf.texi: Remove documentation of autom4te
--include-envvar and --site-macro-subdir options and document
use of $AUTOM4TE_PATH.
* lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
arguments from each language section.
2002-07-29 Paul Eggert <eggert@twinsun.com>
* doc/install.texi: Include copyright symbol in copyright notice.
* Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
Replace with:
(AM_MAKEINFOFLAGS): New macro.
* doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
* Makefile.am (INSTALL): Use the new macros.
Use -o rather than --output, since "missing" does not grok --output.
2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* doc/autoconf.texi (Limitations of Make): Escaped newlines in
comments do not always work. Never trust the exit status of
`make -k'.
2002-07-24 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
2002-07-23 Paul Eggert <eggert@twinsun.com>
* lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
apparently treats PATH="nonexistent" as if it contained ".".
Bug reported by Stefan `Sec' Zehl.
2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
* doc/autoconf.texi (Limitations of Make): Mention the special
handling of the obj/ directory by BSD make.
2002-07-20 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
backslashes.
2002-07-19 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Function Portability): `exit'.
(Programming in M4sh): Ethymology of M4sh.
2002-07-19 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
2002-07-18 Akim Demaille <akim@epita.fr>
Version 2.53b.
2002-07-18 Akim Demaille <akim@epita.fr>
* config/config.guess, config/config.sub: Update.
2002-07-18 Akim Demaille <akim@epita.fr>
Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
Automake's parts.
* lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
* lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
* tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
2002-07-18 Akim Demaille <akim@epita.fr>,
Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
_AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
2002-07-17 Russ Allbery <rra@stanford.edu>
* doc/autoconf.texi (Initializing configure): Clarify the
description of the tarname default.
2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
* lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
latter was not run.
2002-07-17 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm (find_file): Browse the directories in
the order they are given.
2002-07-17 Akim Demaille <akim@epita.fr>
* tests/wrapsh.as, tests/wrappl.as: Merge into...
* tests/wrapper.as: this.
* tests/Makefile.am, configure.ac: Adjust.
2002-07-17 Mark D. Roth <roth@feep.net>
* configure.ac: Add --enable-site-macro-dir option.
* bin/Makefile.am: Expand @SITE_MACRO_DIR@.
* bin/autom4te.in: Add --prepend-include, --include-envvar, and
--site-macro-subdir options.
* bin/autoconf.in: Add --prepend-include option.
* bin/autoheader.in: Add --prepend-include option.
* bin/autoreconf.in: Add --prepend-include option.
* bin/autoscan.in: Add --prepend-include option.
* bin/autoupdate.in: Add --prepend-include option.
* doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
macro directory, remove note that include path directories are
used in reverse order, and document --prepend-include option.
* lib/autom4te.in: Use --prepend-include instead of --include.
* tests/wrapsh.in: Use --prepend-include instead of --include.
2002-07-17 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
tarnames.
* doc/autoconf.texi (Initializing configure): Adjust.
2002-07-17 Akim Demaille <akim@epita.fr>
* lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
(_AC_FUNC_MALLOC): New.
(AC_FUNC_MALLOC): Use the latter.
Define HAVE_MALLOC to 0 if broken.
* doc/autoconf.texi (Particular Functions): Adjust.
2002-07-16 Akim Demaille <akim@epita.fr>
* lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
* doc/autoconf.texi (C Compiler): Adjust.
2002-07-09 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Properly set the ``header'' part.
2002-07-09 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Systemology): Some about Darwin.
2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
Don't use AC_REQUIRE in AU_DEFUN.
2002-07-09 Art Haas <ahaas@neosoft.com>
* doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
* bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
so that Emacs setups GNU style for perl-mode and cperl-mode.
2002-06-27 Paul Eggert <eggert@twinsun.com>
* config/install-sh: Quote $src. Prefer || to test's -o option,
as per "Limitations of Builtins".
* tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
* tests/semantics.at (AC_C_BIGENDIAN): Likewise.
* tests/mktests.sh: Use grep instead of fgrep, as per
"Limitations of Builtins".
2002-06-15 Paul Eggert <eggert@twinsun.com>
* tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
autom4te_perllibdir): Set to top build dir or src dir as appropriate,
so that we consistently test the just-built programs.
* tests/wrappl.as: Likewise.
2002-06-12 Paul Eggert <eggert@twinsun.com>
* bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
name, so that symlinks to 'autoconf' work properly. Bug reported
by Bruno Haible.
* bin/autoheader.in (AUTOM4TE): Likewise.
* bin/autoreconf.in (autoconf, autoheader): Likewise.
* bin/autoscan.in (autom4te): Likewise.
* bin/autoupdate.in (autom4te): Likewise.
* lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
on Solaris 2.5.1.
2002-06-11 Andreas Schwab <schwab@suse.de>
* doc/autoconf.texi: Add more dir entries.
2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* bin/autom4te.in ($cache): Don't define using `$me', the name
of the cache should not depend on the name under which autom4te
was installed.
2002-06-07 Akim Demaille <akim@epita.fr>
* tests/tools.at (autoconf: forbidden tokens, basic)
(autoconf: forbidden tokens, exceptions): Adjust to the change of
words in autom4te.in.
2002-06-07 Peter Eisentraut <peter_e@gmx.net>
* lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
_AC_LANG_PROGRAM_C_F77_HOOKS.
2002-06-07 Akim Demaille <akim@epita.fr>
* lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
rename as...
(AC_REPLACE_FNMATCH): this.
* tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
AC_FUNC_FNMATCH_GNU.
2002-06-07 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
Rosetta Stone for Unix.
2002-06-07 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (warn_forbidden): When rejecting a token,
suggest m4_pattern_allow.
Suggested by Adam J. Richter.
2002-06-07 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
ac_config_libobj_dir.
(AC_CONFIG_LIBOBJ_DIR): New.
* lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
(_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
Use ac_config_libobj_dir to find the replacement files.
(AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
(AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
(AC_REPLACE_FNMATCH_GNU): these.
(AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
* doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
* tests/mktests.sh (ac_exclude_list): Don't check
AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
2002-06-06 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
if ln doesn't work.
* NEWS: Likewise.
* doc/autoconf.texi (Configuration Links): Likewise.
(Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
2002-06-05 Paul Eggert <eggert@twinsun.com>
* config/config.guess, config/config.sub, config/texinfo.tex:
Update from masters.
2002-05-29 Paul Eggert <eggert@twinsun.com>
* bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
* lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
Likewise.
* lib/autoconf/Makefile.am (check-local): Likewise.
* lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
* lib/autoconf/types.m4 (commentary only): Likewise.
* lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
* lib/autotest/Makefile.am (check-local): Likewise.
* lib/m4sugar/Makefile.am (check-local): Likewise.
* tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
* tests/mktests.sh (egrep): New var; use it instead of plain egrep.
* lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
* doc/autoconf.texi (Particular Programs): Document them.
(Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
* NEWS: Likewise.
2002-05-27 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
* NEWS, doc/autoconf.texi (Particular Types): Document it.
* lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
instead of AC_MBSTATE_T, which never existed.
2002-05-23 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
version of Autoconf that is discussed.
2002-05-22 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
from the default list of compilers to try. Suggested by
Kate Hedstrom.
* NEWS: Document the above.
* doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
2002-05-17 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
This improves on an earlier suggestion by H. Peter Anvin.
2002-05-16 Paul Eggert <eggert@twinsun.com>
AC_FUNC_FNMATCH now tests only for POSIX compatibility.
AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
Both macros now accept an optional source-dir arg.
New macro AC_GNU_SOURCE to define _GNU_SOURCE.
* NEWS: Document this.
* doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
* lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
(AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
not for GNU extensions; this undoes part of the 2000-11-03 change,
reverting to 2.13-compatible behavior.
Add new optional argument DIR.
(AC_FUNC_FNMATCH_GNU): New macro.
* lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
2002-05-08 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
and it causes a 'test' syntax error if it fails.
Bug reported by Stephen Gildea.
* lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
If prototypes are supported, use them to check this at compile-time,
instead of trying to check it at run-time. If we must do a run-time
check, assume that setvbuf is standard when cross-compiling, as
nonstandard setvbuf occurs only on ancient and unlikely hosts.
Bug reported by Paul D. Smith.
* lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
argument specifying location of getloadavg.c. This removes a
FIXME. This idea was taken from Jim Meyering's implementation in
textutils.
* doc/autoconf.texi (Particular Functions): Document this.
Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
that's what the code does; this fixes a bug reported by
Paul D. Smith.
2002-05-03 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
autopoint instead of gettextize.
($uses_alocal): Rename as...
($uses_aclocal): this.
* doc/autoconf.texi (autoreconf Invocation): Adjust.
Suggested by Bruno Haible.
2002-05-03 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
2002-04-29 Paul Eggert <eggert@twinsun.com>
* bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
files to be 1 second older; just set them to be the same time.
Also, sleep 1 second after the first aclocal, to work around
problems with sub-second time stamps on the input files.
2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
* doc/autoconf.texi: Mention "set -e -x" lossage
under node "Limitations of Builtins".
2002-04-29 Akim Demaille <akim@epita.fr>
* doc/install.texi: Better wording for setting variables when
running configure.
From Christian Cornelssen.
2002-04-29 Akim Demaille <akim@epita.fr>
* tests/m4sh.at (LINENO): If testsuite itself is rewritten because
of lack of $LINENO support, then the test will compare the $LINENO
in testsuite vs. the lineno in the test file. This is wrong, of
course.
Be sure to protect it.
Reported by Patrick Welche.
2002-04-25 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Obsolete Macros): Typo.
Reported by Vladimir Volovich.
2002-04-25 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
than some of the input files, hence, on the second run of aclocal,
if some of its input are younger, make them older.
Suggested by Paul Eggert.
2002-04-25 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
Thanks to Paul Eggert.
2002-04-25 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
and ac_subst_vars be sh variables containing the list of
AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
DEFAULT diversion.
(_AC_INIT_PREPARE): Use them to log them.
(_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
(AC_SUBST, AC_SUBST_FILE): Instead of buliding the
_AC_SUBST_SED_PROGRAM, store the list of output files/variables in
_AC_SUBST_FILES and _AC_SUBST_VARS.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
2002-04-24 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in (autoreconf): Run automake after autoconf and
autoheader, so that automake does not complain about a missing
config.h.in that was to be created.
2002-04-23 Akim Demaille <akim@epita.fr>
* bin/autoheader.in (parse_args): --warning takes an argument.
Fixes PR/220.
2002-04-22 Peter Eisentraut <peter_e@gmx.net>
* lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
and bb.out when cleaning up.
2002-04-22 Akim Demaille <akim@epita.fr>
Version 2.53a.
2002-04-22 Akim Demaille <akim@epita.fr>
* tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
2002-04-22 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Pretty Help Strings): Remove a spurious
comma.
Reported by Gregory Giannoni.
2002-04-22 Akim Demaille <akim@epita.fr>
* tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
Fixes false failures on Darwin.
2002-04-21 Paul Eggert <eggert@twinsun.com>
* TODO, bin/autoupdate.in, doc/autoconf.texi,
lib/autoconf/general.m4, lib/autoconf/libs.m4,
lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
tests/tools.at: Minor spelling and grammar fixes.
2002-04-20 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
ZSH_VERSION fixes. Bug reported by Raja R Harinath.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* tests/atgeneral.m4 (AT_INIT): Likewise.
2002-04-19 Paul Eggert <eggert@twinsun.com>
* NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
lib/autoconf/functions.m4, lib/autoconf/general.m4,
lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
tests/atspecific.m4, tests/semantics.at, tests/torture.at:
Minor spelling and grammar fixes.
* doc/autoconf.texi: Follow the outline suggested in the GNU
Sample Texts sections of the Texinfo 4.2 manual. Most
importantly, this makes sure that the copyright notices appear in
all output formats. You probably need Texinfo 4.2 to generate
the manual now.
Fix some bugs when using "$@" when there might be zero positional
arguments in cases where this matters.
* bin/autoconf.as: Rewrite so that the problem does not come up.
* lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
* lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* bin/autoheader.in: Use 'case' statement to work around problem.
* bin/auto4mte.in: Likewise.
* bin/autoreconf.in: Likewise.
* bin/autoscan.in: Likewise.
* bin/autoupdate.in: Likewise.
* bin/ifnames.in: Likewise.
* doc/autoconf.texi (Shell Substitutions): Document the problem.
* lib/autotest/general.m4 (AT_INIT):
Use Zsh alias to work around problem.
* tests/atgeneral.m4 (AT_INIT): Likewise.
* tests/c.at: We can't have zero arguments, so remove workaround
that is not portable to Zsh.
2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
* bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
from aclocal.m4 too.
2002-04-12 Akim Demaille <akim@epita.fr>
* tests/wrappl.as: New, M4sh precursor of wrappl.in.
2002-04-10 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
workaround for ${1+"$@"}.
* doc/autoconf.texi (Shell Substitutions): Explain it.
From Oliver Kiddle and Peter Stephenson.
Have M4sh perform minimal shell sanitizing.
* lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
part into...
(_AS_PREPARE): this new macro.
(AS_PREPARE): New.
(AS_INIT): Invoke AS_SHELL_SANITIZE.
* tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
Adjust Autoconf and Autotest.
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
Invoke _AS_PREPARE (not AS_PREPARE) in addition to
AS_SHELL_SANITIZE.
Use this M4sh to generate Autoconf's shell scripts.
* tests/wrapsh.as: New, precursor of wrapsh.in.
* tests/Makefile.am: Include lib/freeze.mk to get the dependencies
on Autotest and M4sh.
($(TESTSUITE)): Use $(autotest_m4f_dependencies).
(wrapsh.in): New target.
* bin/autoconf.as: New, precursor of autoconf.in.
(autoconf.in): New target.
2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
* doc/autoconf.texi (Limitations of Make): Mention the issue
with indented comments in rules.
2002-04-09 Andreas Schwab <schwab@suse.de>
* lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
ac_top_builddir when setting ac_abs_top_builddir.
2002-04-06 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
(Portable Shell): Cross reference to Systemology.
2002-04-05 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in (autoreconf): Be sure to accumulate the
directories when descending in a SUBDIRS.
Reported by Ezra Peisach.
2002-04-04 Andreas Schwab <schwab@suse.de>
* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
contains no literal separators.
2002-04-03 Akim Demaille <akim@epita.fr>
* lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
(_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
Use dnl, not the KILL diversion.
Extracted from...
(AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
(AC_CONFIG_LINKS): here.
Adjust.
Don't use the KILL diversion, as it kills spurious output, which
results in failures being hidden.
Use m4_defn where appropriate.
(AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
after the second argument.
Use m4_defn.
* lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
syntax, as it is provided by M4sugar.
* tests/torture.at (Multiple AC_CONFIG_FILES): New.
2002-04-03 Andreas Schwab <schwab@suse.de>
* lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
expanded if $# <= 2.
* bin/autoreconf.in (autoreconf): Run automake after rerunning
aclocal.
2002-04-03 Akim Demaille <akim@epita.fr>
* lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
(_AC_COMPILER_EXEEXT_REJECT): New.
Also recognize *.bb and *.bbg as compilation byproducts.
(_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
(_AC_COMPILER_OBJEXT): Use them.
Fixes Debian #138666.
2002-04-02 Peter Eisentraut <peter_e@gmx.net>
Integrate AC_PROG_CC_STDC into AC_PROG_CC.
* lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
(AC_PROG_CC): Call _AC_PROG_CC_STDC.
(AC_C_INLINE): Do not require AC_PROG_CC_STDC.
(AC_C_CONST): Same.
(AC_C_INLINE): Same.
(AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
* doc/autoconf.texi, NEWS: Document.
* tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
AC_C_CROSS.
2002-04-02 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
_AS_MKDIR_P_PREPARE.
2002-03-28 Kevin Ryde <user42@zip.com.au>
* lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
to avoid versions of HP C which don't allow that.
2002-03-27 Paul Eggert <eggert@twinsun.com>
* lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
(AS_SHELL_SANITIZE): Invoke it.
(AS_BASENAME): AS_REQUIRE it, and use $as_basename.
2002-03-26 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
2002-03-26 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Introduction): The GNATS base moved.
2002-03-25 Paul Eggert <eggert@twinsun.com>
* tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
as POSIX requires, as it doesn't work with Zsh.
* doc/autoconf.texi (Assignments): Document the problem.
2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* doc/autoconf.texi (Limitations of Make): Mention more issue
about VPATH, overriding of macros in sub-makes, and handling of
SHELL.
2002-03-21 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
problem with here-document buffer boundaries.
* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
when reinvoking the shell, to work around problems with installers
who put strange things like "cd" commands in their environments.
2002-03-19 Akim Demaille <akim@epita.fr>
* tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
From Aaron Ucko.
2002-03-19 Akim Demaille <akim@epita.fr>
* bin/autoscan.in (scan_file): Specify the location in `&used'
invocations.
From Nicolas Joly.
2002-03-19 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
From Nishio Futoshi.
2002-03-19 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
2002-03-18 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
(Limitations of Usual Tools): Add mkdir section.
* lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
(AS_MKDIR_P): Require it. Use mkdir -p if available, falling
back on AS_DIRNAME to compute prefixes otherwise; this is
roughly what mkinstalldirs does. That way, we need not have
our own filename disassembler. The old disassembler did not
work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
* lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
Create at_test_all by a series of assignments,
not by a single assignment of a long string. The latter causes ksh
version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
presumably because of a buffer overrun.
2002-03-14 Paul Eggert <eggert@twinsun.com>
* lib/autotest/general.m4 (at_times_skip):
Renamed from at_times. Now a boolean.
ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
says 'times: not found'.
2002-03-14 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in (&study_gettextize): New.
(&autoreconf): Handle newest gettextize.
Rerun aclocal if needed.
Suggested by Andreas Schwab.
2002-03-13 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Special Shell Variables): More about IFS.
2002-03-13 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Header Portability): New.
Add information about stdint.h and inttypes.h from Paul Eggert.
2002-03-13 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
-p'.
From Bob Proulx.
2002-03-12 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
m4_require.
2002-03-11 Andreas Schwab <schwab@suse.de>
* configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
does not do it if --with-lispdir is given.
2002-03-08 Akim Demaille <akim@epita.fr>
Version 2.53.
2002-03-08 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Subdirectories): Clarify that the
subdirectory should exist.
2002-03-08 Akim Demaille <akim@epita.fr>
* Makefile.am (AUTOMAKE_OPTIONS): 1.6.
2002-03-08 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
aliases the actual variables, and modifications of the former
affect the latter.
2002-03-08 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (&handle_m4): Protect us from corrupted file
because of C-c: have m4 output in tmp files, then mv them.
2002-03-08 Akim Demaille <akim@epita.fr>
* bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
* bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
* bin/ifnames.in: Copyright update.
2002-03-08 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Invoking autom4te): New.
2002-03-05 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Specifying Names): Clarification suggested by
Kevin Ryde.
2002-03-05 Akim Demaille <akim@epita.fr>
Version 2.52i.
2002-03-04 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
* lib/autoconf/general.m4 (AC_INIT): More informative error
message for LIBOBJ.
2002-03-04 Akim Demaille <akim@epita.fr>
* lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
parallel builds.
2002-03-04 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Transforming Names): Equality between target
and host is irrelevant.
(Specifying Names, Canonicalizing): Remove all references to the
backward compatibility hooks. Rather, collect them all into...
(Hosts and Cross-Compilation): this new section.
* doc/install.texi (System Type): Ditto.
* lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
that `--host' implies cross-compilation.
2002-03-04 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Evaluation Macros): New.
* lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
useless.
(_m4_foreach): Define the variant with immediate evaluation so
that it contains exactly the items, not an expression which
evaluation is the current item.
(m4_re_string, m4_re_word): Don't over quote them.
2002-03-04 Akim Demaille <akim@epita.fr>
Instead of having stacking `shift's evaluated at the end, let
`foreach' loops immediately evaluate them.
* lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
$*. This is the n-th time I change my mind, but hopefully this is
the last...
(m4_lquote): New.
(m4_text_wrap): Use m4_foreach, which is finally correct _and_
efficient.
(m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
it was only a hack for m4_text_wrap.
(m4_car2): Remove, replaced by...
(m4_cdr): New.
(_m4_foreach): Adjust.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
m4_bpatsubst for clarification.
2002-03-04 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Changequote is Evil): New.
2002-03-03 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
on old systems like SunOS.
2002-03-01 Peter Eisentraut <peter_e@gmx.net>
* lib/autoconf/c.m4, lib/autoconf/fortran.m4,
lib/autoconf/functions.m4, lib/autoconf/general.m4,
lib/autoconf/headers.m4, lib/autoconf/lang.m4,
lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
of messages.
2002-02-28 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Suggest a title to the
message to be sent.
2002-02-28 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Function Portability): Add va_copy and va_list.
2002-02-25 Akim Demaille <akim@epita.fr>
* lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
From Akinori Musha.
2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/Autom4te/XFile.pm (getline, getlines): New functions,
translate \r\n to \n.
2002-02-07 Akim Demaille <akim@epita.fr>
Version 2.52h.
2002-02-07 Akim Demaille <akim@epita.fr>
Fix Autoconf PR/209.
Also reported by Frank Denis.
* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
2002-02-07 Akim Demaille <akim@epita.fr>
Fix Autoconf PR/207:
AC_PREFIX_PROGRAM fails with dashed program names
* lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
variable when looking for the prefix program.
Now it also works for shell variables.
2002-02-07 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Builtins): More about
case/esac.
2002-02-06 Akim Demaille <akim@epita.fr>
* lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
case/esac, some shells don't support it.
Reported by Zack Weinberg.
* tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
2002-02-06 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
sure not to introduce newlines in at_groups.
* lib/autotest/Makefile.am (autotest.m4f): Typo.
2002-02-06 Akim Demaille <akim@epita.fr>
* tests/torture.at (Configuring subdirectories): Skip if aclocal
is not available.
2002-02-05 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Specific Compiler Characteristics):
Describe HP-UX cc bug workaround more accurately.
* lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
not unsigned long.
* tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
cross-compilers, too. This undoes some of the most recent change
to this file.
2002-02-05 Akim Demaille <akim@epita.fr>
* tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
to make sure they are up to date when `check' is run.
2002-02-05 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Making testsuite Scripts): Document
package.m4.
2002-02-05 Akim Demaille <akim@epita.fr>
* lib/freeze.mk: New.
2002-02-05 Akim Demaille <akim@epita.fr>
Implement `autom4te --freeze'.
* bin/autom4te.in (&freeze): New.
* lib/autoconf/autoconf.m4, lib/autotest/general.m4,
* lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
2002-02-05 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (&parse_args): Implement `frozen files are
optional are the sum of the previous files on the command line'.
Also, pass `--reload-state=' on them, so...
(handle_m4): don't.
* lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
(M4sh): Rely on M4sugar.
(Autotest, M4sh, M4sugar): Use frozen files.
2002-01-31 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
* doc/autoconf.texi (Initializing configure): Adjust.
2002-01-30 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
alphanumeric to `-' instead of `_'.
2002-01-30 Akim Demaille <akim@epita.fr>
* tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
for plain code, the other for cross-compilation code. The latter
is now run with GCC only.
* doc/autoconf.texi (Compilers and Preprocessors): New.
2002-01-30 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
values.
* doc/autoconf.texi (Initializing configure): Explain how to
change AC_INIT default values.
2002-01-29 Akim Demaille <akim@epita.fr>
* tests/torture.at (Configuring subdirectories): Use configure.in,
so that aclocal 1.4 works.
Reported by Alexandre Duret-Lutz and Larry Schmitt.
2002-01-28 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
needs an argument.
2002-01-28 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
AUTOTEST_PATH *after* it was set.
Don't put `.' in the PATH: the user should be precise and `./' if
needed. In addition, given that the test suite does some `cd', if
`.' is in the path, the `tested programs' sections will report
programs found in the test suite's directory, while during the
tests (performed in their own directory), these programs are no
longer visible. In other words, the results is confusing and
useless.
* tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
2002-01-24 Akim Demaille <akim@epita.fr>
Version 2.52g.
2002-01-24 Akim Demaille <akim@epita.fr>
* bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
* doc/autoconf.texi: Finally add Akim as an author.
2002-01-24 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
(_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
Bourne. Use /bin/sh.
From Andreas Buening.
2002-01-24 Akim Demaille <akim@epita.fr>
* config/config.guess, config/config.sub, config/texinfo.tex:
Update from masters.
2002-01-24 Akim Demaille <akim@epita.fr>
* Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
* config/auxdir.m4, config/cond.m4, config/depend.m4,
* config/init.m4, config/install-sh.m4, config/lispdir.m4,
* config/missing.m4, config/sanity.m4, config/select.m4,
* config/strip.m4: Remove, to ease sync'ing with any version of
Automake.
2002-01-24 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
(_AC_INIT_PREPARE): Support -n as --no-create, as documented.
Reported by Geir Ove Myhr.
2002-01-21 Akim Demaille <akim@epita.fr>
* lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
2002-01-21 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm (getopt): Use a more GNUish error
message on invalid options.
* bin/autom4te.in (parse_args): Don't use
Autoconf::General::getopt with non valid options.
2002-01-17 Jim Meyering <meyering@lucent.com>
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
$ac_cv_exeext so we don't use an old, invalid, cached value.
2002-01-11 Akim Demaille <akim@epita.fr>
* lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
Meyering.
* doc/autoconf.texi (Function Portability): Document the strnlen
limitation.
(Particular Functions): Document AC_FUNC_STRNLEN.
* lib/autoscan/functions: Adjust.
2002-01-06 Akim Demaille <akim@epita.fr>
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
package.m4, since is really depends upon configure.ac, not
configure.
* doc/autoconf.texi (testsuite Scripts): Adjust.
* tests/Makefile.am (package.m4): New.
EXTRA_DIST it since its a source.
2002-01-06 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
and PACKAGE_BUGREPORT from here...
(_AC_INIT_DEFAULTS): to here, since it is unrelated to the
arguments.
(_AC_INIT_PREPARE): AC_DEFINE these symbols.
* lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
(AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
* tests/tools.at (autoheader): Adjust.
* tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
2002-01-06 Akim Demaille <akim@epita.fr>
* bin/autoscan.in (scan_file): Use `&used'.
2002-01-03 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Output): Improved wording regarding use of
AC_OUTPUT.
From Olly Betts.
2001-12-18 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Function Portability): Add notes on sscanf
sometimes needing writable input.
2001-12-17 Jim Meyering <meyering@lucent.com>
* doc/autoconf.texi (New Macros): Tweak wording.
2001-12-14 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
trailing files, don't apply `-rf' to files which might not be
created by configure (core, core.*, and *.core), but just `rm -f'.
Suggested by Jonathan Kamens.
2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
* lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
2001-12-14 Akim Demaille <akim@epita.fr>
* Makefile.am (MAINTAINERCLEANFILES): Remove configure.
2001-12-13 Peter Eisentraut <peter_e@gmx.net>
* lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
abs_builddir, top_buildpath to abs_top_builddir, srcpath to
abs_srcdir, top_srcpath to abs_top_srcdir.
(_AC_OUTPUT_FILES): Adjust.
* NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
* tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
* tests/wrappl.in, tests/wrapsh.in: Adjust.
2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
* lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
C/Fortran linking on HP/UX, by extracting the Fortran library
search path from the LPATH line in the $F77 -v output.
2001-12-12 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (File Descriptors): Use a clearer layout for the
forbidden file descriptors table.
2001-11-26 Akim Demaille <akim@epita.fr>
* bin/autoscan.in (%c_keywords): Build it at top level.
Map to 1 in order to simplify its uses.
2001-11-26 Akim Demaille <akim@epita.fr>
* bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
Remove $filepath, useless.
(&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
variables, they are really part of the tokens.
Split the input line on spaces and then look for tokens.
Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
because of `lex$U.$(OBJEXT)'.
(&scan_files): Use "@list" instead of join.
* doc/Makefile.am (CLEANFILES): Add *.fns.
2001-11-26 Akim Demaille <akim@epita.fr>
* tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
Remove, replaced by...
* tests/wrappl.in: Be common for all the Perl executables.
In particular autoscan and autoheader want -I.
* configure.ac: Adjust.
* lib/autoscan/headers: errno.h is portable.
2001-11-26 Akim Demaille <akim@epita.fr>
* bin/autoscan.in (used): New.
Use it.
2001-11-26 Akim Demaille <akim@epita.fr>
* bin/autoscan.in (&scan_c_file): Better parsing of CPP
directives.
(&scan_sh_file): Remove a duplicate pattern.
(&check_configure_ac): Use long options.
* lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
2001-11-26 Akim Demaille <akim@epita.fr>
* bin/autoscan.in (scan_c_file): Fix the handling of C comments.
Before, having a line containing the opening of a multi line
comment made the whole line be ignored.
2001-11-26 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Using an Autotest Test Suite): New.
(testsuite Scripts): Be one of its subsection.
(Autotest Logs): New.
2001-11-26 Akim Demaille <akim@epita.fr>
Test groups are now run two directories deeper.
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
at_top_builddir.
* lib/autotest/general.m4 (AT_INIT): Compute srcdir,
top_srcdir, builddir and top_builddir.
Use `at_*dir' relatively to the directory containing the
suite, use `*dir' when relatively to the current group dir.
2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
* doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
lib/autoconf/functions.m4, lib/autoconf/headers.m4,
tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
spelling errors.
2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
* doc/autoconf.texi (Using System Type): Add an example of `case
$host' usage so people quit using `case $target' everywhere.
2001-11-22 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Installation Directory Variables): Englishoes
spotted by Jim Meyering.
2001-11-16 Paul Eggert <eggert@twinsun.com>
This patch implements a `long double' suggestion by Oliver Kiddle.
* lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
static, to catch errors if the value isn't known at compile-time
and the compiler supports dynamic arrays. Change its name from
`_array_' to `test_array' to avoid potential name clashes.
(AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
test. Do not define HAVE_LONG_DOUBLE if `long double' is no
better than double. Catch a bug in GCC 2.95.2 x86.
* doc/autoconf.texi (C Compiler): Document the above.
* NEWS: Likewise.
2001-11-13 Akim Demaille <akim@epita.fr>
* tests/m4sh.at (LINENO): Protect from autom4te's substitution by
hand.
* tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
2001-11-13 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): After having run the test
group, go back to the initial directory, not to at_suite_dir.
2001-11-13 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
(AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
(AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
option.
(AT_CHECK_CONFIGURE): Use absolute paths.
(_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
The problem is still the old one: there is no means in M4 (that I
know about) to create a defining macro, because there is no means
to create `$1' etc., therefore, the defining macro ``swallows''
all the arguments meant to the defined macro.
2001-11-13 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
(AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
configure.ac.
* tests/aclocal.m4: Remove, as it is no longer used.
2001-11-13 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4: Change `tests?' into `groups?' in
variable names when referring to a single test group, or to
`suite' when referring to the whole test suite.
`at_last_test' is removed: m4 compute at_format itself.
(at_stdout, at_stder1, at_stderr): New variables.
(AT_CHECK): Use them.
2001-11-13 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
in PATH.
Create `testsuite.dir/003/run' instead of `testsuite.003'.
Do it as soon as a test fails, don't wait till the end of the test
suite.
Don't remove $as_me.[0-9]*, since these files no longer exist.
2001-11-13 Akim Demaille <akim@epita.fr>
* tests/tools.at: Use absolute paths, since we are no longer run
in place.
2001-11-13 Akim Demaille <akim@epita.fr>
Now that tests are running in their own private dir, there is no
need to list the files to remove at the end of tests groups.
* lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
(AT_data_files, at_data_files): Remove.
(AT_CLEANUP, AT_DATA): Simplify.
(AT_INIT): Adjust.
Remove the group dir if !debug && !failed.
* tests/atspecific.m4: Adjust.
2001-11-13 Akim Demaille <akim@epita.fr>
Start a new layout for Autotest: `testsuite' creates
`testsuite.dir' in which the at-check-line etc. files are to be
found, and `testsuite.dir/003' where the test group 3 is run.
* lib/autotest/general.m4 (AT_INIT): at_tests_dir,
at_check_line_file, at_format, at_test_normalized, at_group_dir
are new variables.
Create the directories.
Use absolute paths for at- files.
(AT_CHECK): Adjust.
2001-11-11 Michael Matz <matz@kde.org>
* m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
(m4_car2): New.
(m4_car): Properly quote arguments.
2001-11-13 Akim Demaille <akim@epita.fr>
* tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
with stricter rules on LIBOBJS.
2001-11-12 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
* doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
__PROTOTYPES too.
2001-11-12 Akim Demaille <akim@epita.fr>
* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
2001-11-12 Akim Demaille <akim@epita.fr>
* lib/autoconf/c.m4, lib/autoconf/fortran.m4,
* lib/autoconf/functions.m4, lib/autoconf/general.m4,
* lib/autoconf/headers.m4, lib/autoconf/libs.m4,
* lib/autoconf/programs.m4, lib/autoconf/specific.m4,
* lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
specify to what the macro should be defined (typically to 1).
2001-11-12 Akim Demaille <akim@epita.fr>
* lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
From Jim Meyering.
2001-11-12 Akim Demaille <akim@epita.fr>
* lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
definition used by Automake where LEX is +/- "${missing} lex" and
`missing' itself contains variables.
2001-11-12 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
Now that M4sh pushes BODY, the comments were output at the end of
the test suites.
2001-11-08 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
that we can trace macros from aclocal.m4.
Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
obsoleted, and redirect to the former anyway.
Reported by Ralf Corsepius.
2001-11-08 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
processed only if present.
* tests/torture.at (Configuring subdirectories): Use autoreconf
instead of successive calls to autoconf.
Add a nonexistent subdirectory to exercise the patch above.
Reported by Ralf Corsepius.
2001-11-08 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
doesn't accept .S files.
2001-11-07 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
* lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
(_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
* bin/autom4te.in (warn_forbidden): New.
(handle_output): Use it.
Read m4_pattern_forbid with messages.
2001-11-05 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (--normalize): Remove.
* lib/autom4te.in: Adjust.
2001-11-05 Akim Demaille <akim@epita.fr>
* tests/Makefile.am (testsuite): Rename this target as...
($(TESTSUITE)): this.
From Nicolas Joly.
2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
the --prefix option, also remove it's argument.
2001-11-05 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (testsuite Invocation): Update.
(Writing testsuite.at): Update.
2001-11-03 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: s/@code/@command/ where appropriate.
2001-11-03 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm: (&catfile, &canonfile)
(&file_name_is_absolute): New, wrappers around routines from
File::Spec.
Use and export them.
(&find_configure_ac): Optionally take a directory where to look at.
* bin/autoreconf.in (&parse_args): Trim the configure.ac part of
the arguments.
Default @ARGV to `.', not find_configure_ac.
(&autoreconf): Argument is a directory.
Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
* doc/autoconf.texi (autoreconf Invocation): Update.
2001-11-03 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm (@export_vars, @export_subs)
(@export_forward_subs): New.
Add basename, dirname, and fileparse.
(@EXPORT): Adjust.
* bin/autoreconf.in (&autoreconf): Fix call to fileparse.
Don't look for aclocal flags if we already know aclocal is not
used.
Move aclocal.m4t only if it exists.
Reported by Ezra Peisach.
2001-11-03 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in (&parse_args): Work only on the configure.ac
passed on command line, defaulting to ./configure.ac if present.
(&maybe_autoreconf, File::Find): Remove, unused.
(&autoreconf): If autoconf is not used, don't try to trace.
2001-11-02 Akim Demaille <akim@epita.fr>
* configure.ac: Bump to 2.52g.
2001-11-02 Akim Demaille <akim@epita.fr>
Version 2.52f.
2001-11-02 Akim Demaille <akim@epita.fr>
* config/config.guess, config/config.sub, doc/standards.texi:
* config/lispdir.m4: Update from masters.
* configure.ac: Bump to 2.52f.
2001-11-02 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
Don't run aclocal when aclocal.m4 is not from aclocal.
From Ezra Peisach.
Don't run libtoolize and gettextize if --install is not given.
2001-11-01 Paul Eggert <eggert@twinsun.com>
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
be invoked before _AS_LINENO_PREPARE.
(_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
than character ranges.
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
invoking AS_BASENAME. Set the locale variables to 'C' if
possible, as POSIX requires this to get the traditional
behavior.
* doc/autoconf.texi (Special Shell Variables): Describe the above.
2001-10-31 Paul Eggert <eggert@twinsun.com>
* lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
with {}, as that triggers a bug in Bash 2.05.
(_AS_LINENO_PREPARE): Use Sed rather than
Awk. Fix the sed prepass to work even if there are multiple
instances of $LINENO on the same line. Do not substitute for
other variables like $LINENOT. Do not check file dates; such a
check is unreliable on sufficiently fast machines, and removing
the check makes the code simpler and more reliable. Check for
output and chmod failures.
* doc/autoconf.texi (Special Shell Variables): Document
the above.
2001-10-31 Akim Demaille <akim@epita.fr>
* tests/Makefile.am (atconfig): Remove this target, Automake
handles it now.
2001-10-31 Akim Demaille <akim@epita.fr>
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
provided, while it is optional.
* configure.ac: Adjust.
2001-10-26 Paul Eggert <eggert@twinsun.com>
* NEWS, README, configure.ac, lib/Autom4te/General.pm,
lib/Autom4te/Struct.pm:
Require Perl 5.005_03 instead of just 5.005, as some tests fail
with 5.005_02.
* doc/autoconf.texi (Special Shell Variables): Document some
more LINENO gotchas, particularly with respect to the Awk+Sed hack.
* lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
(_AS_LINENO_PREPARE): Use it instead of shell eval, since
eval $LINENO is not portable in practice.
2001-10-24 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm (backname): New.
2001-10-24 Akim Demaille <akim@epita.fr>
* m4/: Remove, merged into...
* config/: here.
2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
* doc/autoconf.texi (Shellology): Mention the problems with bash
2.05's use of ANSI quoting in its `set' builtin.
2001-10-22 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
POSIX decided to standardize on the int flavor of strerror_r.
Always do char* test, as there's no reason not to.
Assign to a char* var, to catch strerror_r that returns int*.
* doc/autoconf.texi (Particular Functions):
Document the above changes. Also, document the fact that
AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
* NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
2001-10-20 Akim Demaille <akim@epita.fr>
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
the executable was missing from the log.
2001-10-20 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm (&update_file): If destination is
unchanged, remove the source.
(&up_to_date_p): Don't be verbose, be debug.
* bin/autoreconf.in: No longer support --m4dir.
(&autoreconf): Display the full path of the configure.ac we are
studying.
Trace it only once.
Be sure to honor --force with gettextize.
Always run aclocal.
* doc/autoconf.texi: Adjust.
2001-10-20 Akim Demaille <akim@epita.fr>
* bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
Remove, dead.
* bin/autoreconf.in (&autoreconf): Do not run gettextize when
`intl' is already present, as it refuses unless --force.
(&parse_args): Use -I, --include instead of the old Autoconf
options.
($localdir, $autoconf_dir): Remove.
(@include): New.
(&maybe_autoreconf): New, to preserve $_ for File::Find.
2001-10-19 Jens Petersen <petersen@redhat.com>
* lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
* doc/autoconf.texi (Particular Programs): Likewise.
2001-10-19 Akim Demaille <akim@epita.fr>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
file in @configure_input@.
Don't mention `automatically' in addition to `generated'.
* tests/torture.at (#define header templates): Adjust.
2001-10-19 Akim Demaille <akim@epita.fr>
* lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
comment, explain how to install automatic mode selection.
From Russ Allbery.
2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
* bin/autoreconf.in (autoreconf): Display the path to the
configure.ac being studied.
2001-10-18 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
long, to work around a bug in the HP C compiler version HP92453-01
B.11.11.23709.GP.
* lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
(AS_BASENAME_EXPR): New macro.
(AS_BASENAME_SED): Do not assume GNU sed semantics.
(AS_BASENAME): Use 'basename' if that works; then try 'expr';
and fall back on 'sed' only if the other two fail. This makes
AS_BASENAME act more like AS_DIRNAME.
(as_me): Shell-quote the argument of AS_BASENAME, in case $0
contains white space.
* lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
Use AS_DIRNAME, since I think it's now DOS-friendly.
* tests/m4sh.at (DIRNAME_TEST): New arg $3.
Allow "dirname //FOO" to return either / or //, as POSIX allows
either behavior.
2001-10-10 Akim Demaille <akim@epita.fr>
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
`a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
From Eric Sharkey.
2001-10-10 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
m4_define, since...
(_AS_ECHO_N): AS_REQUIREs it.
2001-10-10 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
(AC_INCLUDES_DEFAULT): Move to...
* lib/autoconf/headers.m4: here.
* lib/autoconf/types.m4: Comment changes.
* doc/autoconf.texi: Specify where the default includes are used
in the macro prototypes.
2001-10-09 Akim Demaille <akim@epita.fr>
* lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
transition code.
2001-10-08 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in (&autoreconf): Remove debugging code.
(&parse_args): Pass verbosity/debugging options to subtools when
--debug, not when --verbose.
* lib/autom4te.in (Autoreconf-preselections): New.
(Autoconf): Use it.
2001-10-08 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
2001-10-08 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (autoreconf Invocation): Adjust.
* bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
2001-10-08 Akim Demaille <akim@epita.fr>
* tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
(Syntax of the shell scripts): Don't.
* bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
bother with $force since...
* lib/Autom4te/General.pm: does.
2001-10-08 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in: Rewrite in Perl.
* configure.ac: Adjust.
* lib/Autom4te/General.pm (&up_to_date_p): New.
* bin/autom4te.in (&up_to_date_p): Use it.
Rename as...
(&up_to_date): this.
2001-10-08 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
(m4_list_cmp): Use $0 to reinvoke yourself.
(m4_patsubsts): New.
(m4_strip, m4_version_unletter): Use it.
* tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
2001-10-08 Akim Demaille <akim@epita.fr>
* lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
* lib/autoconf/libs.m4, lib/autoconf/status.m4,
* lib/autoconf/types.m4, lib/autotest/general.m4,
* lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
* tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
m4_bregexp, m4_bpatsubst, and m4_bmatch.
* doc/autoconf.texi (Redefined M4 Macros): Adjust.
2001-10-08 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
2001-10-08 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
* tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
* tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
* tests/tools.at, tests/m4sh.at: Use it.
* tests/m4sh.at: Don't rely on Autoconf macros.
(DIRNAME_TEST): Also exercise the expr variant.
* tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
preferred M4sugar extension is now `.4s'.
* tests/README: Remove.
2001-10-08 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
(m4_provide_if): this.
* lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
* lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
(AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
2001-10-08 Akim Demaille <akim@epita.fr>
Use `add-log-current-defun-function' for ChangeLog creation.
Suggested by Tom Tromey.
* lib/emacs/autotest-mode.el (autotest-mode-map): New.
(autotest-mode): Adjust.
* lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
'comment-region onto `C-c ;'.
Comments are `#', not `dnl'.
(autoconf-current-defun): New.
(autoconf-font-lock-keywords): Recognize `m4_defun'.
2001-10-08 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
* lib/m4sugar/m4sh.m4: here.
(AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
* lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
(AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
include handle the m4_pattern_*, no longer push the
BODY diversion nor set the /bin/sh line, AS_INIT does it.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* tests/base.at: Adjust the tests to use AS_INIT.
* tests/tools.at (AT_DATA_FORBIDDEN): New.
(autoconf: forbidden tokens): Adjust to work on M4sh instead of
Autoconf.
2001-10-07 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (config.status Invocation):
CONFIG_SHELL defaults to a shell that supports LINENO if available.
* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
shell does not support LINENO, and if CONFIG_SHELL is unset or
empty, and if we can find a shell that does support LINENO,
then set CONFIG_SHELL to that shell and then re-execute
ourselves with CONFIG_SHELL.
2001-10-05 Paul Eggert <eggert@twinsun.com>
* tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
doesn't exist. Remove *.tmp, as a .tmp file is created during the
build of $(TESTSUITE).
2001-10-05 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
iff we are a bareword.
Reported by Raja R Harinath.
2001-10-05 Akim Demaille <akim@epita.fr>
* tests/m4sh.at (LINENO): New.
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
PATH_SEPARATOR before using it.
Fix the absolute path case/esac pattern.
Provide $0 as fallback for as_myself.
Reported by Raja R Harinath.
2001-10-05 Akim Demaille <akim@epita.fr>
* Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
* m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
2001-10-05 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
(AS_SHELL_SANITIZE): here. Use it.
(_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
From Paul Eggert.
2001-10-04 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
combination of Awk and sed to replace $LINENO.
2001-10-02 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Limitations of Builtins): You can't use
"source"; it's not portable. Remove confusing and
somewhat-incorrect example involving "." and "/".
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
compatibility with POSIX shells.
2001-10-02 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
instead of exec'ing to preserve $0 and $@.
2001-10-01 Akim Demaille <akim@epita.fr>
* tests/testsuite (AT_INIT) <at_pass_list>: New.
Don't run twice the same test.
2001-10-01 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
No longer output the list of tests.
<--list>: New option.
<--full-help>: Remove.
Complete the short/long options duality.
Various small adjustments.
2001-10-01 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Use @kbd for user input.
Always use `$' as shell prompt.
2001-09-30 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
Don't use nested parenthesization. This patch was originally
suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
but somehow it didn't get incorporated then.
* doc/autoconf.texi (Limitations of Usual Tools):
Clarify remark about sed and nested parenthesization.
* lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
Report an error if the size cannot be determined even though
the type exists.
* lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
Check for `expr' arithmetic overflow, and for compilation failure,
and invoke a new argument $4 if either is discovered.
This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
(_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
2001-09-28 Akim Demaille <akim@epita.fr>
* lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
* m4/lispdir.m4: New.
* aclocal.m4, configure.ac: Adjust.
2001-09-28 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_VICTIMS): Rename as...
(AT_TESTED): this.
(AT_INIT): More the wrapped section to where it will be expanded.
Output `AT_tested' only when existing.
Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
2001-09-27 Akim Demaille <akim@epita.fr>
Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
generates too many bug reports.
* lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
status when executing the ACTION-IF-FALSE.
* tests/base.at (AC_TRY_*): Rename as...
(AC_TRY_COMMAND): this.
(AC_RUN_IFELSE): New.
* tests/compile.at (Extensions, C keywords)
(AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
(Broken/missing compilers, AC_PROG_CPP with warnings)
(AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
* tests/c.at (Extensions, C keywords)
(Broken/missing compilers, AC_PROG_CPP with warnings)
(AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
(AC_PROG_CPP requires AC_PROG_CC): here and...
* tests/fortran.at (GNU Fortran 77): there.
* doc/autoconf.texi (autoconf Invocation): Fix the example:
AC_TRY_RUN is about compilation, not shell commands.
(Test Programs): AC_TRY_RUN works as used to be advertised.
2001-09-27 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
Raja R Harinath:
Be sure to detect when $LINENO always returns the same value.
Look for the original script, basename($0) is certainly not
enough.
Pass the CLI arguments to `$as_me.lineno'.
2001-09-25 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
Be sure the close and reopen the LOG fd before and after using tee
to extend the log.
<at_tests_pattern>: Adjust to the new format of at_help_all.
2001-09-23 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (parse_args): There can be several invocations
of --language now.
2001-09-23 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Top): Wrap in @ifnottex.
2001-09-23 Akim Demaille <akim@epita.fr>
* lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
(_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
builddir, buildpath, top_builddir, and top_buildpath.
(_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
the current directory.
* lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
variables *before* changing the current directory.
Skip nonexistent dirs.
* doc/autoconf.texi (Preset Output Variables): Document these
variables.
* lib/autotest/general.m4: Do not reset AT_victims.
Don't compute at_srcdir nor at_top_srcdir.
* tests/tools.at: Hence use top_srcdir.
* tests/Makefile.am, tests/autoconf, tests/autoheader,
* tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
Remove.
* tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
* tests/wrapsh.in, tests/autoupdate.in: New.
* tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
* configure.ac: Build the position independent wrappers.
* man/Makefile.am: Now that test wrappers are position
independent, use them and drop dark envvar magic.
2001-09-23 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Common Shell Constructs): Rename as...
(Programming in M4sh): this.
Promote to @section.
2001-09-23 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Dump config.log last.
Pass $at_debug_args to the rerun test suite.
* lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
* bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
From Paul Eggert.
2001-09-23 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
2001-09-23 Akim Demaille <akim@epita.fr>
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
over-escaping.
2001-09-23 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm (&debug): New.
* bin/autom4te.in ($language): Move to...
(parse_args): here.
Handle --language in languages.
* lib/autom4te.in (Automake-selections, Autoheader-selections)
(Autoscan-selections): New.
(Autoconf): Adjust.
2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
* m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
to match current versions from CVS Automake.
2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
* doc/autoconf.texi (Special Shell Variables): Add pdksh output
for $LINENO.
2001-09-22 Akim Demaille <akim@epita.fr>
* lib/autoconf/autotest.m4: Create `package.m4'.
* tests/Makefile.am (package.m4): Remove.
2001-09-22 Akim Demaille <akim@epita.fr>
Rely on `$LINENO' when possible instead of `__oline__'.
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
`$LINENO' support replacement when not supported.
(_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
them explicitly to be sure they are not output before this section
(via m4_require). Cosmetic only.
* lib/autoconf/c.m4, lib/autoconf/general.m4,
* lib/autoconf/programs.m4: Replace all the occurrences of
`__oline__' with `$LINENO'.
* doc/autoconf.texi (Special Shell Variables): Document LINENO.
2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
* lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
character (u: -> ue) in a code comment.
(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
it works.
2001-09-21 Akim Demaille <akim@epita.fr>
* Makefile.maint (AUTOM4TE): Neutralize autom4te.
Suggested by Jim Meyering.
2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
* lib/autoconf/programs.m4: Use extensions listed in
$ac_executable_extensions when looking for programs.
2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
* lib/autoconf/general.m4: Fix a small Englisho.
* lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
setting up ac_dir_suffix and ac_top_builddir.
* lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
* doc/autoconf.texi (File System Conventions): Clarify the use of
PATH_SEPARATOR.
(Special Shell Variables[PATH_SEPARATOR]): Ditto.
(Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
be used instead of ':'.
* lib/autotest/general.m4: Replace occurrences of ':' in
AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
* tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
arguments. Fixed a typo.
2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
* man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
$PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
* bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
* bin/autoupdate.in: Ditto.
* bin/autoheader.in: Reworded a few comments.
* bin/autoconf.in: Reworded help text for a few options.
* bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
* bin/autoscan.in, bin/autoupdate.in: Ditto.
2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
* lib/Autom4te/XFile.pm (open): Simplified the error message (we
already have $file). Set output files to binary mode (helps avoid
CR issues on DOSish systems).
2001-09-19 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4: Englishoes.
From Tim Van Holder and Alexey Mahotkin.
2001-09-18 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Common Shell Constructs): New node,
documenting AS_DIRNAME.
(Limitations of Usual Tools): Refer to it when discussing dirname.
Also, update discussion of POSIX standard to reflect latest draft.
* lib/autoconf/c.m4:
(AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
* lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
Do not pass a first argument with leading '-'
to expr, by parenthesizing initial integers that might be negative.
* doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
now merely checks whether it is an error to pass an argument
to getpgrp.
* lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
(AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
whether it is a (compile-time) error to pass an argument to
getpgrp. This simpler test supports the revised documentation,
and is all that AC_FUNC_GETPGRP's users really need.
2001-09-18 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Make) <$<>: New.
2001-09-18 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
`{}'.
* lib/autotest/general.m4 (AT_INIT): Adjust.
2001-09-18 Paul Wagland <paul@wagland.net>
* tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
correctly.
Add test for AS_BASENAME.
* lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
added test. It now correctly handles /1/2/3/, returning '3' not ''.
Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
* tests/base.at: Fixed the expected responses. The old ones were
one line out...
* lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
the documentation claims it should (and how it behaved in 2.13).
2001-09-18 Akim Demaille <akim@epita.fr>
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
the AC_CONFIG_COMMANDS invocation.
This also solves the name clash problems.
Don't set the package's ID.
* lib/m4sugar/Makefile.am (version.m4): Revamp.
No longer to be shipped.
(version.in): Remove.
* lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
* lib/autoconf/status.m4: Adjust.
Use `m4_PACKAGE_STRING'.
* lib/autotest/general.m4 (AT_INIT): N-th signature change: now
the only optional argument is the name of the test suite.
Expect `package.m4' to define the package signature.
* lib/autom4te.in (Autotest): Add `package.m4?'.
* tests/Makefile.am (package.m4): New.
* tests/suite.at: ifnames is a victim.
2001-09-18 Akim Demaille <akim@epita.fr>
* lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
AC_LIBSOURCE, AC_CONFIG_FILES.
* lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
program version string doesn't match the package's.
* lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
after `(cached)'.
2001-09-17 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
Allow expression to return any value that can fit into unsigned long
(not int, as before). Check for output errors.
2001-09-17 Bruno Haible <haible@ilog.fr>
* lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
Always include <stdio.h> and <stdlib.h>. Evaluate
the expression in an extra function before these includes. Call
fprintf "%d" only after ensuring the argument is of type 'int'.
Reported by Wayne Chapeskie <waynec@spinnaker.com>.
2001-09-17 Paul Eggert <eggert@twinsun.com>
Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
or CFLAGS=-O5. In that case, the linker has a relaxed view of
fatal errors, and AC_CHECK_LIB causes it to include libraries even
when they don't exist.
* lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
need it.
* lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
version with the version used by fileutils 4.1, except use
AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
we don't need it.
* doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
2001-09-13 Akim Demaille <akim@epita.fr>
* tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
_first_.
Reported by Gerrit P. Haase.
2001-09-13 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
m4_defn'ing is valid.
2001-09-13 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
* lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
Use it.
2001-09-13 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
m4_match.
(m4_re_escape): New.
* lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
* lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
* lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
Likewise.
* lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
(_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
* lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
AT_tests_all for consistency.
Set at_victims.
(AT_VICTIMS): Similar to AT_KEYWORDS.
(_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
2001-09-13 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
2001-09-13 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Create and remove
`$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
test suites can cohabit.
2001-09-13 Akim Demaille <akim@epita.fr>
* tests/mktests.sh: Don't output banners for empty test files.
2001-09-13 Akim Demaille <akim@epita.fr>
Test suites can be run independently of configure.
* lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
* lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
ECHO_N etc.
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
and at_c.
* lib/autotest/general.m4: Use ECHO_*.
2001-09-13 Akim Demaille <akim@epita.fr>
* bin/ifnames.in: Rewrite in Perl.
* configure.ac: Don't look for AWK.
* tests/tools.at (AWK portability): Remove.
(Syntax of the shell scripts): Don't check ifnames.
(AT_CHECK_PERL_SYNTAX): New.
(Syntax of the Perl scripts): Check ifnames.
* tests/ifnames: New.
2001-09-13 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Let --keywords also match
test group titles.
* tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
Remove all the other keywords.
2001-09-10 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
SETUP: no longer used.
Support -k, --keywords.
<at_help>: Be `no', `short', or `long'.
<at_help_all>: New variable.
(AT_KEYWORDS): New.
(AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
(_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
(_AT_CLEANUP_FILE_IF): Simplify the regexp.
(AT_SETUP): Reset AT_line, AT_keywords, AT_description.
No longer fill the HELP diversion.
(AT_CLEANUP): Use them.
* lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
(m4_list_append): Remove.
Spread a few keywords in the Autoconf test suite.
2001-09-10 Akim Demaille <akim@epita.fr>
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
PATH_SEPARATOR, let M4sh compute it.
* lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
* lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
Move to...
* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
Simplify when the path is not a literal.
(AS_UNAME): Use it to report PATH.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
(_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
* lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
normalize the path, and to look for victims.
* tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
(AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
2001-09-07 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
doesn't neutralize SIGINT, making autoconf etc. non interruptible.
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
related variables into `at_package_*'.
* lib/autotest/general.m4 (AT_VICTIMS): New.
(AT_INIT): Adjust for stand-alone/embedded test suites.
(AS_MESSAGE_LOG_FD): Define and use it.
* tests/suite.at (AT_VICTIMS): Use it.
* tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
at_version.
2001-09-07 Akim Demaille <akim@epita.fr>
Move toward possibly stand-alone test suites.
* lib/autotest/general.m4: Stop displaying srcdir everywhere as,
in addition, it introduces useless differences in logs.
(AT_INIT): Let atconfig and atlocal be both optional.
Adjust PATH computation.
* lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
2001-09-07 Akim Demaille <akim@epita.fr>
* lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
m4sugar/version.m4.
2001-09-05 Akim Demaille <akim@epita.fr>
* lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
to avoid GCC warnings.
From Uwe Seimet.
2001-09-05 Akim Demaille <akim@epita.fr>
* bin/autom4te.in: --language is -l, not -s.
2001-09-05 Akim Demaille <akim@epita.fr>
Be ready to handle filenames as stupid as `dnl.at', for if even
the maintainer is dumb enough to do that...
* lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
excellence in M4 quotation: consider `__file__' is active.
And BTW, when invoking m4, pass the --include in the right order:
the wrong one.
* bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
4m.
2001-09-05 Akim Demaille <akim@epita.fr>
* lib/Autom4te/XFile.pm: New lib file.
* bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
* bin/autoheader.in: Use it.
2001-09-05 Akim Demaille <akim@epita.fr>
* bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
defined.
2001-09-05 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
* bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
* bin/autoscan.in: Use `getopt' and `find_files' etc.
Add -I, --include support.
* doc/autoconf.texi (autoscan Invocation): Adjust.
2001-09-05 Akim Demaille <akim@epita.fr>
CVS GNU M4 doesn't like `undefine(undefined)'.
* bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
New, extracted from main.
Use IO::File wherever possible.
(input.m4): Be constant, use -I instead of hard coding $tmp.
Therefore be a quoted heredoc.
Don't invoke `_au_disable', since ac was not loaded, but just
`unm4.m4'.
2001-08-31 Akim Demaille <akim@epita.fr>
Version 2.52d.
2001-08-31 Akim Demaille <akim@epita.fr>
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
previous patch.
* tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
2001-08-31 Akim Demaille <akim@epita.fr>
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
serious problems handling heredocs in heredocs.
Reported by Nicolas Joly.
2001-08-31 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
(Making testsuite Scripts): Update.
2001-08-31 Akim Demaille <akim@epita.fr>
* lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
2001-08-31 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
(testsuite Scripts): There is no such thing as `atconfig.in'.
And actually one diagram is missing: test suite runtime.
2001-08-31 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm (&find_file): Browse the includes in the
inverse order.
2001-08-31 Akim Demaille <akim@epita.fr>
* bin/autoupdate.in (@include): `installcheck' revealed the path
to m4sugar was lacking!
2001-08-31 Akim Demaille <akim@epita.fr>
* man/Makefile.am (.x.1): We really have to pass
autom4te_perllibdir.
2001-08-31 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
debug scripts, in particular passing explicitly listed tests to
run is stupid.
2001-08-31 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (&parse_args): Strip `.' from `@include'.
* bin/autoupdate.in: Use --include, -I, and --force, -f, too.
Use directly autom4te, not autoconf.
* tests/autoupdate: $top_srcdir/lib is needed too for melt files.
2001-08-31 Akim Demaille <akim@epita.fr>
* tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
* bin/autoheader.in (%symbol): Strip arguments of macros.
2001-08-31 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Catch up -I, --include changes.
2001-08-31 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (&parse_args): Die on unknown languages.
* bin/autoheader.in: Run directly autom4te --mode=autoconf, no
need for autoconf.
Promote --include over --macrodir and other obsolete options.
2001-08-31 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm ($version, $help, &getopt): New.
* bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
* bin/autom4te.in ($autoconf): Pass --force.
`print $out' doesn't print `$_' but `$out'.
* tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
(autoheader): Pass --force since the test suite goes too fast for
the time stamps.
Adjust to the new autoheader messages.
2001-08-31 Akim Demaille <akim@epita.fr>
* bin/autoheader.in: Handle the acconfig.h etc. junk files.
Check the completeness of the #template.
* lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
* tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
invocation.
2001-08-31 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm (&find_file, &update_file): New.
* bin/autoupdate.in, bin/autoheader.in: Adjust.
Drop AC_MACRODIR dead for real.
* tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
`autoheader: `config.hin' is created'.
* tests/tools.at (Syntax of the Perl scripts): Check autoheader.
2001-08-31 Akim Demaille <akim@epita.fr>
* bin/autoheader.in: Rewrite in Perl.
* tests/autoheader: Adjust.
2001-08-31 Akim Demaille <akim@epita.fr>
* bin/autoconf.in (--include, -I): New option.
Map --localdir, --autoconf-dir onto it.
Forward autom4te's options instead of interpreting them.
* bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
There is no such envvar since the inception of autom4te.cfg.
* bin/autom4te.in (&parse_args): Uniquify `@include'.
* bin/autoupdate.in: Adjust, and perform more control.
* tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
* tests/autoconf: Dittowise.
2001-08-31 Akim Demaille <akim@epita.fr>
* bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
* bin/autom4te.in (&find_file): Support `FILE?' standing for
optionally `FILE'.
Use -e, not -f, since /dev/null for instance is OK.
(&parse_args): Adjust.
* lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
2001-08-31 Akim Demaille <akim@epita.fr>
* configure.ac: Also find tested executables in bin.
* bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
* bin/autoscan.in, autoupdate.in: Use exclusively the name of the
installed peer executables, only PATH is allowed to resolve it.
Pass `autoconf_dir' via options, not via invisible envvars.
* lib/Autom4te/General.pm (&find_peer): Remove.
* lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
`abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
* man/Makefile.am: Let help2man rely on PATH instead of trying to
find the executables for it.
* tests/Makefile.am: Major cleanup. Too lazy to document...
* tests/atlocal.in: Remove all the obscure envvar manipulations.
We only need PERL.
* tests/atspecific.m4, tests/tools.at: Passing --localdir is
indeed related to running the test suite, while passing
--autoconf-dir and others is related to running non installed
Autoconf executables. So don't do that, leave it to...
* tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
* tests/autoscan: New.
* tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
refer to library files: rely on --language.
2001-08-29 Akim Demaille <akim@epita.fr>
* bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
s/--set/--language/.
2001-08-29 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Strip the @nodes.
Suggested by Paul Eggert.
(Initializing configure): Typo.
2001-08-29 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (&handle_output): s/@__@/@&t@/.
Suggested by Paul Eggert.
2001-08-29 Akim Demaille <akim@epita.fr>
* Makefile.maint (do-po-update): Wget refuses to overwrite files:
download in a tmp dir.
2001-08-29 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
case insensitive OSes out there :(
From Tim Van Holder.
2001-08-29 Akim Demaille <akim@epita.fr>
* lib/autom4te.in: New.
* lib/Makefile.am (edit, autom4te.cfg): New.
* bin/autom4te.in (BEGIN): Simplify.
Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
(&load_configuration): New. Use it.
(&parse_args): Support --mode, --set, and --melt.
* bin/autoconf.in: Simplify and adjust.
* tests/Makefile.am (AUTOMAKE): Use --set.
* tests/atlocal.in: Adjust.
* BUGS: distcheck and check are weak.
2001-08-29 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4: Use
foo=`(command) 2>/dev/null`
not
foo=`command` 2>/dev/null
(at-devnull): Rename as...
(AT-devnull): this.
(--clean): Remove AT-* files too.
* doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
Reported by Nicolas Joly.
2001-08-28 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
quotes inside single quotes.
Reported by Nicolas Joly.
2001-08-28 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Function Portability): Mention C right shifts.
2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
* lib/autotest/general.m4: Reword some messages.
(AT_INIT): Check for the `times' builtin before using it.
Support test ranges as arguments to the testsuite.
Have -e imply -d as the help text suggested.
2001-08-27 Akim Demaille <akim@epita.fr>
* Makefile.maint: Formatting changes.
(do-po-update, po-update, cvs-update, update): New targets.
(AMTAR): Remove.
2001-08-27 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
<at_cmd_line>: New.
Pass it to debug-*.sh scripts.
<AUTOTEST_PATH>: May contain absolute dir names.
2001-08-27 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Log the command line.
Support `VAR=VAL' as arguments.
Compute PATH _after_ the options processing, so that AUTOTEST_PATH
may be set via the command line.
2001-08-27 Akim Demaille <akim@epita.fr>
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
* lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
first the build dirs, then the src dirs.
* configure.ac (AC_CONFIG_TESTDIR): Adjust.
2001-08-27 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Output the definition of
at_data_files earlier.
(--clean, -c): New option.
* tests/Makefile.am: Use this option.
2001-08-27 Akim Demaille <akim@epita.fr>
* lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
`ac_top_builddir' to mimic Automake's vocabulary, which much more
readable.
Adjust callers.
* doc/autoconf.texi (Configuration Actions): Document the vars
available in commands.
Emphasize the risks of collisions in init-cmds.
2001-08-27 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Input) <AC_INIT>: Move to..
(Initializing configure): this new node.
2001-08-27 Akim Demaille <akim@epita.fr>
* Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
2001-08-27 Akim Demaille <akim@epita.fr>
* m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
New file.
* m4/Makefile.am (EXTRA_DIST): Oops, adjust...
2001-08-27 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
to...
* lib/autoconf/autoheader.m4: this new file.
* lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
(_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
Move to...
* lib/autoconf/autoupdate.m4: this new file.
2001-08-27 Akim Demaille <akim@epita.fr>
* lib/autoconf/status.m4 (_AC_SRCPATHS): New.
(_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
-> ac_dir).
(_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
* lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
2001-08-27 Akim Demaille <akim@epita.fr>
* lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
(AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
(AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
(AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
(AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
(AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
(AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
(AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
(AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
(_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
(_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
(_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
(_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
(_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
(_AC_OUTPUT_SUBDIRS): Move to...
* lib/autoconf/status.m4: this new file.
* lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
* tests/Makefile.am, tests/suite.at: Adjust.
2001-08-27 Akim Demaille <akim@epita.fr>
Automake 1.5.
* Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
(AMTAR): Help automake define it.
(INSTALL, install-data-hook): The INSTALL.txt trick is no longer
needed, 1.5 can have a macro and a target with the same name.
* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
* m4/strip.m4: New.
* m4/init.m4, m4/sanity.m4: Update.
* doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
* lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
* lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
* lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
2001-08-27 Akim Demaille <akim@epita.fr>
Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
* lib/autoconf/version.in: Remove.
* lib/m4sugar/version.in: New.
* lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
Adjust callers.
* bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
the name of the directory they're in, instead of the filename,
since version.m4 is now in m4sugar, but m4_acversion must not be
classified as an Autoconf macro.
($input_m4): Don't qualify the path to m4sugar.
Rather, pass autoconf_dir to m4.
* tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
* tests/suite.at: Require 2.52c.
2001-08-27 Akim Demaille <akim@epita.fr>
testsuite.log should include config.log.
* lib/autotest/autotest.m4: New.
* lib/autotest/general.m4, tests/atspecific.m4: Adjust.
* tests/suite.at : Adjust.
(AT_INIT): Log config.log.
* lib/m4sugar/m4sugar.m4 (m4_text_box): New.
* lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
* lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
(_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
of config.log on traps.
(_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
for config.status'.
Open the log as soon as possible.
Use the same log introduction as configure's.
2001-08-22 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Indices): New node.
Move indices out of the top level menu and into this submenu.
2001-08-22 Akim Demaille <akim@epita.fr>
* lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
AC_TRY_COMMAND.
(AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
2001-08-22 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
(AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
(AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
* lib/autoconf/programs.m4: here.
* lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
(AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
(AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
* lib/autoconf/programs.m4: here.
(_AC_DECL_YYTEXT): Rename as...
(_AC_PROG_LEX_YYTEXT_DECL): this.
* lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
* tests/Makefile.am, tests/suite.am: Adjust.
2001-08-22 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
Move to...
* lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
here.
* lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
* lib/autoconf/functions.m4: here.
* lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
(AH_CHECK_LIB): Move to...
* lib/autoconf/libs: this new file.
* lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
(_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
* lib/autoconf/libs.m4: here.
* lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
2001-08-22 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
* lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
(AC_SITE_LOAD): Better logging of config.site.
2001-08-20 Akim Demaille <akim@epita.fr>
* configure.ac (AT_CONFIG): Fix the path.
* m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
can be used.
2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
program with AC_LANG_PROGRAM before feeding it to
AC_COMPILE_IFELSE. Cleanup grep usage.
2001-08-20 Akim Demaille <akim@epita.fr>
* ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
* NEWS, README, README-alpha, TODO, tests/README: This package is
`Autoconf', not `autoconf' (the executable).
2001-08-20 Akim Demaille <akim@epita.fr>
Info readers seem to need `Index' in the index node title :(
* doc/autoconf.texi: Reverse the 2001-08-15 change which
simplified index node names.
2001-08-20 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
arguments are not literals.
* doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
Specify the output variables, and macros defined.
2001-08-20 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
(Examining Syntax) <AC_TRY_COMPILE>
(Examining Libraries) <AC_TRY_LINK>
(Test Programs) <AC_TRY_RUN>: These macros double quote some of
their arguments.
Reported by Werner Lemberg.
2001-08-20 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
Load atlocal late enough to dump it in the log.
* m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
2001-08-20 Akim Demaille <akim@epita.fr>
* tests/torture.at (Configuring subdirectories): New test.
* lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
looking for.
* m4/atconfig.m4: Be sure the let $[0] be expandable.
(top_srcdir): Fix its computation.
2001-08-20 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
* m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
test suite lives.
Create `atconfig' automagically.
Configure atlocal.in if present.
* tests/atconfig.in: Remove.
* tests/atlocal.in: New.
* tests/Makefile.am: Adjust.
2001-08-20 Akim Demaille <akim@epita.fr>
Huh!?!?! There are still some user EOF tags used, which prevents
their use in AC_CONFIG_COMMANDS for instance...
* lib/autoconf/general.m4, lib/autoconf/specific.m4,
* lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
`_CSEOF', or `_ATEOF', as appropriate.
* lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
* lib/autotest/Makefile.am (check-local): Enforce this constraint.
2001-08-20 Akim Demaille <akim@epita.fr>
* tests/base.at, tests/m4sh.at, tests/m4sugar.at,
* tests/semantics.at, tests/tools.at, tests/torture.at:
s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
2001-08-20 Akim Demaille <akim@epita.fr>
Autotest invokes M4sh's initialization.
* lib/autotest/general.m4: Adjust the diversion names.
(AT_INIT): Run AS_INIT.
Use the BINSH diversion to invoke /bin/sh.
* tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
* tests/torture.at: Respect M4sugar and M4sh macro name spaces.
2001-08-20 Akim Demaille <akim@epita.fr>
Let M4sh have its own diversions.
* lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
(_m4_divert(NOTICE)): Rename as...
* lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
(_m4_divert(HEADER-COMMENT)): these.
(_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
(_m4_divert(NOTICE)): New, for Libtool.
* lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
long ago with `_m4_divert(GROW)'.
(AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
2001-08-20 Akim Demaille <akim@epita.fr>
* tests/base.at, tests/compile.at, tests/foreign.at,
* tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
* tests/semantics.at, tests/suite.at, tests/tools.at,
* tests/torture.at: Ask Autotest mode, not Autoconf mode.
2001-08-20 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (handle_output): Handle @__@.
2001-08-20 Akim Demaille <akim@epita.fr>
* lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
* lib/autotest/general.m4: Adjust the license.
2001-08-17 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Function Portability): Mention snprintf,
following up on a suggestion by Kevin Ryde.
2001-08-17 Akim Demaille <akim@epita.fr>
* doc/install.texi, doc/autoconf.texi: Use `autoconf', not
`autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
2001-08-17 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
`$0.log' as for projects where testsuite is in src, we'd have
testsuite.log created in src.
2001-08-17 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (&parse_args): Recognize --normalize.
2001-08-17 Akim Demaille <akim@epita.fr>
Start implementing the AC_CHECK_HEADER transition scheme.
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
(_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
(AC_CHECK_HEADER): Use them.
2001-08-17 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Work around Texinfo buglets.
(Transformation Rules): One example is enough, users are expected
to have their brains on. And BTW, use DESTDIR.
(dvar): New macro. Use it.
2001-08-17 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
* lib/autotest/general.m4 (AT_INIT): Use the relative dir when
looking for ChangeLogs.
2001-08-17 Akim Demaille <akim@epita.fr>
* bin/autom4te.in: --normalize is a new option.
* bin/autoconf.in: Use it.
2001-08-17 Akim Demaille <akim@epita.fr>
* bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
* lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
2001-08-16 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi, doc/install.texi: Put copyright notice at
start, not at end.
2001-08-15 Akim Demaille <akim@epita.fr>
* doc/Makefile.am (fu): New index, can't use fn because of defmac.
Use it.
2001-08-15 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (pr): New index.
(prindex, findex): Use, merge, and output them.
(Environment Variable Index, Output Variable Index)
(Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
(Autotest Macro Index): Rename as...
(Environment Variables, Output Variables,Preprocessor Symbols)
(Autoconf Macros, M4 Macros, Autotest Macros): these.
* doc/install.texi: Use @command.
(Environment Variables): Rename as...
(Defining Variables): this.
2001-08-15 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Function Portability): sprintf's return
value.
From Kevin Ryde.
2001-08-15 Akim Demaille <akim@epita.fr>
* Makefile.maint (CVS): New.
(local-check): Run changelog-check. last.
(alpha): Don't depend upon local-check, since...
(cvs-dist): depends upon it.
2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
* tests/Makefile.am: Use a clean-local rule to remove
autom4te.cache (it's a directory, not a file.
* Makefile.am: Ditto (but maintainer-clean-local).
2001-08-15 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (@m4_warning): New.
(&handle_m4): Use it.
* tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
warnings are issued at each run.
* tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
is in the src tree.
2001-08-15 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
don't waste time running `autoupdate --version' works.
* tests/tools.at (autoupdating AC_PREREQ): Likewise.
2001-08-13 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (ma): Rename this index as...
(ac): this.
2001-08-13 Akim Demaille <akim@epita.fr>
* Makefile.am: Remove dead code and dead comments.
(pdf, html): New targets.
* doc/autoconf.texi (Using Autotest): New chapter.
* doc/Makefile.am (pdf): New targets.
(CLEANFILES): Adjust.
2001-08-13 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
duration of the test suite.
2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
endianness for comparison instead of relying on AT_CHECK_ENV.
2001-08-11 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi, doc/install.texi: Add a copyright notice
to the INSTALL file.
2001-08-11 Paul Eggert <eggert@twinsun.com>
* NEWS: The autoconf manual now is distributed under the terms
of the GNU Free Documentation License.
* doc/autoconf.texi: Switch from old style copyright notice to FDL.
Add an appendix "Copying This Manual" for the FDL.
* doc/fdl.texi: New file, from
<http://www.gnu.org/licenses/fdl.texi>.
* doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
2001-08-10 Paul Eggert <eggert@twinsun.com>
* AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
m4/sanity.m4, tests/README, tests/aclocal.m4,
tests/atspecific.m4, tests/base.at, tests/compile.at,
tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
tests/semantics.at, tests/suite.at, tests/tools.at,
tests/torture.at: Add copyright notice.
* tests/mktests.sh: Update year in copyright notice.
2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/semantics.at (AC_C_BIGENDIAN): New test.
2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
* doc/autoconf.texi (C Compiler Characteristics): Update
documentation for AC_C_BIGENDIAN.
2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
magic values from an object file when cross-compiling.
Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
2001-08-10 Akim Demaille <akim@epita.fr>
* bin/autom4te.in (&handle_output): Don't use `grep' with side
effects.
Suggested by Russ Allbery.
2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
current $prefix to the sub-configures.
2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
* lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
extension (needed on BeOS). Reported by Guido van Rossum.
2001-08-09 Akim Demaille <akim@epita.fr>
* bin/autom4te.in ($icache): Load it only if older than autom4te.
2001-08-07 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
removed.
(at-setup-line): Huh? Be a variable `at_setup_line', not a file.
No need to remove the files before and after the each test, before
each test and at the end of the suite is enough.
Display only the children `times', not the shell's.
If the test failed or was skipped, at-times is not available.
2001-08-07 Akim Demaille <akim@epita.fr>
Always produce testsuite.log, including when there are no
failures. This helps getting information on skipped tests, and
duration of the tests. Err, implement the latter btw.
* lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
Dump information on the first run of each test.
(AT_CLEANUP): Create `at-times' containing the duration of the
test group.
2001-08-07 Akim Demaille <akim@epita.fr>
The use of `dumpstat' revealed that `len' was used although it
should not. m4_text_wrap was using it, but in the Autoconf world
where it is legal. Hence (i) test M4sh in its own world, not
Autoconf's, and (ii), ahem, fix the bug :)
* lib/autotest/general.m4: Be sure the set good quotes, as tracing
does not like `' instead of [].
(AT_INIT): Forbid `^_?AT_'.
And don't output such tokens.
* tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
`script.as', and `autom4te.cache'.
Remove `empty' and `macro' which are no longer used.
* tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
* tests/m4sugar.at: Use it.
* lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
2001-08-07 Akim Demaille <akim@epita.fr>
* bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
* bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
2001-08-04 Akim Demaille <akim@epita.fr>
* lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
(AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
AC_TRY_LINK.
* lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
* lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
(AC_F77_MAIN): Likewise.
2001-08-04 Akim Demaille <akim@epita.fr>
Don't rely on M4sugar outputting the patterns in files, since we
might process the output _without_ running m4, hence without these
files.
* lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
* bin/autom4te.in (@Request::includes): Remove, unused.
(@Request::source): Rename as...
(@Request::input): this.
(@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
(&handle_output): Fetch the patterns from the traces.
`$forbidden' and `$allowed' are constant: use m//o.
(&handle_m4): M4sugar no longer wants `m4_tmpdir'.
(m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
2001-08-04 Akim Demaille <akim@epita.fr>
`autoconf && autoheader' is sped up. Now, speed up `autoheader &&
autoconf', i.e., in addition to caching traces, cache the output.
* bin/autom4te.in (Request::cache): Rename as...
(Request::id): this.
($cache, $icache, $tcache, $ocache): New.
(&handle_m4): Save M4 output in the cache instead of $tmp.
(&handle_output): Adjust.
(&up_to_date_p): Check that the output cache is up to date too.
(top level): Run `&handle_m4' iff force or the cache is invalid.
Run `&handle_output' if the output cache is more recent.
2001-08-04 Akim Demaille <akim@epita.fr>
* bin/autom4te.in ($force): New.
(&parse_args, &print_usage): -f, --force is a new option.
(&handle_output): CPP directives might have spaces after `#'.
(&parse_args): The first file only can be frozen.
2001-08-04 Akim Demaille <akim@epita.fr>
Don't let autom4te compute the `include' traces several times:
first check that the trace cache file is up to date, and then
compare its timestamp with that of the output.
* bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
the preamble. Don't require 5.005 as Autom4te::General does it,
and better yet (use `use', not `require'!).
* lib/Autom4te/Struct.pm: Rename the last occurrences of
Class::Struct as Autom4te::Struct.
* lib/Autom4te/General.pm (File::stat): Use it.
(&mtime): New, export it.
* bin/autom4te.in: Use it.
Declare `$req' is invalid if it is outdated.
Don't declare it valid before saving it if something went wrong.
2001-08-04 Akim Demaille <akim@epita.fr>
Autom4te shall not encode Autoconf data, and preselecting traces
must be proposed to the users.
* bin/autom4te.in (@required_trace): Remove.
(@preselect): New.
(&parse_args, &print_usage): -p, --preselect is a new option.
(&up_to_date_p): Adjust.
* bin/autoconf.in: Preselect some Autoconf macros.
2001-08-04 Akim Demaille <akim@epita.fr>
* tests/tools.at (autoconf --trace: user macros): Check traces on
macros invoked without arguments, and macros invoked with multiple
lines arguments.
2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
* bin/autom4te.in (handle_traces): Fix rewriting of traces without
arguments.
2001-08-03 Akim Demaille <akim@epita.fr>
* bin/autoconf.in ($@): Work around the usual sh bug.
From Nicolas Joly.
2001-08-03 Akim Demaille <akim@epita.fr>
Clean up the handling of the M4 builtins tracing exception.
* bin/autom4te.in (Request::request): Don't complete M4 builtins
trace requests.
(@m4_builtins): Rename as...
(@m4_builtin): this.
(%m4_builtin_alternate_name): New.
(&parse_args): Complete the trace requests with alternate names.
(&handle_traces): Hence no longer do it here.
(&trace_requests): Remove, unused.
2001-08-03 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
m4_if, and m4_wrap.
2001-08-03 Akim Demaille <akim@epita.fr>
* lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
(m4_divert_pop): Dump the whole diversion stack when a diversion
mismatch happens.
* bin/autom4te.in (&handle_output): Remember of the first
occurrence of a possibly undefined macro, not the last.
Complain about the possibly undefined macros in the same order as
the appear in the output.
* lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
* tests/tools.at (autoconf: forbidden tokens, basic)
(autoconf: forbidden tokens, exceptions): No longer sort
autoconf's stderr, as it is now deterministic.
Check that `dnl' is caught.
2001-08-01 Akim Demaille <akim@epita.fr>
* configure.ac: Bump to 2.52c.
2001-08-01 Akim Demaille <akim@epita.fr>
Version 2.52b.
* lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
2001-08-01 Akim Demaille <akim@epita.fr>
Version 2.52a.
2001-08-01 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
`die'.
(&END): New.
* bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
`END', as `Autom4te::General::END' will be triggered.
* bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
* bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
system to run `mv', `rm', and `cmp'.
2001-08-01 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm (&unique): New.
* bin/autoscan.in (&output): Use it to issue trace requests once.
2001-08-01 Akim Demaille <akim@epita.fr>
* lib/Autom4te/General.pm: New.
* bin/autom4te.in (Autom4te::General): Use it.
($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
(&find_configure_ac, &find_slave): Remove.
* bin/autoscan.in: Likewise.
* bin/autoupdate.in: Likewise.
2001-08-01 Akim Demaille <akim@epita.fr>
* autoconf.in, autom4te.in, autoscan.in, ifnames.in,
* autoheader.in, autoreconf.in, autoupdate.in: Move to...
* bin: here, new directory.
* lib/Autoconf: Rename as...
* lib/Autom4te: this, to please case insensitive junkie OSes.
2001-08-01 Akim Demaille <akim@epita.fr>
* autom4te.in ($m4): Handle the --nesting-limit.
* autoconf.in (M4): Remove.
2001-08-01 Akim Demaille <akim@epita.fr>
* autoconf.in ($AWK): Remove, no longer used.
* test/tools.at: Use AT_CHECK_AUTOCONF.
(AWK portability): Remove, for autoconf no longer uses AWK.
(Syntax of the Perl scripts): New.
* configure.ac: autoconf no longer needs an AWK with a good
regexp engine.
Use a static test on AC_PACKAGE_VERSION.
* autom4te.in (&up_to_date_p): Output depends on the arguments.
* lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
* tests/atconfig.in (PERL): New.
2001-08-01 Akim Demaille <akim@epita.fr>
* lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
(AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
(AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
(AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
(AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
(AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
(AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
(AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
(AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
(AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
(AC_PROG_CC_STDC, 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): Move to...
* lib/autoconf/c.m4: here, new file.
* lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
(_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
(AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
(AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
(ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
(_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
(AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
(_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
(AC_F77_FUNC): Move to...
* lib/autoconf/fortran.m4: here, new file.
2001-08-01 Akim Demaille <akim@epita.fr>
* acfunctions.m4: Rename as...
* lib/autoconf/functions.m4: this.
* acgeneral.m4: Rename as...
* lib/autoconf/general.m4: this.
* acheaders.m4: Rename as...
* lib/autoconf/headers.m4: this.
* aclang.m4: Rename as...
* lib/autoconf/lang.m4: this.
* acoldnames.m4: Rename as...
* lib/autoconf/oldnames.m4: this.
* acspecific.m4: Rename as...
* lib/autoconf/specific.m4: this.
* actypes.m4: Rename as...
* lib/autoconf/types.m4: this.
* autoconf.m4: Rename as...
* lib/autoconf/autoconf.m4: this.
* m4sugar.m4: Rename as...
* lib/m4sugar/m4sugar.m4: this.
* m4sh.m4: Rename as...
* lib/m4sugar/m4sh.m4: this.
* tests/atgeneral.m4: Rename as...
* lib/autotest/general.m4: this.
* acfunctions: Rename as...
* lib/autoscan/functions: this.
* acheaders: Rename as...
* lib/autoscan/headers: this.
* acidentifiers: Rename as...
* lib/autoscan/identifiers: this.
* aclibraries: Rename as...
* lib/autoscan/libraries: this.
* acmakevars: Rename as...
* lib/autoscan/makevars: this.
* acprograms: Rename as...
* lib/autoscan/programs: this.
2001-08-01 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Moving/deleting open files is not portable.
Portability issues for `.' (source), and more information about sed.
2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
which has a special meaning and is not a reference to libibmil.a.
Reported by Matteo Frigo.
2001-07-25 Pavel Roskin <proski@gnu.org>
* autom4te.in (mktmpdir): Strip trailing newline from mktemp
output.
2001-07-25 Akim Demaille <akim@epita.fr>
* autoconf.in: Try to define the variables before using them.
* autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
instead of `$perllibdir'.
* tests/atconfig.in ($autom4te_perllibdir): Export it.
2001-07-25 Akim Demaille <akim@epita.fr>
* autoconf.in (ac_LF_and_DOT): Remove, unused.
2001-07-24 Akim Demaille <akim@epita.fr>
Let autoconf use autom4te for traces.
* autoconf.in ($task, task trace): Remove, merely pass --trace to
autom4te.
* autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
(Because I found no way for autom4te to accept `-').
* autom4te.in (&Request::request): Beware of M4 builtins.
(END): Don't try to remove the content of an empty dir.
(&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
(&handle_output): Set a default value to `$forbidden'.
* autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
($autoconf): Pass --debug and --verbose.
* tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
cache.
2001-07-24 Akim Demaille <akim@epita.fr>
Let autoconf use autom4te to create configure.
* autoconf.in ($automate): New var.
(task script): Use autom4te.
* autom4te.in (File::Spec): Use it.
(&find_file): New.
(&parse_args): --warning is -W, not -w.
Find the top level files.
(&handle_m4): Pass the warnings flags.
Don't report verbosely m4's failures, unless requested.
(&handle_output): Don't complain for forbidden tokens in comments.
Be sure to report all the forbidden tokens within a single line.
(&trace_format_to_m4): Preserve `$_'.
(&handle_traces): Sort the output macros.
(&up_to_date_p): Find the files before trying to get its time stamp.
2001-07-24 Akim Demaille <akim@epita.fr>
* Makefile.am: Ship, build and install Autom4te.
(SUBDIRS): Add lib.
* lib/Autoconf/Struct.pm: New, from Automake 1.5.
* configure.in: Require Perl.
* man/autom4te.in: New.
2001-07-19 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
example, rather than (exit 1); exit (which isn't portable).
2001-07-18 Akim Demaille <akim@epita.fr>
Version 2.52.
2001-07-18 Akim Demaille <akim@epita.fr>
The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
was run, while they are needed also when it is expanded.
Reported by Nicolas Joly.
* aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
(AC_LANG_PROGRAM(C)): Use it instead of depending upon
AC_F77_DUMMY_MAIN being expanded.
2001-07-18 Akim Demaille <akim@epita.fr>
* configure.in: Bump to 2.51a.
2001-07-17 Akim Demaille <akim@epita.fr>
Version 2.51.
2001-07-17 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
2001-07-17 Akim Demaille <akim@epita.fr>
The runtime test for AC_FUNC_GETPGRP fails when prototypes are
used. Well, then use the prototypes when you can, and runtime as
a last resort.
Reported by Artur Frysiak
* acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
(AC_FUNC_GETPGRP): Use it.
First try to compile with 0-ary or 1-ary calls.
2001-07-17 Akim Demaille <akim@epita.fr>
* actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
replacement type.
From Paul Eggert.
2001-07-17 Akim Demaille <akim@epita.fr>
* Makefile.maint: Sync. with cppi 1.10.
2001-07-17 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
AC_F77_DUMMY_MAIN has been run.
From Pavel Roskin and Steven G. Johnson.
2001-07-17 Akim Demaille <akim@epita.fr>
* configure.in: Rename as...
* configure.ac: this.
2001-07-17 Akim Demaille <akim@epita.fr>
* Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
rules.
From Marc Espie.
* Makefile.maint (release-archive-dir): Rename as...
(release_archive_dir): this, so that it can be specialized in
Makefile.
2001-07-14 Akim Demaille <akim@epita.fr>
* configure.in: Bump to 2.50d.
2001-07-14 Akim Demaille <akim@epita.fr>
Version 2.50c.
* Makefile.maint (alpha): Typo.
2001-07-14 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Make): Macro names and underscore.
2001-07-14 Akim Demaille <akim@epita.fr>
* config/config.guess, config/config.sub, config/texinfo.tex
* doc/standards.texi, doc/make-stds.texi: Update.
2001-07-14 Akim Demaille <akim@epita.fr>
* Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
2001-07-14 Akim Demaille <akim@epita.fr>
* Makefile.maint (maintainer-check): Rename as...
(maintainer-distcheck): this.
(changelog-check, static-check): New.
Use them.
2001-07-14 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (C++ Compilers Characteristics): Last resort
for CXX is g++, not gcc.
2001-07-14 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Files): New subsection.
2001-07-14 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
of...
(Generic Compiler Characteristics): this.
(C++ Compiler): New subsection.
2001-07-14 Akim Demaille <akim@epita.fr>
* autoscan.in: Use IO::File.
Adjust all the routines to use it.
($log): New file (autoscan.log).
(output): Dump detailed logs into $log, and a shortened version to
stderr.
(&scan_makefile): Refine the regexp catching tokens in the code.
* doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
and the `configure.ac' checking feature.
2001-07-12 Akim Demaille <akim@epita.fr>
For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
Reported by Michael Elizabeth Chastain.
* autoconf.in: Refuse such AWK.
* configure.in: Likewise.
* Makefile.am (acversion.m4): Do not use move-if-change this file
has dependencies.
* doc/autoconf.texi (Fortran 77 Compiler): Some typos.
2001-07-10 Jens Petersen <petersen@redhat.com>
* autoscan.in (&scan_makefile): Improve programs regexp to parse
things like "g++", "file.c" and "some-conf" as tokens.
(&scan_file): Match C++ files extensions.
If the filename extension is C++ then ask for c++.
2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
* aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
AC_TRY_LINK_FUNC, to check whether defining a dummy
main-like routine is needed for linking with F77 libs.
2001-07-05 Pavel Roskin <proski@gnu.org>
* aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
after using break.
(_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
linking.
2001-07-05 Akim Demaille <akim@epita.fr>
* Makefile.am (move_if_change): New. Use it instead of `mv'.
(acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
Makes' lives.
Reported by Nicolas Joly.
2001-07-04 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
up.
* acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
warnings from compilers.
* aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
for all the compilers, not only GNU. Hence move from here...
(AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
2001-07-04 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
(AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
AC_COMPILE_IFELSE.
2001-07-04 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
the ``strings.h'' change claimed below.
2001-07-04 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
2001-07-04 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
strings.h if usable with string.h.
Suggested by Paul Eggert.
2001-07-04 Akim Demaille <akim@epita.fr>
* autoscan.in (&scan_file): Skip FILE if there is FILE.in.
From Jens Petersen.
2001-07-03 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
etc. in the log.
2001-07-03 Akim Demaille <akim@epita.fr>
* acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
compiler, not the preprocessor.
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
the right thing.
* Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
earlier if there are.
2001-07-03 Akim Demaille <akim@epita.fr>
* autoscan.in ($initfile): Remove.
(&find_file): Rename as...
(&scan_file): this.
Immediately scan the current file, instead of gathering them, and
later having them handled by &scan_files.
(&scan_files): Merely invoke Find::File.
Adjust.
2001-07-02 Akim Demaille <akim@epita.fr>
* autoscan.in: Formatting changes, matching the invocation order.
(File::Find): Use it instead of Perl 4's `find.pl'.
(&wanted): Rename as...
(&find_file): this.
2001-07-01 Pavel Roskin <proski@gnu.org>
* aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
break in the argument to AC_TRY_LINK_FUNC.
(AC_F77_MAIN): Remove conftest* after using break in the
argument to AC_TRY_LINK.
2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
Add alternate 'main' routine detection for linking C/C++ with Fortran,
fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
* aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
dummy alternate main is required even if the user provides her own
'main'.
(AC_F77_MAIN): New macro to detect whether it is possible to
provide an alternate 'main' function name, using the 'main' from
the Fortran libraries.
(AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
cross-language link tests can be performed successfully.
(_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
after $LIBS, for consistency; this should be the general rule since
the user may want to link to Fortran libraries that require $FLIBS.
* doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
2001-06-29 Pavel Roskin <proski@gnu.org>
* atgeneral.m4 (AT_CHECK): Add a newline to the end of
at-stdout and at-stderr instead of removing the newline
from the echo output, which is not guaranteed to work.
2001-06-28 Jens Petersen <petersen@redhat.com>
* aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
confdefs.h when non-zero.
2001-06-28 Akim Demaille <akim@epita.fr>
* configure.in: Bump to 2.50c.
2001-06-26 Akim Demaille <akim@epita.fr>
Version 2.50b.
2001-06-26 Akim Demaille <akim@epita.fr>
Version 2.50a.
2001-06-25 Pavel Roskin <proski@gnu.org>
* tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
argument, AUTOCONF-FLAGS.
* tests/mktests.sh (update_exclude_list): Add
AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
* tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
AC_FUNC_WAIT3 with "-W no-obsolete".
2001-06-25 Akim Demaille <akim@epita.fr>
* tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
2001-06-25 Akim Demaille <akim@epita.fr>
* autoscan.in (%macro): Now maps from word to list of macros.
(&init_tables): Die when a word which is already handled by
explicit macros is mapped to the default macro.
(&print_unique): Remove, inlined in...
(&output_kind): here.
(File::Basename): Use it.
(&output): Sort the CONFIG_FILES.
* acheaders: Normalize.
* acfunctions: Likewise.
2001-06-25 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
characteristics in the logs.
Suggested by Mo DeJong.
2001-06-24 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
(AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
* doc/autoconf.texi (Autoconf 2.13): New section.
2001-06-24 Akim Demaille <akim@epita.fr>
* autoconf.in (Task traces): Separate the error messages from the
traces to improve robustness.
2001-06-23 Akim Demaille <akim@epita.fr>
* tests/torture.at (AC_ARG_VAR): Make it a single test instead of
three as failures are unlikely, and speed matters.
2001-06-23 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Redefined M4 Macros): New.
2001-06-23 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
5.3.
2001-06-23 Paolo Bonzini <bonzini@gnu.org>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
config.status targets to after the evaluation of the INIT-CMDS.
Double quote config.status targets (used to be single quoted).
2001-06-23 Akim Demaille <akim@epita.fr>
* tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
Check the content of the created file.
Check the ./config.status command line invocation.
2001-06-23 Akim Demaille <akim@epita.fr>
* tests/foreign.at (Libtool): Reject prehistoric versions.
2001-06-23 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
preexisting files matching a.*.
2001-06-23 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
stderr.
* doc/autoconf.texi (AC_ARG_VAR): Update.
2001-06-21 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
precious variables have changed.
* tests/torture.at (AC_ARG_VAR): Adjust.
2001-06-21 Akim Demaille <akim@epita.fr>
./configure --program-suffix=foo produces `transform=s,$$,foo,;',
but some sed choke on multiple `;', and other tools (e.g.,
Automake), include the separator themselves.
* acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
* doc/autoconf.texi (Functions Portability): Rename as...
(Function Portability): this.
(Function Portability): Document potential problems with unlink().
2001-06-19 Paul Eggert <eggert@twinsun.com>
* NEWS, doc/autoconf.texi: Document quadrigraphs.
2001-06-18 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_FORK): Fix typos.
2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
* acfunctions.m4: (AC_FUNC_VFORK) rename as...
(_AC_FUNC_VFORK): this.
Remove AC_DEFINEs and don't guess cross-compilation values.
(_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
(AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
vfork doesn't work.
Guess values if cross-compiling, but warn.
* acfunctions: Add AC_FUNC_FORK.
* doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
and vfork appropriately.
2001-06-18 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Functions Portability): New section.
2001-06-18 Akim Demaille <akim@epita.fr>
* autoconf.in (M4): Pass --nesting-limit=1024, unless already set
in $M4.
Suggested by Andreas Schwab.
2001-06-18 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
(AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
(AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
(AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
(AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
the converse).
2001-06-18 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (ms): New index.
(Macro Index): Rename as...
(Autoconf Macro Index): this.
(M4 Macro Index): New appendix.
(Programming in M4): New chapter.
Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
(Quoting): Rename as...
(M$ Quotation): this.
Be part of `Programming in M4).
2001-06-18 Nicolas Joly <njoly@pasteur.fr>
* tests/torture.at (AC_ARG_VAR): Set variables and export them
in separate statements for compatibility with Tru64 v5.1.
2001-06-17 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
current values of the precious variables, not the previously
cached values.
Pass precious variables which are set to config.status.
* doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
* tests/torture.at (AC_ARG_VAR): New.
2001-06-15 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi: Move AC_FUNC_WAIT3 and
AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
and explain why and how to replace them.
* acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
* acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2001-06-15 Akim Demaille <akim@epita.fr>
`build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
Reported by Bruno Haible.
* acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
(_AC_ARG_VAR_PRECIOUS): to here.
2001-06-15 Pavel Roskin <proski@gnu.org>
* acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
an unused pointer use cast to this type and `if' statement to
avoid warnings from the compiler.
(AC_HEADER_TIME): Likewise.
* actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
in `if' statement to avoid warnings from the compiler. Declare
ac_aggr static to avoid the need to initialize it.
2001-06-14 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Portable Shell): Move to follow `Writing
Macros'.
2001-06-13 Akim Demaille <akim@epita.fr>
* m4/missing.m4, config/missing: Updated to Automake 1.4g's.
Suggested by Alexander Mai.
2001-06-13 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
sys/types.h and sys/stat.h, and check for them.
2001-06-13 Akim Demaille <akim@epita.fr>
* acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
INCLUDES.
2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
succeeds and only try adding libdnet upon a failure.
2001-06-12 Akim Demaille <akim@epita.fr>
* autoscan.in (&output_kind): Output the comment only if it exists.
(%kind_comment): Add entry for `programs'.
(&output_programs): Use &output_kind.
(&output_functions, &output_identifiers, &output_headers)
(&output_programs): Inline, and remove.
2001-06-12 Akim Demaille <akim@epita.fr>
* autoscan.in (%kind_comment): New.
(output_kind): New.
(output_functions, output_identifiers, output_headers): Use it.
2001-06-12 Akim Demaille <akim@epita.fr>
* autoscan.in (&print_unique): Take `$kind' and `$word' as
arguments, to factor indirections into `%macro' and `%used'.
(%generic_macro): Fix a typo.
2001-06-12 Akim Demaille <akim@epita.fr>
* aclibraries: New.
* autoscan.in (@kinds): Add `libraries'.
Use `@kinds' instead of hard coded lists.
(%programs, %headers, %identifiers, %makevars, %libraries, %functions):
Remove, replaced by...
(%used): this.
2001-06-12 Akim Demaille <akim@epita.fr>
* autoscan.in (%functions_macros %headers_macros)
(%identifiers_macros %programs_macros %makevars_macros): Remove,
replaced by...
(%macro): New.
2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
* aclang.m4 (AC_NO_EXECUTABLES): Override
_AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
2001-06-11 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
trailing new line.
Reported by Andreas Schwab.
2001-06-11 Akim Demaille <akim@epita.fr>
* Makefile.am, Makefile.maint: Typos.
2001-06-09 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Here-Documents): New section, gathering
documentation about here-documents.
Use `href', not `uref', and other changes.
2001-06-09 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Portable Shell Programming): Promoted as a
chapter.
2001-06-09 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Builtins): Complete the
description of the here-docs penalties with Alexandre Oliva's
explanations.
2001-06-01 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi: Talk about here documents and speedups.
Do not use "echo" on arbitrary strings.
Spell "here-documents" consistently with the standard.
2001-06-09 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Concept Index): Introduce it.
Regenerate the menus.
2001-06-09 Akim Demaille <akim@epita.fr>
* Makefile.maint, GNUmakefile: New, from Jim Meyering.
* config/prev-version.txt: New.
* config/move-if-change: New, for GNU libc.
2001-06-06 Pavel Roskin <proski@gnu.org>
* tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
2001-06-06 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
properly when $1 is not a literal.
Fixes PR Autoconf/187, reported by Bram Moolenaar.
2001-06-06 Akim Demaille <akim@epita.fr>
Invoking AC_COPYRIGHT before AC_INIT fails.
* Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
* acgeneral.m4 (_m4_divert(VERSION_FSF))
(_m4_divert(VERSION_USER)): New.
(AC_COPYRIGHT): $2 is the diversion to use.
(_AC_INIT_COPYRIGHT): Use the FSF diversion.
(AC_INIT): Remove dead comments as now it's commutative.
2001-06-06 Akim Demaille <akim@epita.fr>
* tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
PR autoconf/187.
2001-06-05 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
can be empty.
`*dir' variables cannot be NONE.
Reported by Mark Kettenis.
2001-06-05 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi: Fix references to Solaris and SunOS versions.
2001-06-04 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
(AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
(AC_TR_SH): Move as...
* m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
(AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
(AS_TR_SH): these.
(_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
(_AS_TR_SH_PREPARE): New.
(AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
* tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
2001-06-02 Akim Demaille <akim@epita.fr>
* Makefile.am (.m4.m4f): Pass the options first.
Fixes PR autoconf/182.
2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
GNU getopt, when POSIXLY_CORRECT does not permute options and
arguments. So pass the options first.
Fixes PR autoconf/184.
* autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
(run_m4): Remove files.
(run_m4f): Remove.
Update remainder of script to use them.
(for warning in): Do not use a literal comma as it will not be
split by IFS.
2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
* aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
Fortran compilers to check.
(_AC_PROG_F77_V): Add '-###' as a possible option to print
information on library and object files.
(AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
to check.
2001-06-02 Akim Demaille <akim@epita.fr>
* autom4te.in (Request::@request): Declare with `vars', not `my',
as it prevents updates via `do FILENAME'.
2001-06-02 Akim Demaille <akim@epita.fr>
* configure.in (standards_texi): Remove, dead code.
2001-06-02 Akim Demaille <akim@epita.fr>
* autom4te.in: New.
2001-06-02 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
for signals other than 0 - exit with code 1.
* m4sh.m4 (AS_TMPDIR): Likewise.
* autoconf.in: Likewise. Also don't rely on exit == exit $?.
* autoheader.in: Likewise.
* autoreconf.in: Likewise.
* tests/torture.at (Signal handling): New test for the above.
2001-06-01 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
message.
2001-05-31 Akim Demaille <akim@epita.fr>
* acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
Add copyright and comments.
* acheaders: Add stdint.h.
Suggested by Paul Eggert.
2001-05-31 Akim Demaille <akim@epita.fr>
* atgeneral.m4 (AT_INIT): Use $SHELL.
* atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
2001-05-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
stdint.h.
From Paul Eggert and Lars Hecking.
2001-05-31 Akim Demaille <akim@epita.fr>
* tests/base.at: Adjust line numbers in error messages.
2001-05-31 Akim Demaille <akim@epita.fr>
* tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
to emit the bangshe line.
Reported by David Carter.
2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
* aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
Fortran (95) compilers to check.
2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
* doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
Macro Archive URL.
2001-05-23 Pavel Roskin <proski@gnu.org>
* aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
_AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
(AC_PROG_CXXCPP): Likewise.
2001-05-22 Akim Demaille <akim@epita.fr>
* config: New directory.
* configure.in: AC_CONFIG_AUX_DIR it.
* tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
2001-05-22 Akim Demaille <akim@epita.fr>
* autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
* autoupdate.in: Specify the Emacs mode.
* acversion.m4.in: Rename as...
* acversion.m4: this.
* tests/Makefile.am (CLEANFILES): More garbage.
2001-05-22 Akim Demaille <akim@epita.fr>
* autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
Rename as...
* autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
these.
2001-05-21 Akim Demaille <akim@epita.fr>
* configure.in: Bump to 2.50a.
-----
Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of GNU Autoconf.
GNU Autoconf is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Autoconf is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with autoconf; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
|