1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 14693 14694 14695 14696 14697 14698 14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 15318 15319 15320 15321 15322 15323 15324 15325 15326 15327 15328 15329 15330 15331 15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 15495 15496 15497 15498 15499 15500 15501 15502 15503 15504 15505 15506 15507 15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 15611 15612 15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 15927 15928 15929 15930 15931 15932 15933 15934 15935 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 15955 15956 15957 15958 15959 15960 15961 15962 15963 15964 15965 15966 15967 15968 15969 15970 15971 15972 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 16238 16239 16240 16241 16242 16243 16244 16245 16246 16247 16248 16249 16250 16251 16252 16253 16254 16255 16256 16257 16258 16259 16260 16261 16262 16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 16320 16321 16322 16323 16324 16325 16326 16327 16328 16329 16330 16331 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 16383 16384 16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 16395 16396 16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 16465 16466 16467 16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488 16489 16490 16491 16492 16493 16494 16495 16496 16497 16498 16499 16500 16501 16502 16503 16504 16505 16506 16507 16508 16509 16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 16522 16523 16524 16525 16526 16527 16528 16529 16530 16531 16532 16533 16534 16535 16536 16537 16538 16539 16540 16541 16542 16543 16544 16545 16546 16547 16548 16549 16550 16551 16552 16553 16554 16555 16556 16557 16558 16559 16560 16561 16562 16563 16564 16565 16566 16567 16568 16569 16570 16571 16572 16573 16574 16575 16576 16577 16578 16579 16580 16581 16582 16583 16584 16585 16586 16587 16588 16589 16590 16591 16592 16593 16594 16595 16596 16597 16598 16599 16600 16601 16602 16603 16604 16605 16606 16607 16608 16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 16640 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 16700 16701 16702 16703 16704 16705 16706 16707 16708 16709 16710 16711 16712 16713 16714 16715 16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 16750 16751 16752 16753 16754 16755 16756 16757 16758 16759 16760 16761 16762 16763 16764 16765 16766 16767 16768 16769 16770 16771 16772 16773 16774 16775 16776 16777 16778 16779 16780 16781 16782 16783 16784 16785 16786 16787 16788 16789 16790 16791 16792 16793 16794 16795 16796 16797 16798 16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 16810 16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 16827 16828 16829 16830 16831 16832 16833 16834 16835 16836 16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 16849 16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 16989 16990 16991 16992 16993 16994 16995 16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 17035 17036 17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 17069 17070 17071 17072 17073 17074 17075 17076 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 17094 17095 17096 17097 17098 17099 17100 17101 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 17113 17114 17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 17165 17166 17167 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 17187 17188 17189 17190 17191 17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 17282 17283 17284 17285 17286 17287 17288 17289 17290 17291 17292 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 17306 17307 17308 17309 17310 17311 17312 17313 17314 17315 17316 17317 17318 17319 17320 17321 17322 17323 17324 17325 17326 17327 17328 17329 17330 17331 17332 17333 17334 17335 17336 17337 17338 17339 17340 17341 17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 17378 17379 17380 17381 17382 17383 17384 17385 17386 17387 17388 17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 17400 17401 17402 17403 17404 17405 17406 17407 17408 17409 17410 17411 17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 17438 17439 17440 17441 17442 17443 17444 17445 17446 17447 17448 17449 17450 17451 17452 17453 17454 17455 17456 17457 17458 17459 17460 17461 17462 17463 17464 17465 17466 17467 17468 17469 17470 17471 17472 17473 17474 17475 17476 17477 17478 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 17494 17495 17496 17497 17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 17523 17524 17525 17526 17527 17528 17529 17530 17531 17532 17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 17566 17567 17568 17569 17570 17571 17572 17573 17574 17575 17576 17577 17578 17579 17580 17581 17582 17583 17584 17585 17586 17587 17588 17589 17590 17591 17592 17593 17594 17595 17596 17597 17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 17608 17609 17610 17611 17612 17613 17614 17615 17616 17617 17618 17619 17620 17621 17622 17623 17624 17625 17626 17627 17628 17629 17630 17631 17632 17633 17634 17635 17636 17637 17638 17639 17640 17641 17642 17643 17644 17645 17646 17647 17648 17649 17650 17651 17652 17653 17654 17655 17656 17657 17658 17659 17660 17661 17662 17663 17664 17665 17666 17667 17668 17669 17670 17671 17672 17673 17674 17675 17676 17677 17678 17679 17680 17681 17682 17683 17684 17685 17686 17687 17688 17689 17690 17691 17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 17702 17703 17704 17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 17715 17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 17727 17728 17729 17730 17731 17732 17733 17734 17735 17736 17737 17738 17739 17740 17741 17742 17743 17744 17745 17746 17747 17748 17749 17750 17751 17752 17753 17754 17755 17756 17757 17758 17759 17760 17761 17762 17763 17764 17765 17766 17767 17768 17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 17780 17781 17782 17783 17784 17785 17786 17787 17788 17789 17790 17791 17792 17793 17794 17795 17796 17797 17798 17799 17800 17801 17802 17803 17804 17805 17806 17807 17808 17809 17810 17811 17812 17813 17814 17815 17816 17817 17818 17819 17820 17821 17822 17823 17824 17825 17826 17827 17828 17829 17830 17831 17832 17833 17834 17835 17836 17837 17838 17839 17840 17841 17842 17843 17844 17845 17846 17847 17848 17849 17850 17851 17852 17853 17854 17855 17856 17857 17858 17859 17860 17861 17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 17886 17887 17888 17889 17890 17891 17892 17893 17894 17895 17896 17897 17898 17899 17900 17901 17902 17903 17904 17905 17906 17907 17908 17909 17910 17911 17912 17913 17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 17925 17926 17927 17928 17929 17930 17931 17932 17933 17934 17935 17936 17937 17938 17939 17940 17941 17942 17943 17944 17945 17946 17947 17948 17949 17950 17951 17952 17953 17954 17955 17956 17957 17958 17959 17960 17961 17962 17963 17964 17965 17966 17967 17968 17969 17970 17971 17972 17973 17974 17975 17976 17977 17978 17979 17980 17981 17982 17983 17984 17985 17986 17987 17988 17989 17990 17991 17992 17993 17994 17995 17996 17997 17998 17999 18000 18001 18002 18003 18004 18005 18006 18007 18008 18009 18010 18011 18012 18013 18014 18015 18016 18017 18018 18019 18020 18021 18022 18023 18024 18025 18026 18027 18028 18029 18030 18031 18032 18033 18034 18035 18036 18037 18038 18039 18040 18041 18042 18043 18044 18045 18046 18047 18048 18049 18050 18051 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 18098 18099 18100 18101 18102 18103 18104 18105 18106 18107 18108 18109 18110 18111 18112 18113 18114 18115 18116 18117 18118 18119 18120 18121 18122 18123 18124 18125 18126 18127 18128 18129 18130 18131 18132 18133 18134 18135 18136 18137 18138 18139 18140 18141 18142 18143 18144 18145 18146 18147 18148 18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 18204 18205 18206 18207 18208 18209 18210 18211 18212 18213 18214 18215 18216 18217 18218 18219 18220 18221 18222 18223 18224 18225 18226 18227 18228 18229 18230 18231 18232 18233 18234 18235 18236 18237 18238 18239 18240 18241 18242 18243 18244 18245 18246 18247 18248 18249 18250 18251 18252 18253 18254 18255 18256 18257 18258 18259 18260 18261 18262 18263 18264 18265 18266 18267 18268 18269 18270 18271 18272 18273 18274 18275 18276 18277 18278 18279 18280 18281 18282 18283 18284 18285 18286 18287 18288 18289 18290 18291 18292 18293 18294 18295 18296 18297 18298 18299 18300 18301 18302 18303 18304 18305 18306 18307 18308 18309 18310 18311 18312 18313 18314 18315 18316 18317 18318 18319 18320 18321 18322 18323 18324 18325 18326 18327 18328 18329 18330 18331 18332 18333 18334 18335 18336 18337 18338 18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 18361 18362 18363 18364 18365 18366 18367 18368 18369 18370 18371 18372 18373 18374 18375 18376 18377 18378 18379 18380 18381 18382 18383 18384 18385 18386 18387 18388 18389 18390 18391 18392 18393 18394 18395 18396 18397 18398 18399 18400 18401 18402 18403 18404 18405 18406 18407 18408 18409 18410 18411 18412 18413 18414 18415 18416 18417 18418 18419 18420 18421 18422 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 18442 18443 18444 18445 18446 18447 18448 18449 18450 18451 18452 18453 18454 18455 18456 18457 18458 18459 18460 18461 18462 18463 18464 18465 18466 18467 18468 18469 18470 18471 18472 18473 18474 18475 18476 18477 18478 18479 18480 18481 18482 18483 18484 18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 18495 18496 18497 18498 18499 18500 18501 18502 18503 18504 18505 18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 18521 18522 18523 18524 18525 18526 18527 18528 18529 18530 18531 18532 18533 18534 18535 18536 18537 18538 18539 18540 18541 18542 18543 18544 18545 18546 18547 18548 18549 18550 18551 18552 18553 18554 18555 18556 18557 18558 18559 18560 18561 18562 18563 18564 18565 18566 18567 18568 18569 18570 18571 18572 18573 18574 18575 18576 18577 18578 18579 18580 18581 18582 18583 18584 18585 18586 18587 18588 18589 18590 18591 18592 18593 18594 18595 18596 18597 18598 18599 18600 18601 18602 18603 18604 18605 18606 18607 18608 18609 18610 18611 18612 18613 18614 18615 18616 18617 18618 18619 18620 18621 18622 18623 18624 18625 18626 18627 18628 18629 18630 18631 18632 18633 18634 18635 18636 18637 18638 18639 18640 18641 18642 18643 18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 18654 18655 18656 18657 18658 18659 18660 18661 18662 18663 18664 18665 18666 18667 18668 18669 18670 18671 18672 18673 18674 18675 18676 18677 18678 18679 18680 18681 18682 18683 18684 18685 18686 18687 18688 18689 18690 18691 18692 18693 18694 18695 18696 18697 18698 18699 18700 18701 18702 18703 18704 18705 18706 18707 18708 18709 18710 18711 18712 18713 18714 18715 18716 18717 18718 18719 18720 18721 18722 18723 18724 18725 18726 18727 18728 18729 18730 18731 18732 18733 18734 18735 18736 18737 18738 18739 18740 18741 18742 18743 18744 18745 18746 18747 18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 18765 18766 18767 18768 18769 18770 18771 18772 18773 18774 18775 18776 18777 18778 18779 18780 18781 18782 18783 18784 18785 18786 18787 18788 18789 18790 18791 18792 18793 18794 18795 18796 18797 18798 18799 18800 18801 18802 18803 18804 18805 18806 18807 18808 18809 18810 18811 18812 18813 18814 18815 18816 18817 18818 18819 18820 18821 18822 18823 18824 18825 18826 18827 18828 18829 18830 18831 18832 18833 18834 18835 18836 18837 18838 18839 18840 18841 18842 18843 18844 18845 18846 18847 18848 18849 18850 18851 18852 18853 18854 18855 18856 18857 18858 18859 18860 18861 18862 18863 18864 18865 18866 18867 18868 18869 18870 18871 18872 18873 18874 18875 18876 18877 18878 18879 18880 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903 18904 18905 18906 18907 18908 18909 18910 18911 18912 18913 18914 18915 18916 18917 18918 18919 18920 18921 18922 18923 18924 18925 18926 18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 18956 18957 18958 18959 18960 18961 18962 18963 18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 18974 18975 18976 18977 18978 18979 18980 18981 18982 18983 18984 18985 18986 18987 18988 18989 18990 18991 18992 18993 18994 18995 18996 18997 18998 18999 19000 19001 19002 19003 19004 19005 19006 19007 19008 19009 19010 19011 19012 19013 19014 19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 19025 19026 19027 19028 19029 19030 19031 19032 19033 19034 19035 19036 19037 19038 19039 19040 19041 19042 19043 19044 19045 19046 19047 19048 19049 19050 19051 19052 19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 19068 19069 19070 19071 19072 19073 19074 19075 19076 19077 19078 19079 19080 19081 19082 19083 19084 19085 19086 19087 19088 19089 19090 19091 19092 19093 19094 19095 19096 19097 19098 19099 19100 19101 19102 19103 19104 19105 19106 19107 19108 19109 19110 19111 19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 19135 19136 19137 19138 19139 19140 19141 19142 19143 19144 19145 19146 19147 19148 19149 19150 19151 19152 19153 19154 19155 19156 19157 19158 19159 19160 19161 19162 19163 19164 19165 19166 19167 19168 19169 19170 19171 19172 19173 19174 19175 19176 19177 19178 19179 19180 19181 19182 19183 19184 19185 19186 19187 19188 19189 19190 19191 19192 19193 19194 19195 19196 19197 19198 19199 19200 19201 19202 19203 19204 19205 19206 19207 19208 19209 19210 19211 19212 19213 19214 19215 19216 19217 19218 19219 19220 19221 19222 19223 19224 19225 19226 19227 19228 19229 19230 19231 19232 19233 19234 19235 19236 19237 19238 19239 19240 19241 19242 19243 19244 19245 19246 19247 19248 19249 19250 19251 19252 19253 19254 19255 19256 19257 19258 19259 19260 19261 19262 19263 19264 19265 19266 19267 19268 19269 19270 19271 19272 19273 19274 19275 19276 19277 19278 19279 19280 19281 19282 19283 19284 19285 19286 19287 19288 19289 19290 19291 19292 19293 19294 19295 19296 19297 19298 19299 19300 19301 19302 19303 19304 19305 19306 19307 19308 19309 19310 19311 19312 19313 19314 19315 19316 19317 19318 19319 19320 19321 19322 19323 19324 19325 19326 19327 19328 19329 19330 19331 19332 19333 19334 19335 19336 19337 19338 19339 19340 19341 19342 19343 19344 19345 19346 19347 19348 19349 19350 19351 19352 19353 19354 19355 19356 19357 19358 19359 19360 19361 19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 19381 19382 19383 19384 19385 19386 19387 19388 19389 19390 19391 19392 19393 19394 19395 19396 19397 19398 19399 19400 19401 19402 19403 19404 19405 19406 19407 19408 19409 19410 19411 19412 19413 19414 19415 19416 19417 19418 19419 19420 19421 19422 19423 19424 19425 19426 19427 19428 19429 19430 19431 19432 19433 19434 19435 19436 19437 19438 19439 19440 19441 19442 19443 19444 19445 19446 19447 19448 19449 19450 19451 19452 19453 19454 19455 19456 19457 19458 19459 19460 19461 19462 19463 19464 19465 19466 19467 19468 19469 19470 19471 19472 19473 19474 19475 19476 19477 19478 19479 19480 19481 19482 19483 19484 19485 19486 19487 19488 19489 19490 19491 19492 19493 19494 19495 19496 19497 19498 19499 19500 19501 19502 19503 19504 19505 19506 19507 19508 19509 19510 19511 19512 19513 19514 19515 19516 19517 19518 19519 19520 19521 19522 19523 19524 19525 19526 19527 19528 19529 19530 19531 19532 19533 19534 19535 19536 19537 19538 19539 19540 19541 19542 19543 19544 19545 19546 19547 19548 19549 19550 19551 19552 19553 19554 19555 19556 19557 19558 19559 19560 19561 19562 19563 19564 19565 19566 19567 19568 19569 19570 19571 19572 19573 19574 19575 19576 19577 19578 19579 19580 19581 19582 19583 19584 19585 19586 19587 19588 19589 19590 19591 19592 19593 19594 19595 19596 19597 19598 19599 19600 19601 19602 19603 19604 19605 19606 19607 19608 19609 19610 19611 19612 19613 19614 19615 19616 19617 19618 19619 19620 19621 19622 19623 19624 19625 19626 19627 19628 19629 19630 19631 19632 19633 19634 19635 19636 19637 19638 19639 19640 19641 19642 19643 19644 19645 19646 19647 19648 19649 19650 19651 19652 19653 19654 19655 19656 19657 19658 19659 19660 19661 19662 19663 19664 19665 19666 19667 19668 19669 19670 19671 19672 19673 19674 19675 19676 19677 19678 19679 19680 19681 19682 19683 19684 19685 19686 19687 19688 19689 19690 19691 19692 19693 19694 19695 19696 19697 19698 19699 19700 19701 19702 19703 19704 19705 19706 19707 19708 19709 19710 19711 19712 19713 19714 19715 19716 19717 19718 19719 19720 19721 19722 19723 19724 19725 19726 19727 19728 19729 19730 19731 19732 19733 19734 19735 19736 19737 19738 19739 19740 19741 19742 19743 19744 19745 19746 19747 19748 19749 19750 19751 19752 19753 19754 19755 19756 19757 19758 19759 19760 19761 19762 19763 19764 19765 19766 19767 19768 19769 19770 19771 19772 19773 19774 19775 19776 19777 19778 19779 19780 19781 19782 19783 19784 19785 19786 19787 19788 19789 19790 19791 19792 19793 19794 19795 19796 19797 19798 19799 19800 19801 19802 19803 19804 19805 19806 19807 19808 19809 19810 19811 19812 19813 19814 19815 19816 19817 19818 19819 19820 19821 19822 19823 19824 19825 19826 19827 19828 19829 19830 19831 19832 19833 19834 19835 19836 19837 19838 19839 19840 19841 19842 19843 19844 19845 19846 19847 19848 19849 19850 19851 19852 19853 19854 19855 19856 19857 19858 19859 19860 19861 19862 19863 19864 19865 19866 19867 19868 19869 19870 19871 19872 19873 19874 19875 19876 19877 19878 19879 19880 19881 19882 19883 19884 19885 19886 19887 19888 19889 19890 19891 19892 19893 19894 19895 19896 19897 19898 19899 19900 19901 19902 19903 19904 19905 19906 19907 19908 19909 19910 19911 19912 19913 19914 19915 19916 19917 19918 19919 19920 19921 19922 19923 19924 19925 19926 19927 19928 19929 19930 19931 19932 19933 19934 19935 19936 19937 19938 19939 19940 19941 19942 19943 19944 19945 19946 19947 19948 19949 19950 19951 19952 19953 19954 19955 19956 19957 19958 19959 19960 19961 19962 19963 19964 19965 19966 19967 19968 19969 19970 19971 19972 19973 19974 19975 19976 19977 19978 19979 19980 19981 19982 19983 19984 19985 19986 19987 19988 19989 19990 19991 19992 19993 19994 19995 19996 19997 19998 19999 20000 20001 20002 20003 20004 20005 20006 20007 20008 20009 20010 20011 20012 20013 20014 20015 20016 20017 20018 20019 20020 20021 20022 20023 20024 20025 20026 20027 20028 20029 20030 20031 20032 20033 20034 20035 20036 20037 20038 20039 20040 20041 20042 20043 20044 20045 20046 20047 20048 20049 20050 20051 20052 20053 20054 20055 20056 20057 20058 20059 20060 20061 20062 20063 20064 20065 20066 20067 20068 20069 20070 20071 20072 20073 20074 20075 20076 20077 20078 20079 20080 20081 20082 20083 20084 20085 20086 20087 20088 20089 20090 20091 20092 20093 20094 20095 20096 20097 20098 20099 20100 20101 20102 20103 20104 20105 20106 20107 20108 20109 20110 20111 20112 20113 20114 20115 20116 20117 20118 20119 20120 20121 20122 20123 20124 20125 20126 20127 20128 20129 20130 20131 20132 20133 20134 20135 20136 20137 20138 20139 20140 20141 20142 20143 20144 20145 20146 20147 20148 20149 20150 20151 20152 20153 20154 20155 20156 20157 20158 20159 20160 20161 20162 20163 20164 20165 20166 20167 20168 20169 20170 20171 20172 20173 20174 20175 20176 20177 20178 20179 20180 20181 20182 20183 20184 20185 20186 20187 20188 20189 20190 20191 20192 20193 20194 20195 20196 20197 20198 20199 20200 20201 20202 20203 20204 20205 20206 20207 20208 20209 20210 20211 20212 20213 20214 20215 20216 20217 20218 20219 20220 20221 20222 20223 20224 20225 20226 20227 20228 20229 20230 20231 20232 20233 20234 20235 20236 20237 20238 20239 20240 20241 20242 20243 20244 20245 20246 20247 20248 20249 20250 20251 20252 20253 20254 20255 20256 20257 20258 20259 20260 20261 20262 20263 20264 20265 20266 20267 20268 20269 20270 20271 20272 20273 20274 20275 20276 20277 20278 20279 20280 20281 20282 20283 20284 20285 20286 20287 20288 20289 20290 20291 20292 20293 20294 20295 20296 20297 20298 20299 20300 20301 20302 20303 20304 20305 20306 20307 20308 20309 20310 20311 20312 20313 20314 20315 20316 20317 20318 20319 20320 20321 20322 20323 20324 20325 20326 20327 20328 20329 20330 20331 20332 20333 20334 20335 20336 20337 20338 20339 20340 20341 20342 20343 20344 20345 20346 20347 20348 20349 20350 20351 20352 20353 20354 20355 20356 20357 20358 20359 20360 20361 20362 20363 20364 20365 20366 20367 20368 20369 20370 20371 20372 20373 20374 20375 20376 20377 20378 20379 20380 20381 20382 20383 20384 20385 20386 20387 20388 20389 20390 20391 20392 20393 20394 20395 20396 20397 20398 20399 20400 20401 20402 20403 20404 20405 20406 20407 20408 20409 20410 20411 20412 20413 20414 20415 20416 20417 20418 20419 20420 20421 20422 20423 20424 20425 20426 20427 20428 20429 20430 20431 20432 20433 20434 20435 20436 20437 20438 20439 20440 20441 20442 20443 20444 20445 20446 20447 20448 20449 20450 20451 20452 20453 20454 20455 20456 20457 20458 20459 20460 20461 20462 20463 20464 20465 20466 20467 20468 20469 20470 20471 20472 20473 20474 20475 20476 20477 20478 20479 20480 20481 20482 20483 20484 20485 20486 20487 20488 20489 20490 20491 20492 20493 20494 20495 20496 20497 20498 20499 20500 20501 20502 20503 20504 20505 20506 20507 20508 20509 20510 20511 20512 20513 20514 20515 20516 20517 20518 20519 20520 20521 20522 20523 20524 20525 20526 20527 20528 20529 20530 20531 20532 20533 20534 20535 20536 20537 20538 20539 20540 20541 20542 20543 20544 20545 20546 20547 20548 20549 20550 20551 20552 20553 20554 20555 20556 20557 20558 20559 20560 20561 20562 20563 20564 20565 20566 20567 20568 20569 20570 20571 20572 20573 20574 20575 20576 20577 20578 20579 20580 20581 20582 20583 20584 20585 20586 20587 20588 20589 20590 20591 20592 20593 20594 20595 20596 20597 20598 20599 20600 20601 20602 20603 20604 20605 20606 20607 20608 20609 20610 20611 20612 20613 20614 20615 20616 20617 20618 20619 20620 20621 20622 20623 20624 20625 20626 20627 20628 20629 20630 20631 20632 20633 20634 20635 20636 20637 20638 20639 20640 20641 20642 20643 20644 20645 20646 20647 20648 20649 20650 20651 20652 20653 20654 20655 20656 20657 20658 20659 20660 20661 20662 20663 20664 20665 20666 20667 20668 20669 20670 20671 20672 20673 20674 20675 20676 20677 20678 20679 20680 20681 20682 20683 20684 20685 20686 20687 20688 20689 20690 20691 20692 20693 20694 20695 20696 20697 20698 20699 20700 20701 20702 20703 20704 20705 20706 20707 20708 20709 20710 20711 20712 20713 20714 20715 20716 20717 20718 20719 20720 20721 20722 20723 20724 20725 20726 20727 20728 20729 20730 20731 20732 20733 20734 20735 20736 20737 20738 20739 20740 20741 20742 20743 20744 20745 20746 20747 20748 20749 20750 20751 20752 20753 20754 20755 20756 20757 20758 20759 20760 20761 20762 20763 20764 20765 20766 20767 20768 20769 20770 20771 20772 20773 20774 20775 20776 20777 20778 20779 20780 20781 20782 20783 20784 20785 20786 20787 20788 20789 20790 20791 20792 20793 20794 20795 20796 20797 20798 20799 20800 20801 20802 20803 20804 20805 20806 20807 20808 20809 20810 20811 20812 20813 20814 20815 20816 20817 20818 20819 20820 20821 20822 20823 20824 20825 20826 20827 20828 20829 20830 20831 20832 20833 20834 20835 20836 20837 20838 20839 20840 20841 20842 20843 20844 20845 20846 20847 20848 20849 20850 20851 20852 20853 20854 20855 20856 20857 20858 20859 20860 20861 20862 20863 20864 20865 20866 20867 20868 20869 20870 20871 20872 20873 20874 20875 20876 20877 20878 20879 20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 20891 20892 20893 20894 20895 20896 20897 20898 20899 20900 20901 20902 20903 20904 20905 20906 20907 20908 20909 20910 20911 20912 20913 20914 20915 20916 20917 20918 20919 20920 20921 20922 20923 20924 20925 20926 20927 20928 20929 20930 20931 20932 20933 20934 20935 20936 20937 20938 20939 20940 20941 20942 20943 20944 20945 20946 20947 20948 20949 20950 20951 20952 20953 20954 20955 20956 20957 20958 20959 20960 20961 20962 20963 20964 20965 20966 20967 20968 20969 20970 20971 20972 20973 20974 20975 20976 20977 20978 20979 20980 20981 20982 20983 20984 20985 20986 20987 20988 20989 20990 20991 20992 20993 20994 20995 20996 20997 20998 20999 21000 21001 21002 21003 21004 21005 21006 21007 21008 21009 21010 21011 21012 21013 21014 21015 21016 21017 21018 21019 21020 21021 21022 21023 21024 21025 21026 21027 21028 21029 21030 21031 21032 21033 21034 21035 21036 21037 21038 21039 21040 21041 21042 21043 21044 21045 21046 21047 21048 21049 21050 21051 21052 21053 21054 21055 21056 21057 21058 21059 21060 21061 21062 21063 21064 21065 21066 21067 21068 21069 21070 21071 21072 21073 21074 21075 21076 21077 21078 21079 21080 21081 21082 21083 21084 21085 21086 21087 21088 21089 21090 21091 21092 21093 21094 21095 21096 21097 21098 21099 21100 21101 21102 21103 21104 21105 21106 21107 21108 21109 21110 21111 21112 21113 21114 21115 21116 21117 21118 21119 21120 21121 21122 21123 21124 21125 21126 21127 21128 21129 21130 21131 21132 21133 21134 21135 21136 21137 21138 21139 21140 21141 21142 21143 21144 21145 21146 21147 21148 21149 21150 21151 21152 21153 21154 21155 21156 21157 21158 21159 21160 21161 21162 21163 21164 21165 21166 21167 21168 21169 21170 21171 21172 21173 21174 21175 21176 21177 21178 21179 21180 21181 21182 21183 21184 21185 21186 21187 21188 21189 21190 21191 21192 21193 21194 21195 21196 21197 21198 21199 21200 21201 21202 21203 21204 21205 21206 21207 21208 21209 21210 21211 21212 21213 21214 21215 21216 21217 21218 21219 21220 21221 21222 21223 21224 21225 21226 21227 21228 21229 21230 21231 21232 21233 21234 21235 21236 21237 21238 21239 21240 21241 21242 21243 21244 21245 21246 21247 21248 21249 21250 21251 21252 21253 21254 21255 21256 21257 21258 21259 21260 21261 21262 21263 21264 21265 21266 21267 21268 21269 21270 21271 21272 21273 21274 21275 21276 21277 21278 21279 21280 21281 21282 21283 21284 21285 21286 21287 21288 21289 21290 21291 21292 21293 21294 21295 21296 21297 21298 21299 21300 21301 21302 21303 21304 21305 21306 21307 21308 21309 21310 21311 21312 21313 21314 21315 21316 21317 21318 21319 21320 21321 21322 21323 21324 21325 21326 21327 21328 21329 21330 21331 21332 21333 21334 21335 21336 21337 21338 21339 21340 21341 21342 21343 21344 21345 21346 21347 21348 21349 21350 21351 21352 21353 21354 21355 21356 21357 21358 21359 21360 21361 21362 21363 21364 21365 21366 21367 21368 21369 21370 21371 21372 21373 21374 21375 21376 21377 21378 21379 21380 21381 21382 21383 21384 21385 21386 21387 21388 21389 21390 21391 21392 21393 21394 21395 21396 21397 21398 21399 21400 21401 21402 21403 21404 21405 21406 21407 21408 21409 21410 21411 21412 21413 21414 21415 21416 21417 21418 21419 21420 21421 21422 21423 21424 21425 21426 21427 21428 21429 21430 21431 21432 21433 21434 21435 21436 21437 21438 21439 21440 21441 21442 21443 21444 21445 21446 21447 21448 21449 21450 21451 21452 21453 21454 21455 21456 21457 21458 21459 21460 21461 21462 21463 21464 21465 21466 21467 21468 21469 21470 21471 21472 21473 21474 21475 21476 21477 21478 21479 21480 21481 21482 21483 21484 21485 21486 21487 21488 21489 21490 21491 21492 21493 21494 21495 21496 21497 21498 21499 21500 21501 21502 21503 21504 21505 21506 21507 21508 21509 21510 21511 21512 21513 21514 21515 21516 21517 21518 21519 21520 21521 21522 21523 21524 21525 21526 21527 21528 21529 21530 21531 21532 21533 21534 21535 21536 21537 21538 21539 21540 21541 21542 21543 21544 21545 21546 21547 21548 21549 21550 21551 21552 21553 21554 21555 21556 21557 21558 21559 21560 21561 21562 21563 21564 21565 21566 21567 21568 21569 21570 21571 21572 21573 21574 21575 21576 21577 21578 21579 21580 21581 21582 21583 21584 21585 21586 21587 21588 21589 21590 21591 21592 21593 21594 21595 21596 21597 21598 21599 21600 21601 21602 21603 21604 21605 21606 21607 21608 21609 21610 21611 21612 21613 21614 21615 21616 21617 21618 21619 21620 21621 21622 21623 21624 21625 21626 21627 21628 21629 21630 21631 21632 21633 21634 21635 21636 21637 21638 21639 21640 21641 21642 21643 21644 21645 21646 21647 21648 21649 21650 21651 21652 21653 21654 21655 21656 21657 21658 21659 21660 21661 21662 21663 21664 21665 21666 21667 21668 21669 21670 21671 21672 21673 21674 21675 21676 21677 21678 21679 21680 21681 21682 21683 21684 21685 21686 21687 21688 21689 21690 21691 21692 21693 21694 21695 21696 21697 21698 21699 21700 21701 21702 21703 21704 21705 21706 21707 21708 21709 21710 21711 21712 21713 21714 21715 21716 21717 21718 21719 21720 21721 21722 21723 21724 21725 21726 21727 21728 21729 21730 21731 21732 21733 21734 21735 21736 21737 21738 21739 21740 21741 21742 21743 21744 21745 21746 21747 21748 21749 21750 21751 21752 21753 21754 21755 21756 21757 21758 21759 21760 21761 21762 21763 21764 21765 21766 21767 21768 21769 21770 21771 21772 21773 21774 21775 21776 21777 21778 21779 21780 21781 21782 21783 21784 21785 21786 21787 21788 21789 21790 21791 21792 21793 21794 21795 21796 21797 21798 21799 21800 21801 21802 21803 21804 21805 21806 21807 21808 21809 21810 21811 21812 21813 21814 21815 21816 21817 21818 21819 21820 21821 21822 21823 21824 21825 21826 21827 21828 21829 21830 21831 21832 21833 21834 21835 21836 21837 21838 21839 21840 21841 21842 21843 21844 21845 21846 21847 21848 21849 21850 21851 21852 21853 21854 21855 21856 21857 21858 21859 21860 21861 21862 21863 21864 21865 21866 21867 21868 21869 21870 21871 21872 21873 21874 21875 21876 21877 21878 21879 21880 21881 21882 21883 21884 21885 21886 21887 21888 21889 21890 21891 21892 21893 21894 21895 21896 21897 21898 21899 21900 21901 21902 21903 21904 21905 21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 21930 21931 21932 21933 21934 21935 21936 21937 21938 21939 21940 21941 21942 21943 21944 21945 21946 21947 21948 21949 21950 21951 21952 21953 21954 21955 21956 21957 21958 21959 21960 21961 21962 21963 21964 21965 21966 21967 21968 21969 21970 21971 21972 21973 21974 21975 21976 21977 21978 21979 21980 21981 21982 21983 21984 21985 21986 21987 21988 21989 21990 21991 21992 21993 21994 21995 21996 21997 21998 21999 22000 22001 22002 22003 22004 22005 22006 22007 22008 22009 22010 22011 22012 22013 22014 22015 22016 22017 22018 22019 22020 22021 22022 22023 22024 22025 22026 22027 22028 22029 22030 22031 22032 22033 22034 22035 22036 22037 22038 22039 22040 22041 22042 22043 22044 22045 22046 22047 22048 22049 22050 22051 22052 22053 22054 22055 22056 22057 22058 22059 22060 22061 22062 22063 22064 22065 22066 22067 22068 22069 22070 22071 22072 22073 22074 22075 22076 22077 22078 22079 22080 22081 22082 22083 22084 22085 22086 22087 22088 22089 22090 22091 22092 22093 22094 22095 22096 22097 22098 22099 22100 22101 22102 22103 22104 22105 22106 22107 22108 22109 22110 22111 22112 22113 22114 22115 22116 22117 22118 22119 22120 22121 22122 22123 22124 22125 22126 22127 22128 22129 22130 22131 22132 22133 22134 22135 22136 22137 22138 22139 22140 22141 22142 22143 22144 22145 22146 22147 22148 22149 22150 22151 22152 22153 22154 22155 22156 22157 22158 22159 22160 22161 22162 22163 22164 22165 22166 22167 22168 22169 22170 22171 22172 22173 22174 22175 22176 22177 22178 22179 22180 22181 22182 22183 22184 22185 22186 22187 22188 22189 22190 22191 22192 22193 22194 22195 22196 22197 22198 22199 22200 22201 22202 22203 22204 22205 22206 22207 22208 22209 22210 22211 22212 22213 22214 22215 22216 22217 22218 22219 22220 22221 22222 22223 22224 22225 22226 22227 22228 22229 22230 22231 22232 22233 22234 22235 22236 22237 22238 22239 22240 22241 22242 22243 22244 22245 22246 22247 22248 22249 22250 22251 22252 22253 22254 22255 22256 22257 22258 22259 22260 22261 22262 22263 22264 22265 22266 22267 22268 22269 22270 22271 22272 22273 22274 22275 22276 22277 22278 22279 22280 22281 22282 22283 22284 22285 22286 22287 22288 22289 22290 22291 22292 22293 22294 22295 22296 22297 22298 22299 22300 22301 22302 22303 22304 22305 22306 22307 22308 22309 22310 22311 22312 22313 22314 22315 22316 22317 22318 22319 22320 22321 22322 22323 22324 22325 22326 22327 22328 22329 22330 22331 22332 22333 22334 22335 22336 22337 22338 22339 22340 22341 22342 22343 22344 22345 22346 22347 22348 22349 22350 22351 22352 22353 22354 22355 22356 22357 22358 22359 22360 22361 22362 22363 22364 22365 22366 22367 22368 22369 22370 22371 22372 22373 22374 22375 22376 22377 22378 22379 22380 22381 22382 22383 22384 22385 22386 22387 22388 22389 22390 22391 22392 22393 22394 22395 22396 22397 22398 22399 22400 22401 22402 22403 22404 22405 22406 22407 22408 22409 22410 22411 22412 22413 22414 22415 22416 22417 22418 22419 22420 22421 22422 22423 22424 22425 22426 22427 22428 22429 22430 22431 22432 22433 22434 22435 22436 22437 22438 22439 22440 22441 22442 22443 22444 22445 22446 22447 22448 22449 22450 22451 22452 22453 22454 22455 22456 22457 22458 22459 22460 22461 22462 22463 22464 22465 22466 22467 22468 22469 22470 22471 22472 22473 22474 22475 22476 22477 22478 22479 22480 22481 22482 22483 22484 22485 22486 22487 22488 22489 22490 22491 22492 22493 22494 22495 22496 22497 22498 22499 22500 22501 22502 22503 22504 22505 22506 22507 22508 22509 22510 22511 22512 22513 22514 22515 22516 22517 22518 22519 22520 22521 22522 22523 22524 22525 22526 22527 22528 22529 22530 22531 22532 22533 22534 22535 22536 22537 22538 22539 22540 22541 22542 22543 22544 22545 22546 22547 22548 22549 22550 22551 22552 22553 22554 22555 22556 22557 22558 22559 22560 22561 22562 22563 22564 22565 22566 22567 22568 22569 22570 22571 22572 22573 22574 22575 22576 22577 22578 22579 22580 22581 22582 22583 22584 22585 22586 22587 22588 22589 22590 22591 22592 22593 22594 22595 22596 22597 22598 22599 22600 22601 22602 22603 22604 22605 22606 22607 22608 22609 22610 22611 22612 22613 22614 22615 22616 22617 22618 22619 22620 22621 22622 22623 22624 22625 22626 22627 22628 22629 22630 22631 22632 22633 22634 22635 22636 22637 22638 22639 22640 22641 22642 22643 22644 22645 22646 22647 22648 22649 22650 22651 22652 22653 22654 22655 22656 22657 22658 22659 22660 22661 22662 22663 22664 22665 22666 22667 22668 22669 22670 22671 22672 22673 22674 22675 22676 22677 22678 22679 22680 22681 22682 22683 22684 22685 22686 22687 22688 22689 22690 22691 22692 22693 22694 22695 22696 22697 22698 22699 22700 22701 22702 22703 22704 22705 22706 22707 22708 22709 22710 22711 22712 22713 22714 22715 22716 22717 22718 22719 22720 22721 22722 22723 22724 22725 22726 22727 22728 22729 22730 22731 22732 22733 22734 22735 22736 22737 22738 22739 22740 22741 22742 22743 22744 22745 22746 22747 22748 22749 22750 22751 22752 22753 22754 22755 22756 22757 22758 22759 22760 22761 22762 22763 22764 22765 22766 22767 22768 22769 22770 22771 22772 22773 22774 22775 22776 22777 22778 22779 22780 22781 22782 22783 22784 22785 22786 22787 22788 22789 22790 22791 22792 22793 22794 22795 22796 22797 22798 22799 22800 22801 22802 22803 22804 22805 22806 22807 22808 22809 22810 22811 22812 22813 22814 22815 22816 22817 22818 22819 22820 22821 22822 22823 22824 22825 22826 22827 22828 22829 22830 22831 22832 22833 22834 22835 22836 22837 22838 22839 22840 22841 22842 22843 22844 22845 22846 22847 22848 22849 22850 22851 22852 22853 22854 22855 22856 22857 22858 22859 22860 22861 22862 22863 22864 22865 22866 22867 22868 22869 22870 22871 22872 22873 22874 22875 22876 22877 22878 22879 22880 22881 22882 22883 22884 22885 22886 22887 22888 22889 22890 22891 22892 22893 22894 22895 22896 22897 22898 22899 22900 22901 22902 22903 22904 22905 22906 22907 22908 22909 22910 22911 22912 22913 22914 22915 22916 22917 22918 22919 22920 22921 22922 22923 22924 22925 22926 22927 22928 22929 22930 22931 22932 22933 22934 22935 22936 22937 22938 22939 22940 22941 22942 22943 22944 22945 22946 22947 22948 22949 22950 22951 22952 22953 22954 22955 22956 22957 22958 22959 22960 22961 22962 22963 22964 22965 22966 22967 22968 22969 22970 22971 22972 22973 22974 22975 22976 22977 22978 22979 22980 22981 22982 22983 22984 22985 22986 22987 22988 22989 22990 22991 22992 22993 22994 22995 22996 22997 22998 22999 23000 23001 23002 23003 23004 23005 23006 23007 23008 23009 23010 23011 23012 23013 23014 23015 23016 23017 23018 23019 23020 23021 23022 23023 23024 23025 23026 23027 23028 23029 23030 23031 23032 23033 23034 23035 23036 23037 23038 23039 23040 23041 23042 23043 23044 23045 23046 23047 23048 23049 23050 23051 23052 23053 23054 23055 23056 23057 23058 23059 23060 23061 23062 23063 23064 23065 23066 23067 23068 23069 23070 23071 23072 23073 23074 23075 23076 23077 23078 23079 23080 23081 23082 23083 23084 23085 23086 23087 23088 23089 23090 23091 23092 23093 23094 23095 23096 23097 23098 23099 23100 23101 23102 23103 23104 23105 23106 23107 23108 23109 23110 23111 23112 23113 23114 23115 23116 23117 23118 23119 23120 23121 23122 23123 23124 23125 23126 23127 23128 23129 23130 23131 23132 23133 23134 23135 23136 23137 23138 23139 23140 23141 23142 23143 23144 23145 23146 23147 23148 23149 23150 23151 23152 23153 23154 23155 23156 23157 23158 23159 23160 23161 23162 23163 23164 23165 23166 23167 23168 23169 23170 23171 23172 23173 23174 23175 23176 23177 23178 23179 23180 23181 23182 23183 23184 23185 23186 23187 23188 23189 23190 23191 23192 23193 23194 23195 23196 23197 23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 23216 23217 23218 23219 23220 23221 23222 23223 23224
|
2012-01-15 Jim Meyering <meyering@redhat.com>
getopt: refine syntax of previous change
* lib/Autom4te/General.pm (getopt): Use a more concise test.
2011-01-15 Stefano Lattarini <stefano.lattarini@gmail.com>
getopt: remove hack for special handling of "-" argument
Older versions of Getopt::Long acted bogusly and died when they
where configured with the 'bundling' flag and an argument '-' was
seen on the command line they were parsing. That is no longer
the case though, and has not been for quite a long time: the bug
is no longer present in the 5.6.2 version of perl and the 2.25
version of Getopt::Long (and today, the latest versions of perl
and Getopt::Long are respectively 5.14.2 and 2.38). The obsolete
workaround for that Getopt::Long bug can thus be removed from our
'getopt' function.
It is also worth noting that such a workaround was quite buggy
and brittle itself; for example, a command like this:
"autom4te --output -"
would have caused the incorrect diagnostic:
"autom4te: option `--output' requires an argument"
Much worse, a command like this:
"autom4te --language=autoconf --output - configure.ac"
would have caused the standard input of autom4te to be processed
and copied into the 'configure.ac' file, deleting its pre-existing
content! Surely not what a user would have expected.
After this change, a command like this:
autom4te --language=autoconf --output - - <configure.ac >out
works as expected, processing the input from 'configure.ac' and
writing it to the 'out' file.
* lib/Autom4te/General.pm (use): Require perl version 5.6.2.
(getopt): Remove the old workaround.
2012-01-15 Jim Meyering <meyering@redhat.com>
avoid new warning about undefined $ARGV[0]
* lib/Autom4te/General.pm (getopt): Avoid warning induced by
yesterday's change: $ARGV[0] may not be defined, e.g., when
invoked via autoreconf.
2011-01-14 Stefano Lattarini <stefano.lattarini@gmail.com>
getopt: fix diagnostic for missing mandatory option argument
Before this change, an incorrect command line usage:
"autom4te --output"
triggered broken diagnostic like:
"autom4te: unrecognized option `--output'"
instead of the expected and correct:
"autom4te: option `--output' requires an argument"
* lib/Autom4te/General.pm (getopt): Give correct diagnostic in
case of usage errors due to missing arguments for options for
which they are mandatory. Code basically copied from automake's
'parse_arguments' private subroutine.
2012-01-05 Paul Eggert <eggert@cs.ucla.edu>
doc: mention Bash 2.03 bug with backslash-newline
* doc/autoconf.texi (Invoking the Shell): New section.
(Backslash-Newline-Empty): Rename from Backslash-Newline-Newline.
Mention problem with Bash 2.03.
doc: clarify sed buffer limit
* doc/autoconf.texi (Limitations of Usual Tools):
That 4000-byte limit applies to output and internal buffers, too.
2012-01-03 Paul Eggert <eggert@cs.ucla.edu>
maint: update copyright year
All files changed to add 2012, via 'make update-copyright'.
maint: resync upstream files
* ChangeLog, GNUmakefile, build-aux/announce-gen:
* build-aux/config.guess, build-aux/config.sub, build-aux/gendocs.sh:
* build-aux/git-version-gen, build-aux/move-if-change:
* build-aux/texinfo.tex, build-aux/update-copyright:
* build-aux/vc-list-files, doc/fdl.texi, doc/gendocs_template:
* doc/standards.texi, lib/Autom4te/XFile.pm, m4/autobuild.m4:
Regenerated by 'make fetch'.
2012-01-02 Paul Eggert <eggert@cs.ucla.edu>
autoconf: remove " -link" and ")" from xlf output
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
Also remove " -link" and trailing ")" from xlf output.
Problem and fix reported by Thomas Jahns in
<http://lists.gnu.org/archive/html/bug-autoconf/2012-01/msg00000.html>.
2011-12-26 Stefano Lattarini <stefano.lattarini@gmail.com>
configure: will re-execute with $CONFIG_SHELL, if it's set
* lib/m4sugar/general.m4 (_AS_DETECT_BETTER_SHELL): Define the macro
`_AS_FORCE_REEXEC_WITH_CONFIG_SHELL' to `yes', so that the code in
`_AS_DETECT_BETTER_SHELL' will cause autoconf-generated configure
scripts to always re-execute themselves with $CONFIG_SHELL, if it's
set in the environment.
* doc/autoconf.texi (config.status Invocation): Update.
* doc/install.texi (Defining Variables): Likewise.
* NEWS: Likewise.
* tests/m4sh.at: Add tests for the new semantics in ...
(Configure re-execs self with CONFIG_SHELL): ... this new
test group.
2011-12-26 Stefano Lattarini <stefano.lattarini@gmail.com>
m4sh: allow forced re-execution with $CONFIG_SHELL, if it's set
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): If the m4sh client
has defined the macro `_AS_FORCE_REEXEC_WITH_CONFIG_SHELL' to
"yes", emit code to always re-execute the current script with
$CONFIG_SHELL, if that's set.
* tests/m4sh.at: Add tests for the new and old semantics, in ...
(Re-exec with CONFIG_SHELL, Forced re-exec with CONFIG_SHELL): ...
these new test groups.
2011-12-26 Stefano Lattarini <stefano.lattarini@gmail.com>
m4sh: refactor _AS_DETECT_BETTER_SHELL, for future changes
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Move code to
handle the re-execution of the shell ...
(_AS_REEXEC_WITH_SHELL): ... in this new macro.
2011-12-24 Stefano Lattarini <stefano.lattarini@gmail.com>
docs: issue with shell functions and here-documents on Solaris
* doc/autoconf.texi (Here-Documents): Using a command substitution
in a here-documents being fed to a shell function is unportable.
Problem revealed by the automake testsuite:
<http://lists.gnu.org/archive/html/automake-patches/2011-12/msg00149.html>
2011-12-26 Paul Eggert <eggert@cs.ucla.edu>
AS_LN_S: fall back on 'cp -pR' (not 'cp -p') if 'ln -s' fails
This works better for symlinks to directories.
Problem reported by Eli Zaretskii via Werner Lemberg in
<http://lists.gnu.org/archive/html/bug-autoconf/2011-12/msg00006.html>.
* NEWS:
* doc/autoconf.texi (Particular Programs): Document this.
* lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Implement this.
2011-12-07 Paul Eggert <eggert@cs.ucla.edu>
AC_LANG_BOOL_COMPILE_TRY(C): port to g++ with warnings
* lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use the
array as well as setting it, to pacify g++. Reported by
Werner Lemberg in
<http://lists.gnu.org/archive/html/autoconf/2011-12/msg00005.html>.
2011-12-05 Paul Eggert <eggert@cs.ucla.edu>
doc: document GNU make's \#
* doc/autoconf.texi (Comments in Make Macros): Also mention \#
in the right hand side of a macro, as an unportable usage.
2011-11-11 Eric Blake <eblake@redhat.com>
doc: tweak previous commit
* doc/autoconf.texi (Limitations of Builtins) <export>: Give
concrete example of offender, and drop redundant text.
Reported by Stefano Lattarini.
doc: mention export portability hint
* doc/autoconf.texi (Limitations of Builtins) <export>: Document
export limitation.
Suggested by Bruno Haible.
2011-10-21 Stefano Lattarini <stefano.lattarini@gmail.com>
fortran: define $GFC to "yes" if $FC is a GNU compiler
* lib/autoconf/fortran.m4 (AC_PROG_FC): Define `$GFC' to "yes" if
the detected fortran compiler is a GNU compiler, define it to the
empty string otherwise.
This is mostly for consistency for what is done for the C, C++
and Fortran 77 compilers.
* doc/automake.texi: Update.
2011-10-13 Eric Blake <eblake@redhat.com>
admin: mention recent copyright assignments
* AUTHORS: Update list.
2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
docs: we prefer US English spelling over British one
* doc/autoconf.texi (Parallel Make): Prefer `behavior' over
`behaviour' in a couple of places.
2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
docs: some fixlets in section about shell signal handling
* doc/autoconf.texi (Signal handling): Rename ...
(Signal Handling): ... to this, for consistency with other node
names. Fix some typos and grammaros. Add more URL references
in comments.
2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
docs: korn shells can have $? > 256 for signal-terminated children
Some Korn shells, when a child process dies due to signal number
n, can leave in $? an exit status of 256+n, instead of the more
common 128+n. See also Austin Group issue 0000051:
<http://www.austingroupbugs.net/view.php?id=51>
* doc/autoconf.texi (Signal handling): Document the described Korn
Shell behaviour, and some of its possible shortcomings.
Suggestion by Eric Blake.
2011-09-26 Eric Blake <eblake@redhat.com>
docs: relax documentation license by dropping cover text
* doc/autoconf.texi (copying): Drop front- and back-cover texts.
* NEWS: Document this.
Reported by Brian Gough.
2011-09-13 Stefano Lattarini <stefano.lattarini@gmail.com>
docs: signal-related bugs and incompatibilities for the shells
Motivated by recent discussion on the bug-autoconf list, as well
as work in the automake testsuite:
<https://lists.gnu.org/archive/html/bug-autoconf/2011-09/msg00003.html>
<https://lists.gnu.org/archive/html/bug-autoconf/2011-09/msg00004.html>
<http://lists.gnu.org/archive/html/automake-patches/2011-09/msg00066.html>
* doc/autoconf.texi (Signal handling): New paragraph.
(@menu at "Portable Shell", @detailmenu): Update.
2011-09-19 Eric Blake <eblake@redhat.com>
docs: refer to correct AC_RUN_IFELSE parameter name
* doc/autoconf.texi (Runtime) <AC_RUN_IFELSE>: Fix wording.
Reported by Reuben Thomas.
2011-09-16 Eric Blake <eblake@redhat.com>
docs: fix typo in shell example
* doc/autoconf.texi (Shell Substitutions): Fix typo.
* THANKS: Update.
Reported by Nick Bowler.
2011-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
docs: more details about make VPATH rewriting woes
* doc/autoconf.texi (Automatic Rule Rewriting): Solaris make
VPATH rewriting applies to any whitespace-separated word in a
rule, so it might apply also to shell variables, functions
and keywords (and automake has already tripped on this once);
document this, with an example. Since we are at it, do some
minor reformatting of existing text.
2011-09-13 Stefano Lattarini <stefano.lattarini@gmail.com>
docs: document Solaris 10 /bin/ksh and XPG4 sh 'unset' bug
* doc/autoconf.texi (Limitations of Builtins): Solaris 10 ksh
and XPG4 sh also fails upon `unset' of a variable that is not
set.
2011-07-24 Jim Meyering <meyering@redhat.com>
docs: improve the prose describing _AC_CHECK_TYPE_NEW_BODY
* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW_BODY): Improve prose.
2011-08-31 Paul Eggert <eggert@cs.ucla.edu>
AC_C_CONST: don't reject gcc -Werror -Wall
* lib/autoconf/c.m4 (AC_C_CONST): Don't reject gcc when it is used
with -Werror -Wall during configuring. It's unwise to use GCC
that way, but apparently enough people do it nowadays that it's an
issue. These days nobody uses the old compilers that the old
tests reject, so we can't test this fix against them, but it's
more important to work with modern GCC (even when misused) than to
work with no-longer-used compilers. Problem reported by Shevek in
<http://lists.gnu.org/archive/html/bug-autoconf/2008-11/msg00007.html>
and raised again by Dan Kegel in
<http://lists.gnu.org/archive/html/bug-autoconf/2011-08/msg00020.html>.
2011-08-16 Stefano Lattarini <stefano.lattarini@gmail.com>
docs: other issues with parallel BSD make
Motivated by automake bug#9245:
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9245>
and FreeBSD PR bin/159730:
<http://www.freebsd.org/cgi/query-pr.cgi?pr=159730>
* doc/autoconf.texi (Parallel Make): Document other BSD make
incompatibilities. Reorganize the existing related documentation
accordingly.
2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
docs: fix minor typos
* doc/autoconf.texi (Shell Functions): Fix a couple of minor typos.
2011-08-04 Stefano Lattarini <stefano.lattarini@gmail.com>
docs: another Solaris sh bug with redirected `:'
* doc/autoconf.texi (File Descriptors): Solaris 10 /bin/sh
"optimizes" away redirected `:' commands in a shell function
after the first call.
2011-07-31 Paul Eggert <eggert@cs.ucla.edu>
docs: modernize treatment of ns-resolution timestamps
* doc/autoconf.texi (Limitations of Usual Tools): ns-resolution time
stamps are now routinely supported by coreutils 'cp' etc.
2011-07-30 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/specific.m4 (AC_SYS_LARGEFILE): Port to Mac OS X 10.5
by defining _DARWIN_USE_64_BIT_INODE. Imported from gnulib.
2011-07-22 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Quote cleanly.
This is imported from gnulib. gnulib also has an HP-UX 11.11 fix, but
let's see if we can do that another way, as it's pretty heavyweight.
2011-07-22 Eric Blake <eblake@redhat.com>
docs: fix minor doc problems
* doc/autoconf.texi (Why Not Imake): Fix grammar.
(autoreconf Invocation): Fix short option for --version.
* THANKS: Update.
Reported by Christophe Jarry and Russ Allbery.
2011-07-12 Benoit Sigoure <tsunanet@gmail.com> (tiny change)
docs: fix typo in AC_PATH_PROG
* doc/autoconf.texi (Erlang Compiler and Interpreter):
s/AC_PROG_PATH/AC_PATH_PROG/.
* THANKS: Update.
2011-06-30 Paul Eggert <eggert@cs.ucla.edu>
* tests/semantics.at (AC_REPLACE_FUNCS): Test for just-fixed bug.
2011-06-30 Timo Kamph <timo.kamph@tu-harburg.de> (trivial change)
* lib/autoconf/functions.m4 (_AC_REPLACE_FUNCS): Fix tr-cpp problem.
See http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00058.html
2011-06-19 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Be even smarter.
GCC was too smart for the previous patch. See
<http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00035.html>.
2011-06-18 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Try to outsmart GCC.
Problem with stack-detection code reported by Andy Wingo in
<http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00032.html>.
This fix is imported from gnulib's c-stack module.
* doc/autoconf.texi (File Descriptors): Fix texinfo typo.
2011-06-14 Eric Blake <eblake@redhat.com>
doc: mention more about ksh cloexec behavior
* doc/autoconf.texi (File Descriptors): Clarify that only the exec
builtin suffers from cloexec issues.
doc: update quoting example
* doc/autoconf.texi (Autoconf Language): Add AC_LANG_SOURCE use.
* THANKS: Update.
Reported by Křištof Želechovski.
2011-05-05 Eric Blake <eblake@redhat.com>
doc: document dash bug with positional parameters
* doc/autoconf.texi (Shell Substitutions) <${10}>: Document
a pitfall with $10.
2011-04-27 Eric Blake <eblake@redhat.com>
docs: document NetBSD join bug
* doc/autoconf.texi (Limitations of Usual Tools) <join>: Mention
bug in -a parsing.
Reported by J.T. Conklin.
2011-04-13 Eric Blake <eblake@redhat.com>
maint: reflect recent copyright assignments
* AUTHORS: Update.
2011-04-05 Eric Blake <eblake@redhat.com>
maint: reflect recent copyright assignments
* AUTHORS: Update.
2011-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
New macro AC_FC_PP_DEFINE for the preprocessor define flag.
* lib/autoconf/fortran.m4 (AC_FC_PP_DEFINE): New macro.
* lib/autom4te.in (Automake-preselections): Preselect it.
* doc/autoconf.texi (Fortran Compiler): Document it.
* tests/local.at (_AT_CHECK_ENV): Do not complain about
FCFLAGS_F nor FC_DEFINE.
* NEWS: Update.
New macro AC_FC_PP_SRCEXT for preprocessed file extensions.
* lib/autoconf/fortran.m4 (AC_FC_PP_SRCEXT): New macro.
* lib/autom4te.in (Automake-preselections): Preselect it.
* doc/autoconf.texi (Fortran Compiler): Document it, rewriting
the documentation for AC_FC_SRCEXT along the way.
* tests/fortran.at (AC_FC_PP_SRCEXT usage): New test.
* tests/mktests.sh: Exclude the macro from default testing.
* NEWS: Update.
New macro AC_FC_MODULE_OUTPUT_FLAG: module output directory.
* lib/autoconf/fortran.m4 (AC_FC_MODULE_OUTPUT_FLAG): New macro.
* doc/autoconf.texi (Fortran Compiler): Document it.
* tests/local.at (_AT_CHECK_ENV): Do not complain about
FC_MODOUT.
* NEWS: Update.
2011-04-02 Luc Maisonobe <luc@spaceroots.org>
Julian C. Cummings <cummings@cacr.caltech.edu>
Alexander Pletzer <pletzer@txcorp.com>
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
New macro AC_FC_MODULE_FLAG: Fortran 90 module include path.
* lib/autoconf/fortran.m4 (AC_FC_MODULE_FLAG): New macro,
adjusted and rewritten from the AX_F90_MODULE_FLAG macro from
the Autoconf Macro Archive by Luc Maisonobe, Julian C. Cummings,
and Alexander Pletzer.
* doc/autoconf.texi (Fortran Compiler): Document it.
* tests/fortran.at (AC_FC_MODULE_FLAG): New test.
* tests/local.at (AT_CHECK_ENV): Do not complain about FC_MODINC
setting.
* NEWS, THANKS: Update.
2011-04-02 Luc Maisonobe <luc@spaceroots.org>
Alexander Pletzer <pletzer@txcorp.com>
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
New macro AC_FC_MODULE_EXTENSION: Fortran 90 module extension.
* lib/autoconf/fortran.m4 (AC_FC_MODULE_EXTENSION): New macro,
rewritten from the AX_F90_MODULE_EXTENSION macro from the
Autoconf Macro Archive by Luc Maisonobe and Alexander Pletzer.
* doc/autoconf.texi (Fortran Compiler): Document it.
* tests/local.at (_AT_CHECK_ENV): Do not complain about
FC_MODEXT setting.
* NEWS, THANKS: Update.
2011-03-26 Jim Meyering <meyering@redhat.com>
README-hacking: fix typo
* README-hacking: s/just build/just built/.
2011-03-08 Colin Watson <cjwatson@debian.org> (tiny change)
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Particular Functions): Document AC_FUNC_FORK
cache variables.
* THANKS: Update.
2011-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
docs: BSD and Solaris make trailing space macro issue.
* doc/autoconf.texi (Trailing whitespace in Make Macros):
Document issue with trailing whitespace in macro settings.
2011-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix Cray Fortran flag for AC_FC_IMPLICIT_NONE.
* lib/autoconf/fortran.m4 (_AC_FC_IMPLICIT_NONE): Use -e I
not -d i, for Cray ftn.
* THANKS: Update.
Thanks to Tobias Burnus for feedback and testing.
docs: document several Fortran and OpenMP cache variables.
* doc/autoconf.texi (Generic Compiler Characteristics)
[AC_OPENMP]: Document associated cache variables.
(Fortran Compiler) [AC_PROG_F77, AC_PROG_FC, AC_PROG_F77_C_O]
[AC_PROG_FC_C_O, AC_F77_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS]
[AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN, AC_F77_MAIN, AC_FC_MAIN]
[AC_F77_WRAPPERS, AC_FC_WRAPPERS, AC_FC_FREEFORM]
[AC_FC_FIXEDFORM, AC_FC_LINE_LENGTH, AC_FC_CHECK_BOUNDS]
[AC_F77_IMPLICIT_NONE, AC_FC_IMPLICIT_NONE]: Document and/or
index the cache variables used by these macros.
2011-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
and Eric Blake <eblake@redhat.com>
build: exclude M4 with buggy strstr
* m4/m4.m4 (AC_PROG_GNU_M4): When searching PATH, do not accept
an m4 that has either the gnulib strstr bug, or the glibc/gnulib
strstr bug.
2011-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
docs: fix description of AC_F77_IMPLICIT_NONE.
* doc/autoconf.texi (Fortran Compiler) [AC_F77_IMPLICIT_NONE]:
This macro modifies FFLAGS, not FCFLAGS.
AC_FC_SRCEXT: allow gfortran to compile .f77 files.
* lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Try '-x f77' for .f77
files, '-x f95' for others, for gfortran.
New macros AC_{F77,FC}_IMPLICIT_NONE to disable Fortran implicit int.
* lib/autoconf/fortran.m4 (_AC_FC_IMPLICIT_NONE): New internal
macro.
(AC_F77_IMPLICIT_NONE, AC_FC_IMPLICIT_NONE): New macros.
* doc/autoconf.texi (Fortran Compiler): Document them.
* NEWS: Update.
New macro AC_FC_CHECK_BOUNDS to enable Fortran array bounds checking.
* lib/autoconf/fortran.m4 (AC_FC_CHECK_BOUNDS): New macro.
* doc/autoconf.texi (Fortran Compiler): Document it.
* tests/fortran.at (AC_FC_CHECK_BOUNDS): New test.
* NEWS: Update.
Prompted by report from Eve-Marie Devaliere.
2011-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Update known compiler switches for Fortran and OpenMP macros.
* lib/autoconf/c.m4 (AC_OPENMP): Update for Lahey on GNU/Linux.
* lib/autoconf/fortran.m4 (_AC_F95_FC): Also try nagfor.
(_AC_PROG_FC_V): Update documentation for Lahey switches.
(AC_FC_FREEFORM, AC_FC_FIXEDFORM): Add flags for Absoft, Lahey
on GNU/Linux, document NAGWare, g95, and f2c switches.
(AC_FC_LINE_LENGTH): Document NAGware switch. Update Absoft,
Lahey, NAGWare, Open Watcom, g95, and f2c switches.
tests: accept f2c/fort77 as GNU Fortran 77.
* tests/fortran.at (GNU Fortran 77): Try to detect f2c wrapper
fort77 as GNU as well: it defines __GNUC__ too. Fixes testsuite
failure when f77 is fort77.
Report from Giulio Paci.
docs: macro synopses document default failure cases.
* doc/autoconf.texi (Fortran Compiler, Obsolete Macros):
Document failure case for AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN,
AC_FC_SRCEXT, AC_FC_FREEFORM, AC_FC_FIXEDFORM,
AC_FC_LINE_LENGTH, and AC_TRY_RUN macros.
Reword Fortran macro documentation.
* doc/autoconf.texi (Fortran Compiler): Improve wording for
AC_FC_FREEFORM, AC_FC_FIXEDFORM, and AC_FC_LINE_LENGTH macros.
2011-02-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
config.status: do not quote $SHELL when rerunning configure.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Allow
$SHELL to contain more than one word, when rerunning configure,
for debugging purposes like CONFIG_SHELL='/bin/sh -x'.
2011-02-21 Ian Lance Taylor <iant@google.com>
* lib/autoconf/go.m4: New file.
* lib/autoconf/autoconf.m4: Include autoconf/go.m4.
* lib/autoconf/Makefile.am (dist_autoconflib_DATA): Add go.m4.
* lib/freeze.mk (autoconf_m4f_dependencies): Add
$(src_libdir)/autoconf/go.m4.
* doc/autoconf.texi: Rebuild menus.
(Preset Output Variables): Mention Go. Document GOFLAGS.
(Libraries): Mention Go.
(Go Compiler): New subsection.
(Language Choice): Mention Go.
(Generating Sources): Likewise.
(Running the Preprocessor): Likewise.
* tests/go.at: New file.
* tests/suite.at: Include go.at and acgo.at.
* tests/local.at (_AT_CHECK_ENV): Add GOC and GOFLAGS.
* tests/Makefile.am (TESTSUITE_GENERATED_AT): Add
$(srcdir)/acgo.at.
(TESTSUITE_HAND_AT): Add go.at.
(AUTOCONF_FILES): Add $(autoconfdir)/go.m4.
* NEWS: Update.
2011-02-20 Christian Rössel <christian.roessel@gmx.de> (tiny change)
Markus Geimer <m.geimer@fz-juelich.de> (tiny change)
Fix OpenMP flag detection for various Fortran compilers.
* lib/autoconf/c.m4 (_AC_LANG_OPENMP(Fortran 77)): Use '!$'
OpenMP-conditional compilation construct, to force compile
failure with missing OpenMP flag.
(AC_OPENMP): Add flags for Cray CCE and NEC SX compilers.
* THANKS: Update.
2011-02-18 Eric Blake <eblake@redhat.com>
docs: document fourth argument of AC_RUN_IFELSE better
* doc/autoconf.texi (Runtime) <AC_RUN_IFELSE>: Make synopsis show
that the default is configure failure. Rework the text about
proper use of the fourth argument.
long long: don't abort configure when cross-compiling
* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Provide no-op
cross-compiling fallback; fixing regression from 2011-02-16.
2011-02-16 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
docs: fix a typo
* doc/autoconf.texi (Generic Structures): Fix typo.
2011-02-16 Matt Kraai <kraai@ftbfs.org> (tiny change)
docs: fix some typos
* doc/autoconf.texi (testsuite Scripts): Fix typos.
* THANKS: Update.
2011-02-16 Paul Eggert <eggert@cs.ucla.edu>
autoconf: tune long long tests, particularly for c99
This change is imported from gnulib.
* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Don't bother compiling
or running anything if c99, or if unsigned long long int does not
work. In either case, we know the answer without further tests.
Do not compile _AC_TYPE_LONG_LONG_SNIPPET twice. Instead, compile
it at most once, and use its results for both long long int and
unsigned long long int. This is more likely to be efficient in
the common case where the program wants to check for both long
long int and unsigned long long int.
(AC_TYPE_UNSIGNED_LONG_LONG_INT): Don't bother compiling if c99,
since the answer is already known.
2011-02-15 Eric Blake <eblake@redhat.com>
doc: fix debug advice typo
* doc/autoconf.texi (Debugging): Put shell option in right place.
Reported by Reuben Thomas.
2011-02-12 Giulio Paci <giuliopaci@interfree.it> (tiny change)
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix detection of link flags for fort77 on GNU/Linux.
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Properly detect
the fort77 (f2c wrapper) compiler verbose linking output flag.
Fixes also AC_F77_LIBRARY_LDFLAGS and AC_F77_DUMMY_MAIN.
* THANKS: Update.
2011-02-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi: Rebuild menus using emacs ^C ^U ^A.
2011-02-04 Paul Eggert <eggert@cs.ucla.edu>
autoconf: new macro AC_HEADER_CHECK_STDBOOL
* NEWS: Document this.
* doc/autoconf.texi (Particular Headers): Likewise.
In example, don't assume a 'system.h' exists.
* lib/autoconf/headers.m4 (AC_CHECK_HEADER_STDBOOL): New macro.
Use it with AN_IDENTIFIER, since it's less heavyweight.
Reindent to match gnulib, since that's a bit nicer.
(AC_HEADER_STDBOOL): Reimplement in terms of it.
2011-01-29 Jim Warhol <jrw@jwarhol.com> (tiny change)
* doc/autoconf.texi (Introduction): Fix typo.
* THANKS: Update.
2011-01-27 Stefano Lattarini <stefano.lattarini@gmail.com>
docs: another parallel make issue
* doc/autoconf.texi (Parallel Make): Document that some make
implementations, when run in parallel mode, connect stdout and
stderr of child processes to pipes or temporary files, and might
re-route stderr of spawned processes to stout. Also document
that FreeBSD make in parallel mode reuses the same shell for
multiple commands within one recipe (like NetBSD make does).
2011-01-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Eric Blake <eblake@redhat.com>
docs: advise against HP-UX make due to time stamp semantics.
* doc/autoconf.texi (Timestamps and Make): Document HP-UX 11.31
make issue with targets having the same time stamps as their
prerequisites.
* doc/install.texi (Particular Systems): Warn against using
HP-UX make.
2011-01-25 Eric Blake <eblake@redhat.com>
maint: reflect recent copyright assignments
* AUTHORS: Update.
2011-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
docs: new section about whitespace trimmed from make command-lines.
* doc/autoconf.texi (Command-line Macros and whitespace): New
section, document trimming of whitespace from macros set on the
command line and from the environment.
2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
docs: document how to use comment characters in rules.
* doc/autoconf.texi (Comments in Make Rules): Explain how to
produce a `#' in a rule.
(Comments in Make Macros): Add cross reference.
Suggestion from Eric Blake.
docs: new sections about comments and whitespace in make macros.
* doc/autoconf.texi (Top, Portable Make): Adjust menus.
(Comments in Make Macros, Trailing whitespace in Make Macros):
New sections.
Suggestion by Stefano Lattarini.
docs: do not use AIX 5.3 cp -R.
* doc/autoconf.texi (Limitations of Usual Tools): Document one
instance of the cp -R bug on AIX 5.3. This seems to have been
fixed in 6.1 and newer releases.
docs: update entry about unset.
* doc/autoconf.texi (Limitations of Builtins): NetBSD sh unset
also fails upon `unset' of a variable that is not set. Bash 2.01
could also dump core over `unset MAILPATH'.
Suggestion by Eric Blake.
2011-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix LEXLIB and YYTEXT_POINTER with IRIX 6.5 flex 2.5.4.
* lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL):
Overquote nontrivial yyless argument, to compensate for
underquoted macro definition in IRIX 6.5 flex 2.5.4
leading to compile failure due to incompatible operands.
Fixes Automake silent-lex-generic.test failure.
2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
docs: Tru64/OSF sh treats read as special builtin
* doc/autoconf.texi (Limitations of Builtins): read may exit
upon unreadable or non-existent file with Tru64/OSF 5.1 sh.
2011-01-12 Eric Blake <eblake@redhat.com>
docs: fix description of m4_ifval
* doc/autoconf.texi (Conditional constructs) <m4_ifval>: Use
correct argument order.
* THANKS: Update.
Reported by Mostafa.
2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Avoid reference to $CYGWIN in Fortran macros.
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Require
AC_CANONICAL_HOST. Replace test for $CYGWIN with $host_s test.
* tests/fortran.at (AC_F77_DUMMY_MAIN usage)
(AC_FC_DUMMY_MAIN usage, AC_F77_MAIN usage, AC_FC_MAIN usage):
Use AT_CONFIGURE_AC and simplify accordingly, so auxiliary
scripts are copied into the test directories.
(AC_F77_FUNC usage, AC_FC_FUNC usage): Likewise. Adjust to
autoheader being used now.
docs: link to Gnulib configmake documentation.
* doc/autoconf.texi (Defining Directories): Use proper crossref,
now that the Gnulib manual has a configmake section.
Thanks to Karl Berry.
2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
docs: link to 'set -e' shell behavior overview.
* doc/autoconf.texi (Limitations of Builtins): Add link to
Sven Mascheck's 'set -e' page. Replace broken Opengroup link.
Suggestion by Eric Blake.
docs: mention configmake module for defining directories.
* doc/autoconf.texi (Defining Directories): Mention configmake
gnulib module.
Suggestion by Karl Berry and Eric Blake.
2011-01-04 Eric Blake <eblake@redhat.com>
doc: improve install.texi texinfo markup
* doc/install.texi: Don't force @firstparagraphindent on all
clients; instead, add it only when building INSTALL. Compress
copyright.
* Makefile.am (INSTALL): Match gnulib's formatting.
Reported by Karl Berry.
maint: update copyright year
All files changed to add 2011, via 'make update-copyright'.
maint: resync upstream files
* GNUmakefile: Regenerated by 'make fetch'.
* build-aux/config.guess: Likewise.
* build-aux/config.sub: Likewise.
* build-aux/gendocs.sh: Likewise.
* build-aux/git-version-gen: Likewise.
* build-aux/texinfo.tex: Likewise.
* doc/make-stds.texi: Likewise.
* lib/Autom4te/Channels.pm: Likewise.
* lib/Autom4te/Configure_ac.pm: Likewise.
* lib/Autom4te/FileUtils.pm: Likewise.
* lib/Autom4te/Struct.pm: Likewise.
* lib/Autom4te/XFile.pm: Likewise.
maint: document use of copyright ranges
* README: Copy coreutils wording for allowing copyright year
ranges.
* cfg.mk (UPDATE_COPYRIGHT_USE_INTERVALS): Now that GNU Coding
Standards permit it, prefer shorthand copyright.
* .x-update-copyright: Exempt an imported file.
2011-01-03 Karl Berry <karl@freefriends.org>
Avoid using @acronym in install.texi.
* doc/install.texi (Basic Installation, Multiple Architectures)
(Installation Names): Write `GNU' instead of `@acronym{GNU}'.
2010-12-27 Paul Eggert <eggert@cs.ucla.edu>
autoconf: Use -D_STDC_C99=, not -xc99=all, with Solaris cc
* lib/autoconf/c.m4 (_AC_PROG_CC_C99): Use -D_STDC_C99= rather than
-xc99=all to convince Solaris Studio cc to compile c99 programs.
2010-11-26 Paul Eggert <eggert@cs.ucla.edu>
autotest: fix file descriptor leak
* lib/autotest/general.m4 (_AT_CHECK): Close AS_MESSAGE_LOG_FD
when running the test. Problem reported by Luke Mewburn in
<http://lists.gnu.org/archive/html/autoconf/2010-11/msg00036.html>.
2010-11-20 Paul Eggert <eggert@cs.ucla.edu>
autoconf: don't assume sys/stat.h and sys/types.h when testing C89
Problem reported by Patrick Pelissier in
<http://lists.gnu.org/archive/html/bug-autoconf/2010-11/msg00019.html>.
* lib/autoconf/c.m4 (_AC_PROG_CC_C89): Don't include sys/types.h
and sys/stat.h. Instead, define a dummy struct stat. C89 doesn't
guarantee sys/types.h and sys/stat.h.
2010-11-10 Reuben Thomas <rrt@sc3d.org> (tiny change)
docs: avoid first person, and credit history to David MacKenzie
* doc/autoconf.texi (History): Add credit.
2010-10-26 Paul Eggert <eggert@cs.ucla.edu>
docs: Posix now says "((cat))" isn't portable
* doc/autoconf.texi (Parenthesis): Update documentation to reflect
what Posix 1003.1-2008 says about "((".
2010-10-20 Eric Blake <eblake@redhat.com>
docs: document dash bug in <>
* doc/autoconf.texi (File Descriptors): Dash 0.5.5 truncates on
<>; at least this was fixed in dash 0.5.6.
2010-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
tests: avoid AC_CACHE_CHECK test failure with dash.
* tests/base.at (AC_CACHE_CHECK): Normalize configure exit
status in presence of syntax error in sourced site file.
Do not error out if configure is aborted at this point.
Fixes testsuite failure with dash 0.5.5.1.
2010-10-08 Eric Blake <eblake@redhat.com>
AS_LITERAL_IF: Treat raw = as literal again.
* lib/m4sugar/m4sh.m4 (_AS_LITERAL_IF): Treat = like +.
* tests/m4sh.at (AS@&t@_TR_SH and AS@&t@_TR_CPP)
(AS@&t@_LITERAL_IF): Expand tests.
* NEWS: Document the fix.
Reported via Ben Pfaff; originally http://bugs.debian.org/593838
2010-09-24 Joshua G. Hale <jgh.emc@gmail.com> (tiny change)
docs: fix typo in AC_CONFIG_FILES example code.
* doc/autoconf.texi (Configuration Actions): Fix typo.
* THANKS: Update.
2010-10-05 Eric Blake <eblake@redhat.com>
doc: suggest a few more workarounds
* doc/autoconf.texi (Limitations of Usual Tools) <tr>: Mention
that 'redundant' brackets can work around Solaris bug.
(File Descriptors): Mention that {} works as well as () for
silencing file-not-found warnings.
* THANKS: Update.
Suggested by Pádraig Brady.
2010-09-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
tests: normalize trailing spaces in gcc -E -dD output.
* tests/compile.at (AC_LANG_SOURCE example)
(AC_LANG_PROGRAM example): Remove trailing spaces before
comparing with expected output. Fixes testsuite failure
with GCC 2.95.3 on Haiku.
Report by Scott McCreary.
2010-09-22 Eric Blake <eblake@redhat.com>
Release Version 2.68.
* NEWS: Mention the release.
2010-09-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
autom4te: add traces for likely future Automake macros
* lib/autom4te.in (Automake-preselections): Trace
AM_MAKEFILE_INCLUDE, AM_NLS, AM_POT_TOOLS, AM_PATH_GUILE,
AM_PROG_MOC, AM_XGETTEXT_OPTION, _AM_MAKEFILE_INCLUDE.
2010-09-22 Eric Blake <eblake@redhat.com>
AC_REPLACE_FUNCS: allow split lines again
* lib/autoconf/functions.m4 (AC_REPLACE_FUNCS): Flatten newlines
and move guts...
(_AC_REPLACE_FUNCS): ...to new helper.
* tests/semantics.at (AC_REPLACE_FUNCS): Enhance test.
Reported by Ralf Wildenhues.
2010-09-21 Eric Blake <eblake@redhat.com>
AC_LIBOBJ: optimize internal use
* lib/autoconf/general.m4 (_AC_LIBOBJ): Move literal check...
(AC_LIBOBJ): ...into callers.
* lib/autoconf/functions.m4 (_AC_REPLACE_FUNC): Likewise, thus
avoiding a second call to AS_LITERAL_IF.
AC_REPLACE_FUNCS: restore shell loop for non-literal
* lib/autoconf/functions.m4 (AC_REPLACE_FUNCS): Handle
non-literals, which was lost in 2010-02-26 optimization.
* tests/semantics.at (AC_REPLACE_FUNCS): Enhance test.
* NEWS: Document the fix.
* THANKS: Update.
Reported by Wiseman Jun.
maint: resync upstream files
* build-aux/gendocs.sh: Resync via 'make fetch'.
tests: XFAIL in the face of a MacOS X bug
* doc/autoconf.texi (Limitations of Usual Tools) <sed>: Mention
the issue.
* tests/torture.at (Substitute and define special characters):
Detect if sed cannot process 8-bit bytes in the C locale.
* THANKS: Update.
Reported by Rochan.
2010-09-20 Eric Blake <eblake@redhat.com>
autom4te: don't filter out portions of location traces
* bin/autom4te.in (_m4_warn): Pass warnings through the channels
machinery as a single chunk, to avoid partial filtering.
* lib/m4sugar/m4sugar.m4 (_m4_warn): Document the conventions.
* tests/m4sugar.at (m4@&t@_warn): Enhance test to catch this.
Reported by Bruno Haible.
2010-09-17 Eric Blake <eblake@redhat.com>
build: support autobuild
* cfg.mk (gnulib-update): Add autobuild.m4.
* configure.ac (AB_INIT): Output autobuild header.
* m4/autobuild.m4: New file, from gnulib.
* build-aux/config.guess: Resync from upstream.
* build-aux/config.sub: Likewise.
* build-aux/texinfo.tex: Likewise.
* doc/fdl.texi: Likewise.
* doc/gnu-oids.texi: Likewise.
* doc/make-stds.texi: Likewise.
* doc/standards.texi: Likewise.
* build-aux/gendocs.sh: Likewise.
config.status: avoid corrupting $ac_t
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): Use a
different name, so as not to clash with pre-2.50 usage of "$ac_t"
as a tab character.
Reported by Sam Steingold.
2010-09-17 Bruno Haible <bruno@clisp.org>
docs: mark several macros obsolete
* doc/autoconf.texi (Particular Functions): Mark AC_FUNC_ERROR_AT_LINE,
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, AC_FUNC_MKTIME, AC_FUNC_STRTOD
as obsolete and refer to Gnulib.
* NEWS: Mention the change.
AC_FUNC_STRNLEN: more realistic cross-compilation guess
* lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): Require
AC_CANONICAL_HOST. When cross-compiling, guess it works everywhere
except on AIX.
2010-09-16 Eric Blake <eblake@redhat.com>
m4sh: fix today's AS_BOX regression
* lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Fix underquotation.
Reported by Stefano Lattarini.
fortran: avoid misparsed FCLIBS from Fortran compiler
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Also skip
'Configured by:' lines from gfortran.
* NEWS: Mention it.
Reported by Stefano Lattarini.
2010-09-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Add autom4te trace for AM_PROG_AR.
* lib/autom4te.in (Automake-preselections): Trace
AM_PROG_AR.
2010-09-16 Eric Blake <eblake@redhat.com>
m4sugar: fix regression in AC_MSG_ERROR expansion
* lib/m4sugar/m4sugar.m4 (m4_defun_init): Avoid macro
concatenation on subsequent expansions
* tests/m4sh.at (AS_WARN and AS_ERROR): New test.
* tests/m4sugar.at (m4@&t@_require: one-shot initialization):
Enhance test.
* NEWS: Document the fix.
* THANKS: Update.
Reported by Adrian Bunk and and Nishio Futoshi.
2010-09-13 Stefano Lattarini <stefano.lattarini@gmail.com>
tests: simplify grepping of 'automake --version'.
* tests/tools.at (autom4te preselections): Remove minor
redundancies in regular expressions used to grep the output
'automake --version' for test skipping.
* tests/torture.at (Configuring subdirectories)
(Unusual Automake input files): Likewise.
2010-09-13 Eric Blake <eblake@redhat.com>
autotest: work around zsh bug
* lib/autotest/general.m4 (AT_DATA): Special case an empty data
file, since zsh botches empty here-docs.
* doc/autoconf.texi (Writing Testsuites) <AT_DATA>: Document that
this allows empty contents.
* tests/autotest.at (AT_DATA): New test.
Reported by Ralf Wildenhues.
docs: mention gnulib portability docs
* doc/autoconf.texi (Function Portability, Header Portability):
Add external links to gnulib.
2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Gary V. Vaughan <gary@gnu.org>
docs: document zsh specialty with empty here-documents.
* doc/autoconf.texi (Here-Documents): zsh 4.3.10 adds a newline
to empty here-docs.
2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
docs: document zsh special array $options.
* doc/autoconf.texi (Special Shell Variables): Add entry for
`options'.
doc: minor updates.
* doc/autoconf.texi (Generic Compiler Characteristics): Use
second argument of @uref consistently, for nicer OpenMP link.
(Polymorphic Variables): Restore font-lock.
(Debugging): Add item for bashdb.
Document and test AT_CHECK args shell execution environment.
* doc/autoconf.texi (Writing Testsuites): Document that COMMANDS
is run in a subshell, but RUN-IF-FAIL and RUN-IF-PASS are not.
* tests/autotest.at (AT@&t@_CHECK execution environment): New
test.
* NEWS: Update.
autotest: document and test at_status semantics.
* doc/autoconf.texi (Writing Testsuites): Document $at_status.
* tests/autotest.at (at_status): New test.
* NEWS: Update.
doc: index entries for non-environment, non-output variables.
* doc/autoconf.texi: Clarify the meaning of the various variable
indices. Merge variable index `vr' into concept index using
syncodeindex.
(Configuration Actions, Generic Programs, Generic Functions)
(Writing Testsuites): Add index entries for documented shell
variables used during in configure and testsuite scripts.
2010-09-12 Fernando Carrijo <fcarrijo@freedesktop.org> (tiny change)
docs: fix minor typo and 'See See foo' instances
* doc/autoconf.texi (Buffer Overruns and Subscript Errors): Fix
usage of TeX superscript notation to correctly represent number
exponent.
(Shell Functions): s/[Ss]ee @xref/@xref/
(Limitations of Shell Builtins, Canonicalizing): Likewise.
* THANKS: Update.
2010-09-13 Eric Blake <eblake@redhat.com>
tests: skip broken automake wrapper on MirBSD
* tests/tools.at (autom4te preselections): Skip, rather than fail,
if 'automake --version' succeeds without printing a version when
an environment variable is not set.
* tests/torture.at (Configuring subdirectories)
(Unusual Automake input files): Likewise.
2010-09-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
doc: minor indexing update.
(Shell Substitutions, Site Defaults): Fix markup for indexed
entried, using @code and @file as appropriate.
(M4 Macro Index): Clarify which of the indexed macros have m4_
and which have AS_ prefix.
2010-09-08 Eric Blake <eblake@redhat.com>
m4sh: preserve set -vx over re-exec
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Trace through
re-exec, to make it easier to debug script startup issues.
Idea from recent bug-gnulib change to init.sh.
docs: update alloca recommendations
* doc/autoconf.texi (Particular Functions): Don't redeclare alloca
on FreeBSD.
* THANKS: Update.
Reported by Giorgos Keramidas.
docs: link to GNU Coding Standards in intro
* doc/autoconf.texi (Introduction): Actually link to the
standards. Make other references consistent.
docs: mention traditional awk limitation
* doc/autoconf.texi (Limitations of Usual Tools) <awk>: Mention
that traditional awk lacks ENVIRON. Add reference to awk manual.
(Particular Programs) <AC_PROG_AWK>: Add reference to awk section.
Reported by Ralf Wildenhues.
2010-09-07 Eric Blake <eblake@redhat.com>
docs: mention bash vs. POSIXLY_CORRECT
* doc/autoconf.texi (Special Shell Variables) <POSIXLY_CORRECT>:
Document bash behavior.
* THANKS: Update.
Reported by Dustin J. Mitchell, via bug-gnulib list.
docs: enhance recommendations on test usage
* doc/autoconf.texi (Limitations of Builtins) <test (strings)>:
Mention yet another Solaris issue.
Reported by Stefano Lattarini.
2010-08-30 Eric Blake <eblake@redhat.com>
tests: avoid trashing /
* tests/torture.at (AC_CONFIG_COMMANDS with temporary directory):
Use a relative path, rather than risking issues with /.
Reported by Ralf Wildenhues.
docs: mention Solaris here-docs vs. ${a-"b c"}
* doc/autoconf.texi (Shell Substitutions) <${var:=value}>:
Document problem of "" within here-docs.
Reported by Ralf Wildenhues.
fortran: always avoid AC_LANG_CONFTEST warning
* lib/autoconf/lang.m4 (AC_LANG_CONFTEST()): Make the default
match the fact that the default AC_LANG_SOURCE does not inline
confdefs.h in the first place.
* lib/autoconf/fortran.m4 (AC_FC_FREEFORM, AC_FC_FIXEDFORM)
(AC_FC_LINE_LENGTH, __AC_FC_NAME_MANGLING): Revert previous use of
AC_LANG_DEFINES_PROVIDED.
Suggested by Ralf Wildenhues.
config.status: minimize use of $tmp
* lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP)
(_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_FILE)
(_AC_OUTPUT_HEADERS_PREPARE, _AC_OUTPUT_HEADER): Use $ac_tmp
internally, while preserving $tmp for existing users.
* tests/torture.at (AC_CONFIG_COMMANDS with temporary directory):
New test, that $tmp is available but not essential.
docs: avoid use of $tmp outside of config.status use
* doc/autoconf.texi (Polymorphic Variables, Shell Substitutions):
Use $var or $t instead.
(Limitations of Usual Tools): Use $dir instead.
(Initialization Macros) <AS_TMPDIR>: Make good on the NEWS
regarding AS_TMPDIR being documented as consuming $tmp.
Suggested by Ralf Wildenhues.
2010-08-29 Paul Eggert <eggert@cs.ucla.edu>
AC_PROG_YACC: fix comment re what "yacc" stands for
* lib/autoconf/programs.m4 (AC_PROG_YACC): YACC stands for
"Yet Another Compiler Compiler", not "Yet Another C Compiler".
Problem reported by Chris Long in
<http://lists.gnu.org/archive/html/bug-autoconf/2010-08/msg00134.html>.
2010-08-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Avoid long lines in testsuite script.
* lib/autotest/general.m4 (AT_INIT): Remove definition of
AT_groups_all. Initialize at_groups from at_help_all, with
newlines instead of spaces separating test groups numbers.
Adjust all code to newlines.
* NEWS: Update.
* tests/autotest.at (Huge testsuite): New test.
Try to update config.cache atomically; respect symlinks.
* lib/autoconf/general.m4 (AC_CACHE_SAVE): Use `mv -f' to update
the cache file if it is a regular file and not a symlink. Move
first to temporary name in the target directory if not in the
current directory for atomicity across mount points.
* tests/base.at (AC_CACHE_CHECK): Try symlinked cache file.
* doc/autoconf.texi (Cache Files): Leftover temporary cache
files may be deleted by the user.
* NEWS: Update.
2010-08-27 Eric Blake <eblake@redhat.com>
m4sh: protect LINENO against stray macro
* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Double quote entire
sed script, to avoid issue uncovered by automake testsuite where
'b' was an m4 macro that broke execution on dash.
Reported by Stefano Lattarini.
m4sh: assume ${a:-b} support
* tests/m4sh.at (Null variable substitution): New test.
* doc/autoconf.texi (Shell Substitutions) <${var:-value}>: Mention
that m4sh guarantees support.
(Limitations of Usual Tools) <mktemp>: Use it.
* lib/m4sugar/m4sh.m4 (AS_LINENO_POP, AS_VAR_IF, AS_TMPDIR):
Exploit use of colon for smaller files.
2010-08-26 Eric Blake <eblake@redhat.com>
docs: document m4_define_default
* doc/autoconf.texi (Conditional constructs) <m4_define_default>:
Document it, since gnulib wants to use it.
* NEWS: Mention this.
autoconf: warn if AC_*_IFELSE lacks complete program
* lib/autoconf/lang.m4 (AC_LANG_DEFINES_PROVIDED): New macro.
(AC_LANG_SOURCE): Call it.
(AC_LANG_CONFTEST): Add warning if new macro is not called.
* lib/autoconf/c.m4 (_AC_LANG_OPENMP): Add missing AC_LANG_SOURCE.
* lib/autoconf/fortran.m4 (AC_FC_FREEFORM, AC_FC_FIXEDFORM)
(AC_FC_LINE_LENGTH, __AC_FC_NAME_MANGLING): Intentionally bypass
AC_LANG_SOURCE.
* lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Likewise.
* tests/compile.at (AC_COMPILE_IFELSE): New test.
* doc/autoconf.texi (Generating Sources) <AC_LANG_CONFTEST>:
Document new warning.
<AC_LANG_DEFINES_PROVIDED>: Document new macro.
<AC_LANG_SOURCE>: Document use of new macro.
* NEWS: Document the improvement.
Suggested by Bruno Haible.
autoconf: fix regression in AC_FUNC_SELECT_ARGTYPES
* lib/autoconf/functions.m4 (AC_FUNC_SELECT_ARGTYPES): Fix
quoting; regression from yesterday leaked '' into default value.
Reported by Ralf Wildenhues.
docs: mention another issue with variable expansion
In particular, see http://austingroupbugs.net/view.php?id=221
and http://austingroupbugs.net/view.php?id=255.
* doc/autoconf.texi (Shell Substitutions) <${var+value}>: New
subsection.
<${var=literal}>: Tweak wording. Add mention of an ambiguity
allowed by POSIX.
* tests/torture.at (Substitute and define special characters):
Make test more robust; here, the outer "" is in a here-doc, and
does not violate the quoting rules of thumb just documented.
2010-08-25 Eric Blake <eblake@redhat.com>
m4sh: revert incorrect mix of "${a='b'}"
* bin/autoconf.as: Revert leak of literal '' into assignment.
* tests/tools.at (autom4te preselections): Likewise.
m4sh: revert regression in AS_TMPDIR
* lib/m4sugar/m4sh.m4 (AS_TMPDIR): The previous patch trying to
rename $tmp to $as_tmp was wrong; config.status relies on it.
m4sh: reduce size of AS_VAR_TEST_SET
* lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Make more compact.
tests: improve some shell assumption testing
* tests/m4sh.at (Functions Support, Functions and return Support)
(Negated classes in globbing): Update comments.
(AS@&t@_VAR basics): Test comparison to empty string.
docs: mention cost of globbing during variable expansion
* doc/autoconf.texi (Shell Substitutions) <${var=literal}>:
Recommend quoting substitutions that might trigger globbing.
(Limitations of Builtins) <:>: Likewise.
* bin/autoconf.as: Follow our own advice.
* lib/autoconf/functions.m4 (AC_FUNC_SELECT_ARGTYPES): Likewise.
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
* lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
* lib/autotest/general.m4 (_AT_FINISH): Likewise.
* lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
* tests/autotest.at (parallel autotest and signal handling):
Likewise.
* tests/c.at (AC_OPENMP and C, AC_OPENMP and C++): Likewise.
* tests/foreign.at (shtool): Likewise.
* tests/fortran.at: Likewise.
* tests/tools.at (autom4te preselections): Likewise.
* tests/torture.at (VPATH): Likewise.
m4sh: fix some namespace safety issues
* lib/m4sugar/m4sh.m4 (_AS_SHELL_SANITIZE): Avoid problems if
as_myself is inherited from environment.
(AS_TMPDIR): Be namespace clean.
2010-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
tests: fix AC_CACHE_CHECK to skip with bad shells.
* tests/base.at (AC_CACHE_CHECK): Skip test with malformed
config.site file if the shell does not report syntax errors
from a sourced file. Fixes test failure on AIX and FreeBSD.
Report from Rainer Tammer.
2010-08-24 Paul Eggert <eggert@cs.ucla.edu>
AC_HEADER_STDBOOL: avoid spurious failure with modern xlc
* lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Move the "bool e =
&s;" test into the main program, as C99 might plausibly be
interpreted as not requiring support for this construction in
static initializers. Remove the "#if defined __xlc__" stuff, as
the bug is not present in recent xlc implementations, and they
reject the test for other (valid) reasons. People using ancient
xlc versions, if any, are suggested to update to fixed versions.
Reported by Ralf Wildenhues in the thread starting at:
http://lists.gnu.org/archive/html/bug-autoconf/2010-08/msg00103.html
2010-08-24 Eric Blake <eblake@redhat.com>
AC_FUNC_GETLOADAVG: don't define SVR4 on cygwin
* lib/autoconf/functions.m4 (_AC_LIBOBJ_GETLOADAVG): Only define
SVR4 when -lkvm is required.
* THANKS: Update.
Reported by Yaakov Selkowitz.
2010-08-23 Eric Blake <eblake@redhat.com>
AC_HEADER_STDBOOL: avoid spurious clang failure
* lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Drop gcc (and by
extension clang) check in favor of a gnulib test. Force failure,
rather than merely testing for a compiler extension.
* THANKS: Update.
Reported by Anders Kaseorg.
2010-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
doc: AIX sed dislikes indented comments.
* doc/autoconf.texi (Limitations of Usual Tools) <sed>: Update.
2010-08-19 Stefano Lattarini <stefano.lattarini@gmail.com>
Fix autoreconf docs w.r.t. AUTOM4TE environment variable.
* doc/autoconf.texi (Using autoreconf to Update configure
Scripts): List `AUTOM4TE' among the environment variables
honored by autoreconf.
* bin/autoreconf.in ($help): Likewise.
2010-08-17 Eric Blake <eblake@redhat.com>
doc: improve AS_VAR_IF details
* doc/autoconf.texi (Polymorphic Variables) <AS_VAR_IF>: Make it
clear that user must supply quotes as needed.
* THANKS: Update.
Suggested by Randall Cotton.
2010-08-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix Autotest --errexit to exit after XPASSing tests.
* lib/autotest/general.m4 (AT_INIT) <at_fn_group_postprocess>:
Exit after an unexpected passing test if $at_errexit.
* tests/autotest.at (errexit): Also try tests that xpass, skip,
xfail, or fail hard.
2010-08-14 Eric Blake <eblake@redhat.com>
AC_INIT: allow bugreport to contain '?'
* lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Relax check.
* tests/base.at (AC_INIT with unusual version strings): Enhance
test.
* doc/autoconf.texi (Initializing configure): Document this.
* NEWS: Likewise.
* THANKS: Update.
Reported by Yavor Doganov and others.
2010-08-10 Peter Rosin <peda@lysator.liu.se>
Keep testsuite files on unexpected pass.
* lib/autotest/general.m4 (AT_INIT) <at_fn_group_postprocess>:
Don't cleanup the group directory when a test unexpectedly passes.
* tests/autotest.at (Cleanup): Check that an unexpected pass leaves
the test group directory intact.
2010-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Skip AC_FC_SRCEXT([f90]) tests with a Fortran 77 compiler in $FC.
* tests/fortran.at (AC_FC_FREEFORM with AC_FC_SRCEXT)
(AC_FC_FIXEDFORM with AC_FC_SRCEXT): Skip if the compiler cannot
handle files with .f90 extension.
Report by Luke Dalessandro.
Fix testsuite failures with typical m4-x.y.z program suffix.
* tests/local.at (AT_CHECK_M4): Normalize hyphens and digits
after the `m4' program name.
* THANKS: Update.
Report by Luke Dalessandro.
2010-08-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix description of AC_CONFIG_TESTDIR to not mention atconfig.in.
* doc/autoconf.texi (Making testsuite Scripts): atconfig is not
created from an input template.
2010-08-05 Bruno Haible <bruno@clisp.org>
and Eric Blake <eblake@redhat.com>
AC_FUNC_ALLOCA: modernize
* lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Assume that alloca's
return type is 'void *', not 'char *'. Supply C89 prototype.
Reported by Thomas Klausner.
2010-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix testsuite failure due to bugs in third-party aclocal macros.
* tests/torture.at (Non-literal AC_CONFIG_SUBDIRS): Create a
hand-written aclocal.m4 file, so the -Werror test doesn't fail
over aclocal warnings about errors in third-party macro files.
Simplify test accordingly, calling autoreconf throughout.
Report by Bob Friesenhahn.
Fix AC_LANG_SOURCE and AC_LANG_PROGRAM tests.
* tests/compile.at (AC_LANG_SOURCE example)
(AC_LANG_PROGRAM example): Fix broken sed script for
extracting the interesting part of the conftest.c file.
Fixes test failure on Haiku.
* THANKS: Update.
Report by Scott McCreary.
2010-08-03 Eric Blake <eblake@redhat.com>
docs: mention bash bug with word splitting
* doc/autoconf.texi (Shell Substitutions): Document bash bug, and
zsh default behavior difference.
Reported by Ralf Wildenhues.
docs: mention ksh bug with function syntax
* doc/autoconf.texi (Shell Functions): Document ksh93 limitation.
2010-08-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix typo in Autotest color test, for dash testsuite failure.
* tests/autotest.at (colored test results): Use exit not
Exit. Fixes test failure with dash 0.5.4.
2010-08-02 Eric Blake <eblake@redhat.com>
docs: track recent copyright assignment
* AUTHORS: Add Peter Rosin.
2010-08-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Add testsuite exposure for last-minute fix in 2.67.
* tests/autotest.at (parallel args but non-working mkfifo):
New test, to expose the failure v2.66-23-g991183c avoided.
Ensure unnamed test group categories are separated from previous.
* doc/autoconf.texi (Writing Testsuites) <AT_BANNER>: Update
description.
* lib/autotest/general.m4 (AT_INIT) <at_fn_banner>: Set banner
to single space, not empty line, once printed. For empty
banners, print a single empty line to separate them from a
previous test group category.
* tests/autotest.at (Banners): Insert another test group; adjust
tests accordingly. Extend test to cover semantic change.
* NEWS: Update.
2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix typos in perlpod docs.
* lib/Autom4te/ChannelDefs.pm, lib/Autom4te/Channels.pm,
lib/Autom4te/General.pm: Fix typos and spacing in perlpod
documentation and in comments.
2010-07-29 Eric Blake <eblake@redhat.com>
docs: mention ksh file descriptor limitation
* doc/autoconf.texi (File Descriptors): Document issue with fd 10
and above.
Reported by Ralf Wildenhues.
docs: mention cd limitation
* doc/autoconf.texi (Limitations of Builtins) <cd>: Document
issues with empty argument.
2010-07-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Add missing index entries to manual.
* doc/autoconf.texi (Fortran Compiler, Language Choice): Add
index entries for AC_FC_DUMMY_MAIN, AC_LANG; reformat entry for
AC_LANG_ASSERT.
2010-07-21 Eric Blake <eblake@redhat.com>
Release Version 2.67.
* NEWS: Mention the release.
Prepare for release.
* maint.mk (PREV_VERSION_REGEXP): New macro, missed when
backporting update-NEWS_hash from gnulib.
* cfg.mk (old_NEWS_hash): Correctly generate.
* build-aux/gendocs.sh: Temporarily break sync from upstream, to
avoid including spurious directories in info source tarball.
Avoid spurious testsuite failures.
* doc/autoconf.texi (Generating Sources): Don't mix gcc '-E' and
'-o -', since the former already implies stdout, while the latter
creates -.exe on cygwin.
* tests/compile.at (AC_LANG_SOURCE example)
(AC_LANG_PROGRAM example): Likewise. Also prevent any config.site
interference.
Partially revert previous patch.
* lib/autotest/general.m4 (AT_INIT) <serial testing>: Changing
at_jobs here breaks output if -j2 was requested but shell is
insufficient to support parallel testing.
Reported by Ralf Wildenhues.
Minor testsuite size reduction.
* lib/autotest/general.m4 (AT_INIT) <serial testing>: Ensure
at_jobs is 1.
(AT_SETUP, AT_CLEANUP): Factor initialization code...
(AT_INIT) <at_fn_group_banner>: ...into new function.
Based in part on suggestion by Ralf Wildenhues.
2010-07-20 Eric Blake <eblake@redhat.com>
Close job control fd before running tests.
* doc/autoconf.texi (File Descriptors): Clarify limitations.
* lib/autotest/general.m4 (AT_CLEANUP): Avoid leaking job control
fifo fd to user tests.
(AT_INIT): Delete comment, now that close is done elsewhere.
Suggested by Ralf Wildenhues.
2010-07-20 Paul Eggert <eggert@cs.ucla.edu>
and Eric Blake <eblake@redhat.com>
Plug race in parallel autotest.
* lib/autotest/general.m4 (AT_INIT) <Fifo job dispatcher>: Track
two fds to fifo in parent, to avoid race where parent can see EOF
before child opens fifo. Avoid any atomicity problems with tokens
larger than one byte.
* NEWS: Document the bug fix.
2010-07-20 Eric Blake <eblake@redhat.com>
Another empty argument through expr workaround.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Detect empty
arguments. Reject empty file argument.
* tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
Check for missing argument.
Also reject ' and newline from AC_INIT strings.
* lib/autoconf/general.m4 (_AC_INIT_LITERAL): Reject a couple more
problematic characters.
* tests/base.at (AC_INIT with unusual version strings): Enhance
test.
* doc/autoconf.texi (Initializing configure) <AC_INIT>: Further
clarifications, and clean up wording about use of m4_esyscmd.
* NEWS: Update previous news entry.
Suggested by Paolo Bonzini.
2010-07-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Let autoreconf pass warning flags to new-enough aclocal.
* bin/autoreconf.in ($aclocal_supports_warnings)
($automake_supports_warnings): New globals.
(parse_args): Set and use them. Be sure to invoke `aclocal
--help' and `automake --help' just once each.
* NEWS: Update.
Prompted by report from Bruno Haible.
Fix parsing of empty variable settings on the command line.
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Work around
expr bug returning 0 instead of the empty string.
* lib/autotest/general.m4 (AT_INIT): Likewise.
Fix typo in the manual.
* doc/autoconf.texi (AC_ACT_IFELSE vs AC_TRY_ACT): Fix typo.
2010-07-19 Eric Blake <eblake@redhat.com>
Fix up AC_INIT vs. " issues, and document it.
* doc/autoconf.texi (Initializing configure): Improve
documentation on argument restrictions.
* NEWS: Tweak information.
* lib/autoconf/general.m4 (_AC_INIT_GENERAL): New macro, that also
rejects literal ".
(_AC_INIT_PACKAGE): Use it to plug hole in last patch.
* tests/base.at (AC_INIT with unusual version strings): Enhance
test.
2010-07-19 Eric Blake <eblake@redhat.com>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Relax AC_INIT requirements for PACKAGE and VERSION strings again.
* lib/m4sugar/m4sh.m4 (AS_LITERAL_HEREDOC_IF): New macro.
(_AS_LITERAL_HEREDOC_IF, _AS_LITERAL_HEREDOC_IF_YES)
(_AS_LITERAL_HEREDOC_IF_NO): New helper macros.
* lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Use
AS_LITERAL_HEREDOC_IF for PACKAGE and VERSION strings.
* tests/base.at (AC_INIT with unusual version strings): New test.
* tests/m4sh.at (AS@&t@_LITERAL_IF): Extend test.
* NEWS: Update.
2010-07-19 Eric Blake <eblake@redhat.com>
Fix testsuite failures from previous patch.
* lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Also remove
conftest.i when preprocessor tests break out of a loop.
2010-07-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Allow inspecting AC_PREPROC_IFELSE output in true branch.
* lib/autoconf/general.m4 (_AC_PREPROC_IFELSE_BODY): Redirect
preprocessor output to conftest.i rather than /dev/null.
(_AC_PREPROC_IFELSE): Remove conftest.i in the postprocessing.
* tests/compile.at (Order of user actions and cleanup): Extend
test in the ACTION-IF-TRUE branch.
* doc/autoconf.texi (Running the Preprocessor): Document new
feature.
* NEWS: Update.
Fix AC_FC_LIBRARY_LDFLAGS detection for BlueGene xlf -qipa.
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
'-link', added spuriously when -qipa is used with the XL
Fortran compilers on BlueGene.
manual: compiler flags -D and -L should not be followed by space
* doc/autoconf.texi (Preset Output Variables): Remove space
between -D and -L flags and their arguments, traditional cpp
implementations like Solaris 10, IRIX 6.5, OSF Tru64 5.1D,
AIX 5.3 do not accept it.
2010-07-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix comment typo in the manual.
* doc/autoconf.texi (Generic Compiler Characteristics): Refer
to the right test in the example marker comment.
Spotted by Eric Blake.
2010-07-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
New Fortran macro AC_FC_LINE_LENGTH.
* lib/autoconf/fortran.m4 (AC_FC_LINE_LENGTH): New macro.
* doc/autoconf.texi (Fortran Compiler): Document it.
* tests/fortran.at (AC_FC_LINE_LENGTH): New test.
* NEWS: Update.
Fix wording about AC_CONFIG_SUBDIRS warning.
* doc/autoconf.texi (Subdirectories): We warn, not error, about
nonexistent config subdirs, but only at configure run time.
2010-07-10 Eric Blake <eblake@redhat.com>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix regression of AC_CHECK_SIZEOF on pointer types.
* lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Translate `*' to `p'
when checking literal-ness of the type, for pointer types.
* lib/m4sugar/m4sh.m4 (_AS_TR_SH): Also consider `*' as literal.
(_AS_TR_CPP): Likewise.
* tests/semantics.at (AC_CHECK_ALIGNOF struct): When checking
for numeric answer, be sure to not allow variable references.
(AC_CHECK_SIZEOF struct): Likewise. Also, test the
`AC_CHECK_SIZEOF([int *])' example from the manual.
* doc/autoconf.texi (Generic Compiler Characteristics): Add
example marker.
* NEWS: Update.
Reports by Nishio Futoshi and Roberto Bagnara.
2010-07-08 Eric Blake <eblake@redhat.com>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix regression of AC_CONFIG_SUBDIRS with multiple arguments.
* lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Do not assume the
argument is a single word.
* tests/torture.at (Deep Package): Extend test to cover this.
(Non-literal AC_CONFIG_SUBDIRS): New test.
* doc/autoconf.texi (Subdirectories): Add example marker.
* NEWS: Update.
Report by Bruno Haible.
2010-07-04 Stefano Lattarini <stefano.lattarini@gmail.com>
Fix minor copy&paste leftover in m4sh tests.
* tests/m4sh.at (AS@&t@_TR_SH and AS@&t@_TR_CPP): Remove
useless variables assignements ($var, $vAr, $VAR).
2010-07-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix testsuite to not trigger Solaris sh for bug.
* tests/torture.at (Torturing config.status)
(Substitute a 2000-byte string)
(Substitute and define special characters)
(Substitute a newline): Quote first argument in for list so
that it does not look like an assignment.
2010-07-02 Eric Blake <eblake@redhat.com>
Post-release administrivia.
* maint.mk (NEWS_hash): Define.
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
* cfg.mk (old_NEWS_hash): Auto-update.
Release Version 2.66.
* NEWS: Mention the release.
2010-07-02 Eric Blake <eblake@redhat.com>
Pick up some maint.mk improvements from gnulib.
* configure.ac (AM_INIT_AUTOMAKE): Require 1.11, and build xz
archives by default now.
* maint.mk (gzip_rsyncable): Avoid non-portable echo.
(VC-tag): Depend on gpg_key_ID.
(PREV_VERSION): Don't parse error as version.
(announcement): Populate email addresses with defaults.
(emit_upload_commands, web-manual): Reflect changes in scripts.
(update-NEWS-hash, emit-commit-log, release-prep): New macros.
* cfg.mk (announcement_Cc_, announcement_mail_headers_): Override
defaults.
* HACKING: Modernize a bit.
Resync upstream files.
* GNUmakefile: Run 'make fetch'.
* build-aux/announce-gen: Likewise.
* build-aux/config.guess: Likewise.
* build-aux/config.sub: Likewise.
* build-aux/gendocs.sh: Likewise.
* build-aux/git-version-gen: Likewise.
* build-aux/gnupload: Likewise.
* build-aux/texinfo.tex: Likewise.
* build-aux/vc-list-files: Likewise.
* doc/gendocs_template: Likewise.
* doc/gnu-oids.texi: Likewise.
* doc/make-stds.texi: Likewise.
* doc/standards.texi: Likewise.
* lib/Autom4te/Channels.pm: Likewise.
* lib/Autom4te/Configure_ac.pm: Likewise.
* lib/Autom4te/FileUtils.pm: Likewise.
* lib/Autom4te/XFile.pm: Likewise.
Make AS_TR_SH and AS_TR_CPP similar.
* lib/m4sugar/m4sh.m4 (_AS_TR_CPP_LITERAL): Avoid underquoting.
(_AS_TR_CPP_INDIR): Handle all polymorphic variables.
* tests/m4sh.at (AS@&t@_TR_SH and AS@&t@_TR_CPP): New test.
* NEWS: Document the fix.
Reported by Bruno Haible.
Reduce startup cost of autotest.
* lib/autotest/general.m4 (_AT_FINISH) <banners>: Rather than
doing a recursive find, limit ourselves to top ChangeLog only.
Reported by Ralf Wildenhues.
2010-07-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
New macro AC_FC_FIXEDFORM, improved AC_FC_FREEFORM, coverage.
* lib/autoconf/fortran.m4 (_AC_FC_DIALECT_YEAR): Fix typo in
comment.
(AC_FC_FREEFORM): Update list of known options for Sun, HP,
Lahey/Fujitsu Fortran compilers. Use M4 quoting consistently.
(AC_FC_FIXEDFORM): New macro.
* tests/fortran.at (AC_FC_DUMMY_MAIN usage, AC_FC_MAIN usage):
Use AC_FC_FIXEDFORM, to avoid testsuite failure with FC=xlf95.
(AC_FC_FREEFORM with AC_FC_SRCEXT, AC_FC_FIXEDFORM)
(AC_FC_FIXEDFORM with AC_FC_SRCEXT): New tests.
* tests/mktests.sh: No need to exclude AC_FC_FREEFORM, it uses
AC_LANG_PUSH/AC_LANG_POP.
* doc/autoconf.texi (Fortran Compiler): Document it.
* NEWS: Update.
2010-07-02 Eric Blake <eblake@redhat.com>
Optimize AS_BOX.
* lib/m4sugar/m4sh.m4 (AS_BOX): Use less m4 time.
(_AS_BOX_LITERAL): Use fewer forks in the common case.
* doc/autoconf.texi (Common Shell Constructs) <AS_BOX>: Document
the macro.
* NEWS: Mention it.
Use new AS_LITERAL_IF argument when appropriate.
* lib/m4sugar/m4sh.m4 (AS_VAR_SET): Reduce m4 overhead.
(AS_VAR_IF, AS_VAR_TEST_SET): Provide shorter variant for simple
references.
Suggested by Bruno Haible.
Add tests for AS_BOX.
* tests/m4sugar.at (m4@&t@_text_box): New test.
* tests/m4sh.at (AS@&t@_BOX): Likewise.
* lib/m4sugar/m4sugar.m4 (m4_text_box): Support comma.
* doc/autoconf.texi (Text processing Macros) <m4_text_box>:
Document further limitations.
Add optional argument to AS_LITERAL_IF.
* lib/m4sugar/m4sh.m4 (_AS_LITERAL_IF): Rewrite to generate macro
name, without using m4_cond.
(_AS_LITERAL_IF_, _AS_LITERAL_IF_YES, _AS_LITERAL_IF_NO): New
helpers.
(AS_LITERAL_IF, AS_LITERAL_WORD_IF, _AS_TR_SH, _AS_TR_CPP)
(_AS_VAR_PUSHDEF): Adjust callers.
* lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Relax restrictions on
invalid bytes, since this allows inline struct layouts.
(_AC_CHECK_ALIGNOF): New helper macro.
* tests/m4sh.at (AS@&t@_LITERAL_IF): Update test.
* doc/autoconf.texi (Polymorphic Variables) <AS_LITERAL_IF>:
Update documentation.
Use AS_LITERAL_WORD_IF as appropriate.
* lib/autoconf/autoheader.m4 (AH_VERBATIM): Use new macro.
* lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE, AC_CACHE_VAL)
(AS_CACHE_CHECK, AC_DEFINE_TRACE, _AC_LIBOBJ): Likewise.
* lib/autoconf/libs.m4 (AC_CHECK_LIB): Likewise.
* lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
* lib/m4sugar/m4sh.m4 (AS_UNSET, AS_VAR_COPY, AS_VAR_GET)
(AS_VAR_IF, AS_VAR_SET, AS_VAR_TEST_SET): Likewise.
Add AS_LITERAL_WORD_IF.
* lib/m4sugar/m4sh.m4 (_AS_LITERAL_IF): Also reject shell quoting
characters as non-literal, and provide way to reject space.
(AS_LITERAL_WORD_IF): New macro.
* doc/autoconf.texi (Polymorphic Variables) <AS_LITERAL_IF>:
Document new macro. Fix example to match reality.
* NEWS: Document change and new macro.
* tests/m4sh.at (AS@&t@_LITERAL_IF): Update test.
Optimize AC_DEFINE.
* lib/autoconf/general.m4 (_AC_DEFINE_Q): Avoid overhead of
AS_LITERAL_IF.
2010-07-02 Stefano Lattarini <stefano.lattarini@gmail.com>
and Eric Blake <eblake@redhat.com>
Describe a Solaris /bin/sh bug w.r.t. for loops.
* doc/autoconf.texi (Limitations of Shell Builtins) <for>:
Document a bug of the 'for' builtin in Solaris /bin/sh, w.r.t.
tokens seeming variable assignment in the list of arguments.
2010-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Improve VPATH handling in config.status for non-Automake projects.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Be sure not
to remove references to a subdir of srcdir. Fix treatment of
multiple colon-separated VPATH entries.
* tests/torture.at (VPATH): New test.
Report by Keith Marshall.
Further improve docs about nested double-quotes and backquotes.
* doc/autoconf.texi (Shellology): Remove anchor for pdksh.
Move quoting bug example to ...
(Shell Substitutions): ... here. Document which behavior is
specified by Posix.
Coverage for Fortran compiler macros.
* tests/fortran.at (AC_OPENMP and Fortran 77)
(AC_OPENMP and Fortran): Simplify, using AT_CHECK_CONFIGURE.
(AC_F77_DUMMY_MAIN usage, AC_FC_DUMMY_MAIN usage)
(AC_F77_MAIN usage, AC_FC_MAIN usage, AC_F77_FUNC usage)
(AC_FC_FUNC usage, AC_FC_SRCEXT usage, AC_FC_FREEFORM): New
tests.
* doc/autoconf.texi (Fortran Compiler): Use GNU coding style
on C code snippets. Add markers for tested examples.
Suggest AC_FC_FREEFORM for source file extensions which the
compiler might not natively support but which are accepted
with help from AC_FC_SRCEXT. Suggest AC_CONFIG_HEADERS for
setups using one of the AC_*MAIN macros.
Accept any nonzero exit status upon config.status write failure.
* tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
Normalize nonzero status to 1 for writing to /dev/full, for HP-UX
11.31 cat which exits 2.
Fix testsuite failure with Tru64 preprocessor.
* tests/compile.at (Order of user actions and cleanup): Add
incomplete comment to provoke failure with Tru64/OSF 5.1 cc
preprocessor.
2010-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
and Eric Blake <eblake@redhat.com>
Further clarification on sed -e portability.
* doc/autoconf.texi (Limitations of Usual Tools) <sed>: Clarify
more about sed -e and Posix limitations.
2010-06-22 Bruno Haible <bruno@clisp.org>
Document how to use literal newlines in makefile rules.
* doc/autoconf.texi (Newlines in Make Rules): New section.
Document how to write comments in makefile rules.
* doc/autoconf.texi (Comments in Make Rules): Mention a workaround
syntax.
2010-06-22 Ben Pfaff <blp@cs.stanford.edu>
Document how to propagate variables to submakes.
* doc/autoconf.texi: Describe technique used by Automake to
propagate variables to submakes in more detail.
2010-06-22 Peter Johansson <trojkan@gmail.com> (tiny change)
Be consistent in doc example.
* doc/autoconf.texi: (Polymorphic Variables) be consistent in code
example and output
2010-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Add comments for vim syntax highlighting.
* doc/autoconf.texi: Restore font-lock in some examples using
$$, for vim.
Formatting cleanups for optional arguments.
* doc/autoconf.texi (Configuration Actions, Help Formatting)
(External Software): Use @r{} for brackets denoting optional
arguments, where @ovar is not safe to use.
Clarify nested double-quotes and backquotes shell issues.
* doc/autoconf.texi (Shellology): New anchor for pdksh.
(Shell Substitutions): Link to it for escaped double-quotes
within double-quoted backquotes; add ksh example for unescaped
inner double-quotes problem.
Mention Tru64 5.1 fgrep limitation with empty patterns.
* doc/autoconf.texi (Limitations of Usual Tools): Update.
Overhaul the manual, esp. the Autotest chapter.
* doc/autoconf.texi (Installation Directory Variables):
Replace some uses of @var with @code.
(Special Shell Variables): Fix misordered paragraph about IFS.
(Writing Testsuites): Include paragraph following AT_TESTED in
the macro definition.
(testsuite Invocation): Failed tests are not rerun.
(testsuite Scripts, Autotest Logs, testsuite Invocation)
(Making testsuite Scripts): Minor edits for consistency and
language.
2010-06-18 Bruno Haible <bruno@clisp.org>
Document sed -e limitation.
* doc/autoconf.texi (Limitations of Usual Tools): Mention portability
problem of sed -e option with script fragments.
2010-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Document, test, and fix AT_ARG_OPTION, AT_ARG_OPTION_ARG.
* lib/autotest/general.m4 (_AT_ARG_OPTION): Fix translation of
hyphens to underscores when turning option names to variables.
Avoid macro name concatenation garbage with trailing `dnl'.
(AT_ARG_OPTION, AT_ARG_OPTION_ARG): Overhaul macro description.
The OPTIONS are space-separated, not comma-separated. The
negative form of AT_ARG_OPTION is prefixed with `--no-'.
* tests/autotest.at (AT@&t@_ARG_OPTION, AT@&t@_ARG_OPTION_ARG):
New tests.
* NEWS: Update.
* doc/autoconf.texi (Writing Testsuites): Document AT_ARG_OPTION
and AT_ARG_OPTION_ARG.
(testsuite Invocation): Call the thingies passed to the
testsuite options, not arguments. Note that the testsuite
author may add further package-specific options.
Autotest: enable colored test results.
* lib/autotest/general.m4 (HELP_TUNING_BEGIN): New diversion.
(HELP_TUNING, HELP_OTHER, HELP_END): Bump diversion numbers.
(AT_INIT): Accept
--color and --color=never|auto|always. If desired, colorize
test results and testsuite summary on standard output.
[HELP_TUNING]: Divert content instead to ...
[HELP_TUNING_BEGIN]: ... this diversion, m4_wrapped until the
end, when we know whether AT_COLOR_TESTS has been specified.
(AT_COLOR_TESTS): New macro, set the default for color to auto.
* doc/autoconf.texi (Writing Testsuites): Document it.
(testsuite Invocation): Document --color* options.
* tests/local.at: Call AT_COLOR_TESTS for Autoconf's testsuite.
* tests/autotest.at (color test results): New test, mirroring
color.test from Automake.
* NEWS: Update.
2010-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Avoid texinfo bug with backslashes in macro arguments.
* doc/autoconf.texi (Text processing Macros)
(Common Shell Constructs): Do not use @dvar with backslashes.
2010-06-14 Eric Blake <eblake@redhat.com>
Make CONFIG_SITE handling more robust.
* lib/autoconf/general.m4 (AC_SITE_LOAD): Avoid leading - and path
search, and check for failure to load.
* tests/base.at (AC_CACHE_CHECK): Enhance test.
* doc/autoconf.texi (Site Defaults): Mention that CONFIG_SITE
works best as an absolute path.
* NEWS: Document the semantic change.
2010-03-13 Bruno Haible <bruno@clisp.org>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Allow plus signs in AC_ARG_ENABLE and AC_ARG_WITH.
* doc/autoconf.texi (External Software): Mention that AC_ARG_WITH
accepts packages with a + sign in it.
(Package Options): Likewise for AC_ARG_ENABLE.
* lib/autoconf/general.m4 (_AC_ENABLE_IF): Also replace '+' with '_'.
* tests/base.at (AC_ARG_ENABLE and AC_ARG_WITH): New test.
* NEWS: Update.
2010-06-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Autotest: simplify logic to compute test group result.
* lib/autotest/general.m4 (AT_INIT): Compactify result
computation logic.
New Autotest testsuite option --recheck.
* lib/autotest/general.m4 (AT_INIT): New variable $at_recheck.
Escape hyphen in $at_dir early. Accept command line switch
--recheck. Set $at_suite_log early, based on --directory
switch; with --recheck, include the list of FAILed and XPASSed
tests from old testsuite.log file in $at_groups. Document
--recheck in --help output.
* tests/autotest.at (recheck): New test.
* doc/autoconf.texi (testsuite Invocation): Document --recheck.
* NEWS: Update.
2010-06-14 Karl Berry <karl@freefriends.org> (tiny change)
Clarify comment about old system.
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Prefer GNU/Linux,
and note that bug has long since been fixed.
2010-06-08 Eric Blake <eblake@redhat.com>
Run libtool test with modern libtool.
* tests/foreign.at (Libtool): Request that libtoolize install
auxiliary files. Assume libtool 2.x is modern.
2010-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Coverage and doc fixes for AC_LANG_SOURCE and AC_LANG_PROGRAM.
* tests/compile.at (AC_LANG_SOURCE, AC_LANG_SOURCE(C++))
(AC_LANG_SOURCE example, AC_LANG_PROGRAM example): New tests.
* doc/autoconf.texi (Generating Sources): Add markers for tested
examples; update quoting, and update AC_INIT usage to also set
optional URL arguments. Mention that the examples require gcc.
Prompted by report from Brian J. Murrell.
Make AS_SET_CATFILE polymorphic, and add testsuite coverage.
* lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Use AS_VAR_SET to set
the variable.
* tests/m4sh.at (AS@&t@_SET_CATFILE): New test.
* doc/autoconf.texi (Common Shell Constructs): Document that
AS_SET_CATFILE is polymorphic in its VAR argument now.
* NEWS: Update.
Testsuite coverage for AC_COPYRIGHT and AT_COPYRIGHT.
* tests/autotest.at (AT@&t@_COPYRIGHT): New test.
* tests/base.at (AC@&t@_COPYRIGHT): Likewise.
Testsuite coverage for __file__ and __line__.
* tests/m4sugar.at (__file__ and __line__): New test.
Testsuite coverage for AC_CACHE_VAL and caching semantics.
* tests/base.at (AC_CACHE_CHECK): Extend test.
(AC_CACHE_LOAD): New test.
* tests/torture.at (Configuring subdirectories): Also test
--config-cache with AC_CONFIG_SUBDIRS.
* doc/autoconf.texi (Caching Results): Annotate code snippets
which are tested in the test suite.
(Cache Files): Documented cache variables may be used on the
configure command line to override individual entries in the
cache file.
Clarify OpenBSD sh errexit issue with compound commands.
* doc/autoconf.texi (Limitations of Builtins): Only the last
command in a compound list is problematic.
Tested on OpenBSD 4.4.
2010-06-07 Eric Blake <eblake@redhat.com>
Properly quote AC_PREREQ during autoupdate.
* lib/autoconf/general.m4 (AC_PREREQ): Follow consistent quoting
style for AC_PREREQ.
* tests/tools.at (autoupdating AC_PREREQ): Update expected
results.
Reported by NightStrike.
2010-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Documentation and tests for the AC_CHECK_DECL change.
* lib/autoconf/general.m4 (_AC_CHECK_DECL_BODY): Squash trailing
spaces in as_decl_name.
(_AC_CHECK_DECLS): Likewise for the define.
* tests/semantics.at (AC_CHECK_DECLS): Extend test.
* doc/autoconf.texi (Generic Declarations): Update.
* NEWS: Update.
2010-06-01 Joern Rennecke <joern.rennecke@embecosm.com> (tiny change)
Generalize AC_CHECK_DECL for C++: allow optional arguments.
* general.m4 (_AC_CHECK_DECL_BODY): Process trailing function
argument types as arguments to use for C++.
(_AC_CHECK_DECLS): Filter out trailing function argument types
when generating the HAVE_DECL_* macro.
2010-05-25 Stefano Lattarini <stefano.lattarini@gmail.com>
Eric Blake <eblake@redhat.com>
Don't expose AC_{COMPILE,LINK}_IFELSE internals in documentation.
* doc/autoconf.texi (Runtime) <AC_LINK_IFELSE>: Suggest to use
`conftest$EXEEXT' rather than `conftest$ac_exeext' to acces the
just-linked program file.
(Runtime) <AC_COMPILE_IFELSE>: Suggest to use `conftest.$OBJEXT'
rather than `conftest.$ac_object' to access the just-compiled
object file. Also, refer to the object file as "just-compiled"
rather than "just-linked".
2010-05-20 Eric Blake <eblake@redhat.com>
Mention another line-counting alternative.
* doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
how to use sed to count lines.
Suggested by Paolo Bonzini.
2010-05-12 Eric Blake <eblake@redhat.com>
Document the grep workaround.
* doc/autoconf.texi (Limitations of Usual Tools) <grep>: Document
the bug.
2010-05-12 Mark Hessling <mark@rexx.org> (tiny change)
Work around QNX4 grep bug.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Count ^
rather than $ to avoid QNX4 grep bug.
* THANKS: Update.
2010-05-11 David Reiss <dreiss@facebook.com> (tiny change)
Improve Erlang documentation.
* doc/autoconf.texi (Erlang Libraries): Document actual default
values.
* THANKS: Update.
2010-05-11 Eric Blake <eblake@redhat.com>
Fix typo in previous patch.
* doc/autoconf.texi (File Descriptors): Add end '.
Reported by Ralf Wildenhues.
Mention how to silence program probes.
* doc/autoconf.texi (File Descriptors): Document how to silence a
program probe.
2010-04-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Error and warning message formatting cleanups.
* doc/autoconf.texi (Autoconf Language, Generic Structures):
Do not capitalize the first word in error messages, do not end
them with a period.
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS, AC_MSG_FAILURE):
Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Likewise.
* lib/autotest/general.m4 (AT_INIT, at_fn_group_prepare):
Likewise.
* m4/m4.m4 (AC_PROG_GNU_M4): Likewise.
* tests/base.at (AC_TRY_COMMAND): Likewise.
* tests/torture.at (datarootdir workaround): Adjust expected
message.
Fix placing of ellipses in English text.
* lib/autoconf/general.m4 (_AC_INIT_HELP): Be sure to add a
space before `...' in natural language text.
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL_BODY):
Likewise.
* lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Likewise.
* tests/suite.at: Likewise.
* tests/torture.at (@%:@define header templates): Likewise.
Ensure autotest tests have an atconfig file, for testsuite -v.
* tests/autotest.at (AT_CHECK_AT_PREP): Create a default
atconfig file in the directory of the testsuite.
(AT_CHECK_AT_TITLE): Also check that `./micro-suite -v' output
does not contain empty $at_srcdir expansion.
(srcdir propagation): Remove the atconfig file generated by
AT_CHECK_AT_PREP. Check each suite invocation for $at_srcdir
expansion.
Fix autotest testsuite -v output to print test group title.
* lib/autotest/general.m4 (AT_CLEANUP): Actually print test
title in verbose output. Fixes AUTOCONF-2.57-101-gc102ed8
regression.
* tests/autotest.at (AT_CHECK_AT_TITLE): Amend macro to check
for test title in -v output.
2010-04-26 Eric Blake <eblake@redhat.com>
Clarify octal escapes with tr.
* doc/autoconf.texi (Limitations of Usual Tools): Carriage return
is portable in octal, but not newline.
2010-04-22 Joel James Adamson <joel@chondestes.bio.unc.edu> (tiny change)
Add a paragraph to FAQ on Debugging configure scripts.
* doc/autoconf.texi (Debugging): Mention inspecting config.log.
* THANKS: Update.
2010-04-21 Mike Frysinger <vapier@gentoo.org> (tiny change)
Fix typo in doc example.
* doc/autoconf.texi (Subdirectories): Fix typo.
2010-04-05 Eric Blake <eblake@redhat.com>
Fix m4_cr_all for EBCDIC.
* lib/m4sugar/m4sugar.m4 (m4_cr_all): Swap * and $, so that we
don't end up with $* in EBCDIC.
* NEWS: Document the fix.
* THANKS: Update.
Reported by Steve Goetze.
2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Do not use @acronym in the manual.
* doc/autoconf.texi: Remove all usage of @acronym.
Suggested by Karl Berry.
Do not use @sc in the manual.
* doc/autoconf.texi: Remove all usage of @sc in the manual.
Suggested by Karl Berry.
2010-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix wrong comment in testsuite.
* tests/m4sugar.at (m4@&t@_warn): Remove copy&pasted comment.
Formatting cleanups in macro comments.
* lib/autoconf/c.m4, lib/autoconf/erlang.m4,
lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
lib/autoconf/general.m4, lib/autoconf/lang.m4,
lib/autoconf/programs.m4, lib/autoconf/specific.m4,
lib/autoconf/status.m4, lib/autoconf/types.m4,
lib/autotest/general.m4, lib/autotest/specific.m4,
lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4,
tests/autotest.at, tests/local.at, tests/m4sh.at,
tests/semantics.at, tests/tools.at, tests/torture.at: Fix macro
comment format.
2010-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
manual: index strings containing colon in non-info outputs.
* doc/autoconf.texi (Quadrigraphs, Shell Substitutions): Produce
index entries for concepts containing a colon in output formats
other than info.
Update copyright years for files generated by mktests.sh.
* tests/mktests.sh: Update copyright years for generated files.
2010-03-04 Eric Blake <eblake@redhat.com>
Document AC_LANG_CONFTEST semantic change.
* doc/autoconf.texi (Generating Sources) <AC_LANG_CONFTEST>:
Enhance documentation, to show that semantic change in 2.63b was
intentional.
* THANKS: Update.
Reported by Brian J. Murrell, analyzed by Ralf Wildenhues.
2010-03-04 Peter Johansson <trojkan@gmail.com> (tiny change)
Autoconf Macro Archive URL has changed.
* doc/autoconf.texi (Introduction, Coding Style, Defining
Directories): The Autoconf Macro Archive is officially `GNU'.
Update URL.
2010-03-02 Eric Blake <eblake@redhat.com>
Fix shell code in AS_TR_SH documentation.
* doc/autoconf.texi (Common Shell Constructs) <AS_TR_SH>: Fix
example to expand to valid shell code.
Reported by Ralf Wildenhues.
Improve documentation on AC_{COMPILE,LINK}_IFELSE.
* doc/autoconf.texi (Running the Compiler): Mention that the
object file is available after a successful compile.
(Running the Linker): Likewise for the linker output.
Suggested by Paolo Bonzini.
Fix typo in docs.
* doc/autoconf.texi (Conditional constructs) <m4_ifblank>: Fix
typo.
2010-03-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix AS_ERROR for FreeBSD sh.
* lib/m4sugar/m4sh.m4 (_AS_ERROR_PREPARE): Rewrite as_fn_error
to take additional first argument STATUS instead of transporting
$? across shell function entry, which does not work with FreeBSD
sh. Shift all other arguments by one, adjust.
(AS_ERROR): Pass EXIT-STATUS, defaulting to $?, to as_fn_error.
Report by Václav Haisman.
Fix `autom4te cache creation' testsuite failure on FreeBSD.
* tests/tools.at (autom4te cache creation): Normalize exit
status of failed redirection to 1, may be 2 with FreeBSD sh.
* THANKS: Update.
Report by Václav Haisman.
Fix Autotest tracing of shell pipelines for FreeBSD sh.
* lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Do not trace
commands that contain [^|]|[^|], a likely shell pipeline.
* tests/local.at (_AT_CHECK_ENV): Turn off tracing for egrep |
grep pipeline.
* doc/autoconf.texi (File Descriptors): Document limitation.
* tests/autotest.at (Trace output): New test.
2010-03-01 Eric Blake <eblake@redhat.com>
Update file flow diagram to mention Automake.
* doc/autoconf.texi (Making configure Scripts): Avoid confusion
with listing Makefile.in twice on one line. Add a diagram showing
how automake fits into the picture.
Reported by santilín.
2010-02-26 Eric Blake <eblake@redhat.com>
Optimize AC_REPLACE_FUNCS.
* lib/autoconf/functions.m4 (_AC_REPLACE_FUNC): New helper macro.
(AC_REPLACE_FUNCS): Use it to reduce forks when checking for
replacements, by using literal rather than shell variable.
Document how to safely override CFLAGS default.
* doc/autoconf.texi (C Compiler) <AC_PROG_CC>: Document a way to
change the default CFLAGS.
(C++ Compiler) <AC_PROG_CXX>: Likewise, for CXXFLAGS.
Reported by Monty Taylor; wording suggested by Paolo Bonzini.
Document that Autoconf relies on IFS.
* doc/autoconf.texi (Special Shell Variables) <IFS>: Add details
about use of IFS within configure script.
* THANKS: Update.
Reported by Arkadiusz Miskiewicz.
Recommend latest m4 release.
* README: Bump recommendation to m4 1.4.14 (minimum remains
1.4.6).
* doc/autoconf.texi (Introduction): Likewise.
* m4/m4.m4 (AC_PROG_GNU_M4): Likewise.
2010-02-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix testsuite failures due to setting of $U.
* tests/local.at (_AT_CHECK_ENV): Ignore setting of $U.
2010-02-10 Eric Blake <ebb9@byu.net>
Avoid $U if it is not initialized.
* lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Ensure $U is
set if automake did not define it.
* THANKS: Update.
Reported by Heiko Schlichting, via Julien Élie.
2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix substitution of carriage return on Darwin.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Set
ac_cs_awk_cr to '\\r', so that sed portably expands this to '\r'
rather than a literal carriage return, to fix substitution on
Darwin. Regression introduced in 2.63b.
Report by Peter O'Gorman.
2010-01-21 Dmitry V. Levin <ldv@altlinux.org>
Fix test failure when a shell uses $TMPDIR for here-documents.
* tests/tools.at (autotools and whitespace in file names): Create
$TMPDIR before potential use like in other whitespace tests.
2010-01-20 Paolo Bonzini <bonzini@gnu.org>
Add recommendation on (not) unsetting IFS.
* doc/autoconf.texi (Special shell variables): Explain why it's
better not to unset IFS.
2010-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
config.status: consistent exit status with nonexistent config file input.
* lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Ensure we
exit with status 1 rather than with that of 'false', for
reproducibility.
(AC_OUTPUT): Ensure to exit 1 in case of config.status failure.
* tests/torture.at (Missing templates): Also test code path
for $srcdir != '.'.
Report by Tim Rice.
2010-01-13 Eric Blake <ebb9@byu.net>
Fix previous example.
* doc/autoconf.texi (Here-Documents): Touch up the example to
match output to sample command line.
Document here-doc pitfall.
* doc/autoconf.texi (Here-Documents): Mention problem with <<-
operator.
Reported by Jim Meyering.
2010-01-12 Eric Blake <ebb9@byu.net>
Typo fix in earlier commit.
* doc/autoconf.texi (Autoconf Language): Fix typo.
2010-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Allow AC_FUNC_MKTIME to work with C++.
* lib/autoconf/functions.m4 (AC_FUNC_MKTIME): ANSIfy KnR function
definitions. Use `const char*' for character literals; cast them
to `char*' for putenv.
2010-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Export AUTOM4TE in tests/atlocal.in, for aclocal.
* tests/atlocal.in: Set and export $AUTOM4TE, for aclocal.
Report by Tim Rice.
2010-01-08 Eric Blake <ebb9@byu.net>
Make autotest example act better with automake.
* doc/autoconf.texi (Making testsuite Scripts): Rely on automake
feature for recommended autotest snippet, following our own use.
Clarify language on handling of opening parenthesis.
* doc/autoconf.texi (Autoconf Language): Give an example of
improper argument passing.
* THANKS: Update.
Reported by Juan Carlos Hurtado.
2010-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Don't fail autom4te preselection test due to different Automake.
* tests/tools.at (autom4te preselections): If the cache test
fails, extract the Automake version from the toplevel
Makefile.in file of the source tree; skip, rather than fail
the test group if the automake program has a different version.
* THANKS: Update.
Report by Dieter Jurzitza, fix suggested by Eric Blake.
2010-01-06 Peter Breitenlohner <peb@mppmu.mpg.de>
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix AC_CONFIG_LINKS to generated files when srcdir is absolute.
* lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Check $ac_source,
not $srcdir, for being relative or absolute.
* tests/torture.at (AC_CONFIG_LINKS): New test.
(AC_CONFIG_LINKS and identical files): Extend test, avoid some
forks.
Report, patch and testcase example by Peter Breitenlohner.
2010-01-05 Eric Blake <ebb9@byu.net>
Improve release automation.
* maint.mk (gnulib_dir, gnulib-version, bootstrap-tools)
(announcement): Copy from latest gnulib maint.mk.
* cfg.mk (announce_gen, gpg_key_ID): Delete.
(bootstrap-tools): Override the default.
Update upstream files.
* GNUmakefile: Update via 'make fetch'.
* build-aux/announce-gen: Likewise.
* build-aux/config.guess: Likewise.
* build-aux/config.sub: Likewise.
* build-aux/gendocs.sh: Likewise.
* build-aux/gnupload: Likewise.
* build-aux/move-if-change: Likewise.
* build-aux/update-copyright: Likewise.
* build-aux/vc-list-files: Likewise.
* doc/standards.texi: Likewise.
* cfg.mk (update-copyright-env): Enforce wrap column.
Update copyright year.
All files changed to add 2010, via 'make update-copyright'.
2009-12-31 Bruno Haible <bruno@clisp.org>
Improve documentation on Solaris tr bugs.
* doc/autoconf.texi (Limitations of Usual Tools) <tr>: Refine
description of NUL handling by Solaris tr.
2009-12-31 Eric Blake <ebb9@byu.net>
Another tr tweak.
* doc/autoconf.texi (Limitations of Usual Tools) <tr>: Clarify
previous commit.
Reported by Ralf Wildenhues.
2009-12-29 Eric Blake <ebb9@byu.net>
Improve documentation on tr portability.
* doc/autoconf.texi (Limitations of Usual Tools) <tr>: Refine
description of NUL handling. Document set size issue.
Reported by Bruno Haible.
Fix comment in AC_CHECK_DECLS.
* lib/autoconf/general.m4 (AC_CHECK_DECL): Document the includes
argument to the shell function.
2009-12-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Add testsuite exposure for shtool usage.
* tests/foreign.at (shtool): New test.
Report by Dmitry Grebeniuk.
2009-12-12 Eric Blake <ebb9@byu.net>
Improve wording about m4 quote characters.
* doc/autoconf.texi (Autoconf Language): Autoconf quote characters
come from m4sugar, not raw m4.
(Active Characters): Mention that it is m4sugar which changes
quotes from `' to [].
* THANKS: Update.
Suggested by Josef Vukovic.
2009-12-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Revert "Improve AC_CONFIG_AUX_DIRS a bit." to fix shtool usage.
* lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Revert test for
shtool as install script. Regression introduced in 2.64.
* NEWS, THANKS: Update.
Report by Dmitry Grebeniuk.
This reverts commit 93d9386de9c1320afed43f1337ac5ddb2d2dcbb4.
2009-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix NEWS description for AC_FUNC_MMAP entry.
* NEWS: Update.
Fix 2.65 AC_TYPE_INT*_T macro body text regression.
* lib/autoconf/types.m4 (_AC_TYPE_INT_BODY): Move helper enum
definition to prologue section, to avoid syntax error.
* NEWS, THANKS: Update.
Report by Pierre Ynard.
2009-12-09 Paolo Bonzini <bonzini@gnu.org>
Fix `recursion' test failure.
* tests/m4sugar.at (recursion): Use empty diversion, not 0.
2009-12-05 Stefano Lattarini <stefano.lattarini@gmail.com>
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Document Solaris/Heirloom sh set -e issue with command substitutions.
* doc/autoconf.texi (Limitations of Builtins): Fix typos `set -d'
in previous example. Document failure to honor && lists with set -e
and a command substitution in the failing command.
Report and initial patch by Stefano Lattarini against Automake.
2009-12-04 Eric Blake <ebb9@byu.net>
Warn if using unnamed diversion.
* lib/m4sugar/m4sugar.m4 (_m4_divert, m4_divert_push): Add
optional parameter, which controls warning.
(m4_divert_pop, m4_cleardivert, m4_divert_require)
(_m4_require_call): Adjust callers.
* lib/m4sugar/m4sh.m4 (AS_REQUIRE): Likewise.
* tests/m4sh.at (AT_DATA_LINENO): Avoid triggering the warning.
* tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, m4@&t@_append)
(m4@&t@_text_wrap, recursion): Likewise.
(m4@&t@_warn, m4@&t@_divert_stack): Adjust expected output.
* tests/tools.at (autom4te and whitespace in file names)
(autoconf: the empty token): Avoid triggering the warning.
(autoconf: AC_PRESERVE_HELP_ORDER): New test.
* tests/mktests.sh (ac_exclude_list): Retire prior test.
* NEWS: Document the warning.
* doc/autoconf.texi (Redefined M4 Macros) <m4_divert>,
<m4_undivert>: Make even more explicit that using these directly
is discouraged.
(Diversion support): Further warn against improper diversion
changes.
<m4_divert_text>: Give an example of proper use.
Reported by Mike Frysinger.
2009-11-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
manual: AC_SEARCH_LIBS also prepends to LIBS.
* doc/autoconf.texi (Libraries): Document that AC_SEARCH_LIBS
prepends to LIBS, just like AC_CHECK_LIB.
2009-11-27 Paolo Bonzini <bonzini@gnu.org>
Bump m4.m4 serial number.
* m4/m4: Bump serial number to 10.
2009-11-27 Harald van Dijk <truedfx@gentoo.org>
Fix m4 detection test on dash.
* m4/m4 (AC_PROG_GNU_M4): Use AS_ECHO.
2009-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix AC_FUNC_MMAP regression with C++ compiler in 2.65.
* lib/autoconf/functions.m4 (AC_FUNC_MMAP): Use const char*
for the constant string. Cast void* to char* for assignment.
* NEWS, THANKS: Update.
Report by Michal Čihař.
Add pgfortran to list of Fortran 95+ compilers.
* lib/autoconf/fortran.m4 (_AC_F95_FC): Add pgfortran before
pgf95.
Based on report by Jeff Squyres.
2009-11-22 Bruno Haible <bruno@clisp.org>
Fix failure of test 35 when the user has a .autom4te.cfg file.
* tests/tools.at (autom4te cache creation): Skip the test if the
user has a .autom4te.cfg file.
2009-11-21 Eric Blake <ebb9@byu.net>
Release Version 2.65.
* NEWS: Mention the release.
Prepare for release.
* build-aux/announce-gen: Sync from upstream.
* build-aux/config.guess: Likewise.
* build-aux/config.sub: Likewise.
* cfg.mk (gnu_rel_host, url_dir_list): Move...
* maint.mk: ...here, copying ideas from gnulib.
(major): Rename...
(stable): ...to this, copying gnulib.
* HACKING (release): Document changes in process.
Avoid spurious newline in traced macros.
* bin/autoreconf.in (tracing): Drop newline before parsing traced
arguments; regression from 2009-11-14.
2009-11-20 Eric Blake <ebb9@byu.net>
Allow absolute names in AT_TESTED.
* lib/autotest/general.m4 (AT_INIT) <PREPARE_TESTS>: Check for
absolute names before path walk.
* THANKS: Update.
Suggested by Allan Clark.
2009-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix AC_CONFIG_SUBDIRS tracing in autoreconf.
* bin/autoreconf.in (autoreconf_current_directory): Collapse
newlines in the autoconf trace output, similar to how automake
invokes autoconf, so that newlines do not matter in the argument
to AC_CONFIG_SUBDIRS.
* tests/torture.at (Deep Package): Expose this issue in the
test.
* THANKS: Update.
Report by Nathan Schulte.
2009-11-09 Eric Blake <ebb9@byu.net>
Fix AC_FUNC_MMAP for cygwin.
* lib/autoconf/functions.m4 (AC_FUNC_MMAP): Make the test more
portable: Actually check for <sys/param.h>, and only use MAP_FIXED
on an address previously returned from mmap.
* THANKS: Update.
Reported by Corinna Vinschen.
2009-11-04 Eric Blake <ebb9@byu.net>
Redocument AS_DIRNAME, even with its flaws.
* doc/autoconf.texi (Common Shell Constructs) <AS_DIRNAME>:
Restore documentation, since dirname mentions it.
Reported by Peter Johansson.
Update upstream files.
* build-aux/announce-gen: Synchronize from upstream.
* build-aux/config.guess: Likewise.
* build-aux/config.sub: Likewise.
* build-aux/gendocs.sh: Likewise.
* build-aux/git-version-gen: Likewise.
* build-aux/texinfo.tex: Likewise.
* build-aux/update-copyright: Likewise.
* doc/standards.texi: Likewise.
* lib/Autom4te/Channels.pm: Likewise.
* lib/Autom4te/Configure_ac.pm: Likewise.
* lib/Autom4te/FileUtils.pm: Likewise.
* lib/Autom4te/Struct.pm: Likewise.
* lib/Autom4te/XFile.pm: Likewise.
2009-11-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Coverage for autom4te cache creation issues.
* tests/tools.at (autom4te cache creation): New test.
2009-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix testsuite failures with SHELL=zsh.
* tests/statesave.m4 (AC_STATE_SAVE): Ignore argv and ARGC when
comparing configure variables.
2009-11-03 Eric Blake <ebb9@byu.net>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Update NEWS for recent fixes.
* NEWS: Add some entries.
2009-10-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Micro-optimization of config.status substitution.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): No need to
concatenate an empty second string, when we have exactly 148
characters to substitute.
* tests/torture.at (Substitute a 2000-byte string): Add test
exposure for runs of backslashes near the 148 character limit.
Fix testsuite failure on AIX 4.3.3.
* lib/autoconf/general.m4 (_AC_RUN_LOG_LIMIT): Remove conftest.err
also if it is empty.
Fix testsuite failure on IRIX and AIX.
* tests/torture.at (Substitute and define special characters):
Double the backslash before the double-quote in
AC_DEFINE_UNQUOTED, as documented for here-documents.
2009-10-31 Eric Blake <ebb9@byu.net>
Fix cross-manual link to gcc.
* doc/autoconf.texi (Portable C and C++): Provide uref rather than
xref when building for html.
Reported via Karl Berry.
Update authors.
* AUTHORS: Document recent copyright assignments.
2009-10-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix AC_OPENMP configure message for non-C compilers.
* lib/autoconf/lang.m4 (AC_LANG_DEFINE): Accept as additional
fourth arg the compiler variable name, defined in _AC_CC($1).
(_AC_CC): New language dispatch macro.
* lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Adjust.
* lib/autoconf/fortran.m4 (AC_LANG(Fortran 77), AC_LANG(Fortran)):
Likewise.
* lib/autoconf/c.m4 (AC_LANG(C), AC_LANG(C++))
(AC_LANG(Objective C), AC_LANG(Objective C++)): Likewise.
(AC_OPENMP): Use _AC_CC instead of $CC.
Do not fail OpenMP tests on systems without aclocal.
* tests/c.at (AC_OPENMP and C, AC_OPENMP and C++): Override
`ACLOCAL=true' for autoreconf, the tests don't need aclocal.
* tests/fortran.at (AC_OPENMP and Fortran 77)
(AC_OPENMP and Fortran): Likewise.
2009-10-31 Bruno Haible <bruno@clisp.org>
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Improve cache variable documentation.
* doc/autoconf.texi (AC_PROG_AWK, AC_PROG_GREP, AC_PROG_EGREP,
AC_PROG_FGREP, AC_PROG_INSTALL, AC_PROG_MKDIR_P, AC_PROG_LEX,
AC_PROG_YACC, AC_CHECK_PROG, AC_CHECK_PROGS, AC_PATH_PROG,
AC_PATH_PROGS): Don't suggest to use the cache variable, only to
override it, or preferably, a non-cache variable associated with
the test.
(AC_PROG_SED): Likewise. Fix name of cache variable.
(AC_FUNC_GETMNTENT): Fix name cache variable.
(AC_FUNC_LSTAT): Fix typo.
2009-10-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix AC_OPENMP for Fortran (F77 and FC).
* lib/autoconf/fortran.m4 (AC_LANG_FUNC_LINK_TRY(Fortran): New.
* tests/c.at (AC_C_RESTRICT and C++, AC_OPENMP and C)
(AC_OPENMP and C++): New tests.
* tests/fortran.at (AC_OPENMP and Fortran 77)
(AC_OPENMP and Fortran): New tests.
* THANKS: Update.
Report by Bart Oldeman.
Perl coverage convenience targets.
* Makefile.am (PERL_COVERAGE_DB, PERL_COVERAGE_FLAGS)
(PERL_COVER): New variables.
(check-coverage, check-coverage-run, check-coverage-report)
(clean-coverage): New phony targets.
(clean-local): Depend on clean-coverage.
2009-10-28 Eric Blake <ebb9@byu.net>
Fix corner cases in AS_LITERAL_IF and AS_TR_SH.
* lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Fix bug with unbalanced
parens. Move guts...
(_AS_LITERAL_IF): into new helper.
(AS_TR_SH, AS_TR_CPP): Fix bugs with expansion of wrong macro.
Move guts...
(_AS_TR_SH, _AS_TR_SH_LITERAL, _AS_TR_SH_INDIR, _AS_TR_CPP)
(_AS_TR_CPP_LITERAL, _AS_TR_CPP_INDIR): ...into new helpers.
(AS_VAR_PUSHDEF): Hoist m4_require, by moving guts...
(_AS_VAR_PUSHDEF): ...into new helper.
* tests/m4sh.at (AS@&t@_LITERAL_IF): Enhance test.
Minor optimizations to m4sh.
* lib/m4sugar/m4sh.m4 (AS_VAR_IF, AS_IDENTIFIER_IF)
(AS_LITERAL_IF): Parse fewer bytes during expansion, by visiting
if-true and if-false arguments only once.
Optimize m4_escape for common case.
* lib/m4sugar/m4sugar.m4 (m4_escape): Don't use regex if string is
already sane, by copying from AS_LITERAL_IF. Move guts...
(_m4_escape): ...into new helper.
Fix m4_text_wrap handling of quoted whitespace.
* lib/m4sugar/m4sugar.m4 (m4_escape): New macro.
(m4_text_wrap): Use it to avoid issues with embedded [ and ].
* tests/m4sugar.at (m4@&t@_text_wrap): Test it.
* NEWS: Document this.
* doc/autoconf.texi (Text processing Macros) <m4_escape>:
Likewise.
Reported by Mike Frysinger.
2009-10-27 Eric Blake <ebb9@byu.net>
Mention another feature of AC_RUN_IFELSE.
* doc/autoconf.texi (Runtime) <AC_RUN_IFELSE>: Mention that
compiled test program still exists during if-true branch.
* THANKS: Update.
Reported by Stefano Lattarini, suggestion by Ralf Wildenhues.
2009-10-26 Paolo Bonzini <bonzini@gnu.org>
Pass Autom4te path down to programs that autoreconf invokes.
* bin/autoreconf.in (autom4te): New variable. Export its value
as $ENV{'AUTOM4TE'}. Suggested by Peter Johansson.
* THANKS: Update.
2009-10-20 Eric Blake <ebb9@byu.net>
Fix AC_TYPE_UINT64_T on Tru64 with gcc 3.4.4.
* lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT_BODY)
(_AC_TYPE_INT_BODY): Avoid undefined behavior of attempting shift
wider than type.
* NEWS: Document this.
Reported by Rainer Orth.
2009-10-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix a couple of index entries in the manual.
* doc/autoconf.texi (Polymorphic Variables): Fix index entries
for AS_VAR_APPEND, AS_VAR_ARITH.
2009-10-15 Eric Blake <ebb9@byu.net>
Fix typos in INSTALL.
* doc/install.texi (Basic Installation, Installation Names): Fix
typos in last patch.
Reported by Ralf Wildenhues.
Improve INSTALL wording.
* doc/install.texi (Basic Installation): Clarify installcheck
behavior.
(Installation Names): Mention that --prefix only overrides
directory locations not specified on the command line. Prefer
/alternate/directory over /path/to. Remove a sentence targeted to
the developer, not the user.
* THANKS: Update.
Suggested by Alfred M. Szmidt.
2009-10-15 Peter Breitenlohner <peb@mppmu.mpg.de>
Fix typos in documentation.
* doc/autoconf.texi (Cache Variable Index): Fix typo.
(Libraries) <AC_SEARCH_LIBS>: Mention 'none required' result.
2009-10-09 Bruno Haible <bruno@clisp.org>
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Recommend `sh -n' debugging, and public result variables for macros.
* doc/autoconf.texi (Debugging): Recommend to use "bash -n
configure". Recommend the use of result variables as an
alternative to run-if-true/run-if-false parameters.
2009-10-05 Bruno Haible <bruno@clisp.org>
* doc/autoconf.texi (Particular Functions): Swap sections about
AC_FUNC_MBRTOWC and AC_FUNC_MEMCMP.
2009-10-01 Paolo Bonzini <bonzini@gnu.org>
Unconditionally check for junk ./--version after mkdir search loop.
* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Always check for
presence of ./--version. Reported by Eric Blake.
2009-09-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Clarify documentation about Solaris sed quantifier restriction.
* doc/autoconf.texi (Limitations of Usual Tools) <sed>: '*' does
not work after subexpressions, \{M,N\} only after one-character
expressions. From GCC PR 38923.
2009-09-21 Eric Blake <ebb9@byu.net>
Fit configure output in 80 columns.
* lib/autoconf/functions.m4
(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Shorten message.
2009-09-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Use consistent notation for cache variables.
* doc/autoconf.texi (Generic Programs): Remove `$' before
variable name.
Documentation of specific and general cache variables.
* doc/autoconf.texi (Default Includes, Alternative Programs)
(Particular Programs, Generic Programs, Files, Libraries)
(Function Portability, Particular Functions, Generic Functions)
(Particular Headers, Generic Headers, Declarations)
(Generic Declarations, Particular Structures, Particular Types)
(Specific Compiler Characteristics)
(Generic Compiler Characteristics, C Compiler, System Services):
Document lots of cache variables.
* NEWS: Update.
Suggested by Bruno Haible.
New cache variable index in the manual.
* doc/autoconf.texi: Define new index `CA' for cache variables.
(caindex): New macro.
(Cache Variable Index): New appendix node.
(Top, Indices): Adjust menus.
(Cache Variable Names, Site Defaults): Adjust text.
* doc/Makefile.am (CLEANFILES): Add files generated for CA index.
New FAQ node: Debugging.
* doc/autoconf.texi (Debugging): New node.
(Top, FAQ): Adjust menus.
Report by Bruno Haible.
Document AM_MAKEFLAGS workaround to the macro override problem.
* doc/autoconf.texi (Macros and Submakes): Automake makefiles
provide AM_MAKEFLAGS to help with overriding macros in submake
invocations.
Prompted by bug report from Bruno Haible.
2009-09-15 Peter Breitenlohner <peb@mppmu.mpg.de>
Implement and document Objective C++ support.
* lib/autoconf/c.m4 (AC_LANG(Objective C++), AC_LANG_OBJCXX)
(AC_LANG_PREPROC(Objective C++), AC_PROG_OBJCXXCPP)
(AC_LANG_COMPILER(Objective C++), AC_PROG_OBJCXX)
(_AC_PROG_OBJCXX_G): New macros.
(_AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
(_AC_ARG_VAR_LIBS): Adjusted.
* doc/autoconf.texi (Objective C++ Compiler): New node.
(Preset Output Variables): Document OBJCXXFLAGS.
(Language Choice): Document `Objective C++' language.
* NEWS: Updated.
* tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C++
related variables.
2009-09-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Work around DJGPP shell function return bug with command substitutions.
DJGPP bash 2.04 has a bug in that `return $ac_retval' done in a
shell function which also contains a command substitution causes
the shell to barf. For more details and a fix see:
<http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp-workers/2009/09/09/03:35:08>
Possible workaround include putting the `return' in a subshell
or calling another function to set the status.
* lib/autoconf/general.m4 (_AC_PREPROC_IFELSE_BODY)
(_AC_COMPILE_IFELSE_BODY, _AC_LINK_IFELSE_BODY)
(_AC_RUN_IFELSE_BODY, _AC_COMPUTE_INT_BODY): Use AS_SET_STATUS
instead of `return'.
* doc/autoconf.texi (Common Shell Constructs, Shell Functions):
Document the issue.
* THANKS: Update.
Report by Rugxulo and Reuben Thomas.
DJGPP fix: Do not redirect standard input in configure scripts.
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): If $DJGPP is
nonempty, do not dup fd 0 to AS_ORIGINAL_STDIN_FD, do not close
fd 0.
2009-09-14 Eric Blake <ebb9@byu.net>
Quote result of m4_toupper and m4_tolower.
* lib/m4sugar/m4sugar.m4 (m4_tolower, m4_toupper): Quote result.
* lib/autotest/general.m4 (AT_KEYWORDS): Adjust caller.
* tests/m4sugar.at (m4@&t@_toupper and m4@&t@_tolower): New test.
* NEWS: Document this.
* THANKS: Update.
Reported by Sam Steingold.
2009-09-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
DJGPP fix: remove both conftest and conftest.exe.
The DJGPP compiler may create both `a.out' and `a.exe' without -o,
and both `conftest' and `conftest.exe' with `-o conftest', but not
with `-o conftest.exe'.
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Also remove
`conftest' without $ac_exeext suffix.
DJGPP fix: do not try to source /dev/null as cache or site file.
* lib/autoconf/general.m4 (AC_SITE_LOAD, AC_CACHE_LOAD): Do not
load the cache or site file if it is `/dev/null', as DJGPP treats
it as a regular file, but the shell then warns about it later.
Fixes several test suite failures on DJGPP.
testsuite: pass $configure_options to configure invocations.
* tests/local.at (AT_CHECK_CONFIGURE): Add $configure_options
to configure command line.
* tests/autotest.at, tests/base.at, tests/c.at, tests/torture.at:
Likewise for each configure invocation.
* README-hacking: Document configure_options.
testsuite: improve Erlang tests portability, overridability.
* tests/autotest.at (Erlang Eunit unit tests): Use "no" as
value-if-not-found for Erlang tools.
* tests/erlang.at: Likewise. Also, use AS_EXIT instead of plain
exit.
2009-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* bin/autoupdate.in: Fix typos in comments.
Improve autotest testsuite summary message.
* lib/autotest/general.m4 (AT_INIT): Hint at the toplevel log
only if not $at_debug_p. Always hint at the per-test output.
Four new autoupdate tests, expected failures.
* tests/tools.at (autoupdating macros recursively)
(autoupdating with m4@&t@_pushdef, autoupdating with AC_REQUIRE)
(autoupdating with complex quoting): New tests.
Fix description of AC_CHECK_LIB regarding other deplibs.
* doc/autoconf.texi (Libraries): Library linking may not fail
even without missing additional libs.
2009-09-12 Eric Blake <ebb9@byu.net>
Track recent copyright assignments.
* AUTHORS: Update.
Improve documentation on quoting.
* doc/autoconf.texi (Autoconf Language): Clarify quoting example.
* THANKS: Update.
Reported by santilín.
2009-09-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
New config.status option --config.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Implement
--config.
* doc/autoconf.texi (config.status Invocation): Document it.
* NEWS: Update.
* tests/torture.at (configure invocation): Test it.
Suggested several times, by several people, in the past.
2009-09-10 Eric Blake <ebb9@byu.net>
Document that AS_INIT is automatically used.
* doc/autoconf.texi (Initialization Macros) <AS_INIT>: Add words
to clarify that only bare-bones scripts need a direct AS_INIT.
Suggested by Reuben Thomas.
Clarify portability pitfall of test.
* doc/autoconf.texi (Limitations of Builtins) <test>: Give more
reasons why -a and -o are not portable.
Reported by Reuben Thomas.
2009-09-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Document sed limitation with escaped metacharacters.
* doc/autoconf.texi (Limitations of Usual Tools) <sed>: Use `%'
rather than `/' as delimiter in an example `s' command.
Document inconsistent treatment of escaped metacharacters.
* THANKS: Update.
Report by Dave Korn, with additional input from Paolo Bonzini
and Eric Blake.
Document temporary directory `$tmp' for use in config.status.
* doc/autoconf.texi (Configuration Actions): Document `$tmp'.
* NEWS: Update.
2009-09-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Update License to GPLv3+ including new Autoconf Exception.
* NEWS, README: Update licensing information.
* COPYING.EXCEPTION: New file.
* Makefile.am (EXTRA_DIST): Distribute it.
* cfg.mk (autom4te-update): Remove copyright change warning.
* lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
lib/autoconf/erlang.m4, lib/autoconf/fortran.m4,
lib/autoconf/functions.m4, lib/autoconf/general.m4,
lib/autoconf/headers.m4, lib/autoconf/lang.m4,
lib/autoconf/libs.m4, lib/autoconf/oldnames.m4,
lib/autoconf/programs.m4, lib/autoconf/specific.m4,
lib/autoconf/status.m4, lib/autoconf/types.m4,
lib/autotest/autotest.m4, lib/autotest/general.m4,
lib/autotest/specific.m4, lib/m4sugar/foreach.m4,
lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4: Update exception
statement, bump to GPLv3.
* bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
bin/ifnames.in: Bump to GPLv3+, adjust --version output
to reflect the GPLv3+ and the Autoconf Exception.
* lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
lib/Autom4te/General.pm, lib/Autom4te/Request.pm,
lib/autom4te.in, lib/autoscan/autoscan.pre,
lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
lib/freeze.mk, tests/atlocal.in, tests/autoscan.at,
tests/autotest.at, tests/base.at, tests/c.at,
tests/compile.at, tests/erlang.at, tests/foreign.at,
tests/fortran.at, tests/local.at, tests/m4sh.at,
tests/m4sugar.at, tests/mktests.sh, tests/semantics.at,
tests/statesave.m4, tests/suite.at, tests/tools.at,
tests/torture.at, tests/wrapper.as: Bump to GPLv3+.
Allow to work on systems without Fcntl::flock implementation.
* configure.ac (PERL_FLOCK): New substitution variable with test
whether Fcntl::flock is implemented by the system.
* bin/Makefile.am (edit): Substitute @PERL_FLOCK@.
* bin/autom4te.in: Call XFile::lock only if flock is
implemented.
2009-09-04 Reuben Thomas <rrt@sc3d.org> (tiny change)
Mention the Autoconf archive.
* doc/autoconf.texi (Coding Style): Add a link.
2009-08-30 Bruno Haible <bruno@clisp.org>
Document another Solaris tr pitfall.
* doc/autoconf.texi (Limitations of Usual Tools) <tr>: Mention
that Solaris /usr/bin/tr does not only have problems with
replacing NUL bytes but discards all NUL bytes from the input.
2009-09-04 Eric Blake <ebb9@byu.net>
Improve wording about what goes before AC_INIT.
* doc/autoconf.texi (Initializing configure): Update wording.
(Versioning) <AC_PREREQ>: Remove misleading text, to match
autoscan's behavior.
* THANKS: Update.
Reported by NightStrike, with input from Ralf Wildenhues.
2009-09-04 Thomas Jahns <jahns@dkrz.de> (tiny change)
Fix illegal tab character in Fortran source.
* lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Change TAB back to
multiple spaces; regression introduced 2008-10-23.
* NEWS: Mention this.
* THANKS: Update.
2009-08-22 Romain Lenglet <romain.lenglet@laposte.net>
Fix AT_CHECK_EUNIT for versions of Erlang/OTP without init:stop/1.
* lib/autotest/specific.m4 (AT_CHECK_EUNIT): Support older
versions of Erlang/OTP with an erlang:stop() function that doesn't
take arguments.
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Drop unneeded line in Eunit test.
* tests/autotest.at (Erlang Eunit unit tests): Do not copy
install-sh.
Fix build dependencies for Erlang macro files.
* lib/freeze.mk (autotest_m4f_dependencies): Add
$(src_libdir)/autotest/specific.m4.
* tests/Makefile.am (AUTOCONF_FILES): Add erlang.m4.
2009-09-19 Paolo Bonzini <bonzini@gnu.org>
Use a separate program to test whether the compiler works.
* lib/autoconf/erlang.m4 (_AC_LANG_NULL_PROGRAM(Erlang)): New.
* lib/autoconf/lang.m4 (AC_LANG_DEFINE): Copy _AC_LANG_NULL_PROGRAM.
(_AC_LANG_NULL_PROGRAM(), _AC_LANG_NULL_PROGRAM): New.
(_AC_COMPILER_EXEEXT_DEFAULT): Print here "whether the xyz compiler
works", before exiting.
(_AC_COMPILER_EXEEXT_WORKS): Merge into _AC_COMPILER_EXEEXT_CROSS,
remove the "whether the xyz compiler works" message, use
conftest$ac_cv_exeext instead of $ac_file.
(_AC_COMPILER_EXEEXT): Try _AC_COMPILER_EXEEXT_DEFAULT using
the null program, and clean conftest.out only after
_AC_COMPILER_EXEEXT_CROSS.
(AC_NO_EXECUTABLES): Use _AC_LANG_NULL_PROGRAM.
(_AC_COMPILER_OBJEXT): Use _AC_LANG_NULL_PROGRAM.
2009-08-18 Bruno Haible <bruno@clisp.org>
Document Solaris tr range and NUL limitations.
* doc/autoconf.texi (Limitations of Usual Tools): Mention that
Solaris /usr/bin/tr does not support ranges, nor the '\0' octal
escape.
2009-08-14 Eric Blake <ebb9@byu.net>
Simplify version control metadata.
* .cvsignore: Delete.
* bin/.cvsignore: Likewise.
* config/.cvsignore: Likewise.
* doc/.cvsignore: Likewise.
* lib/.cvsignore: Likewise.
* lib/autoconf/.cvsignore: Likewise.
* lib/Autom4te/.cvsignore: Likewise.
* lib/autoscan/.cvsignore: Likewise.
* lib/autotest/.cvsignore: Likewise.
* lib/emacs/.cvsignore: Likewise.
* lib/m4sugar/.cvsignore: Likewise.
* man/.cvsignore: Likewise.
* tests/.cvsignore: Likewise.
* bin/.gitignore: Likewise.
* build-aux/.gitignore: Likewise.
* config/.gitignore: Likewise.
* doc/.gitignore: Likewise.
* lib/.gitignore: Likewise.
* lib/autoconf/.gitignore: Likewise.
* lib/Autom4te/.gitignore: Likewise.
* lib/autoscan/.gitignore: Likewise.
* lib/autotest/.gitignore: Likewise.
* lib/emacs/.gitignore: Likewise.
* lib/m4sugar/.gitignore: Likewise.
* man/.gitignore: Likewise.
* tests/.gitignore: Likewise.
* .gitignore: Consolidate all rules into one file.
Normalize remaining copyright lines.
* BUGS: Reformat copyright line, using UPDATE_COPYRIGHT_FORCE.
* NEWS: Likewise.
* README-hacking: Likewise.
* TODO: Likewise.
* lib/Autom4te/ChannelDefs.pm: Likewise.
* lib/autoconf/fortran.m4: Likewise.
* lib/autoconf/general.m4: Likewise.
* lib/autoconf/lang.m4: Likewise.
* lib/autotest/general.m4: Likewise.
* maint.mk: Likewise.
* tests/compile.at: Likewise.
Improve copyright updating.
* build-aux/update-copyright: Resynchronize from upstream.
* maint.mk (update-copyright): Simplify based on gnulib.
(update-copyright-env): New variable.
* cfg.mk (update-copyright-exclude-regexp): Delete.
(update-copyright-env): New override.
* .x-update-copyright: New file.
* lib/Autom4te/Makefile.am: Add copyright.
* lib/Autom4te/Channels.pm: Revert copyright update to upstream
file.
* lib/Autom4te/Configure_ac.pm: Likewise.
* lib/Autom4te/FileUtils.pm: Likewise.
* lib/Autom4te/Struct.pm: Likewise.
* lib/Autom4te/XFile.pm: Likewise.
Update copyright.
* AUTHORS: Include 2009 in copyright.
* lib/Autom4te/C4che.pm: Likewise.
* lib/Autom4te/Channels.pm: Likewise.
* lib/Autom4te/Configure_ac.pm: Likewise.
* lib/Autom4te/FileUtils.pm: Likewise.
* lib/Autom4te/General.pm: Likewise.
* lib/Autom4te/Request.pm: Likewise.
* lib/Autom4te/Struct.pm: Likewise.
* lib/autoconf/Makefile.am: Likewise.
* lib/autoconf/autoconf.m4: Likewise.
* lib/autoconf/autoscan.m4: Likewise.
* lib/autoconf/autoupdate.m4: Likewise.
* lib/autoconf/functions.m4: Likewise.
* lib/autoconf/libs.m4: Likewise.
* lib/autoconf/oldnames.m4: Likewise.
* lib/autoconf/types.m4: Likewise.
* lib/autoscan/Makefile.am: Likewise.
* lib/autoscan/autoscan.pre: Likewise.
* lib/autotest/Makefile.am: Likewise.
* lib/autotest/autotest.m4: Likewise.
* lib/emacs/autoconf-mode.el: Likewise.
* lib/emacs/autotest-mode.el: Likewise.
* lib/freeze.mk: Likewise.
* lib/m4sugar/foreach.m4: Likewise.
* man/Makefile.am: Likewise.
* tests/atlocal.in: Likewise.
* tests/autoscan.at: Likewise.
* tests/foreign.at: Likewise.
* tests/fortran.at: Likewise.
* tests/mktests.sh: Likewise.
* tests/semantics.at: Likewise.
* tests/suite.at: Likewise.
* tests/wrapper.as: Likewise.
Prepare to bulk update copyright years.
* build-aux/update-copyright: New file.
* cfg.mk (gnulib-update): Sync it from gnulib.
(update-copyright-exclude-regexp): New variable.
(web-manual): Move...
* maint.mk (web-manual): ...here, to match gnulib.
(update-copyright): New target, copied from gnulib's
maint.mk (it would be nice to sync this file...).
(build_aux): New macro.
(VC_LIST, emit_upload_commands): Use it.
* build-aux/texinfo.tex: Resynchronize from upstream.
* lib/autoconf/general.m4 (_AC_COPYRIGHT_YEARS): Reformat to meet
expected pattern.
* lib/autotest/general.m4 (_AT_COPYRIGHT_YEARS): Likewise.
2009-08-12 Paolo Bonzini <bonzini@gnu.org>
Fix testsuite log capturing for tests 183 and 186.
* tests/autotest.at (AT_CHECK_AT_PREP): Prepend AT_dir to
testsuite log file for AT_CAPTURE_FILE.
2009-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ensure we do not regress with AC_CHECK_MEMBERS.
* tests/semantics.at (AC_CHECK_MEMBERS): Expose the recent
AC_CHECK_MEMBERS fix.
(AC_CHECK_MEMBER): New test group.
2009-08-10 Jeff Squyres <jsquyres@cisco.com> (tiny change)
Fix typo in AC_REQUIRE description.
* doc/autoconf.texi (Prerequisite macros): Fix typo.
2009-08-10 Paolo Bonzini <bonzini@gnu.org>
Fix description of the macro generated by AC_CHECK_MEMBERS.
* lib/autoconf/types.m4 (_AC_CHECK_MEMBERS): Fix regex
replacement. Reported by Bruno Haible.
2009-08-07 Romain Lenglet <romain.lenglet@laposte.net>
* lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Make AC_RUN_IFELSE
fail if the test module doesn't compile.
2009-08-02 Paolo Bonzini <bonzini@gnu.org>
Use exit code to detect no occurrences with grep.
* tests/autotest.at (Erlang Eunit unit tests): Fix grep invocation.
2009-08-01 Romain Lenglet <romain.lenglet@laposte.net>
Paolo Bonzini <bonzini@gnu.org>
* lib/autotest/specific.m4 (AT_CHECK_EUNIT): New file.
* lib/autotest/Makefile.am (dist_autotestlib_DATA): Add specific.m4.
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add definitions of
variables used by AT_CHECK_EUNIT macro: ERL, ERLC, ERLCFLAGS.
* tests/autotest.at (Erlang Eunit unit tests): Add test for macro
AT_CHECK_EUNIT.
* doc/autoconf.texi (Writing Testsuites): Document macro
AT_CHECK_EUNIT.
* NEWS: Mention macro AT_CHECK_EUNIT.
2009-07-30 Paolo Bonzini <bonzini@gnu.org>
Joel E. Denny <jdenny@clemson.edu>
Clarify comparison of echo, printf, and AS_ECHO*.
* doc/autoconf.texi (Limitations of Builtins): In echo's entry,
give a reason why printf is better than echo. In printf's
entry, cross-reference echo's entry.
2009-07-30 Paolo Bonzini <bonzini@gnu.org>
Add back AH_CHECK_HEADERS.
* lib/autoconf/general.m4 (AH_CHECK_HEADERS): New.
* NEWS: Create new section.
2009-07-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
testsuite: avoid bogus hostname match from inner test logs.
* tests/autotest.at (Hard fail): Check more restrictively for
passed tests, so that hostnames recorded in the log file do not
wrongly match.
Report by Ludovic Courtès.
2009-07-26 Eric Blake <ebb9@byu.net>
Release Version 2.64.
* NEWS: Mention the release.
* README: This release is stable.
* HACKING (release): Use dist-xz, not dist-lzma.
Document some optional features in INSTALL.
* doc/install.texi (Basic Installation): Mention that INSTALL is
generic, and that not all packages implement all features.
Mention 'make distcheck' for maintainers, and 'make installcheck'
for users. Mention the GNU Coding Standards.
(Installation Names): Mention DESTDIR vs. 'make prefix= install'
as ways to alter the configuration, with caveats of each. Move
--program-prefix discussion...
(Optional Features): ...here. Mention --enable-silent-rules and
use of make V=0.
Basic improvements to INSTALL.
* doc/install.texi (Basic Installation): Use better markup.
(Multiple Architectures): Introduce the term VPATH.
(Installation Names): Mention that --prefix must be absolute.
* doc/autoconf.texi (Preset Output Variables)
(Installation Directory Variables): Consistently refer to GNU
Coding Standards.
Update some upstream files.
* build-aux/config.guess: Resynchronize from upstream.
* build-aux/config.sub: Likewise.
* build-aux/texinfo.tex: Likewise.
* build-aux/vc-list-files: Likewise.
* doc/standards.texi: Likewise.
2009-07-25 Eric Blake <ebb9@byu.net>
Recognize new m4sugar keywords.
* lib/emacs/autoconf-mode.el (autoconf-current-defun): Recognize
m4_define_default, m4_defun_init, m4_defun_once.
(autoconf-font-lock-keywords): Likewise.
Require m4 1.4.6, and fix testsuite to support this version.
* m4/m4.m4 (AC_PROG_GNU_M4): Reject m4 1.4.5, now that we use
regexp it can't handle.
* NEWS: Mention minimum version bump.
* README: Likewise.
* README-hacking: Likewise.
* doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
* tests/tools.at (autom4te --trace and whitespace): Update test so
still work with older m4 line numbers.
* tests/m4sugar.at (m4@&t@_require: nested): Likewise.
Reported by Ralf Wildenhues.
2009-07-25 Bruno Haible <bruno@clisp.org>
Clarify autom4te debugging tips.
* doc/autoconf.texi (Debugging via autom4te): Fix example from
previous commit, and add clarification.
2009-07-25 Eric Blake <ebb9@byu.net>
Document some autom4te debugging tips.
* doc/autoconf.texi (Debugging via autom4te): New node.
Suggested by Bruno Haible.
Fix font-lock.
* configure.ac (ac_cv_unsupported_fs_chars): Make editing easier.
Let autoheader see through m4 macros in AC_DEFINE.
* lib/autoconf/general.m4 (AC_DEFINE_TRACE): Expand macro before
tracing its name.
* lib/autoconf/autoheader.m4 (AH_VERBATIM, AH_TEMPLATE): Likewise,
for using the macro in a template file.
* tests/tools.at (autoheader and macros): New test.
* NEWS: Mention this.
Reported by Bruno Haible.
Improve NEWS wording.
* NEWS: Use more accurate statement.
Suggestedy by Ralf Wildenhues.
2009-07-24 Eric Blake <ebb9@byu.net>
Fix AS_EXIT for FreeBSD sh.
* lib/m4sugar/m4sh.m4 (AS_EXIT): Always supply an argument to the
shell function, since $? is not reliable on function entry.
(_AS_EXIT_PREPARE): Simplify to assume argument.
Reported by Ralf Wildenhues.
2009-07-23 Eric Blake <ebb9@byu.net>
Run more tests under Solaris.
* tests/local.at (AT_CHECK_AUTOCONF): Don't skip entire test
group when passing over syntax checks.
2009-07-23 Romain Lenglet <romain.lenglet@laposte.net>
Clean up temporary files generated by Erlang macros.
* lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB)
(AC_ERLANG_SUBST_ROOT_DIR, AC_ERLANG_SUBST_LIB_DIR)
(AC_ERLANG_SUBST_ERTS_VER): Delete conftest.out; renamed
erlang_cv_* cache variables into ac_cv_erlang_*.
* lib/autoconf/general.m4 (AC_RUN_IFELSE): Delete conftest.beam
files generated by Erlang compiler.
* tests/local.at (AT_CHECK_ENV): Ignore variables defined by
Erlang macros.
* tests/erlang.at (AT_SETUP_ERLANG): Delete; replace all uses by
AT_CHECK_MACRO.
* tests/Makefile.am (AUTOCONF_FILES): Revert previous addition of
generated Erlang tests; they are all hand-tested.
Add autotests for Erlang macros.
* tests/erlang.at: Added tests for all macros in erlang.m4.
* tests/Makefile.am (TESTSUITE_HAND_AT, AUTOCONF_FILES): Added
erlang.at.
* tests/suite.at: Likewise.
* tests/compile.at (AC_LANG, AC_LANG_PUSH & AC_LANG_POP): Added
test for extension of Erlang files.
(Multiple languages): Use correct m4 quoting.
* NEWS: Mention this.
2009-07-22 Eric Blake <ebb9@byu.net>
Fix test of autom4te from stdin.
* tests/tools.at (autom4te cache locking): Make stdin request
explicit, so that --force is properly used.
2009-07-16 Eric Blake <ebb9@byu.net>
Don't hide leading space in autom4te --trace output.
* bin/autom4te.in (handle_traces): Don't flatten leading and
trailing space, since tracing spacing bugs can be useful.
* tests/tools.at (autom4te --trace and whitespace): New test.
2009-07-13 Eric Blake <ebb9@byu.net>
Document that $srcdir can be used during configure.
* doc/autoconf.texi (Preset Output Variables): Add a paragraph.
* THANKS: Update.
Reported by Monty Taylor.
2009-07-13 Eric Blake <ebb9@byu.net>
Disable asynchronous job notification for parallel tests.
* lib/autotest/general.m4 (AT_INIT) <Driver loop>: Turn off notify
mode, since zsh leaves it on after 'emulate sh'.
* doc/autoconf.texi (Limitations of Builtins) <set>: Document that
job control options are not portable.
Guarantee that exit status trumps output matching.
* doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Document this
better.
* tests/autotest.at (Skip, parallel skip): Enhance tests.
Fix nits in recent patches.
* configure.ac (ac_cv_dir_trailing_space): Avoid $status, for
zsh.
* doc/autoconf.texi (Writing Testsuites) <AT_FAIL_IF, AT_SKIP_IF>:
Tweak wording.
(Introduction): Recommend m4 1.4.13.
* README: Likewise.
* m4/m4.m4 (AC_PROG_GNU_M4): Likewise. Use long option --gnu
rather than -g.
2009-07-13 Paolo Bonzini <bonzini@gnu.org>
Introduce AT_SKIP_IF and AT_FAIL_IF
* NEWS: Mention AT_SKIP_IF and AT_FAIL_IF.
* doc/autoconf.texi (Autotest): Document them.
* lib/autotest/general.m4 (_AT_LINE_ESCAPED, AT_SKIP_IF,
AT_FAIL_IF, _AT_CHECK_EXIT): New.
(AT_CHECK): Use _AT_LINE_ESCAPED.
* tests/autotest.at: Add tests for AT_SKIP_IF and AT_FAIL_IF.
Use AT_SKIP_IF.
* tests/local.at: Use AT_SKIP_IF.
2009-07-13 Paolo Bonzini <bonzini@gnu.org>
Use m4 -g when available.
* m4/m4.m4: Unset POSIXLY_CORRECT during first test. Test for -g.
Warn user if he has POSIXLY_CORRECT set but -g is not supported.
* bin/Makefile.am: Substitute @M4_GNU@ into generated files.
* bin/autom4te.in: Pass @M4_GNU@ to m4.
2009-07-13 Eric Blake <ebb9@byu.net>
Fix previous patch.
* lib/autotest/general.m4 (at_fn_check_prepare_notrace): Use
proper m4 quoting.
(_AT_DECIDE_TRACEABLE): Likewise.
2009-07-13 Paolo Bonzini <bonzini@gnu.org>
* lib/autotest/general.m4 (at_fn_check_prepare_notrace): Use
$at_trace_echo. Add new REASON argument.
(at_fn_check_prepare_trace): Do not call at_fn_check_prepare_notrace.
Use $at_check_filter_trace.
(at_fn_check_prepare_dynamic): Use at_fn_check_prepare_notrace.
(at_traceon): Initialize to ':'.
(at_traceoff): Remove, use 'set +x' instead throughout.
(at_check_filter_trace, at_trace_echo): New shell variables.
Initialize them if tracing is requested.
(_AT_DECIDE_TRACEABLE): Adjust call to at_fn_check_prepare_notrace.
2009-07-12 Paolo Bonzini <bonzini@gnu.org>
Move atlocal feature tests to configure
* configure.ac: Test for unsupported characters in files and
directories here...
* tests/atlocal.in: ... and not here.
2009-07-09 Eric Blake <ebb9@byu.net>
Fix test typo.
* tests/m4sh.at (AS@&t@_INIT_GENERATED): Close fd, rather than
creating file named -.
Fix testsuite under dash.
* tests/m4sh.at (LINENO stack, AS@&t@_BASENAME, AS@&t@_DIRNAME)
(AS@&t@_ECHO and AS@&t@_ECHO_N, AS@&t@_EXIT, AS@&t@_MKDIR_P)
(AS@&t@_VERSION_COMPARE, as_me, Negated classes in globbing)
(Functions Support, Functions and return Support)
(Nested AS@&t@_REQUIRE_SHELL_FN, Nested AS@&t@_REQUIRE)
(AS@&t@_REQUIRE_SHELL_FN and m4@&t@_require, AS@&t@_HELP_STRING)
(AS@&t@_IF and AS@&t@_CASE, AS@&t@_FOR, AS@&t@_LITERAL_IF)
(AS@&t@_VAR basics, AS@&t@_VAR_APPEND, AS@&t@_VAR_ARITH)
(AS@&t@_INIT cleanup, AS@&t@_INIT_GENERATED, AS@&t@_MESSAGE_FD)
(_AS@&t@_CLEAN_DIR, ECHO_C): Allow testing different CONFIG_SHELL
options during the testsuite run.
Reported by Ralf Wildenhues.
2009-07-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ignore messages on stderr when testing for the zsh issue.
* tests/autotest.at (AT_SKIP_PARALLEL_TESTS): Ignore stderr.
2009-07-07 Eric Blake <ebb9@byu.net>
Skip parallel tests when zsh 'set -m' fails.
* tests/autotest.at (AT_SKIP_PARALLEL_TESTS): Skip test if set -m
is not supported.
Reported by Ralf Wildenhues.
Make parallel testsuite more portable.
* lib/autotest/general.m4 (AT_INIT) <AT_JOB_FIFO_FD>: Avoid <>;
instead open write descriptor in each group and read descriptor in
main driver.
* tests/autotest.at (AT_SKIP_PARALLEL_TESTS): Relax condition.
2009-07-03 Eric Blake <ebb9@byu.net>
Avoid syntax error in ash.
* lib/autotest/general.m4 (AT_INIT) <driver loop>: Avoid syntax
errors on shells that don't recognize <>.
* tests/autotest.at (AT_SKIP_PARALLEL_TESTS): Also skip parallel
tests for this reason. Skip based on the shell to be tested,
not the shell driving the testsuite.
(parallel syntax error): Rearrange similar to previous patch.
(parallel test execution): Defer skip until after serial tests.
2009-07-02 Eric Blake <ebb9@byu.net>
Skip test on shells that can't catch syntax failure.
* tests/autotest.at (Syntax error): Skip test if shell aborts on
syntax error (AIX ksh88) or doesn't detect it (zsh).
* doc/autoconf.texi (Limitations of Builtins) <.>: Mention these
limitations.
Reported by Ralf Wildenhues.
2009-06-30 Jan Madzik <jmadzik@gmail.com> (tiny change)
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Avoid AIX 6.1 ksh88 ECHO_C command substitution bug.
* lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Ensure more than
one character is output with `\c'; reset echo output state
if buggy ksh was detected, and set ECHO_T instead of ECHO_C.
* doc/autoconf.texi (Limitations of Builtins): Document it.
* tests/m4sh.at (ECHO_C): New test.
* THANKS: Update.
2009-06-27 William Pursell <bill.pursell@gmail.com> (tiny change)
Fix grammaro in documenation.
* doc/autoconf.texi (Guidelines): Fix grammaro.
2009-06-17 Eric Blake <ebb9@byu.net>
Fix AC_CHECK_HEADER infloop for gcc.
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
(_AC_CHECK_HEADER_OLD): Give up on AU_DEFUN, and manually warn
about obsoletion, to avoid infinite loop in gcc.
Reported by Ralf Wildenhues.
2009-06-15 Eric Blake <ebb9@byu.net>
Add m4_copy_force, m4_rename_force.
* lib/m4sugar/m4sugar.m4 (m4_copy_force, m4_rename_force): New
macros.
* tests/m4sugar.at (m4@&t@_defn): Test them.
* doc/autoconf.texi (Redefined M4 Macros) <m4_copy>: Document
them.
* NEWS: Likewise.
Suggested by Ralf Wildenhues.
Reinstate _AC_CHECK_HEADER_OLD for gcc.
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
(_AC_CHECK_HEADER_OLD): Provide autoupdate versions, since gcc and
others used these undocumented macros.
Reported by Ralf Wildenhues.
2009-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix concurrent autom4te.cache directory creation race.
* bin/autom4te.in: Do not error out if another `autom4te'
instance created the cache directory before we could.
2009-06-11 Steven G. Johnson <stevenj@alum.mit.edu>
and Eric Blake <ebb9@byu.net>
Create a file in test program when detecting cross-compilation.
* lib/autoconf/lang.m4 (_AC_LANG_IO_PROGRAM): New macro, returns
program that creates a file.
(_AC_COMPILER_EXEEXT,_AC_COMPILER_EXEEXT_WORKS): Call new macro
and document why it's needed to robustly detect cross-compiling.
(AC_LANG_DEFINE): Copy implementation across similar languages.
* lib/autoconf/c.m4 (_AC_LANG_IO_PROGRAM(C)): Implement new macro.
* lib/autoconf/fortran.m4 (_AC_LANG_IO_PROGRAM(Fortran 77)):
Likewise.
* lib/autoconf/erlang.m4 (_AC_LANG_IO_PROGRAM(Erlang)): Likewise.
2009-06-11 Eric Blake <ebb9@byu.net>
Simplify AC_LANG(Fortran).
* lib/autoconf/fortran.m4 (AC_LANG(Fortran)): Borrow from Fortran
77, which requires reordering portions of the file.
(AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran)): Now defined
automatically.
Clarify m4_copy semantics.
* doc/autoconf.texi (Redefined M4 Macros) <m4_copy>: Update
documentation.
* tests/m4sugar.at (m4@&t@_defn): Enhance test.
2009-06-06 Eric Blake <ebb9@byu.net>
Improve documentation on trap pitfalls.
* doc/autoconf.texi (Limitations of Builtins) <trap>: Mention new
Posix 2008 requirement on trap, and dash bug in implementing it.
Mention various shell bugs with traps defined inside subshells.
Mention older bash limitation with single-command exit trap.
<set>: Mention another 'set -e' limitation.
Reported by Jens Schmidt.
2009-06-06 Jim Meyering <meyering@redhat.com>
Improve testsuite --help
* lib/autotest/general.m4: Correct the example in ./testsuite --help.
Improve wording.
2009-06-06 Eric Blake <ebb9@byu.net>
Document fallback behavior of AC_PROG_LEX.
* doc/autoconf.texi (Particular Programs) <AC_PROG_LEX>: Mention
why fallback is :, and that a --version check must be used to
determine whether flex was found.
Reported by Patrick Welche.
2009-05-28 Jim Meyering <meyering@redhat.com>
Fix syntax errors in autoconf.texi.
* doc/autoconf.texi (Erlang Libraries): @-escape curly braces
in example code.
2009-05-28 Romain Lenglet <romain.lenglet@laposte.net>
New AC_ERLANG_SUBST_ERTS_VER macro.
* lib/autoconf/erlang.m4: Add macro AC_ERLANG_SUBST_ERTS_VER.
* doc/autoconf.texi (Erlang Libraries): Document
AC_ERLANG_SUBST_ERTS_VER.
* NEWS: Likewise.
* AUTHORS: Update Romain Lenglet's email address.
* THANKS: Update.
Suggested by Ruslan Babayev.
2009-05-26 Eric Blake <ebb9@byu.net>
Sanitize more problematic environment variables.
* doc/autoconf.texi (Environment Variable Index): Add more
entries, particularly for precious variables and known culprit
variables. Needed to avoid overfull vbox.
(Special Shell Variables) <CLICOLOR_FORCE, GREP_OPTIONS>: Add
variables known to cause misbehavior.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Unset variables
known to cause problems.
* THANKS: Update.
Based on reports from Ilya Bobir and Joey Mingrone.
2009-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Document VPATH = $(variable) issue in VPATH chapter.
* doc/autoconf.texi (Variables listed in VPATH): New node.
(Top, VPATH and Make): Adjust menus.
(Build Directories): Refer to it.
Prompted by report from Bruno Haible.
2009-05-19 Eric Blake <ebb9@byu.net>
Update uses of all-permissive license.
* ChangeLog: Relicense under GPL.
* ChangeLog.0: Likewise.
* ChangeLog.1: Likewise.
* ChangeLog.2: Likewise.
* THANKS: Likewise.
* m4/m4.m4: Use latest wording of FSF all-permissive license.
* m4/make-case.m4: Likewise.
* doc/install.texi: Likewise.
* tests/statesave.m4: Relicense to match rest of testsuite; this
file does not need all-permissive license since it is not designed
for reuse by other packages.
* BUGS: Relicense under all-permissive license.
* HACKING: Likewise.
* NEWS: Likewise.
* README: Likewise.
* README-alpha: Likewise.
* README-hacking: Likewise.
* TODO: Likewise.
Update some upstream files.
* build-aux/config.guess: Resynchronize from upstream.
* build-aux/gnupload: Likewise.
* build-aux/vc-list-files: Likewise.
* build-aux/texinfo.tex: Likewise.
* doc/gendocs_template: Likewise.
Don't mention undocumented interface in NEWS.
* NEWS: Correct earlier entry about AS_FOR.
2009-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
New manual section `Parallel Make'.
* doc/autoconf.texi (Parallel Make): New node, document NetBSD
`make -jN' quirks.
(Top, Portable Make): Adjust menus.
2009-05-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
testsuite: skip `Multiple languages' test without C++ compiler.
* tests/compile.at (Multiple languages): Skip test on systems
without a C++ compiler.
Report by Jim Meyering.
2009-05-13 Eric Blake <ebb9@byu.net>
Document zsh bug with empty commands.
* doc/autoconf.texi (Special Shell Variables) <?>: Add mention of
more problems with $?.
2009-05-11 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
Also try X11R7 when looking for X11 files, for NetBSD.
* lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Also try directories
with X11R7 in the name.
2009-05-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Limit stderr logging for C compiler version.
* lib/autoconf/general.m4 (_AC_RUN_LOG_LIMIT, _AC_DO_LIMIT): New
internal macros, equivalent to _AC_RUN_LOG and _AC_DO, but with
an optional additional argument to limit the number of lines of
stderr output logged, defaulting to 10.
* lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Use
_AC_DO_LIMIT for capturing compiler version output. Also test
-qversion, for the IBM xlc compiler.
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
* THANKS: Update.
Report by Christian Rössel and John R. Cary against Libtool.
2009-04-24 Eric Blake <ebb9@byu.net>
Fix quoting of m4 macros in AT_CHECK.
* lib/autotest/general.m4 (AT_CHECK): Expand prior to adding
escapes, to avoid shell syntax errors caused by late macro
expansion.
* NEWS: Document this change.
* tests/autotest.at (Metacharacters in command from M4 expansion):
New test.
manual: Use consistent spelling of here-document.
* doc/autoconf.texi (Defining Symbols, Programming in M4sh)
(Common Shell Constructs, Macro Names, Writing Testsuites): Fix
spelling.
Reported by Ralf Wildenhues.
Make AT_CHECK_UNQUOTED more like AC_DEFINE_UNQUOTED.
* lib/autotest/general.m4 (AT_CHECK_NOESCAPE): Keep older,
undocumented semantics, where unbalanced " cannot be used in the
stdout/stderr argument.
(AT_CHECK_UNQUOTED): Treat " in stdout/stderr as a literal, since
the text is used in double-quoted context.
* tests/autotest.at (unquoted output): New test.
* doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Mention which
shell expansions are handled.
Rename AT_CHECK_NOESCAPE to AT_CHECK_UNQUOTED.
* lib/autotest/general.m4 (AT_CHECK_NOESCAPE): Deprecate, in favor
of new spelling...
(AT_CHECK_UNQUOTED): ...for consistency with AC_DEFINE_UNQUOTED.
* doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Document the
rename.
* NEWS: Likewise.
* tests/autotest.at (Binary output, Cleanup): Adjust tests.
* tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
Likewise.
Reported by Ralf Wildenhues.
2009-04-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
New test to ensure autom4te cache file locking works.
* tests/tools.at (autom4te cache locking): New test.
Report by Eric Blake.
2009-04-22 Paolo Bonzini <bonzini@gnu.org>
manual: another grammar improvement.
* doc/autoconf.texi (Fortran Compiler): Avoid dependency on
pronunciation of `FCFLAGS_f90'.
2009-04-23 Eric Blake <ebb9@byu.net>
Change FOO placeholder to use @var{text} instead.
* doc/autoconf.texi (Configuration Actions): Rename AC_CONFIG_FOOS
to AC_CONFIG_@var{ITEMS}.
* doc/autoconf.texi (config.status Invocation): Likewise.
(AC_FOO_IFELSE vs AC_TRY_FOO): Rename node...
(AC_ACT_IFELSE vs AC_TRY_ACT): ...to this.
2009-04-22 Eric Blake <ebb9@byu.net>
Add m4_argn.
* lib/m4sugar/m4sugar.m4 (m4_argn): New macro.
* NEWS: Document it.
* doc/autoconf.texi (Looping constructs) <m4_argn>: Likewise.
<m4_car, m4_cdr>: Improve documentation.
* tests/m4sugar.at (m4 lists): New test.
2009-04-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Improve description of AC_PROG_CC_C89 and AC_PROG_CC_C99.
* doc/autoconf.texi (C Compiler): Document that AC_PROG_CC_C89
and AC_PROG_CC_C99 prefer extended over strict conformance modes.
Report by Vincent Lefèvre.
2009-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Revert bogus change in last commit.
* doc/autoconf.texi (Initialization Macros): Revert change.
Spotted by Eric Blake.
manual: fix trivial grammar errors.
* doc/autoconf.texi (Fortran Compiler, Initialization Macros)
(Limitations of Usual Tools, Pretty Help Strings)
(config.status Invocation): Fix `a' vs. `an' errors.
Report by Eric Blake.
2009-04-21 Eric Blake <ebb9@byu.net>
Shuffle maintainer-specific rules.
* Makefile.am (maintainer-check-tests): Delete.
(autom4te-update): Move...
* cfg.mk (autom4te-update): ...here.
(fetch): Depend on autom4te-update. Split...
(gnulib-update): ...into new rule. Import move-if-change from
gnulib.
* maint.mk (maintainer-distcheck): Absorb former maintainer-check
rule.
* build-aux/move-if-change: New file, undistributed.
* .gitattributes: Handle new upstream file.
* .gitignore: Ignore maintainer cruft.
* HACKING: Update maintainer instructions.
* build-aux/config.guess: Update from upstream.
* build-aux/config.sub: Likewise.
* build-aux/gendocs.sh: Likewise.
* build-aux/texinfo.tex: Likewise.
* doc/gendocs_template: Likewise.
* doc/standards.texi: Likewise.
2009-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Sync autom4te perl modules from Automake.
* lib/Autom4te/Channels.pm: Sync from Automake.
* lib/Autom4te/FileUtils.pm: Likewise.
* lib/Autom4te/XFile.pm: Likewise.
Adjust channel definitions for new Automake `ordered' flag.
* lib/Autom4te/ChannelDefs.pm (Autom4te::ChannelDefs): Set
`ordered' flag to zero for channels `fatal', `automake', and
`verb'. This has currently no effect on actual semantics but
avoids a consistency check needed for Automake's usage of the
Channels.pm code.
manual: clarify m4_if synopsis.
* doc/autoconf.texi (Redefined M4 Macros): Rewrite synopsis of
m4_if in the presence of more than three arguments.
Improve and clarify `config.status' usage documentation.
* doc/autoconf.texi (config.status Invocation): Fix markup in
synopsis. Use `tag' instead of `file' notation for the
non-option arguments, to be consistent with the documentation
of the AC_CONFIG_* macros.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise,
use `tag' notation for non-option arguments.
Report by John Calcote.
2009-04-15 Eric Blake <ebb9@byu.net>
Test that autotest handles binary output.
* tests/autotest.at (Binary output): New test.
Suggested by Ralf Wildenhues.
Add stdout-nolog and ignore-nolog to AT_CHECK.
* lib/autotest/general.m4 (AT_DIFF_STDERR(stderr-nolog))
(AT_DIFF_STDERR(ignore-nolog), AT_DIFF_STDOUT(stdout-nolog))
(AT_DIFF_STDOUT(ignore-nolog)): New macros.
* tests/autotest.at (Logging): New test.
* doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Document the
new logging actions.
* NEWS: Likewise.
Reported by Ralf Wildenhues.
Teach AT_CHECK about hard failures.
* lib/autotest/general.m4 (AT_INIT) <at_fn_check_skip>
<at_fn_check_status, at_fn_group_postprocess>: Handle hard
failures.
* doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Document
AT_CHECK_NOESCAPE and exit status 99.
* NEWS: Likewise.
* tests/autotest.at (Hard fail, Cleanup): New tests.
2009-04-14 Eric Blake <ebb9@byu.net>
Fix yesterday's regression in AS_IF.
* lib/m4sugar/m4sh.m4 (_AS_IF_ELSE): Don't corrupt $? in else
branch; it is up to the user to avoid syntax errors.
* tests/m4sh.at (AS@&t@_IF and AS@&t@_CASE): Adjust test.
2009-04-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Add traces for AM_SILENT_RULES.
* lib/autom4te.in (Automake-preselections): Trace
AM_SILENT_RULES.
2009-04-13 Eric Blake <ebb9@byu.net>
Improve documentation related to expanded-before-required.
* doc/autoconf.texi (Expanded Before Required): Add a case study.
(Running the Compiler) <AC_COMPILE_IFELSE>: Remind users that
running a compile test will AC_REQUIRE the compiler check.
(Macro Definitions) <AC_DEFUN>: Contrast AC_DEFUN and m4_define.
(C Compiler) <AC_PROG_CC>: Mention the fact that only first
invocation of this macro checks for $EXEEXT, and that many other
macros use it via AC_REQUIRE.
Reported by Andreas Schwab.
Mention latest rules about make and set -e.
* doc/autoconf.texi (Failure in Make Rules): Posix is now clear
that make must use set -e.
(Limitations of Builtins) <set>: Clarify more about set -e
behavior.
Improve documentation about if exit status.
* doc/autoconf.texi (Limitations of Builtins) <if>: Mention that
exit status bugs don't affect modern targets.
Reported by Andreas Schwab.
Add cross-reference to new macros.
* doc/autoconf.texi (Text processing Macros) <m4_normalize>
<m4_strip>: Reference the new m4_ifblank.
Suggested by Mike Frysinger.
Make AS_IF, AS_CASE, and AS_FOR more robust to blank arguments.
* lib/m4sugar/m4sh.m4 (_AS_CASE, _AS_CASE_DEFAULT, AS_FOR, _AS_IF)
(_AS_IF_ELSE, AS_IF): Avoid syntax error on blank argument,
including a macro with an empty expansion.
* NEWS: Mention this.
* tests/m4sh.at (AS@&t@_IF and AS@&t@_CASE, AS@&t@_FOR): Update
tests.
Reported by Mike Frysinger.
Add m4_blank and friends.
* lib/m4sugar/m4sugar.m4 (m4_blank, m4_nblank, m4_default_nblank)
(m4_default_nblank_quoted): New macros.
* NEWS: Document them.
* doc/autoconf.texi (Conditional constructs): Likewise.
* tests/m4sugar.at (m4sugar shorthand conditionals): New test.
Suggested by Mike Frysinger.
2009-04-13 Eric Blake <ebb9@byu.net>
Finish upgrade to GFDL 1.3.
* doc/autoconf.texi (copying): Use correct license; comment change
was missed on 2008-11-04.
2009-04-10 Eric Blake <ebb9@byu.net>
Test parallel handling of syntax error.
* tests/autotest.at (parallel syntax error): New test.
Suggested by Ralf Wildenhues.
2009-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Document awk and config.status line length limitations.
* doc/autoconf.texi (Configuration Actions): The input to
config.status should have reasonable line length.
(Limitations of Usual Tools): Document IRIX, HP-UX awk input
line length limit.
Report by Bruno Haible.
Skip `Multiple languages' test if CC is a C++ compiler.
* tests/compile.at (Multiple languages): Before starting the
test proper, build and run a configure script that tests the
C compiler only, and skips the test if this is found to be a
C++ compiler.
Report by Eric Blake.
Note that AC_DEFUN is needed for aclocal.
* doc/autoconf.texi (Coding Style): Public third-party macros
should be AC_DEFUN'ed.
Report by John Calcote.
2009-04-10 Eric Blake <ebb9@byu.net>
Add undocumented _AS_CLEAN_DIR.
* lib/m4sugar/m4sh.m4 (_AS_CLEAN_DIR): New macro; fixes m4 quoting
in previous patch.
* lib/autotest/general.m4 (AT_INIT) <at_fn_group_prepare>: Use new
macro.
* tests/m4sh.at (_AS@&t@_CLEAN_DIR): New test.
Reported by Ralf Wildenhues.
2009-04-09 Eric Blake <ebb9@byu.net>
Avoid problems caused by deleting in-use directory.
* lib/autotest/general.m4 (AT_INIT) <at_fn_group_prepare>: Only
remove the contents of $at_group_dir, not the directory itself.
Fix regression in empty test.
* lib/autotest/general.m4 (AT_SETUP): Prep AT_ingroup for fallback
use in empty test. Fixes regression introduced 2009-04-06.
(_AT_CHECK): Undo fallback when a test is not empty.
(AT_CLEANUP): Expand AT_ingroup before deleting.
2009-04-09 Paolo Bonzini <bonzini@gnu.org>
Make a less conservative cross-compilation guess for AC_FUNC_UTIME_NULL.
* lib/autoconf/functions.m4 (AC_FUNC_UTIME_NULL): Assume
not crosscompiling to an obsolete system.
2009-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Automake relies on the undocumented `_AC_COMPILER_EXEEXT' macro.
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Document that
Automake relies on this macro.
2009-04-06 Eric Blake <ebb9@byu.net>
Reduce testsuite size.
* tests/statesave.m4: New file.
* tests/Makefile.am (EXTRA_DIST): Distribute it.
* tests/local.at (AT_CONFIGURE_AC): Reuse file, rather than
repeating inline definition of AC_STATE_SAVE.
(AT_CHECK_ENV): Factor code...
(_AT_CHECK_ENV): ...into shell function.
* tests/m4sh.at (AT_DATA_LINENO): Avoid churn in testsuite.
Handle shell comments in AT_CHECK.
* lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Handle # in
test correctly. Latent bug in handling shell comment was first
fixed 2008-11-20, but regressed two patches later.
* tests/autotest.at (Shell comment in command): New test.
* NEWS: Document the fix.
Hard fail any test with syntax errors.
* lib/autotest/general.m4 (AT_INIT) <at_fn_group_postprocess>:
Guarantee test failure on syntax error, rather than inheriting
status from previous test.
* tests/autotest.at (Syntax error): New test.
2009-03-31 Eric Blake <ebb9@byu.net>
Beta Release Version 2.63b.
* NEWS: Mention the release.
* README: Clarify that this is a beta release.
* build-aux/texinfo.tex: Synchronize from upstream.
* .x-sc_trailing_blank: Exempt more upstream files.
2009-03-30 Eric Blake <ebb9@byu.net>
Fix testsuite failures under zsh.
* tests/local.at (AT_CHECK_ENV): Exempt $argv and $ARGC, which are
set by zsh -c 'emulate sh'.
Reported by Ralf Wildenhues.
For now, skip parallel tests under less-tested shells.
* tests/autotest.at (AT_CHECK_AT): Add pre-test argument.
(Tested programs, Startup error messages, AT_CHECK_AT_TITLE)
(Fallacy, Skip, errexit, Long test source lines)
(Debugging a successful test, Debugging script and environment)
(Debugging a failed test, Using atlocal)
(Choosing where testsuite is run): Adjust callers.
(AT_SKIP_PARALLEL_TESTS): New macro, to skip parallel tests except
under zsh, bash, or when TEST_PARALLEL_AUTOTEST is defined. Makes
it easier to avoid testsuite hangs for users with dash or other
less-tested shell.
(parallel test execution, parallel truth, parallel fallacy)
(parallel skip, parallel errexit)
(parallel autotest and signal handling): Use it.
* BUGS: Mention this.
2009-03-24 Andris Pavenis <andris.pavenis@iki.fi> (tiny change)
Fix awk substitution of carriage returns on DJGPP.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix typo in
generation of ac_cs_awk_cr.
* THANKS: Update.
2009-03-24 Aaron W. LaFramboise <aaronenvelope277@aaronwl.com> (tiny change)
Work around cygwin bash igncr mode.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fall back to
bash carriage returns if ac_cr lost \r from ``.
* THANKS: Update.
Suggested by Eric Blake.
2009-03-24 Eric Blake <ebb9@byu.net>
Fix underquoted example in manual.
* doc/autoconf.texi (Common Shell Constructs) <AS_TR_CPP>:
Properly m4-quote #.
* THANKS: Update spelling.
Reported by Matěj Týč.
2009-03-18 Eric Blake <ebb9@byu.net>
Manual: mention more expr pitfalls.
* doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>:
Mention HP-UX limitation, and $ ambiguity.
* THANKS: Update.
Reported by Jens Schmidt, in http://bugs.debian.org/466990.
2009-03-17 Jim Meyering <meyering@redhat.com>
Manual: fix a typo.
* lib/m4sugar/m4sh.m4: s/are/is/ => "there is no indirection"
2009-03-17 Eric Blake <ebb9@byu.net>
Use test consistently in examples.
* doc/autoconf.texi (Subdirectories, Caching Results)
(Common Shell Constructs, Prerequisite Macros, Coding Style)
(Changed Results, Particular Programs, Defining Symbols):
Protect against arbitrary user strings.
(Multiple Cases): Mention why $fstype does not need protection.
Reported by Reuben Thomas.
Improve confusing section names.
* doc/autoconf.texi (Specifying Names): Rename node...
(Specifying Target Triplets): ...to this.
(Generic Programs): Adjust references.
* doc/install.texi (System Type): Touch up formatting.
* THANKS: Update.
Reported by Tim Freeman, in http://bugs.debian.org/312873.
Remove historical inaccuracy.
* doc/autoconf.texi (Portable Shell): Don't perpetuate myth about
#!/bin/sh needing a space.
Reported by Reuben Thomas.
Recommend AS_HELP_STRING more prominently.
* doc/autoconf.texi (External Software): Reduce mention of
hand-written help strings.
Reported by Reuben Thomas.
2009-03-16 Eric Blake <ebb9@byu.net>
Fix 'make pdf'.
* doc/autoconf.texi (Balancing Parentheses): Fix usage of
@itemize.
Reported by Ralf Wildenhues, fix suggested by Karl Berry.
2009-03-14 Eric Blake <ebb9@byu.net>
Resync upstream files.
* GNUmakefile: Run 'make fetch'.
* build-aux/announce-gen: Likewise.
* build-aux/config.guess: Likewise.
* build-aux/config.sub: Likewise.
* build-aux/gnupload: Likewise.
* build-aux/texinfo.tex: Likewise.
* build-aux/vc-list-files: Likewise.
* doc/gnu-oids.texi: Likewise.
* doc/standards.texi: Likewise.
2009-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
New test for SunStudio `restrict' handling.
* tests/c.at (AC_C_RESTRICT and C++): New test.
Prompted by bug report from Rolf Vandevaart.
2009-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Manual: testsuite depends on package.m4.
* doc/autoconf.texi (Making testsuite Scripts): In the example
makefile snippet, $(TESTSUITE) depends on $(srcdir)/package.m4.
2009-03-02 Allan Caffee <allan.caffee@gmail.com> (tiny change)
Fix a typo in comment for AS_LITERAL_IF.
* lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Update a comment that fell
out of date when this function was moved/renamed in 59ecd766.
* THANKS: Update.
2009-03-02 Eric Blake <ebb9@byu.net>
Improve wording for AS_ESCAPE.
* doc/autoconf.texi (Common Shell Constructs) <AS_ESCAPE>: Touch
up documentation.
* lib/m4sugar/m4sh.m4 (_AS_ESCAPE): Fix comment typos.
Reported by Ralf Wildenhues.
2009-02-24 Eric Blake <ebb9@byu.net>
Use pkgdatadir consistently.
* bin/Makefile.am (edit): Substitute pkgdatadir, not datadir.
* lib/Makefile.am (edit): Likewise.
* lib/autom4te.in (Autoconf-without-aclocal-m4, Autotest, M4sh)
(M4sugar): Use @pkgdatadir@, not @datadir@.
* bin/autoheader.in ($datadir): Likewise.
* bin/autom4te.in ($datadir): Likewise.
* bin/autoreconf.in ($datadir): Likewise.
* bin/autoscan.in ($datadir): Likewise.
* bin/autoupdate.in ($datadir): Likewise.
* bin/ifnames.in ($datadir): Likewise.
* doc/autoconf.texi (Installation Directory Variables): Update
example to be consistent; focus on $(bindir) as an autoconf
variable, and mention that $(pkgdatadir) comes from automake.
Reported by Reuben Thomas.
2009-02-19 Eric Blake <ebb9@byu.net>
Use m4_translit more efficiently in AS_ESCAPE.
* lib/m4sugar/m4sh.m4 (_AS_ESCAPE): Alter API to take first byte
of set separately from rest.
(AS_ESCAPE, _AS_QUOTE_MODERN, AS_TR_SH, AS_VAR_GET): Adjust
callers.
* lib/autoconf/autoheader.m4 (AH_VERBATIM): Avoid duplicate
characters in translit request.
* doc/autoconf.texi (Common Shell Constructs) <AS_ESCAPE>:
Document the macro.
* NEWS: Likewise.
Mention recently documented macros.
* NEWS: Update list of new documentation.
2009-02-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Add index for config.site.
* doc/autoconf.texi (Site Defaults): Add index for config.site.
* THANKS: Update.
Report by Stephen P. Schaefer.
2009-02-12 Eric Blake <ebb9@byu.net>
Fix m4_set speed regression introduced 2008-12-18.
* lib/m4sugar/m4sugar.m4 (_m4_stack_reverse): Alter API to avoid
creating larger argument on each iteration.
(m4_stack_foreach_sep, m4_stack_foreach_sep_lifo)
(_m4_set_contents_2): Adjust all four-argument callers.
2009-02-05 Eric Blake <ebb9@byu.net>
Mention new AC_DEFUN_ONCE clients.
* NEWS: Mention recent semantic changes.
Reported by Ralf Wildenhues.
2009-02-03 Eric Blake <ebb9@byu.net>
Use AC_DEFUN_ONCE for some one-shot AC_PROG macros.
* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Switch to
AC_DEFUN_ONCE, since this is a one-shot macro.
(AC_PROG_INSTALL): Likewise.
2009-02-03 Eric Blake <ebb9@byu.net>
Mention that packagers should not pre-set CFLAGS.
* doc/autoconf.texi (Preset Output Variables) <CFLAGS>: Copy
advice given by automake on handling variables reserved by GNU
Coding Standards.
Reported by Karl Berry.
Document lib64 in config.site.
* doc/autoconf.texi (Site Defaults): Fix typo in FHS sample file.
Mention use of lib64.
* THANKS: Update.
Reported by Tom Browder, with help from Peter Breitenlohner.
2009-01-28 Eric Blake <ebb9@byu.net>
Use AC_DEFUN_ONCE for uncontroversial one-shot macros.
* lib/autoconf/headers.m4 (AC_HEADER_ASSERT): Switch to
AC_DEFUN_ONCE, since this is a one-shot macro.
* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
* lib/autoconf/general.m4 (AC_CANONICAL_BUILD)
(AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Likewise.
2009-01-28 Eric Blake <ebb9@byu.net>
Reduce blank lines in AC_DEFUN_ONCE macros.
* lib/m4sugar/m4sugar.m4 (m4_defun_once): Avoid redundant blank
line when a defun_once macro is required.
(_m4_defun_once): New helper macro, for less memory use.
* tests/m4sugar.at (m4@&t@_require: nested): Adjust test.
Silence another false positive expand-before-require.
* lib/m4sugar/m4sugar.m4 (_m4_defun_pro_outer)
(_m4_defun_epi_outer, _m4_require_call, m4_provide): Track name
that caused a diversion change, not just diversion number.
(m4_require): Factor...
(_m4_require_check): ...into new macro, which also checks whether
diversion that performed the expansion has been collected.
* tests/m4sugar.at (m4@&t@_require: nested): Enhance test.
Reported by Ralf Wildenhues.
2009-01-28 Eric Blake <ebb9@byu.net>
Fix AC_C_RESTRICT for Sun Studio 12 C++.
* lib/autoconf/c.m4 (AC_C_RESTRICT): Newer Sun Studio C provides
__restrict__ rather than _Restrict, which still trips up Sun
Studio 12 C++.
* THANKS: Update.
Reported by Rolf Vandevaart.
2009-01-28 Eric Blake <ebb9@byu.net>
Fix years in copyright notices.
* lib/m4sugar/m4sugar.m4 (m4_copyright_condense): New macro,
undocumented for now.
* lib/m4sugar/Makefile.am (version.m4): Add m4_PACKAGE_YEAR,
m4_PACKAGE_URL.
(RELEASE_YEAR): New macro, copied from bin/Makefile.am.
* lib/autoconf/general.m4 (_AC_COPYRIGHT_YEARS): New macro.
(AC_COPYRIGHT): Add undocumented third parameter.
(_AC_INIT_COPYRIGHT): Avoid need to bump copyright years.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Likewise.
(AT_COPYRIGHT): Add undocumented third parameter.
* tests/local.at (AT_COPYRIGHT): Don't add an extra copyright
parameter; the generic copyright given by autotest is sufficient
since we are the package that owns autotest.
2009-01-27 Eric Blake <ebb9@byu.net>
Use URLs in --help output, part 3: testsuite.
* doc/autoconf.texi (Writing Testsuites): Mention autotest
namespace.
(Writing Testsuites) <AT_INIT>: Mention mandatory macros.
(Making testsuite Scripts): Document AT_PACKAGE_URL.
* tests/Makefile.am (package.m4): Follow our own advice.
* lib/autotest/general.m4 (AT_INIT): Give the user a hint about
package.m4. Enhance --help output.
(_AT_COPYRIGHT_YEARS): New macro, to make copyright bump easier.
Use URLs in --help output, part 2: configure.
* lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Bump copyright
date.
(_AC_INIT_PACKAGE): Support optional URL parameter, mapped to
AC_PACKAGE_URL.
(_AC_INIT_DEFAULTS, _AC_INIT_PREPARE): Substitute it.
(_AC_INIT_HELP): Use it in './configure --help' output.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise, for
'./config.status --help'. Bump copyright date.
* doc/autoconf.texi (Initializing configure) <AC_INIT>: Document
new parameter.
* NEWS: Likewise.
* tests/tools.at (autoheader): Adjust test.
* tests/torture.at (@%:@define header templates)
(Torturing config.status): Likewise.
Use URLs in --help output, part 1: autoconf executables.
* bin/autoconf.as (usage): Make output consistent with recent
change in gnulib version-etc module.
* bin/autoheader.in ($help): Likewise.
* bin/autom4te.in ($help): Likewise.
* bin/autoreconf.in ($help): Likewise.
* bin/autoscan.in ($help): Likewise.
* bin/autoupdate.in ($help): Likewise.
* bin/ifnames.in ($help): Likewise.
2009-01-27 Peter Breitenlohner <peb@mppmu.mpg.de> (tiny change)
Quote traced macros passed from autom4te to M4.
* bin/autom4te (handle_m4): Apply shell_quote to macro names.
* tests/tools.at (autom4te --trace and unusual macro names): New
test.
* THANKS: Update.
2009-01-26 Eric Blake <ebb9@byu.net>
Improve AC_DEFUN_ONCE semantics.
* lib/m4sugar/m4sugar.m4 (m4_defun_once): Rewrite to be no-op,
rather than warning, on second use, and make sure first use never
occurs out of order.
* tests/m4sugar.at (m4@&t@_require: one-shot initialization):
Enhance test.
* tests/base.at (AC_REQUIRE & AC_DEFUN_ONCE: [Require, expand],
(AC_REQUIRE & AC_DEFUN_ONCE: [Expand, require]): Adjust tests.
* NEWS: Document this.
* doc/autoconf.texi (Macro Definitions) <AC_DEFUN>: Mention
AC_DEFUN_ONCE.
(Prerequisite Macros) <AC_REQUIRE>: Likewise.
(Expanded Before Required): Likewise.
(One-Shot Macros) <AC_DEFUN_ONCE>: Document new semantics.
Reported by Bruno Haible, with suggestion by Paolo Bonzini.
2009-01-24 Eric Blake <ebb9@byu.net>
Fix typos in recent patches.
* lib/m4sugar/m4sugar.m4: Improve m4_defun comments.
* doc/autoconf.texi (Expanded Before Required): Fix typos.
Reported by Ralf Wildenhues.
Revert change to AC_DIR_HEADER.
* lib/autoconf/headers.m4 (AC_DIR_HEADER): Explicitly expanding
AC_HEADER_DIRENT no longer triggers a warning, and helps the user
who decides they don't need the obsolete AC_FUNC_CLOSEDIR_VOID.
Reported by Paolo Bonzini.
2009-01-22 Eric Blake <ebb9@byu.net>
Silence a false positive expand-before-require case.
* lib/m4sugar/m4sugar.m4 (m4_provide): Track the diversion in
which a macro was provided.
(m4_require): Compare diversion numbers, rather than m4_require
nesting, when determining direct requires.
* tests/m4sugar.at (m4@&t@_require: nested): Test it.
Reported by Ralf Wildenhues, affecting Libtool.
2009-01-21 Eric Blake <ebb9@byu.net>
Fix out-of-order expansion with expand-before-require.
* lib/m4sugar/m4sugar.m4 (m4_require): Redundantly expand a
required macro when issuing expand-before-require warning.
* doc/autoconf.texi (Prerequisite Macros): Adjust documentation.
(Expanded Before Required): New node.
* tests/m4sugar.at (m4@&t@_require: nested): Adjust test.
* NEWS: Mention this fix.
Suggested by Bruno Haible.
Warn if macro is provided before indirectly required.
* lib/m4sugar/m4sugar.m4 (m4_provide): Track the set of all macros
provided since last outermost defun.
(_m4_defun_pro_outer): Empty the set.
(_m4_require_call): Distinguish between direct and indirect
requires, and remove required macros from the set.
(m4_require): Check the set, in order to warn.
* tests/m4sugar.at (m4@&t@_require: nested): Remove xfail, and add
test case for direct requires.
2009-01-20 Eric Blake <ebb9@byu.net>
Clean up some bugs caught by preliminary dependency validation.
* lib/autoconf/headers.m4 (AC_DIR_HEADER): Don't invoke
AC_HEADER_DIRENT, since AC_FUNC_CLOSEDIR_VOID requires it.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL)
(_AS_SHELL_SANITIZE): Fix quoting bugs.
2009-01-19 Eric Blake <ebb9@byu.net>
Improve AC_REQUIRE documentation.
* doc/autoconf.texi (Macro Definitions) <AC_DEFUN>: Add @defmac,
and mention interaction with AC_REQUIRE.
(Prerequisite Macros) <AC_REQUIRE>: Give more detail on user
ordering constraint bug, and how to fix it.
* tests/m4sugar.at (m4@&t@_require: nested): New test.
Speed up m4_require.
* lib/m4sugar/m4sugar.m4 (_m4_divert_dump): Change semantics to
always be defined, as either empty or a number.
(_m4_defun_pro_outer, _m4_defun_epi_outer): Treat _m4_divert_dump
as a stack, rather than a one-shot macro.
(_m4_require_call): Expect third argument to be pre-expanded.
(m4_divert_require, m4_require): Adjust clients accordingly.
* lib/m4sugar/m4sh.m4 (AS_REQUIRE): Likewise.
2009-01-17 Eric Blake <ebb9@byu.net>
Avoid underfull hbox.
* doc/autoconf.texi (Installation Directory Variables): Reword to
fit on line.
2009-01-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ignore `set -e'-related failure of NetBSD sh.
* tests/m4sh.at (AS@&t@_EXIT): Skip test if (NetBSD) shell
fails to finish EXIT trap after set -e.
2009-01-06 Eric Blake <ebb9@byu.net>
Maintainer cleanups.
* cfg.mk (web-manual): Use new feature of gendocs.
(fetch): Fetch gendocs.
* Makefile.am (EXTRA_DIST): Distribute new file.
* doc/Makefile.am (EXTRA_DIST): Likewise.
* .gitattributes: Ignore whitespace in upstream files.
* HACKING (Other web updates): Update Free Software Directory
instructions.
(Upload): No longer mention xdelta.
* maint.mk (xd-delta): Likewise.
* build-aux/gendocs.sh: New upstream file.
* doc/gendocs_template: Likewise.
* build-aux/announce-gen: Resync from upstream.
* build-aux/config.guess: Likewise.
* build-aux/config.sub: Likewise.
* build-aux/gnupload: Likewise.
* build-aux/texinfo.tex: Likewise.
2008-12-30 Eric Blake <ebb9@byu.net>
Make it easier to track diversion bugs.
* lib/m4sugar/m4sugar.m4 (_m4_divert_raw, _m4_undivert): New
internal macros, which are easier to trace than m4_builtin.
(m4_cleardivert, m4_divert, m4_divert_push, m4_divert_pop)
(m4_undivert): Use them.
(_m4_require_call): Likewise. Use fewer macros.
* lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix typo.
2008-12-26 Bruno Haible <bruno@clisp.org>
Improve multiarch detection.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Make detection of options
indicating a universal build more reliable.
2008-12-28 William Pursell <bill.pursell@gmail.com> (tiny change)
Use AS_CASE in documented example.
* doc/autoconf.texi (Using the System Type): Use AS_CASE in
example instead of raw case.
2008-12-23 Eric Blake <ebb9@byu.net>
Make m4_dumpdef more useful with M4 1.6.
* lib/m4sugar/m4sugar.m4 (_m4_dumpdef): New macro.
(m4_init): Install it for new enough m4.
* tests/m4sugar.at (m4@&t@_dumpdef): Enhance test.
* doc/autoconf.texi (Redefined M4 Macros) <m4_dumpdef>: Mention
lack of sorting.
2008-12-24 Bruno Haible <bruno@clisp.org>
Improve INSTALL for HP-UX.
* doc/install.texi (Particular Systems): For HP-UX, also recommend
-D_XOPEN_SOURCE=500. Needed for the declaration of mbstate_t on
HP-UX 11.11.
2008-12-22 Bruno Haible <bruno@clisp.org>
Improve INSTALL for Haiku.
* doc/install.texi (Particular Systems): Add a recommendation
which prefix to use on Haiku.
2008-12-19 Eric Blake <ebb9@byu.net>
Fix typo in previous commit.
* doc/autoconf.texi (Set manipulation Macros) <m4_set_map_sep>:
Fix typo.
Document some recently added macros.
* lib/m4sugar/m4sugar.m4 (m4_map_args_w): Add optional sep
parameter.
* doc/autoconf.texi (Looping constructs) <m4_map_args_sep>
<m4_map_args_w, m4_stack_foreach, m4_stack_foreach_sep>: Document
new macros.
(Set manipulation Macros) <m4_set_map_sep>: Likewise.
* tests/m4sugar.at (m4@&t@_stack, M4 loops): Enhance tests.
* NEWS: Document new macros.
2008-12-18 Eric Blake <ebb9@byu.net>
Fix separator in m4_stack_foreach_sep.
* lib/m4sugar/m4sugar.m4 (_m4_stack_reverse): Separate separator
from prefix.
* tests/m4sugar.at (m4@&t@_stack): Enhance test.
2008-12-18 Eric Blake <ebb9@byu.net>
Mention limitation of M4 1.4.x on builtin tokens.
* doc/autoconf.texi (Redefined M4 Macros) <m4_dumpdef>: Document
ramification of M4 1.4.x's inability to pass builtin tokens
through text macros.
(Evaluation Macros) <m4_curry>: Likewise.
* tests/m4sugar.at (m4@&t@_defn): Enhance test.
* NEWS: Mention subtle change in m4_dumpdef semantics.
Document m4_version_prereq.
* doc/autoconf.texi (Number processing Macros)
<m4_version_prereq>: Add documentation.
* NEWS: Mention it.
Reported by Bruno Haible.
2008-12-10 Jim Meyering <meyering@redhat.com>
AC_HEADER_ASSERT: don't say assertions are disabled when they're not
* lib/autoconf/headers.m4 (AC_HEADER_ASSERT): Do not make configure
report "checking whether to enable assertions... no", when they are
in fact enabled. This is solely a bug in the output of configure.
In spite of saying "no", NDEBUG was not defined in that case.
Also, as noted by Eric Blake, leave assertions enabled upon
--enable-assert=INVALID.
2008-12-09 Eric Blake <ebb9@byu.net>
Fix m4_location inside m4_wrap with m4 1.4.5.
* lib/m4sugar/m4sugar.m4 (m4_undefine): Redefine m4_location
inside wrapped text if older m4 is detected.
Reported by William Pursell.
2008-12-08 William Pursell <bill.pursell@gmail.com> (tiny change)
and Eric Blake <ebb9@byu.net>
Fix AC_HEADER_ASSERT w.r.t. --enable-assert.
* lib/autoconf/headers.m4 (AC_HEADER_ASSERT): Honor --enable-assert,
rather than treating it as a synonym for --disable-assert.
* NEWS: Document the fix.
2008-12-06 William Pursell <bill.pursell@gmail.com> (tiny change)
Fix AC_HEADER_ASSERT to honor --enable-assert, rather than
treat --enable-assert and --disable-assert equivalently.
* lib/autoconf/headers.m4 (AC_HEADER_ASSERT): Check value of $enableval.
2008-12-05 William Pursell <bill.pursell@gmail.com> (tiny change)
Fix some typos and grammatical errors in documentation.
* doc/autoconf.texi: Clean up some bad use of English.
2008-12-03 Eric Blake <ebb9@byu.net>
Improve AC_STATE_SAVE.
* tests/local.at (AC_STATE_SAVE): Avoid ls -1, and use one less
process by hoisting the uniqueness check into sed.
* doc/autoconf.texi (Limitations of Usual Tools) <ls>: Mention
MacOS bug.
2008-12-02 Eric Blake <ebb9@byu.net>
Avoid MacOS readdir bug in testsuite.
* tests/local.at (AC_STATE_SAVE): Avoid spurious failures due to
duplicated ls entries.
* THANKS: Update.
Reported by Bruce Dugan and others.
2008-11-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autotest/general.m4 (AT_JOB_FIFO_FD): Hide zsh 4.3.4
error messages about `set -m'.
2008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix a couple of test failures with dash.
* tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Normalize
exit status of `cd'.
* tests/m4sh.at (AS_MESSAGE_LOG_FD): Remove script before
regeneration, to avoid timing effects.
2008-11-25 Eric Blake <ebb9@byu.net>
Add m4_cleardivert.
* lib/m4sugar/m4sugar.m4 (m4_cleardivert): New macro.
* lib/autotest/general.m4 (AT_INIT): Use it.
* lib/autoconf/general.m4 (_AC_INIT_NOTICE): Likewise.
* tests/m4sugar.at (m4@&t@_divert_stack): Test it.
* doc/autoconf.texi (Diversion support) <m4_cleardivert>: Document
it.
* NEWS: Likewise.
Suggested by Paolo Bonzini.
Add safety check for m4_expand vs. diversions.
* lib/m4sugar/m4sugar.m4 (m4_expand): Make more robust against
diverted text.
* doc/autoconf.texi (Evaluation Macros) <m4_expand>: Document new
safety check.
2008-11-24 Eric Blake <ebb9@byu.net>
Fix typo in AS_MESSAGE_LOG_FD patch.
* lib/m4sugar/m4sh.m4 (AS_ERROR): Check correct condition.
2008-11-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
More reliable signal handling in Autotest.
* lib/autotest/general.m4 (Driver loop): Rewrite signal handler.
Start parallel jobs in their own process group, enabling job
control in the shell if possible, for better signal handling.
Deal with INT, TERM, and HUP in the testsuite driver. In the
parallel driver, propagate TSTP to jobs either as TSTP or as
STOP (to avoid fork bombs with ksh).
Inside the job processes, add PIPE handler to write back the
job token, so the master process does not hang.
Disable the parallel driver if job control is not provided or if
trap does not understand signal names.
* tests/autotest.at (parallel autotest and signals): New test,
exercises INT, TERM, and PIPE, serial and parallel, with and
without `make' in the loop.
Kudos to Richard Stevens for writing APUE.
2008-11-22 Eric Blake <ebb9@byu.net>
Fix testsuite failure on Solaris.
* tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Normalize
failure status to 1.
2008-11-21 Eric Blake <ebb9@byu.net>
Clean up AS_MESSAGE_LOG_FD usage.
* lib/m4sugar/m4sh.m4 (AS_MESSAGE_FD, AS_MESSAGE_LOG_FD)
(AS_ORIGINAL_STDIN_FD): Provide default M4sh values.
(_AS_ECHO_LOG, AS_MESSAGE, _AS_ERROR_PREPARE, AS_ERROR): Simplify
usage.
(AS_INIT_GENERATED): Don't shuffle an unchanged AS_MESSAGE_FD.
* tests/m4sh.at (AS@&t@_INIT_GENERATED): Update test.
(AS@&t@_MESSAGE_FD): New test.
* doc/autoconf.texi (Initialization Macros) <AS_INIT_GENERATED>:
Give more details about fd manipulation.
(File Descriptor Macros): Describe M4sh defaults for the fds.
2008-11-21 Eric Blake <ebb9@byu.net>
Use shell function for AS_ERROR.
* lib/m4sugar/m4sh.m4 (_AS_ERROR_PREPARE): New macro, defining a
new shell function.
(AS_ERROR): Use it.
(_AS_LINENO_PREPARE): Break circular dependency.
(AS_PREPARE, _AS_PREPARE): Initialize for child scripts.
2008-11-21 Eric Blake <ebb9@byu.net>
Fix typos in recent testsuite improvements.
* lib/autotest/general.m4 (AT_INIT) <at_fn_check_prepare_dynamic>:
Fix typo.
* NEWS: Clarify the potential impact to users.
* tests/autotest.at (AT_DATA_AUTOTEST): New macro, patterned after
AT_DATA_M4SUGAR.
(AT_CHECK_AT_PREP, AT_CHECK_AT_TITLE): Use it.
(unusual file names): Test that the recent echo fix does not
regress. Fix quoting bug that made the test a no-op.
Reported by Paolo Bonzini and Ralf Wildenhues.
2008-11-21 Eric Blake <ebb9@byu.net>
Use modern m4sh constructs in autoconf.
* bin/autoconf.as (exit_missing_arg, getopt): Use AS_ERROR, rather
than AS_EXIT.
Change the semantics of AS_EXIT without argument.
* lib/m4sugar/m4sh.m4 (_AS_EXIT_PREPARE): When defaulting, use $?
even if it is 0.
(AS_ERROR): Guarantee non-zero status.
* bin/autoconf.as (exit_missing_arg, getopt): Revert prior change;
we want non-zero status.
* tests/m4sh.at (AS@&t@_EXIT): Update test accordingly.
* doc/autoconf.texi (Common Shell Constructs) <AS_EXIT>: Update
the documentation.
<AS_SET_STATUS>: Don't overly restrict implementation.
(Printing Messages) <AC_MSG_ERROR>: Describe better default.
Suggestions by Paolo Bonzini and Ralf Wildenhues.
2008-11-21 Eric Blake <ebb9@byu.net>
Add @anchors within Builtins and Usual Tools lists.
* doc/autoconf.texi (Limitations of Builtins)
(Limitatations of Usual Tools): Add anchors for tools called out
by name. Adjust callers to narrow in on tool of interest.
Move case statement style discussion to m4 quoting section.
* doc/autoconf.texi (Limitations of Builtins): Move comparison of
quoting styles...
(Balancing Parentheses): ...to this new node.
Suggested by Ralf Wildenhues.
2008-11-20 Eric Blake <ebb9@byu.net>
Factor more common code out of AT_CHECK into shell function.
* lib/autotest/general.m4 (_AT_CHECK): Avoid echo bug if AT_LINE
starts with -. Move preparations...
(AT_INIT) <at_fn_check_prepare_trace>
<at_fn_check_prepare_notrace, at_fn_check_prepare_dynamic>:
...into these new shell functions.
<at_fn_check_newline>: Inline into only caller.
(_AT_DECIDE_TRACEABLE): Use them to condense testsuite size.
2008-11-20 Eric Blake <ebb9@byu.net>
Handle version numbers as decimal, even if they start with 0.
* lib/m4sugar/m4sugar.m4 (_m4_version_unletter): Avoid
interpreting leading zeros as octal.
2008-11-20 Eric Blake <ebb9@byu.net>
Speed up AT_CHECK.
* lib/autotest/general.m4 (AT_CHECK, AT_CHECK_UNQUOTED): Expand
third and fourth arguments once.
(_AT_CHECK): Don't re-expand expected output. Rearrange code for
fewer scans of arguments.
(AT_CHECK): Update caller.
(AT_INIT) <at_fn_filter_trace>: Drop parameter.
* tests/m4sugar.at (m4@&t@_split): Protect test with
quadrigraphs.
Fix XFAIL related to AT_CHECK.
* lib/autotest/general.m4 (AT_CHECK, AT_CHECK_UNQUOTED): Expand
first argument once.
(_AT_CHECK): Don't re-expand commands.
* tests/autotest.at (Multiline command from M4 expansion): Remove
XFAIL.
* tests/tools.at (autoupdating AU_ALIAS): Quote unbalanced paren.
* NEWS: Document the fallout.
2008-11-20 Eric Blake <ebb9@byu.net>
Reduce forks in AC_DEFINE.
* lib/autoconf/general.m4 (_AC_DEFINE_Q_PRINT): New macro.
(_AC_DEFINE_Q): Use it to avoid forks for all AC_DEFINE and most
AC_DEFINE_UNQUOTED.
* lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Properly quote #.
* tests/torture.at (Substitute and define special characters):
(Define to a 2000-byte string): Enhance tests to cover
AC_DEFINE_UNQUOTED.
(@%:@define header templates): Enhance test to cover #.
2008-11-20 Eric Blake <ebb9@byu.net>
Improve m4_expand robustness, part 2.
* lib/m4sugar/m4sugar.m4 (m4_expand): Support unterminated
comments, by wrapping old implementation...
(_m4_expand): ...as this, and renaming old core...
(_m4_expand_): ...to this.
(m4_text_box): Use lighter-weight _m4_expand.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_EXPAND)
(_AS_DETECT_BETTER_SHELL, AS_FUNCTION_DESCRIBE): Likewise.
* lib/autotest/general.m4 (AT_KEYWORDS): Likewise.
* tests/m4sugar.at (m4@&t@_expand): Enhance test.
* tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Likewise.
* doc/autoconf.texi (Evaluation Macros) <m4_expand>: Mention new
functionality.
Improve m4_expand robustness, part 1.
* lib/m4sugar/m4sugar.m4 (_m4_expand): Tolerate unquoted
unbalanced `)'.
* tests/m4sugar.at (m4@&t@_expand): New test.
2008-11-20 Eric Blake <ebb9@byu.net>
Add m4_chomp, m4_esyscmd_s.
* lib/m4sugar/m4sugar.m4 (m4_esyscmd_e, m4_chomp, m4_chomp_all):
New macros.
* doc/autoconf.texi (Redefined M4 Macros) <m4_esyscmd_s>: Document
them.
(Text processing Macros) <m4_chomp>: Likewise.
* NEWS: Likewise.
* tests/m4sugar.at (m4@&t@_esyscmd_s): New test.
Remove _m4_index.
* lib/m4sugar/m4sugar.m4 (_m4_index): Delete; it is more efficient
to make callers guarantee a match.
(m4_init): Adjust caller.
* lib/autoconf/status.m4 (_AC_CONFIG_COMPUTE_DEST): Likewise.
* lib/autoconf/general.m4 (_AC_DEFINE_Q): Likewise.
Describe different hacks for balancing ')' in case statements.
* doc/autoconf.texi (Limitations of Builtins) <case>: Add an
exposition on various quoting styles.
2008-11-20 Eric Blake <ebb9@byu.net>
Speed up _AS_QUOTE.
* lib/m4sugar/m4sh.m4 (_AS_QUOTE_IFELSE): Inline into...
(_AS_QUOTE): ...here, delete unused second parameter, and factor
choice into...
(_AS_QUOTE_MODERN, _AS_QUOTE_OLD): ...new helpers.
2008-11-20 Alfred G. de Wijn <dwijn@iluvatar.eu.org> (tiny change)
For consistency, make temporary variable match language name.
* lib/autoconf/fortran.m4 (_AC_PROG_FC_G, _AC_PROG_FC_V_OUTPUT):
Match the save/test variables' names to the FFLAGS/FCFLAGS being
saved.
* THANKS: Update.
2008-11-19 Eric Blake <ebb9@byu.net>
Improve testsuite generation.
* tests/local.at (AT_DATA_M4SUGAR, AT_DATA_M4SH)
(AT_DATA_AUTOCONF): Escape all quadrigraphs, not just @&t@. Use
fewer macros.
2008-11-18 Eric Blake <ebb9@byu.net>
Use fn for shell functions, func for autoconf CHECK_FUNCS.
* lib/autoconf/functions.m4 (AC_CHECK_FUNC): Abbreviate shell
function names.
* lib/autoconf/general.m4 (_AC_PREPROC_IFELSE)
(_AC_COMPILE_IFELSE, _AC_LINK_IFELSE, _AC_RUN_IFELSE)
(AC_CHECK_DECL, AC_COMPUTE_INT): Likewise.
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
(_AC_CHECK_HEADER_COMPILE, _AC_CHECK_HEADER_PREPROC): Likewise.
* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, _AC_TYPE_INT)
(_AC_TYPE_UNSIGNED_INT, AC_CHECK_MEMBER): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK, _AS_EXIT_PREPARE)
(AS_EXIT, AS_SET_STATUS, _AS_UNSET_PREPARE, _AS_MKDIR_P)
(_AS_MKDIR_P_PREPARE, _AS_VAR_APPEND_PREPARE, AS_VAR_APPEND)
(_AS_VAR_ARITH_PREPARE, AS_VAR_ARITH): Likewise.
* doc/autoconf.texi (Shell Functions): Likewise.
2008-11-18 Eric Blake <ebb9@byu.net>
Alter default value of AS_EXIT.
* lib/m4sugar/m4sh.m4 (_AS_EXIT_PREPARE): Let as_func_exit
parameter be optional.
(AS_EXIT): Use it to make better default.
(_AS_DETECT_BETTER_SHELL): Use new default.
* bin/autoconf.as (exit_missing_arg, getopt): Likewise.
* lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
* tests/m4sh.at (AS@&t@_EXIT): Update test.
* doc/autoconf.texi (Common Shell Constructs) <AS_EXIT>: Mention
new default behavior.
(Limitations of Builtins) <trap>: Adjust to use new default.
* NEWS: Mention the semantic change.
Suggested by Ralf Wildenhues.
Update example to match actual Tru64 behavior.
* doc/autoconf.texi (Limitations of Builtins) <trap>: Correct
the example.
Reported by Ralf Wildenhues.
Add AS_SET_STATUS, make AS_EXIT more efficient.
* lib/m4sugar/m4sh.m4 (_AS_EXIT_PREPARE, AS_SET_STATUS): New
macros.
(AS_EXIT): Rewrite to avoid forks.
(_AS_SHELL_SANITIZE): Avoid AS_EXIT prior to shell functions.
(AS_PREPARE, _AS_PREPARE): Add new preparation.
* doc/autoconf.texi (Common Shell Constructs) <AS_SET_STATUS>:
Document.
* NEWS: Mention new macro.
* tests/m4sh.at (AS@&t@_EXIT): New test.
(BASENAME_TEST): Sort.
Document Tru64 bug with 'set -e'.
* doc/autoconf.texi (Limitations of Builtins) <trap>: Mention a
bug in mixing 'set -e' with 'trap .. 0'.
Reported by Ralf Wildenhues.
Document a Solaris /bin/sh bug with 'set -e'.
* doc/autoconf.texi (Shell Functions): Mention the bug.
2008-11-17 Eric Blake <ebb9@byu.net>
Detect empty list in AS_FOR.
* lib/m4sugar/m4sh.m4 (AS_FOR): Handle iteration over $@
properly.
* tests/m4sh.at (AS@&t@_FOR): Enhance test to catch it.
Reported by Paolo Bonzini.
2008-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Use a different workaround for an automake quirk.
* tests/Makefile.am (AUTOMAKE_OPTIONS): Remove.
(distclean_generic): New helper variable, to fool automake.
($(distclean_generic)): Depend on clean-local, to prevent
the race in the two rules with accessing and removing
$(TESTSUITE).
Report by Eric Blake.
* lib/m4sugar/m4sh.m4 (_AS_VAR_ARITH_PREPARE): Simplify, avoid
unbalanced parentheses from last change.
Spotted by Eric Blake, fix suggested by Paolo Bonzini.
Fix exit status of expr version of as_func_arith.
* lib/m4sugar/m4sh.m4 (_AS_VAR_ARITH_PREPARE): Count an exit
status of 1 of expr also as success, to avoid failure if the
computation result is zero. Fixes test failures with IRIX sh,
where the expr variant of as_func_arith is used.
Do not use read-only variable $status.
* tests/compile.at (AC_RUN_IFELSE): Use $estatus instead of
$status, for zsh.
2008-11-15 Eric Blake <ebb9@byu.net>
Use the new AS_FOR function.
* lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Use new
abstraction for cleaner code.
* lib/autoconf/headers.m4 (AC_CHECK_HEADERS): Likewise.
Add AS_FOR, undocumented for now.
* lib/m4sugar/m4sh.m4 (AS_FOR): New macro.
* tests/m4sh.at (AS@&t@_FOR): New test.
Suggested by Paolo Bonzini.
2008-11-13 Eric Blake <ebb9@byu.net>
Optimize single-argument loop.
* lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Avoid forks when
loop only has one argument.
* lib/autoconf/headers.m4 (AC_CHECK_HEADERS): Likewise.
2008-11-13 Eric Blake <ebb9@byu.net>
Fix AS_ESCAPE usage bugs.
* lib/m4sugar/m4sh.m4 (_AS_VAR_APPEND_PREPARE)
(_AS_VAR_ARITH_PREPARE): Expand macros prior to adding shell
escapes.
(AS_TR_SH, AS_VAR_GET): Use _AS_ESCAPE for speed.
* doc/autoconf.texi (Polymorphic Variables) <AS_VAR_SET>: Document
caveat due to conditional AS_ESCAPE.
* tests/m4sh.at (AS@&t@_VAR basics): Enhance test.
2008-11-12 Eric Blake <ebb9@byu.net>
Whitespace reduction in configure.
* lib/autoconf/autoheader.m4 (AH_VERBATIM): Avoid empty lines.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE, AC_CHECK_FILES):
Likewise.
(_AC_DEFINE_Q): Restore empty line, since some clients in the wild
depend on it.
2008-11-12 Eric Blake <ebb9@byu.net>
Make M4sh, not autoconf, guarantee sane $SHELL.
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Move setting of
SHELL...
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): ...to here.
* doc/autoconf.texi (Initialization Macros): Document the effect
on SHELL.
* tests/m4sh.at (AS@&t@_INIT_GENERATED): New test.
Reported by Ralf Wildenhues.
2008-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Wrap keywords in `testsuite --list' output.
* lib/autotest/general.m4 (AT_INIT): Rewrite --list awk script,
avoid lint warnings from gawk, wrap keyword lists to stay below
80 characters per line if possible.
* tests/autotest.at (Keyword wrapping): New test.
* tests/local.at (AT_COPYRIGHT): Bump copyright years.
* doc/autoconf.texi (Conditional constructs, Macro Names): Fix
typos.
2008-11-10 Eric Blake <ebb9@byu.net>
Work around <=m4-1.4.9 bug in m4_format.
* lib/m4sugar/m4sugar.m4 (_m4_index): New internal macro.
(m4_init): Only use it in older m4.
* lib/autoconf/general.m4 (_AC_DEFINE_Q): Use it to avoid
m4_format bug in older m4.
* lib/autoconf/status.m4 (_AC_CONFIG_COMPUTE_DEST): Likewise.
Reported by Bob Proulx.
2008-11-10 Eric Blake <ebb9@byu.net>
Match upstream standards.texi.
* doc/standards.texi: Resync from upstream.
* doc/fdl-1.3.texi: Rename...
* doc/fdl.texi: ...to this.
* doc/Makefile.am (autoconf_TEXINFOS, standards_TEXINFOS): Update
users.
* doc/autoconf.texi (GNU Free Documentation License): Likewise.
* cfg.mk (fetch): Likewise.
Yet more FDL 1.3 fallout.
* NEWS: Mention manual license change.
2008-11-10 Eric Blake <ebb9@byu.net>
Avoid some regex uses.
* lib/autoconf/general.m4 (_AC_DEFINE_Q): Use m4_format rather
than m4_bpatsubst to grab string prefix.
* lib/autoconf/status.m4 (_AC_CONFIG_REGISTER)
(_AC_CONFIG_REGISTER_DEST, AC_CONFIG_SUBDIRS): Likewise.
(_AC_FILE_DEPENDENCY_TRACE_COLON): Use m4_translit instead of
m4_bpatsubst to change bytes.
(_AC_CONFIG_DEPENDENCY_DEFAULT): Use m4_index rather than
m4_bmatch to find byte.
(_AC_CONFIG_COMPUTE_DEST): New helper macro.
Use more efficient macros in AC_CONFIG_SUBDIRS.
* lib/autoconf/status.m4 (_AC_CONFIG_FOOS, AC_CONFIG_SUBDIRS): Use
m4_map_args_w.
(_AC_OUTPUT_FILE): Use m4_map_args_sep and m4_map_args.
(_AC_OUTPUT_FILE_ADJUST_DIR): New helper macro.
Use more efficient macros in AC_CHECK_FILES and AC_CHECK_DECLS.
* lib/autoconf/general.m4 (AC_CHECK_FILES): Use m4_map_args_w,
and avoid typo.
(AC_CHECK_DECLS, AC_CHECK_DECLS_ONCE): Use m4_map_args_sep.
(_AC_CHECK_FILES, _AC_CHECK_DECLS, _AC_CHECK_DECL_ONCE): New
helper macros.
(AC_LIBSOURCES): Use m4_map_args.
Use more efficient macros in AC_CHECK_TYPES.
* lib/autoconf/types.m4 (AC_CHECK_TYPES, AC_CHECK_MEMBERS): Use
m4_map_args_sep.
(_AC_CHECK_TYPES, _AC_CHECK_MEMBERS): New helper macros.
Use more efficient macros in AC_CHECK_HEADERS.
* lib/autoconf/headers.m4 (AH_CHECK_HEADERS)
(AH_CHECK_HEADERS_DIRENT): Rename...
(_AH_CHECK_HEADER, _AH_CHECK_HEADER_DIRENT): ...and take only one
argument, rather than a list.
(AC_CHECK_HEADERS, AC_CHECK_HEADERS_ONCE):
Adjust callers to use m4_map_args_w.
(AC_HEADER_DIRENT): Adjust caller to use m4_map_args.
(_AC_CHECK_HEADER_ONCE): New helper macro.
Use more efficient macros in AC_CHECK_FUNCS.
* lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): Rename...
(_AH_CHECK_FUNC): ...and take only one argument, rather than a
list.
(AC_CHECK_FUNCS, AC_CHECK_FUNCS_ONCE): Adjust callers to use
m4_map_args_w.
(_AC_CHECK_FUNC_ONCE): New helper macro.
(AC_REPLACE_FUNCS): Use m4_map_args_w.
Use more efficient macro in AT_INIT.
* lib/autotest/general.m4 (AT_INIT): Use m4_map_args.
2008-11-10 Eric Blake <ebb9@byu.net>
More FDL 1.3 fallout.
* cfg.mk (fetch): Add gnu-oids.texi, drop fdl.texi.
* doc/Makefile.am (standards_TEXINFOS): Reflect upstream
dependency changes.
* doc/fdl.texi: Delete.
* doc/gnu-oids.texi: New upstream file.
* doc/standards.texi: Resync from upstream.
* doc/make-stds.texi: Likewise.
* build-aux/announce-gen: Likewise.
* build-aux/texinfo.tex: Likewise.
2008-11-10 Clinton Roy <clinton.roy@gmail.com> (tiny change)
Pass autoreconf -I to aclocal -I
* bin/autoreconf.in (parse_args): Pass --include to aclocal.
* doc/autoconf.texi (autoreconf Invocation): Updates for above.
* NEWS: Document it.
* THANKS: Update.
2008-11-10 Eric Blake <ebb9@byu.net>
Try 'print -r --' as a non-forking variant of 'printf %s\\n'.
* lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Cater to Solaris ksh.
* doc/autoconf.texi (Limitations of Builtins) <printf>: Document
the print workaround.
Idea by Paolo Bonzini.
2008-11-10 Eric Blake <ebb9@byu.net>
Provide a section on all tools allowed in GNU Coding Standards.
* doc/autoconf.texi (Limitations of Builtins) <read>: Sort.
<wait>: Add section.
(Limitations of Usual Tools) <awk>: Make table entry consistent.
<chgrp, mkfifo, rmdir, sleep, sort, tar> Add sections.
2008-11-09 Paolo Bonzini <bonzini@gnu.org>
Balance parentheses in _AC_CACHE_DUMP.
* lib/autoconf/general.m4 (_AC_CACHE_DUMP): Balance parentheses
without introducing \).
2008-11-07 Eric Blake <ebb9@byu.net>
Further doc updates for AC_CHECK_HEADER change.
* doc/autoconf.texi (Generic Headers) <AC_CHECK_HEADER>: Mention
new default, and make it more obvious that using [-] is generally
broken.
2008-11-07 Eric Blake <ebb9@byu.net>
* ChangeLog: Enforce UTF-8 encoding.
2008-11-06 Eric Blake <ebb9@byu.net>
Skip preprocessor check in AC_CHECK_HEADERS_ONCE.
* lib/autoconf/headers.m4 (_AC_HEADERS_EXPANSION): Provide fourth
argument to speed up check.
2008-11-06 Eric Blake <ebb9@byu.net>
Speed up AC_CHECK_TYPE.
* lib/autoconf/types.m4 (AC_CHECK_TYPE): Factor out $@, and avoid
regex when enough arguments are present.
2008-11-06 Paolo Bonzini <bonzini@gnu.org>
Remove three forks per _AC_RUN_LOG_STDERR in the common case.
* lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR): Avoid grep/rm/cat
sequence when the program's stderr was empty, while providing a
conftest.err file even in that case.
(_AC_CACHE_DUMP): Fix mismatched parenthesis.
2008-11-06 Paolo Bonzini <bonzini@gnu.org>
Change `present but cannot be compiled' behavior to use compiler result.
* NEWS: Document it.
* doc/autoconf.texi (Present But Cannot Be Compiled): Document it.
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Implement it
and adjust warning.
* tests/semantics.at (AC_CHECK_HEADERS): Test new semantics.
2008-11-05 Eric Blake <ebb9@byu.net>
Add m4_map_args_w.
* lib/m4sugar/m4sugar.m4 (m4_map_args_w): New macro, undocumented
for now.
(_m4_split): Allow user control over separator.
(m4_split): Adjust caller.
(m4_foreach_w, m4_append_uniq_w, _m4_text_wrap): Rewrite to use
m4_map_args_w.
* tests/m4sugar.at (m4@&t@_append): Augment test keywords.
(M4 loops): Test new interface.
Use m4_set_map_sep in more places.
* lib/m4sugar/m4sugar.m4 (m4_set_difference, m4_set_intersection)
(m4_set_union): Use m4_set_map_sep rather than m4_set_foreach.
* doc/autoconf.texi (Set manipulation Macros) <m4_set_map>:
Enhance documentation.
<m4_set_foreach>: Mention faster alternative.
(Looping constructs) <m4_foreach>: Likewise.
Unify m4_set_foreach and m4_set_map.
* lib/m4sugar/m4sugar.m4 (m4_set_map_sep): New macro, undocumented
for now.
(m4_set_contents, m4_set_foreach, m4_set_list, m4_set_listc)
(m4_set_map): Adjust callers.
Use _m4_foreach in more places.
* lib/m4sugar/foreach.m4 (m4_dquote_elt, m4_join, m4_joinall)
(_m4_minmax, m4_set_add_all): Use _m4_foreach instead of
m4_foreach.
* lib/m4sugar/m4sugar.m4 (_m4_joinall): Use m4_map_args_sep
instead of m4_foreach or m4_map_args.
Unify _m4_foreach and _m4_map.
* lib/m4sugar/m4sugar.m4 (_m4_map): Delete, merged with...
(_m4_foreach): ...this.
(m4_foreach, m4_map, m4_mapall, m4_map_sep, _m4_mapall_sep)
(m4_map_args, m4_map_args_sep): Adjust callers.
* lib/m4sugar/foreach.m4 (_m4_map): Rename...
(_m4_foreach): ...to this, overwriting old definition.
2008-11-04 Eric Blake <ebb9@byu.net>
Add m4_map_args_sep, undocumented for now.
* lib/m4sugar/m4sugar.m4 (m4_map_args_sep): New macro.
(_m4_map): Change API to cover more of m4_map*.
* lib/m4sugar/foreach.m4 (_m4_map): Adjust to new API.
(m4_map_args): Delete.
* tests/m4sugar.at (m4@&t@_map_args and m4@&t@_curry): Enhance
test.
Improve m4_for performance.
* lib/m4sugar/m4sugar.m4 (_m4_for): Alter API to make it easier to
avoid m4_define by some clients.
(m4_for): Adjust caller.
* lib/m4sugar/foreach.m4 (_m4_foreach, m4_case, m4_bmatch)
(_m4_cond, _m4_bpatsubsts, _m4_shiftn, m4_do, m4_reverse)
(_m4_map, m4_map_args, m4_map_args_pair, _m4_list_pad)
(_m4_list_cmp): Likewise.
2008-11-04 Eric Blake <ebb9@byu.net>
Adjust expected output.
* tests/torture.at (Missing templates): Reflect added quoting.
Detected by Bob Proulx's buildbot.
Reject arguments with leading =.
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Detect case of
missing variable name, with fewer forks. Quote invalid arguments
in message, in case they include spaces.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS)
(_AC_OUTPUT_MAIN_LOOP): Quote invalid arguments.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* tests/base.at (configure arguments): Test this.
Reported by Jeff Squyres.
2008-11-04 Eric Blake <ebb9@byu.net>
Upgrade to FDL 1.3.
* cfg.mk (fetch): Add fdl-1.3.texi.
* .gitattributes: Likewise.
* doc/autoconf.texi (GNU Free Documentation License): Point to new
upstream version.
* doc/Makefile.am (autoconf_TEXINFOS): Likewise.
(standards_TEXINFOS): Mention current dependence on older license.
* doc/fdl-1.3.texi: New upstream file.
* GNUmakefile: Resync from upstream.
* build-aux/announce-gen: Likewise.
* build-aux/texinfo.tex: Likewise.
2008-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Point at AM_SUBST_NOTMAKE.
* doc/autoconf.texi (Setting Output Variables): Add cross
reference to new Automake macro AM_SUBST_NOTMAKE.
2008-11-03 Paolo Bonzini <bonzini@gnu.org>
Eliminate a fork per invocation of AC_LANG_CONFTEST.
* lib/autoconf/c.m4 (AC_LANG_CONFTEST(C)): Define instead of
AC_LANG_SOURCE(C).
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Add a comment at the
top of confdefs.h, which also works around cpp deficiencies.
* lib/autoconf/lang.m4 (AC_LANG_DEFINE): Define AC_LANG_CONFTEST(xyz)
(AC_LANG_CONFTEST): Dispatch based on _AC_LANG.
(AC_LANG_CONFTEST()): New.
2008-11-03 Paolo Bonzini <bonzini@gnu.org>
Reorganize definition of languages.
* lib/autoconf/c.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Objective C),
_AC_LANG_ABBREV(C), _AC_LANG_ABBREV(C++), _AC_LANG_ABBREV(Objective C),
_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++), _AC_LANG_PREFIX(Objective C)):
Replace definitions with usage of AC_LANG_DEFINE.
(Sections 2b, 2c): Delete.
(Sections 1b, 1c): Move after section 2a.
* lib/autoconf/erlang.m4 (AC_LANG(Erlang), _AC_LANG_ABBREV(Erlang),
_AC_LANG_PREFIX(Erlang), AC_LANG_SOURCE(Erlang)): Replace definitions
with usage of AC_LANG_DEFINE.
(AC_LANG_ERLANG): Define using AU_DEFUN.
* lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_LANG(Fortran 77),
_AC_LANG_ABBREV(Fortran), _AC_LANG_ABBREV(Fortran 77),
_AC_LANG_PREFIX(Fortran), _AC_LANG_PREFIX(Fortran 77),
_AC_LANG_SOURCE(Fortran), AC_LANG_SOURCE(Fortran 77)): Replace
definitions with usage of AC_LANG_DEFINE.
* lib/autoconf/lang.m4 (AC_LANG_DEFINE, AC_LANG_SOURCE()): New.
2008-11-03 Paolo Bonzini <bonzini@gnu.org>
Use preprocessor in cpp tests.
* tests/c.at (CPP tests): Use AC_CHECK_HEADERS(..., [-]).
2008-10-31 Paolo Bonzini <bonzini@gnu.org>
Rename _AC_CHECK_HEADER_OLD and _AC_CHECK_HEADER_NEW.
* lib/autoconf/headers.m4 (AC_CHECK_HEADER): Adjust naming.
(_AC_CHECK_HEADER_PREPROC_BODY): New name of _AC_CHECK_HEADER_OLD_BODY.
(_AC_CHECK_HEADER_COMPILE_BODY): New name of _AC_CHECK_HEADER_NEW_BODY.
(_AC_CHECK_HEADER_PREPROC): New name of _AC_CHECK_HEADER_OLD.
(_AC_CHECK_HEADER_COMPILE): New name of _AC_CHECK_HEADER_NEW.
* tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADER_NEW):
Give better name.
2008-10-31 Eric Blake <ebb9@byu.net>
Support multiple undiverts and dumpdefs at once.
* lib/m4sugar/m4sugar.m4 (m4_dumpdefs, m4_undivert): Allow extra
arguments.
* doc/autoconf.texi (Redefined M4 Macros) <m4_dumpdef>,
<m4_undivert>: Document argument list change.
* tests/m4sugar.at (m4@&t@_divert_stack, m4@&t@_dumpdef): Test
them.
Simplify diversion stack handling.
* lib/m4sugar/m4sugar.m4 (m4_divert_stack): Use fewer macros, and
avoid extra newlines.
(m4_divert_stack_push): Compute location here, rather than caller.
(m4_divert_push): Update caller.
(m4_divert): Likewise, and also adjust current diversion name.
(m4_divert_pop): Simplify rule that diversion stack must never go
empty.
(_m4_require_call): Bypass diversion stack when collecting
required macro text.
(m4_init): Set current diversion without requiring m4_init.
* lib/m4sugar/m4sh.m4 (AS_INIT): Avoid too many pops.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Schedule wrapped
text to run prior to m4sugar cleanup.
* doc/autoconf.texi (Text processing Macros) <m4_newline>: Mention
optional argument.
(Conditional constructs) <m4_ifvaln, m4_n>: Mention use of dnl.
* NEWS: Undo blurb about m4_divert.
* tests/m4sugar.at (m4@&t@_divert_stack): New test.
Simplify expansion stack handling.
* lib/m4sugar/m4sugar.m4 (m4_expansion_stack): Use fewer macros;
always output 'top level'.
(_m4_expansion_stack_entry): New macro, to format the string only
when needed.
(m4_expansion_stack_push): Only push a macro name.
(m4_warn, _m4_defun_pro): Update callers.
(m4_expansion_stack_pop, m4_expansion_stack_dump): Delete.
(_m4_defun_epi, m4_fatal): Inline the calls.
* tests/m4sugar.at (m4@&t@_expansion_stack): New test.
2008-10-30 Eric Blake <ebb9@byu.net>
Better documentation of AC_CHECK_HEADER's fourth argument.
* doc/autoconf.texi (Generic Headers) <AC_CHECK_HEADER>: Mention
how to suppress compiler or preprocessor header check.
Reported by Jeff Squyres.
2008-10-30 Eric Blake <ebb9@byu.net>
Fix LINENO testsuite failure.
* tests/m4sh.at (AT_DATA_LINENO): Use AS_LINENO_PREPARE, not
undocumented _AS_PREPARE, and move unset earlier in script.
Update LINENO documentation.
* doc/autoconf.texi (Initialization Macros) <AS_INIT_GENERATED>:
(Special Shell Variables) <LINENO>: Mention that LINENO support in
child scripts may be broken. Modernize example.
2008-10-30 Paolo Bonzini <bonzini@gnu.org>
Do not check for $LINENO in generated scripts.
* lib/m4sugar/m4sh.m4 (_AS_PREPARE): Do not call _AS_LINENO_PREPARE,
and explain why.
2008-10-30 Eric Blake <ebb9@byu.net>
Don't check for non-POSIX extensions in suggested tests.
* lib/m4sugar/m4sh.m4 (_AS_VAR_APPEND_WORKS): Remove suggestion;
we still use += if available, but should not reject shells (like
dash) that don't provide it.
(_AS_DETECT_SUGGESTED): Document a policy for m4sh.
Reported by Paolo Bonzini.
2008-10-30 Paolo Bonzini <bonzini@gnu.org>
Pass CONFIG_SHELL down to generated scripts, and re-export SHELL.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): If proceeding
with a given CONFIG_SHELL, move it to SHELL.
(AS_INIT_GENERATED): Re-export SHELL.
2008-10-30 Eric Blake <ebb9@byu.net>
Work around Solaris /bin/sh case bug.
* lib/m4sugar/m4sh.m4 (_AS_CASE, _AS_CASE_DEFAULT): Always provide
a non-empty command list.
(AS_CASE): Always guarantee that a case will match.
* doc/autoconf.texi (Limitations of Builtins) <case>: Document the
Solaris bug, and mention AS_CASE.
2008-10-30 Paolo Bonzini <bonzini@gnu.org>
Require _AS_CR_PREPARE where appropriate.
* lib/m4sugar/m4sh.m4 (_AS_PREPARE): Call _AS_CR_PREPARE.
(AS_PREPARE): Require _AS_CR_PREPARE.
Avoid walking the entire PATH when looking for a better shell.
* lib/m4sugar/m4sh.m4 (_AS_SHELL_SANITIZE): Test shell characteristics
as the PATH is walked.
Add third argument to _AS_PATH_WALK
* lib/m4sugar/m4sh.m4 (_AS_SHELL_SANITIZE): Do not call _AS_CR_PREPARE.
(_AS_PATH_WALK): Add third optional argument.
Trim down the length of the shell function test.
* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Condense.
2008-10-29 Eric Blake <ebb9@byu.net>
Fix LINENO detection to work around bash and pdksh limitations.
* lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Enhance the test, so
that we can choose which of two tests to trust.
(_AS_RUN): Set flag when alternate shell is running.
(_AS_DETECT_EXPAND): New macro.
(_AS_DETECT_BETTER_SHELL): Use it to massage LINENO tests.
2008-10-29 Eric Blake <ebb9@byu.net>
Mention proper fix for zsh users.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Recommend zsh
version known to work.
Suggested by Paolo Bonzini.
Document current beta-quality status.
* configure.ac: Reflect fact that change to git-version-gen
produces -, but not always a letter, on non-release builds.
* BUGS: Mention known issues.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Ask for help in
debugging platforms with deficient shells.
2008-10-29 Eric Blake <ebb9@byu.net>
Alter signature of AS_INIT_GENERATED.
* lib/m4sugar/m4sh.m4 (AS_INIT_GENERATED): Add parameters, and
manage here-doc and chmod in place. This also allows future
changes for optimizing the child via diversion/m4_wrap magic.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
caller.
* doc/autoconf.texi (Initialization Macros) <AS_INIT_GENERATED>:
Update the documentation.
2008-10-29 Eric Blake <ebb9@byu.net>
Use _m4_stack_reverse in m4_set.
* lib/m4sugar/m4sugar.m4 (_m4_set_contents_1)
(_m4_set_contents_2): Rewrite to share _m4_stack_reverse
implementation.
(m4_set_contents, m4_set_foreach, m4_set_list, m4_set_listc)
(m4_set_map): Adjust callers to new API.
Add m4_stack_foreach_sep.
* lib/m4sugar/m4sugar.m4 (m4_stack_foreach_sep)
(m4_stack_foreach_sep_lifo): New macros.
(_m4_stack_reverse): Adjust prototype, to support it.
(m4_copy): Use fewer macros.
* tests/m4sugar.at (m4@&t@_stack_foreach): Rename...
(m4@&t@_stack): ...and add m4_stack_foreach_sep tests.
2008-10-29 Bruno Haible <bruno@clisp.org>
Mention Sun WorkShop 6.2 OpenMP bug.
* doc/autoconf.texi (AC_OPENMP): Document portability pitfall.
2008-10-29 Paolo Bonzini <bonzini@gnu.org>
Rewrite handling of diversion and expansion stack.
* NEWS: Document stricter requirement on m4_init.
* lib/m4sugar/m4sugar.m4 (m4_divert_stack): New, replacing
_m4_divert_n_stack.
(_m4_divert_stack_push): New.
(m4_divert): Use _m4_divert_stack_push and replace m4_define with
m4_popdef.
(m4_divert_push): Use _m4_divert_stack_push.
(m4_divert_pop): Use m4_divert_stack instead of _m4_divert_n_stack,
pop _m4_divert_stack instead of m4_divert_stack.
(m4_expansion_stack): New. Update comment above it.
(m4_expansion_stack_push, m4_expansion_stack_pop): Work on
_m4_expansion_stack instead of m4_expansion_stack.
(m4_expansion_stack_dump): Check presence of _m4_expansion_stack
instead of m4_expansion_stack. Use m4_expansion_stack's expansion
instead of the definition, and compensate for the trailing newline
in the expansion.
(m4_warn, _m4_defun_pro, _m4_defun_epi): Check presence of
_m4_expansion_stack instead of m4_expansion_stack.
(m4_newline): Expand first argument after the newline.
(m4_init): Use m4_divert_stack instead of _m4_divert_n_stack,
* tests/m4sugar.at (m4_append, m4_text_wrap): Invoke m4_init.
* tests/tools.at (whitespace in file names, the empty token): Likewise.
2008-10-28 Eric Blake <ebb9@byu.net>
Reduce forks while searching for better shell.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED)
(_AS_DETECT_SUGGESTED): No need to provide extra subshell; _AS_RUN
already does the job.
(_AS_DETECT_BETTER_SHELL): Simplify AS_EXIT when not run in a trap
0 context.
Undo needless efforts to protect $2 in $2_t.
* lib/autoconf/types.m4 (_AC_TYPE_INT_BODY)
(_AC_TYPE_UNSIGNED_INT_BODY): Reduce extra quoting.
2008-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix parallel test execution output lossage.
* lib/autotest/general.m4 (_AT_CHECK): Truncate files to hold
standard output and standard error before the test, use append
mode for writing.
* THANKS: Update.
Caught by Bob Proulx' build daemons, analysis and suggested fix
by Stéphane Chazelas.
2008-10-28 Eric Blake <ebb9@byu.net>
Use m4_map_args in more places.
* lib/m4sugar/m4sugar.m4 (m4_defn, m4_dumpdef, m4_popdef)
(m4_undefine, m4_combine): Use m4_map_args, rather than
m4_foreach.
2008-10-28 Eric Blake <ebb9@byu.net>
Override m4 1.4.x dumpdef, as it breaks autom4te.
* lib/m4sugar/m4sugar.m4 (m4_dumpdef): New implementation.
(m4_copy): Formatting touchup.
* doc/autoconf.texi (Redefined M4 Macros) <m4_dumpdef>: Mention
semantic differences as well as m4_dumpdefs.
* NEWS: Likewise.
* tests/m4sugar.at (m4@&t@_dumpdef): New test.
2008-10-28 Eric Blake <ebb9@byu.net>
Allow m4sugar to be used without autom4te, such as in bison.
* lib/m4sugar/m4sugar.m4 (m4_text_wrap, m4_qlen): Document that
alternate escape sequences can be used.
(m4_text_box): Likewise. Don't output quadrigraphs.
(m4_qdelta): Delete unused macro.
2008-10-28 Paolo Bonzini <bonzini@gnu.org>
Add m4_stack_foreach and m4_stack_foreach_lifo.
* lib/m4sugar/m4sugar.m4 (_m4_stack_reverse): New from _m4_copy.
(m4_stack_foreach, m4_stack_foreach_lifo): New.
(m4_copy): Use m4_stack_foreach and m4_curry.
(_m4_dumpdefs_down, _m4_dumpdefs_up): Remove.
(m4_dumpdefs): Rewrite using m4_stack_foreach_lifo.
* tests/m4sugar.at (m4_stack_foreach): New test.
2008-10-28 Paolo Bonzini <bonzini@gnu.org>
use a shell function for AC_TYPE_INTx_T
* lib/autoconf/types.m4 (_AC_TYPE_INT_BODY, _AC_TYPE_UNSIGNED_INT_BODY):
New.
(_AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT): Define and use a shell function.
2008-10-28 Paolo Bonzini <bonzini@gnu.org>
* lib/autoconf/general.m4 (AC_CHECK_DECL): Fix AS_ESCAPE usage.
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL,
_AC_CHECK_HEADER_NEW): Likewise.
* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER): Likewise.
2008-10-28 Paolo Bonzini <bonzini@gnu.org>
* lib/autoconf/types.m4 (_AC_CHECK_MEMBER_BODY): New.
(AC_CHECK_MEMBER): Define and use a shell function.
2008-10-27 Eric Blake <ebb9@byu.net>
Prefer m4_fatal over AC_FATAL.
* lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF)
(AC_CHECK_MEMBER): Use non-obsolete macro name.
* lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF): Likewise.
* lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE, AC_SUBST):
Likewise.
* lib/autoconf/lang.m4 (_AC_LANG_DISPATCH): Likewise.
* lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCY_DEFAULT)
(_AC_CONFIG_UNIQUE, _AC_CONFIG_REGISTER_DEST): Likewise.
2008-10-27 Eric Blake <ebb9@byu.net>
Avoid raw carriage return in scripts.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Generate CR
via tr, rather than with literal byte.
* THANKS: Update.
Reported by Steven R. Loomis; patch suggested by Thomas Dickey.
2008-10-27 Eric Blake <ebb9@byu.net>
Use AS_VAR_ARITH.
* lib/autotest/general.m4 (at_func_arith): Delete; replace all
clients with AS_VAR_ARITH instead.
* lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE): Use new
macro.
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Likewise.
* tests/torture.at (Torturing config.status): Likewise.
* tests/tools.at (autom4te --force): Likewise.
Add AS_VAR_ARITH.
* lib/m4sugar/m4sh.m4 (_AS_VAR_ARITH_PREPARE, _AS_VAR_ARITH_WORKS)
(AS_VAR_ARITH): New macros.
(_AS_PREPARE, AS_PREPARE): Emit preparation.
* tests/m4sh.at (AS@&t@_VAR_ARITH): New test.
* doc/autoconf.texi (Polymorphic Variables) <AS_VAR_ARITH>:
Document new macro.
(Limitations of Usual Tools) <expr>: Mention portability problem
if first argument starts with -.
(Shell Substitutions) <$((expression))>: Mention it.
* NEWS: Likewise.
2008-10-27 Eric Blake <ebb9@byu.net>
Use read, rather than `cat`, for safe one-line files.
* lib/autotest/general.m4 (AT_CLEANUP): Avoid a fork, since it is
known that the file has only one line and no \.
* lib/autoconf/general.m4 (_AC_COMPUTE_INT_RUN): Likewise.
2008-10-27 Paolo Bonzini <bonzini@gnu.org>
* lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE,
_AC_COMPUTE_INT_RUN): Add IF-SUCCESS argument.
(_AC_COMPUTE_INT_BODY): New.
(AC_COMPUTE_INT): Define and use a shell function.
2008-10-27 Paolo Bonzini <bonzini@gnu.org>
* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW_BODY): Extract
test body here. Move head comment of _AC_CHECK_TYPE_NEW here.
(_AC_CHECK_TYPE_NEW): Define a shell function and call it.
2008-10-27 Paolo Bonzini <bonzini@gnu.org>
* lib/autoconf/general.m4 (_AC_CHECK_DECL_BODY): New.
(AC_CHECK_DECL): Use a shell function.
2008-10-27 Paolo Bonzini <bonzini@gnu.org>
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_OLD,
_AC_CHECK_HEADER_NEW): Use a shell function.
2008-10-25 Eric Blake <ebb9@byu.net>
Track recent copyright assignments.
* AUTHORS: Update.
2008-10-25 Paolo Bonzini <bonzini@gnu.org>
and Eric Blake <ebb9@byu.net>
Use a shell function for _AC_CHECK_HEADER_MONGREL.
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL_BODY): New
macro.
(_AC_CHECK_HEADER_MONGREL): Use a shell function.
2008-10-25 Eric Blake <ebb9@byu.net>
Simplify _AS_PREPARE handling of functions.
* lib/m4sugar/m4sh.m4 (AS_REQUIRE_SHELL_FN): Factor...
(_AS_REQUIRE_SHELL_FN): ...into new helper macro.
(_AS_PREPARE): Temporarily redefine AS_REQUIRE_SHELL_FN to make
this task easier.
(_AS_LINENO_PREPARE): Make more efficient.
(_AS_MKDIR_P_PREPARE): Simplify use in _AS_PREPARE.
(_AS_UNSET_PREPARE): Avoid blank newline.
(AS_INIT): Emit as_func_unset alongside other functions.
2008-10-25 Eric Blake <ebb9@byu.net>
Document AS_EXIT.
* doc/autoconf.texi (Common Shell Constructs) <AS_EXIT>: Document
this macro.
(Limitations of Builtins): Mention AS_EXIT.
* NEWS: Mention it.
Use AS_EXIT in autoconf.as.
* bin/autoconf.as: Consistently use AS_EXIT.
2008-10-24 Eric Blake <ebb9@byu.net>
Fix m4 underquoting in AC_PROG_INSTALL.
* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Produce accurate
character ranges.
Speed up AC_CHECK_HEADER.
* lib/autoconf/headers.m4 (AC_CHECK_HEADER): Factor out $@.
2008-10-24 Paolo Bonzini <bonzini@gnu.org>
and Eric Blake <ebb9@byu.net>
Use a shell function for AC_CHECK_FUNC.
* lib/autoconf/functions.m4 (_AC_CHECK_FUNC_BODY): New macro.
(AC_CHECK_FUNC): Use a shell function.
* lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Reduce number of forks.
2008-10-24 Eric Blake <ebb9@byu.net>
Work around fact that gnulib-tool doesn't use m4_copy.
* lib/autoconf/general.m4 (AC_LIBOBJ, AC_LIBSOURCES): Defun, not
define, so that an initial location is present, to account for
fact that gnulib-tool pushes another AC_DEFUN'd macro on top.
Make m4_defun_init more robust.
* lib/m4sugar/m4sugar.m4 (m4_defun_init): Handle indirect macro
names, and correct number of arguments.
(m4_copy): Also set up location of the copy.
(m4_defun): When copied, use current macro name, not original.
* tests/m4sugar.at (m4@&t@_require: one-shot initialization):
Update test.
Optimize clients of AS_REQUIRE.
* lib/m4sugar/m4sugar.m4 (m4_defun): Add undocumented third
argument.
(m4_defun_init): New undocumented macro.
* lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG, AS_MESSAGE, AS_BASENAME)
(_AS_DIRNAME_EXPR, AS_DIRNAME, AS_ECHO, AS_ECHO_N, AS_TEST_X)
(AS_LN_S, AS_MKDIR_P, _AS_PATH_WALK, AS_VERSION_COMPARE)
(AS_TR_SH, AS_TR_CPP, AS_VAR_APPEND, AS_VAR_PUSHDEF): Use it to
simplify these macros once the one-shot initialization is
complete.
* tests/m4sugar.at (m4@&t@_require: one-shot initialization): New
test.
Improve m4_copy.
* lib/m4sugar/m4sugar.m4 (m4_copy): Add second implementation for
public use.
(_m4_copy): New macro, which preserves pushdef stacks.
(_m4_defun_pro_outer): Bypass it, for speed.
(m4_init): Bypass new implementation, since it breaks on m4_defn.
* bin/autoupdate.in (handle_autoconf_macros): Likewise.
* lib/autoconf/general.m4 (AC_PREREQ): Undefine before redefining,
now that m4_copy checks this.
* doc/autoconf.texi (Redefined M4 Macros) <m4_copy>: Document
this, as well as m4_rename.
* lib/autoconf/autoconf.m4 (m4_copy): Temporarily redefine when
renaming builtins, since it breaks on m4_ifdef.
* NEWS: Likewise.
* tests/m4sugar.at (m4@&t@_defn): Enhance test.
2008-10-24 Eric Blake <ebb9@byu.net>
AC_FUNC_GETGROUPS: Revert regression.
* lib/autoconf/functions.m4 (AC_FUNC_GETGROUPS): Only set
ac_cv_func_getgroups_works=no when it is not available.
2008-10-23 Eric Blake <ebb9@byu.net>
Whitespace cleanup.
* lib/autoconf/fortran.m4: Consistently use tabs.
2008-10-23 Chikama Masaki <masaki.chikama@gmail.com> (tiny change)
For gfortran on sh, ignore -little.
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add -little to
list of ignored arguments.
* THANKS: Update.
2008-10-23 Paolo Bonzini <bonzinI@gnu.org>
Eliminate empty lines after AC_*_IFELSE.
* lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
_AC_LINK_IFELSE, _AC_RUN_IFELSE): Add a dnl at end.
2008-10-23 Paolo Bonzini <bonzinI@gnu.org>
Avoid a fork in _AC_RUN_LOG and _AC_RUN_LOG_STDERR
* lib/autoconf/general.m4 (_AC_RUN_LOG, _AC_RUN_LOG_STDERR):
Return a boolean status code based on $ac_status.
2008-10-23 Paolo Bonzini <bonzinI@gnu.org>
Ensure actions can look at conftest* files.
* lib/autoconf/general.m4 (_AC_PREPROC_IFELSE_BODY,
_AC_COMPILE_IFELSE_BODY, _AC_LINK_IFELSE_BODY, _AC_RUN_IFELSE_BODY):
Move rm commands, except IPA files and Apple debug symbols...
(_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE,
_AC_RUN_IFELSE): ...in here.
* tests/compile.at: Add regression test.
2008-10-23 Eric Blake <ebb9@byu.net>
Remove excess dnl from m4sh.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL, _AS_PREPARE)
(_AS_SHELL_FN_WORK, _AS_SHELL_SANITIZE, AS_IF, _AS_ECHO_LOG)
(AS_MESSAGE, AS_ERROR, AS_BASENAME, _AS_BASENAME_PREPARE)
(_AS_DIRNAME_EXPR, AS_DIRNAME, _AS_DIRNAME_PREPARE, AS_ECHO)
(AS_ECHO_N, AS_TEST_X, AS_EXECUTABLE_P, _AS_ME_PREPARE)
(_AS_LINENO_PREPARE, AS_LN_S, AS_MKDIR_P, _AS_PATH_WALK)
(AS_SET_CATFILE, AS_HELP_STRING, AS_TMPDIR, AS_VERSION_COMPARE)
(_AS_TR_SH_PREPARE, AS_TR_SH, _AS_TR_CPP_PREPARE, AS_TR_CPP)
(_AS_TR_PREPARE, AS_VAR_APPEND, AS_VAR_PUSHDEF)
(AS_INIT_GENERATED): Use fewer dnl in m4sh macro bodies.
2008-10-23 Paolo Bonzini <bonzini@gnu.org>
and Eric Blake <ebb9@byu.net>
Use a shell function for _AC_RUN_IFELSE.
* lib/autoconf/general.m4 (_AC_RUN_IFELSE_BODY): New macro.
(_AC_RUN_IFELSE): Use a shell function.
(_AC_RUN_LOG): Avoid subshell for logging.
2008-10-23 Eric Blake <ebb9@byu.net>
Formatting tweak: balance () with m4sh case statements.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL)
(_AS_SHELL_SANITIZE, _AS_ECHO_N_PREPARE, _AS_ECHO_PREPARE)
(AS_SET_CATFILE, _AS_TEST_PREPARE): Add strategic shell comments.
(_AS_CASE, _AS_CASE_DEFAULT, AS_CASE): Rearrange newlines, to
allow output of strategic shell comments.
(AS_VERSION_COMPARE): Use AS_CASE.
* tests/m4sh.at (AS@&t@_IF and AS@&t@_CASE): Enhance test.
2008-10-22 Jim Meyering <meyering@redhat.com>
AC_FUNC_GETGROUPS: always define $ac_cv_func_getgroups_works
* lib/autoconf/functions.m4 (AC_FUNC_GETGROUPS): Always define
the shell variable, $ac_cv_func_getgroups_works. Otherwise, if
it is set to "yes" in the environment and configure is run on
a system like mingw that lacks the getgroups function, it would
mistakenly define HAVE_GETGROUPS. Reported by Simon Josefsson in
<http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/15354>.
2008-10-22 Paolo Bonzini <bonzini@gnu.org>
and Eric Blake <ebb9@byu.net>
Use a shell function for _AC_LINK_IFELSE.
* lib/autoconf/general.m4 (_AC_LINK_IFELSE_BODY): New macro.
(_AC_LINK_IFELSE): Use a shell function.
2008-10-22 Eric Blake <ebb9@byu.net>
Fix autoconf logging commands.
* lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED, _AC_EVAL)
(_AC_EVAL_STDERR, AC_RUN_LOG): Respect as_lineno.
(_AC_DO_ECHO): Likewise, and use fewer dnl.
(_AC_RUN_LOG_STDERR): Avoid subshell for logging.
2008-10-22 Eric Blake <ebb9@byu.net>
Fix testsuite failure.
* tests/mktests.sh (ac_exclude_list): Don't generate test for
AC_REQUIRE_SHELL_FN.
2008-10-21 Eric Blake <ebb9@byu.net>
Improve wording related to automake and autotest.
* doc/autoconf.texi (Making testsuite Scripts): Clarify wording in
relation to automake. Mention dependency on package.m4.
Consolidate examples. Define AUTOM4TE.
* THANKS: Update.
Reported by William Pursell.
2008-10-21 Eric Blake <ebb9@byu.net>
Allow AS_VAR_SET_IF in shell lists.
* lib/m4sugar/m4sh.m4 (AS_VAR_SET_IF): Allow continuation of
line.
* lib/autoconf/general.m4 (AC_CACHE_VAL): Supply newline no longer
provided by AS_VAR_SET_IF.
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Adjust
clients.
* lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Likewise.
* tests/m4sh.at (AS@&t@_VAR basics): Enhance test.
Allow AS_VAR_IF in shell lists.
* lib/m4sugar/m4sh.m4 (AS_VAR_IF): Allow continuation of line.
* lib/autoconf/functions.m4 (AC_CHECK_FUNC): Adjust clients.
* lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
Likewise.
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
(_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD)
(_AC_CHECK_HEADER_DIRENT): Likewise.
* lib/autoconf/libs.m4 (AC_CHECK_LIB): Likewise.
* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
Likewise.
* tests/m4sh.at (AS@&t@_VAR basics): Enhance test.
Allow AS_CASE in shell lists.
* lib/m4sugar/m4sh.m4 (AS_CASE): Always execute test, in case of
side effects. Allow continuation of script on same line as esac.
* lib/autoconf/c.m4 (AC_PROG_CC_STDC): Adjust client.
* tests/m4sh.at (AS@&t@_IF and AS@&t@_CASE): Enhance test.
* NEWS: Document the subtle change.
Allow AS_IF in shell lists.
* lib/m4sugar/m4sh.m4 (AS_IF): Always execute test, in case of
side effects. Allow continuation of script on same line as fi.
(_AS_DETECT_BETTER_SHELL): Adjust clients.
(AS_VAR_IF, AS_VAR_SET_IF): For now, supply newline no longer
given by AS_IF.
* lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Likewise.
* lib/autoconf/general.m4 (_AC_ENABLE_IF): Likewise.
(AC_EGREP_CPP, _AC_RUN_IFELSE): Adjust client.
* lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Likewise.
* doc/autoconf.texi (Common Shell Constructs) <AS_IF>: Fix typo.
(Polymorphic Variables): Move mention of dnl to the only two
AS_VAR functions that need it.
2008-10-21 Paolo Bonzini <bonzini@gnu.org>
and Eric Blake <ebb9@byu.net>
Use a shell function for _AC_COMPILE_IFELSE.
* lib/autoconf/general.m4 (_AC_COMPILE_IFELSE_BODY): New macro.
(_AC_COMPILE_IFELSE): Use a shell function.
2008-10-21 Eric Blake <ebb9@byu.net>
Use AS_VAR_APPEND.
* lib/autoconf/functions.m4 (AC_CHECK_FUNCS_ONCE): Use new macro.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE)
(_AC_LIBOBJS_NORMALIZE): Likewise.
* lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS)
(_AC_OUTPUT_CONFIG_STATUS, _AC_OUTPUT_MAIN_LOOP): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
Add AS_VAR_APPEND.
* lib/m4sugar/m4sh.m4 (_AS_VAR_APPEND_PREPARE)
(_AS_VAR_APPEND_WORKS, AS_VAR_APPEND): New macros.
(AS_PREPARE, _AS_PREPARE): Emit preparation.
* tests/m4sh.at (AS@&t@_VAR_APPEND): New test.
* doc/autoconf.texi (Polymorphic Variables) <AS_VAR_APPEND>:
Document new macro.
<AS_VAR_SET>: Mention ramification of `""` rules.
* NEWS: Mention new macro.
2008-10-21 Paolo Bonzini <bonzini@gnu.org>
and Eric Blake <ebb9@byu.net>
Use a shell function for _AC_PREPROC_IFELSE.
* lib/autoconf/general.m4 (_AC_PREPROC_IFELSE_BODY): New macro.
(_AC_PREPROC_IFELSE): Use a shell function.
* lib/m4sugar/m4sh.m4 (AS_REQUIRE): Factor for faster execution.
(AS_REQUIRE_SHELL_FN): Bypass AS_REQUIRE if function has already
been provided.
2008-10-21 Eric Blake <ebb9@byu.net>
Add banners to generated files.
* lib/m4sugar/m4sh.m4 (_AS_SHELL_SANITIZE): Use m4_text_box for
existing banner.
(AS_INIT): Add new banners at strategic points.
* lib/autoconf/general.m4 (AC_INIT): Alter banner location, and
make consistent with other banners.
* lib/autotest/general.m4 (AT_INIT): Make banners consistent.
2008-10-20 Paolo Bonzini <bonzini@gnu.org>
Add AC_REQUIRE_SHELL_FN and the SHELL_FN diversion.
* lib/autoconf/general.m4 (AC_REQUIRE_SHELL_FN): New.
(m4_divert(SHELL_FN)): New.
2008-10-20 Eric Blake <ebb9@byu.net>
Avoid unportable use of echo in testsuite.
* tests/m4sh.at (AS@&t@_VAR basics): Use AS_ECHO, since string
contains backslash.
2008-10-18 Paolo Bonzini <bonzini@gnu.org>
Make sure that nested AS_REQUIRE do not lose the desired diversion.
* lib/m4sugar/m4sh.m4 (AS_REQUIRE): Expand _m4_divert_desired before
passing it to m4_divert_require, so that its content is not used
anymore.
* tests/m4sh.at (Nested AS_REQUIRE): New testcase.
2008-10-18 Eric Blake <ebb9@byu.net>
Document bugs in { } handling.
* doc/autoconf.texi (Limitations of Builtins): Mention bug on
empty list.
Fix some testsuite failures introduced two days ago.
* tests/m4sh.at (Nested AS@&t@_REQUIRE_SHELL_FN)
(AS@&t@_REQUIRE_SHELL_FN and m4@&t@_require): Adjust to changed
API.
Reported by Ralf Wildenhues.
2008-10-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Show how to extract single substitutions from config.status.
* doc/autoconf.texi (config.status Invocation): Show example
using `--file=-'.
2008-10-17 Eric Blake <ebb9@byu.net>
Add m4_curry.
* lib/m4sugar/m4sugar.m4 (m4_curry, _m4_curry): New macros.
* tests/m4sugar.at (m4@&t@_map_args): Rename...
(m4@&t@_map_args and m4@&t@_curry): ...and add currying tests.
* doc/autoconf.texi (Looping constructs) <m4_map_args>: Document
currying as a way to add parameters.
(Evaluation Macros) <m4_curry>: Document the new macro.
* NEWS: Likewise.
Improve suggested test filtering.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_SUGGESTED_PRUNE): New macro,
extracted from...
(_AS_DETECT_BETTER_SHELL): ...here, to use faster API. No need to
check for an empty required set.
Add m4_set_map.
* lib/m4sugar/m4sugar.m4 (m4_set_foreach): New macro.
* tests/m4sugar.at (m4@&t@_set): Enhance test.
* doc/autoconf.texi (Set manipulation Macros) <m4_set_map>:
Document it.
* NEWS: Likewise.
Document m4_map_args.
* lib/m4sugar/m4sugar.m4 (m4_transform, m4_transform_pair):
Rename...
(m4_map_args, m4_map_args_pair): ...to these names, and document.
(m4_version_unletter): Use the interface.
* lib/m4sugar/foreach.m4 (m4_map_args, m4_map_args_pair)
(_m4_map_args_, _m4_map_args_pair_, _m4_map_args_pair_end):
Perform same renames.
* lib/m4sugar/m4sh.m4 (AS_CASE, AS_IF): Adjust callers.
* tests/m4sugar.at (m4@&t@_map_args): New test.
(recursion): Adjust caller.
* tests/m4sh.at (AS@&t@_IF and AS@&t@_CASE): Likewise.
* doc/autoconf.texi (Looping constructs) <m4_map_args>: Document
this interface.
* NEWS: Mention the new macros.
2008-10-17 Eric Blake <ebb9@byu.net>
Reduce vertical whitespace in configure.
* lib/autoconf/general.m4 (AC_INIT): Silence newline output during
m4 side effect initializations.
* lib/m4sugar/m4sh.m4 (AS_PREPARE): Likewise.
2008-10-17 Eric Blake <ebb9@byu.net>
Document AS_VAR interfaces.
* doc/autoconf.texi (Programming in M4sh): M4sh is now prime-time.
(Polymorphic Variables): New node.
* NEWS: Update accordingly.
Test AS_VAR interfaces.
* tests/m4sh.at (AS@&t@_VAR): New test.
* lib/m4sugar/m4sh.m4 (AS_VAR_PUSHDEF): Force expansion of
_AS_TR_SH_PREPARE at top level, rather than argument collection.
(AS_TR_SH): Support command substitution.
Add AS_VAR_COPY.
* lib/m4sugar/m4sh.m4 (AS_VAR_COPY): New macro.
(AS_VAR_IF): Use it, instead of the broken AS_VAR_GET.
* lib/autoconf/general.m4 (AC_CACHE_CHECK): Likewise.
* lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Likewise.
* lib/autotest/general.m4 (_AT_FINISH): Likewise.
Sort AS_VAR_* interfaces.
* lib/m4sugar/m4sh.m4 (AS_VAR_GET): Reduce output to one line.
(AS_VAR_TEST_SET, AS_VAR_SET, AS_VAR_SET_IF, AS_VAR_POPDEF): Sort,
no code changes.
2008-10-16 Eric Blake <ebb9@byu.net>
Allow comments before functions emitted by m4sh.
* lib/m4sugar/m4sh.m4 (AS_REQUIRE_SHELL_FN): Add comment
argument. Supply closing comment, to ease readability.
(_AS_MKDIR_P_PREPARE): Adjust caller.
(_AS_UNSET_PREPARE): Add comment.
Add AS_FUNCTION_DESCRIBE.
* lib/m4sugar/m4sh.m4 (AS_FUNCTION_DESCRIBE): New macro.
* lib/autotest/general.m4 (AT_INIT): Use it.
2008-10-16 Eric Blake <ebb9@byu.net>
Speed up m4_qlen with caching.
* lib/m4sugar/m4sugar.m4 (_m4_qlen): Renamed from old m4_qlen.
(m4_qlen): Cache results for speed.
2008-10-16 Paolo Bonzini <bonzini@gnu.org>
Add a testcase using more then one language.
* tests/compile.at (Multiple languages): New test.
2008-10-16 Paolo Bonzini <bonzini@gnu.org>
Fix Libtool's config.lt test.
* lib/m4sugar/m4sh.m4 (_AS_PREPARE): Disable AS_REQUIRE while
expanding it.
2008-10-15 Eric Blake <ebb9@byu.net>
Break circular require chain in _AS_LINENO_PREPARE.
* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Ensure that logging is
disabled when reporting LINENO failure, since logging requires
LINENO.
* doc/autoconf.texi (Initialization Macros): Recommend m4_pushdef,
not m4_rename, since the latter is undocumented.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Avoid
m4_rename, as it does not yet handle pushdef stacks.
Reported by Ralf Wildenhues.
2008-10-15 Eric Blake <ebb9@byu.net>
Cleanups to previous patches.
* doc/autoconf.texi (Portable Shell): Minor edits.
(Limitations of Builtins): Touch up wording.
* lib/m4sugar/m4sh.m4 (AS_LINENO_PUSH): Nuke trailing whitespace.
(_AS_SHELL_SANITIZE): Wrap comments less than 80 columns.
2008-10-15 Paolo Bonzini <bonzini@gnu.org>
Updates to shell portability documentation.
* doc/autoconf.texi: Updates all references to "Portable Shell" and
"Limitations of Builtins" to use three-argument commands.
(Programming in M4sh): Document AS_ECHO, AS_ECHO_N, AS_UNSET.
(Portable Shell): Move here discussion about "Where is the POSIX
shell?" Mention that M4sh provides a SVR2 shell and takes care
of unsetting variables if necessary. Talk about M4sh and not only
Autoconf-generated scripts.
(Special Shell Variables): Talk about M4sh and not only
Autoconf-generated scripts. Don't talk about things that Autoconf
does not do. Mention problems of $LINENO with shell functions.
(Limitations of Builtins). Mention AS_ECHO and AS_ECHO_N. Move
discussion of eval bugs before discussion on proper use of eval.
Mention AS_IF. Reword why not to use "shift N". Mention "foo=;
unset foo" trick. Include M4sh code that unsets MAIL for Bash 2.01.
* NEWS: Update list of documented M4sh macros.
2008-10-15 Paolo Bonzini <bonzini@gnu.org>
Assume a (possibly buggy) `unset' is present after a
`better shell' was found.
* lib/autoconf/general.m4 (_AC_CACHE_DUMP): Use AS_UNSET.
* lib/autoconf/programs.m4 (AC_PROG_SED): Use AS_UNSET.
* lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Provide $as_unset as an
alias for AS_UNSET, for backwards compatibility.
(_AS_DETECT_BETTER_SHELL): Set BASH_ENV and ENV to /dev/null in case
the shell does not support unset.
(_AS_SHELL_SANITIZE): Work around Bash 2.01 bugs. Unset BASH_ENV.
(AS_INIT, _AS_PREPARE, AS_PREPARE): Call it.
(AS_UNSET): Assume it is there but it might fail if the variable is
not set. Use it throughout instead of $as_unset.
2008-10-15 Paolo Bonzini <bonzini@gnu.org>
Turn AS_SHELL_SANITIZE into a for-Libtool-only wrapper.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED, _AS_DETECT_SUGGESTED): Remove
m4_require of _AS_DETECT_BETTER_SHELL.
(_AS_CLEANUP): Add it here.
(_AS_DETECT_BETTER_SHELL): Just expand the test instead of appending it
to _AS_CLEANUP.
(_AS_SHELL_SANITIZE): New name of the old AS_SHELL_SANITIZE macro.
(AS_SHELL_SANITIZE): New macro hacking around Libtool misuse.
(AS_PREPARE): Use _AS_SHELL_SANITIZE.
(AS_INIT): Add m4_provide of itself.
2008-10-15 Paolo Bonzini <bonzini@gnu.org>
Use "test x$foo = xyes" to avoid upsetting Libtool's sh.test.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL, _AS_SHELL_FN_WORK): Use
"test x$foo = xyes".
2008-10-15 Paolo Bonzini <bonzini@gnu.org>
Trim down the size of the better-shell test.
* lib/m4sugar/m4sh.at (_AT_DETECT_BETTER_SHELL): Store the common
snippets into shell variables.
(_AS_RUN): Rewrite.
2008-10-15 Paolo Bonzini <bonzini@gnu.org>
Support a stack of LINENO values for AS_MESSAGE.
* lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): If defined, use $as_lineno as
the line number emitted to the log file.
(AS_LINENO_PUSH, AS_LINENO_POP): New.
* tests/m4sh.at (LINENO Stack): New test.
2008-10-14 Eric Blake <ebb9@byu.net>
Correct previous patch.
* doc/autoconf.texi (Shell Functions): Bash obeys Posix, after
all.
Document shell function environment pitfall.
* doc/autoconf.texi (Shell Functions): Document bugs in bash,
Solaris /bin/sh.
2008-10-14 Paolo Bonzini <bonzini@gnu.org>
Use m4_require to implement AS_REQUIRE.
* lib/m4sugar/m4sugar.m4 (_m4_require_call): Accept a third argument.
(m4_require): Pass it.
(m4_divert_require): New.
* lib/m4sugar/m4sh.m4 (AS_REQUIRE): Rewrite using m4_divert_require.
Remove comment about differences with m4_require.
* tests/m4sh.at (AS_REQUIRE_SHELL_FN and m4_require): Update to test
the expected behavior.
(Nested AS_REQUIRE_SHELL_FN): New test.
2008-10-13 Paolo Bonzini <bonzini@gnu.org>
Test AS_LINENO_PREPARE.
* tests/m4sh.at: Use documented AS_LINENO_PREPARE.
2008-10-13 Paolo Bonzini <bonzini@gnu.org>
Test AS_ME_PREPARE.
* tests/m4sh.at (as_me): New test.
2008-10-13 Paolo Bonzini <bonzini@gnu.org>
Add and document AS_INIT_GENERATED.
* lib/m4sugar/m4sh.m4 (AS_INIT_GENERATED): New.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use it.
* doc/autoconf.texi (Initialization macros): Document it.
2008-10-13 Eric Blake <ebb9@byu.net>
Use consistent shell function style.
* lib/m4sugar/m4sh.m4 (_AS_PREPARE, AS_REQUIRE_SHELL_FN)
(_AS_SHELL_FN_WORK): Imitate GNU Coding Standards for C
functions.
2008-10-13 Paolo Bonzini <bonzini@gnu.org>
* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Place names of
contributors under m4 rather than shell comments.
2008-10-10 Paolo Bonzini <bonzini@gnu.org>
* lib/m4sugar/m4sh.m4 (AS_ME_PREPARE, AS_LINENO_PREPARE): New.
* doc/autoconf.texi (Initialization macros): Document them.
(Portable Shell): Refer to AS_LINENO_PREPARE.
* NEWS: Mention them.
* bin/autoconf.as: Invoke AS_ME_PREPARE.
* lib/autotest/general.m4: Likewise.
2008-10-10 Paolo Bonzini <bonzini@gnu.org>
* doc/autoconf.texi (Programming in M4sh): Make its own chapter.
2008-10-10 Eric Blake <ebb9@byu.net>
Fix _AS_MKDIR_P usage.
* lib/m4sugar/m4sh.m4 (_AS_MKDIR_P): Correct documentation to
match implementation.
(_AS_PREPARE, _AS_MKDIR_P_PREPARE): Adjust callers.
* doc/autoconf.texi (Programming in M4sh) <AS_MKDIR_P>: Tweak
wording to better match behavior.
2008-10-10 Paolo Bonzini <bonzini@gnu.org>
* doc/autoconf.texi: Be less wary of shell functions.
* NEWS: Document the increased use of shell functions.
2008-10-10 Paolo Bonzini <bonzini@gnu.org>
* m4sugar/m4sh.m4 (_AS_MKDIR_P): New, from AS_MKDIR_P. Adjust
meaning of as_mkdir_p to be `false' or a full `mkdir -p' command.
(AS_MKDIR_P): Just dispatch to as_func_mkdir_p.
(_AS_PREPARE): Define shell functions.
(_AS_MKDIR_P_PREPARE): Set as_mkdir_p according to the above change.
Define shell functions.
2008-10-09 Eric Blake <ebb9@byu.net>
Only prepare $as_me if it will be used.
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Avoid unconditional
preparation.
(_AS_ECHO_LOG): Depend on $LINENO preparation.
(AS_MESSAGE): Depend on $as_me preparation.
(AS_TMPDIR): Use AS_ERROR, rather than a hand-rolled copy.
2008-10-09 Paolo Bonzini <bonzini@gnu.org>
* m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Delay setting as_me
until the M4SH-INIT diversion using _AS_ME_PREPARE.
(_AS_PREPARE): Invoke _AS_EXPR_PREPARE before _AS_BASENAME_PREPARE
and _AS_DIRNAME_PREPARE, and _AS_BASENAME_PREPARE and _AS_ME_PREPARE
before _AS_LINENO_PREPARE.
(AS_PREPARE): Include all the AS_REQUIREs manually.
(_AS_ME_PREPARE): New.
(_AS_LINENO_PREPARE): Use m4_defun.
2008-10-09 Paolo Bonzini <bonzini@gnu.org>
* m4sugar/m4sh.m4 (_AS_BASENAME_EXPR, _AS_DIRNAME_EXPR): Do not
require _AS_EXPR_PREPARE.
(_AS_BASENAME_PREPARE, _AS_DIRNAME_PREPARE): Do it here.
(_AS_PREPARE): Add _AS_BASENAME_PREPARE.
2008-10-08 Eric Blake <ebb9@byu.net>
Resync from gnulib.
* cfg.mk (cvs_executable_files, cvs_files): Rewrite...
(fetch): ...into new target.
(executable-update): Delete, now that it is unused.
* maint.mk (update, local_updates, cvs_files, gnulib_repo)
(wget-update, cvs-update): Likewise.
* HACKING (Update the foreign files): Document new procedure.
* GNUmakefile: Resync from upstream, via new 'make fetch'.
* build-aux/config.guess: Likewise.
2008-10-08 Paolo Bonzini <bonzini@gnu.org>
* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Remove.
(AS_INIT): Do not call it.
2008-10-08 Paolo Bonzini <bonzini@gnu.org>
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Expand
_AS_UNSET_PREPARE in M4SH-SANITIZE.
2008-10-08 Eric Blake <ebb9@byu.net>
Avoid repeating required shell tests in suggested set.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED, _AS_DETECT_SUGGESTED):
Use m4_set, rather than m4_expand_once/m4_append.
(_AS_DETECT_SUGGESTED): Adjust to new storage layout, and filter
required tests out of suggested tests.
Reported by Paolo Bonzini.
2008-10-08 Paolo Bonzini <bonzini@gnu.org>
Add m4sh keyword to all m4sh.at tests.
* tests/m4sh.at: Add m4sh keyword to all tests. Fix comment
pastos.
2008-10-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Document AS_VERSION_COMPARE.
* doc/autoconf.texi (Programming in M4sh): Document
AS_VERSION_COMPARE.
* NEWS: Update.
Do not write to testsuite log fd before initialization.
* lib/autotest/general.m4 (AS_MESSAGE_LOG_FD, AT_JOB_FIFO_FD):
Define fds only when initializing the log fd so early error
messages do not try to write to it.
* tests/autotest.at (Startup error messages): New test.
* NEWS: Document this 2.63 regression.
2008-10-07 Eric Blake <ebb9@byu.net>
Ensure _AS_CLEANUP is defined.
* lib/m4sugar/m4sh.m4 (_AS_CLEANUP): Give initial definition.
* tests/m4sh.at (AS@&t@_INIT cleanup): Expose the need for this.
Improve m4sh maintainability.
* lib/m4sugar/m4sh.m4: Sort macros for sanitizing the shell; no
code change.
Fix m4 quoting in previous patch.
* lib/m4sugar/m4sh.m4 (AS_REQUIRE_SHELL_FN): Determine diversion
name prior to invoking AS_REQUIRE.
Reported by Ralf Wildenhues.
2008-09-18 Paolo Bonzini <bonzini@gnu.org>
and Eric Blake <ebb9@byu.net>
Add a separate diversion for shell functions.
* lib/m4sugar/m4sh.m4 (M4SH-INIT-FN): New diversion.
(AS_REQUIRE): Accept diversion parameter.
(AS_REQUIRE_SHELL_FN): Use it.
2008-10-06 Eric Blake <ebb9@byu.net>
Add m4_default_quoted.
* lib/m4sugar/m4sugar.m4 (m4_default_quoted): New macro.
(m4_for, m4_expand_once, m4_text_wrap, m4_text_box): Use it.
* doc/autoconf.texi (Conditional constructs): Document it.
* NEWS: Likewise.
Fix build with case-insensitive make, again.
* Makefile.am (pkgdata_DATA): Protect by MAKE_CASE_SENSITIVE.
Reported via Keith Marshall, originally by newthinker in
<http://thread.gmane.org/gmane.comp.gnu.mingw.user/27725>.
2008-10-06 Bruno Haible <bruno@clisp.org>
Warn about /usr/ucb on Solaris.
* doc/install.texi (Particular Systems): Recommend putting
/usr/ucb late in PATH, if at all.
2008-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix more testsuite hang corner cases.
* lib/autotest/general.m4: Use the serial code path if no test
is to be run.
* tests/autotest.at (parallel test execution): Test -j and -jN
with `-k notmatched'.
2008-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix hang with `testsuite -k notmatched'.
* lib/autotest/general.m4: Do not reset $at_jobs if it is equal
to one. Fixes hang with `-k notmatched'.
2008-10-02 Eric Blake <ebb9@byu.net>
Document more binary file portability traps.
* doc/autoconf.texi (Limitations of Usual Tools) <sed>: Remind
reader that NUL and sed don't always mix.
<tr>: Mention Solaris /usr/ucb/tr bug with \0.
2008-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Implement parallel Autotest test execution: testsuite --jobs.
* lib/autotest/general.m4 (AT_JOB_FIFO_FD): New macro.
(AT_INIT): <at_jobs>: New variable.
Accept -j, -jN, --jobs[=N], document them in --help output.
Implement parallel driver loop using a FIFO, enabled with --jobs
and if mkfifo works; otherwise, fall back to sequential loop.
(AT_SETUP): Store, do not output summary progress line if
parallel.
* tests/autotest.at (parallel test execution, parallel truth)
(parallel fallacy, parallel skip): New tests.
* doc/autoconf.texi (testsuite Invocation): Document -j, --jobs,
the mkfifo requirement, and that --errexit may cause concurrent
jobs to finish.
* NEWS: Update.
2008-09-20 Eric Blake <ebb9@byu.net>
Fix sample isinf definition.
* doc/autoconf.texi (Function Portability) <isinf>: Filter out NaN
first.
* THANKS: Update.
Reported by David Cournapeau.
2008-09-16 Eric Blake <ebb9@byu.net>
Fix Erlang regression, introduced 2006-11-17.
* lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Avoid M4 comment
caused by underquoting.
* NEWS: Mention this fix.
* THANKS: Update.
Reported by BJ Terry.
2008-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Improve a bit.
Mention Solaris sh ':' redirection bug.
* doc/autoconf.texi (File Descriptors): Redirecting ':'
in a loop causes bogus optimization with Solaris sh.
2008-09-10 Eric Blake <ebb9@byu.net>
Avoid testsuite bug when autom4te cache is disabled by user.
* tests/tools.at (autoconf: forbidden tokens, basic): Enable
cache, even if user normally disabled it.
Reported by Bruno Haible.
Avoid testsuite bug in presence of verbose config.site.
* tests/base.at (Input/Output): Nullify config.site during test.
Reported by Bob Friesenhahn.
2008-09-09 Eric Blake <ebb9@byu.net>
Release Version 2.63.
* NEWS: Mention the release.
Formatting tweaks to the manual.
* doc/autoconf.texi (Introduction, Systemology)
(File System Conventions, Portable C and C++)
(Floating Point Portability): Allow URLs to split as needed.
(Indices): Add entries, to work around texinfo bug on indices that
start too close to a page break.
(Particular Functions): Mention ftello.
(Introduction, Language Choice): Use @enddots at sentence end.
Resync from gnulib.
* cfg.mk (cvs_executable_files, cvs_files): Update list of files,
although for now, they are still manually sync'd.
* build-aux/gnupload: Update.
* build-aux/config.sub: Likewise.
* GNUmakefile: Likewise.
2008-09-06 Eric Blake <ebb9@byu.net>
Mention that Automake already supports VPATH.
* doc/autoconf.texi (Build Directories): Details in this section
only apply to users avoiding automake.
* THANKS: Update.
Reported by Matej Tyc.
Relax tone when warning about cross-compiler names.
* lib/autoconf/programs.m4 (_AC_TOOL_WARN): Support cross-compiles
with poorly named tools; the issue has been reported too many
times in the last four years to pull support.
* doc/autoconf.texi (Specifying Names, Generic Programs): Update
documentation accordingly.
* THANKS: Update.
Reported by Josef Tran and others, wording suggested by Ralf
Wildenhues.
2008-09-01 Eric Blake <ebb9@byu.net>
Improve AC_C_BIGENDIAN.
* doc/autoconf.texi (C Compiler) <AC_C_BIGENDIAN>: Mention that
universal builds require a config header.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Enhance comments. Check
AH_HEADER at the last possible moment, so that users can use
AC_CONFIG_HEADER after this macro.
Reported by Stepan Kasal.
Fix manual date information.
* doc/autoconf.tex: UPDATED refers to the day the manual was
built, not the release date of Autoconf.
Based on a bison patch by Akim Demaille.
2008-08-27 Eric Blake <ebb9@byu.net>
Fix off-by-one bug in _m4_shiftn.
* lib/m4sugar/foreach.m4 (_m4_shiftn): Handle case when shifting
all arguments.
* tests/m4sugar.at (M4 loops): Test it.
Reported by Akim Demaille.
2008-08-26 Eric Blake <ebb9@byu.net>
Improve INSTALL formatting.
* doc/install.texi [!autoconf]: Ensure first paragraphs are
indented like all others in a plain text rendering.
* Makefile.am ($(srcdir)/INSTALL): Ensure plaintext formatting.
Reported by Bruno Haible.
2008-08-26 Stepan Kasal <skasal@redhat.com>
Check for case sensitive make.
* m4/make-check.m4 (AC_PROG_MAKE_CASE_SENSITIVE): New macro,...
* configure.ac: ... called here.
* Makefile.am ($(abs_srcdir)/INSTALL, INSTALL): Return to...
($(srcdir)/INSTALL): ...this, but enclose the rule in
"if MAKE_CASE_SENSITIVE".
2008-08-26 Eric Blake <ebb9@byu.net>
Update invocation documentation.
* doc/autoconf.texi (autoscan Invocation): Mention --debug.
(autoreconf Invocation): Mention -v.
(autom4te Invocation): Tie --freeze to -F, not -f.
(autoupdate Invocation): Mention --prepend-include.
* doc/install.texi (configure Invocation): Mention --help=short,
--help=recursive, -n/--no-create, --prefix. Avoid TABs.
* bin/autoscan.in ($help): Omit space before `...'.
* bin/ifnames.in ($help): Likewise.
* bin/autoconf.as (Usage): Likewise.
* bin/autoreconf.in ($help): Likewise.
* bin/autoheader.in ($help): Likewise.
* bin/autom4te.in ($help): Likewise.
* bin/autoupdate.in ($help): Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use
`[OPTION]...', rather than `[OPTIONS]'. Mention --silent. Indent
--file correctly.
Don't let frozen __m4_version__ break downgrade to m4 1.4.x.
* bin/autom4te.in: Adjust comments, now that we rely on 1.4.5+.
(files_to_options): Avoid inheriting __m4_version__ from frozen
file if current M4 does not support it.
2008-08-25 Eric Blake <ebb9@byu.net>
Adjust to recent m4 1.6 change to support m4_debugmode(d).
* lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Move
freeze-time decision of using faster 1.6 implementation...
(m4_init): ...to a runtime decision, and add use of new debugmode
flag.
2008-08-22 Peter O'Gorman <pogma@thewrittenword.com>
Limit AC_C_BIGENDIAN univeral checks to Mac OS X.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Limit the check to
__APPLE_CC__ with possible -arch flags.
* NEWS: Document it.
2008-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* NEWS: Fix typo.
2008-08-22 Eric Blake <ebb9@byu.net>
* TODO: Add an item for additional m4sugar looping constructs.
Suggested by Ralf Wildenhues.
Add reminder to keep dual implementations in sync.
* lib/m4sugar/m4sugar.m4: Add comments.
* lib/m4sugar/foreach.m4: Likewise.
Suggested by Ralf Wildenhues.
2008-08-22 Peter Eisentraut <peter_e@gmx.net> (tiny change)
Format warning and error messages to match GCS.
* lib/autoconf/general.m4 (_AC_INIT_DIRCHECK)
(_AC_INIT_PARSE_ARGS, _AC_CACHE_DUMP): Start warning and error
messages with a lowercase letter, end them without punctuation.
* lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Likewise.
* lib/autoconf/libs.m4 (AC_PATH_X): Likewise.
* lib/autoconf/status.m4 (AC_OUTPUT, _AC_OUTPUT_MAIN_LOOP):
Likewise.
* tests/fortran.at (GNU Fortran): Likewise.
* tests/torture.at (Deep Package): Likewise.
2008-08-21 Eric Blake <ebb9@byu.net>
Avoid extra side effects in m4sugar list expansion.
* lib/m4sugar/m4sugar.m4 (m4_mapall_sep, m4_list_cmp): Wrap
around...
(_m4_mapall_sep, _m4_list_cmp_raw): ...new helpers, to avoid
duplicate side effects.
(m4_version_compare): Adjust caller.
* lib/m4sugar/foreach.m4 (m4_list_cmp): Rename...
(_m4_list_cmp_raw): ...to match m4sugar.
* doc/autoconf.texi (Looping constructs): Document the behavior of
side effects.
* tests/m4sugar.at (M4 loops, m4@&t@_map, m4@&t@_version_compare):
Ensure only one side effect.
(recursion): Fix test typo.
Reported by Ralf Wildenhues.
2008-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* TODO: Add item for compiler default flags.
Suggested by Bruno Haible.
* tests/m4sh.at (AS_IF and AS_CASE): Set the expansion limit
back to 1000.
2008-08-21 Eric Blake <ebb9@byu.net>
Formatting improvements.
* doc/autoconf.texi: Use @file and @command, rather than @code,
where appropriate.
Document another make bug.
* doc/autoconf.texi (The Make Macro SHELL): Mention bug in BSD
make, GNU make <= 3.80.
Tweak wording about SHELL in Makefile.
* doc/autoconf.texi (The Make Macro SHELL): Stronger wording on
the importance of proper SHELL settings.
Reported by Bruno Haible, in
http://lists.gnu.org/archive/html/bug-libtool/2008-04/msg00029.html.
2008-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Avoid timestamp races for updated input.
* tests/m4sh.at (AS_IF and AS_CASE): Use `autom4te --force' for
second script.
* tests/tools.at (autotools and whitespace in file names): Add
--force for repeated invocations.
2008-08-20 Bruno Haible <bruno@clisp.org>
Add section to INSTALL about particular systems.
* doc/install.texi (Particular systems): New node.
* doc/autoconf.texi: Adjust menus.
2008-08-19 Bruno Haible <bruno@clisp.org>
and Peter O'Gorman <peter@pogma.com>
Mention universal binaries in INSTALL.
* doc/install.texi (Compiling For Multiple Architectures): Explain
how to create universal binaries on MacOS X.
2008-08-19 Jim Meyering <jim@meyering.net>
Eric Blake <ebb9@byu.net>
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Avoid shell parse errors after interrupt due to empty ``.
* doc/autoconf.texi (Shell Substitutions): Document the issue.
* lib/m4sugar/m4sh.m4 (AS_VAR_IF): New function.
* lib/autoconf/functions.m4 (AC_CHECK_FUNC): Use it in place of
"test AS_VAR_GET([...]) = yes"
* lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL): Likewise.
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Likewise.
(_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD): Likewise.
(_AC_CHECK_HEADER_DIRENT): Likewise.
* lib/autoconf/libs.m4 (AC_CHECK_LIB): Likewise.
* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER): Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use
temporary variable to work around the issue.
* tests/foreign.at (Libtool): Quote result of command
substitution.
2008-08-18 Eric Blake <ebb9@byu.net>
Test m4_transform without tickling shell bugs.
* tests/m4sh.at (AS@&t@_IF and AS@&t@_CASE): Relax test to
something more manageable.
* tests/m4sugar.at (recursion): Move stress test of
m4_transform_pair here.
Reported by Ralf Wildenhues.
Let 'git diff' give better context for doc updates.
* .gitattributes (*.texi*): Add new entry.
* README-hacking: Mention how to use it.
Inspired by a coreutils patch by Jim Meyering.
2008-08-15 Eric Blake <ebb9@byu.net>
Fix m4_map regression from 2007-10-16.
* lib/m4sugar/m4sugar.m4 (_m4_apply): New macro.
(m4_map): Ignore empty sublists. For a list consisting of only an
empty sublist, this restores 2.61 behavior of being a no-op.
(m4_map_sep): Likewise, and expand separator.
(m4_mapall, m4_mapall_sep): New macros, to regain 2.62 behavior.
(_m4_map): Rewrite, to be common base for all four variants.
* lib/m4sugar/foreach.m4 (_m4_map): Adjust to new prototype.
* tests/m4sugar.at (m4@&t@_map): Add tests.
* doc/autoconf.texi (Looping constructs) <m4_map>: Document new
macros, and mention ramifications of expanded separator.
* NEWS: Mention the change.
2008-08-14 Eric Blake <ebb9@byu.net>
Implement m4_transform_pair, to speed up AS_IF.
* lib/m4sugar/m4sugar.m4 (m4_transform, m4_transform_pair): New
macros, undocumented for now.
* lib/m4sugar/foreach.m4 (m4_transform, m4_transform_pair): Also
the m4 1.4.x counterparts.
* lib/m4sugar/m4sh.m4 (AS_IF, AS_CASE): Use it.
* tests/m4sh.at (AS@&t@_IF and AS@&t@_CASE): Test it.
2008-08-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/programs.m4 (AC_PATH_TARGET_TOOL)
(AC_CHECK_TARGET_TOOL, AC_CHECK_TARGET_TOOLS): Require, do not
warn about previous AC_CANONICAL_TARGET.
(AC_CHECK_TARGET_TOOL): Add missing `$' making the macro
unusable in the non-cross-compiling case.
* NEWS, THANKS: Update.
Report by Dave Erickson.
2008-08-12 Eric Blake <ebb9@byu.net>
Optimize m4_bmatch.
* lib/m4sugar/foreach.m4 (m4_bmatch): Provide linear
implementation for m4 1.4.x.
* tests/m4sugar.at (m4@&t@_bmatch): New test.
(recursion): Test the linear nature.
* NEWS: Document the fix.
Fix m4_cond corner case.
* lib/m4sugar/foreach.m4 (_m4_cond): Ensure alternate
implementation allows concatenation with subsequent text.
* tests/m4sugar.at (m4@&t@_cond): Enhance test.
Add test for m4_cond.
* tests/m4sugar.at (m4@&t@_cond): New test.
Reported by Ralf Wildenhues.
2008-08-06 Eric Blake <ebb9@byu.net>
Fix autoheader 2.62 regression on AC_DEFINE([__EXTENSIONS__]).
* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Use a
unique key for the AH_VERBATIM.
* tests/c.at (AC_USE_SYSTEM_EXTENSIONS): New test.
* NEWS: Mention the fix.
Reported by Andreas Schwab, analyzed by Stepan Kasal.
Add linear m4_cond for m4 1.4.x.
* lib/m4sugar/m4sugar.m4 (m4_cond): Split into...
(_m4_cond): ...this, for fewer macros per iteration.
* lib/m4sugar/foreach.m4 (_m4_cond): New implementation.
* tests/m4sugar.at (recursion): Test it.
* NEWS: Document the linear guarantee.
Speed up diversion handling.
* lib/m4sugar/m4sugar.m4 (m4_divert, m4_divert_push)
(m4_divert_pop, m4_divert_text): Avoid dnl for fewer macro
expansions.
AC_C_CHAR_UNSIGNED is not strictly necessary.
* doc/autoconf.texi (C Compiler) <AC_C_CHAR_UNSIGNED>: Mention a
portable alternative to this macro.
* THANKS: Update.
Reported by Hallvard B Furuseth.
Update some files from upstream.
* GNUmakefile: Update.
* build-aux/announce-gen: Likewise.
* build-aux/config.guess: Likewise.
* build-aux/config.sub: Likewise.
* build-aux/git-version-gen: Likewise.
* build-aux/texinfo.tex: Likewise.
* build-aux/vc-list-files: Likewise.
* doc/make-stds.texi: Likewise.
* doc/standards.texi: Likewise.
2008-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix AC_CONFIG_FILES([$var]) 2.62 regression.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Flatten
whitespace in $ac_config_files and $ac_config_headers.
* tests/torture.at (Parameterized AC_CONFIG_FILES): New test.
Report by Andreas Schwab and Per Øyvind Karlsen.
* THANKS: Update.
2008-07-30 Eric Blake <ebb9@byu.net>
Fix bugs in previous version of m4_bpatsubsts.
* lib/m4sugar/foreach.m4 (_m4_bpatsubsts): Don't expand $1, and
allow concatenation with subsequent text.
* tests/m4sugar.at (m4@&t@_bpatsubsts): Enhance test.
2008-07-29 Eric Blake <ebb9@byu.net>
Add linear m4_bpatsubsts for m4 1.4.x.
* lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Match documentation
about anchors, even for only one substitution.
* lib/m4sugar/foreach.m4 (_m4_bpatsubsts): New implementation.
* doc/autoconf.texi (Conditional constructs) <m4_bpatsubsts>:
Clarify behavior with regard to quoting.
* tests/m4sugar.at (recursion): Test scaling of m4_bpatsubsts.
(m4@&t@_bpatsubsts): New test.
* NEWS: Document the linear guarantee.
Tweak m4_do semantics.
* lib/m4sugar/m4sugar.m4 (m4_do): Don't concat final argument with
subsequent text.
* lib/m4sugar/foreach.m4 (m4_do): Don't concat intermediate
arguments, and avoid infinite loop.
* doc/autoconf.texi (Evaluation Macros) <m4_do>: Document the
behavior.
* tests/m4sugar.at (m4@&t@_do): New test.
Optimize m4_for.
* lib/m4sugar/m4sugar.m4 (m4_for): Use fewer macros.
(_m4_for): Take additional parameter, for fewer m4_indir calls.
* lib/m4sugar/foreach.m4 (_m4_foreach, _m4_shiftn, m4_do)
(m4_reverse, _m4_list_pad, _m4_list_cmp): Adjust all callers.
* doc/autoconf.texi (Looping constructs) <m4_for>: Document subtle
semantic change caused by the optimization.
* tests/m4sugar.at (M4 loops): Test the new semantics.
One more m4_list_cmp tweak.
* lib/m4sugar/m4sugar.m4 (_m4_list_cmp_1): Don't defer shift.
* lib/m4sugar/foreach.m4 (m4_list_cmp): Fix comment.
* tests/m4sugar.at (recursion): Test both directions of list
disparity.
Add m4_reverse, and improve m4_list_cmp.
* lib/m4sugar/m4sugar.m4 (m4_reverse): New macro.
(m4_list_cmp): Rewrite to give linear behavior with M4 1.6 on an
m4_reverse'd list.
* lib/m4sugar/foreach.m4 (m4_reverse): Add the M4 1.4.x
counterpart.
* tests/m4sugar.at (recursion): Test it.
* doc/autoconf.texi (Evaluation Macros) <m4_reverse>: Document
it.
(Text processing Macros) <m4_append>: Cross-reference to m4_set.
* NEWS: Mention new macro.
2008-07-28 Eric Blake <ebb9@byu.net>
Avoid _m4_shiftn for m4 1.6 speedup.
* lib/m4sugar/m4sugar.m4 (m4_foreach, _m4_foreach, m4_map)
(_m4_map, m4_map_sep): Rewrite recursion to use one less m4_if.
* lib/m4sugar/foreach.m4 (_m4_map): Accomodate changed signature.
Implement O(n) unique element set creation.
* lib/m4sugar/m4sugar.m4 (m4_set_add, m4_set_add_all)
(m4_set_contains, m4_set_contents, m4_set_delete)
(m4_set_difference, m4_set_dump, m4_set_empty, m4_set_foreach)
(m4_set_intersection, m4_set_list, m4_set_listc, m4_set_remove)
(m4_set_size, m4_set_union): New macros.
* lib/m4sugar/foreach.m4 (m4_set_add_all): Add O(n) fallback for
m4 1.4.x.
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, AC_SUBST): Use
new m4_set API for the set most likely to be large.
* doc/autoconf.texi (Set manipulation Macros): New node.
* NEWS: Mention new macros.
* tests/m4sugar.at (m4@&t@_set): New test.
2008-07-25 Eric Blake <ebb9@byu.net>
Avoid infinite aclocal loop.
* lib/m4sugar/m4sugar.m4 (m4_init): Bypass m4_include tracing, so
that aclocal doesn't insist on finding m4sugar/foreach.m4.
Provide O(n) replacement macros for M4 1.4.x.
* lib/m4sugar/foreach.m4: New file.
(m4_foreach, m4_case, _m4_shiftn, m4_do, m4_dquote_elt, _m4_map)
(m4_join, m4_joinall, m4_list_cmp, _m4_minmax): Replace m4sugar
macros based on $@ recursion [fast on M4 1.6, but quadratic on M4
1.4.x] with versions based on m4_for/m4_foreach [slow on 1.6, but
linear on 1.4.x].
* lib/m4sugar/m4sugar.m4 (m4_init): Dynamically load new file if
older M4 is assumed.
(m4_map_sep): Optimize.
(m4_max, m4_min): Refactor, by adding...
(_m4_max, _m4_min, _m4_minmax): ...more efficient helpers.
(m4_defn, m4_popdef, m4_undefine): Use foreach recursion.
* lib/m4sugar/Makefile.am (dist_m4sugarlib_DATA): Distribute new
file.
* tests/m4sugar.at (M4 loops): Add a stress test that takes
forever if m4_foreach and friends are quadratic.
* NEWS: Mention this.
2008-07-21 Eric Blake <ebb9@byu.net>
Ignore undefined macros, necessary with m4 1.6.
* bin/autoupdate.in (_au___undefine): New macro,...
(_au__undefine): ...wrapped by ifdef to silence m4 warnings.
Reported by Ralf Wildenhues.
Resync with gnulib.
* GNUmakefile: Grab from upstream, to fix issue where 'make
install' would allow installation of stale version string.
2008-07-19 Eric Blake <ebb9@byu.net>
Support multiple arguments to m4_defn, m4_popdef, and m4_undefine.
* lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Loop
through all variables, per POSIX and newer m4.
(_m4_text_wrap): Exploit the looping capabilities.
* tests/m4sugar.at (m4@&t@_defn): Test this.
* NEWS: Document it.
* doc/autoconf.texi (Redefined M4 Macros) <m4_defn, m4_popdef>
<m4_undefine>: Likewise.
Reduce overhead of m4_builtin([defn]).
* lib/m4sugar/m4sugar.m4 (_m4_defn, _m4_popdef, _m4_undefine): New
internal macros, which are slightly more efficient than
m4_builtin([defn]) and company.
(m4_defn, m4_popdef, m4_undefine, m4_warn, m4_ifset)
(_m4_dumpdefs_up, _m4_dumpdefs_down, _m4_wrap, m4_for)
(_m4_divert_n_stack, m4_divert_pop, m4_expansion_stack_push)
(m4_expansion_stack_dump, _m4_defun_pro, _m4_defun_epi)
(_m4_defun_epi_outer, _m4_require_call, m4_combine, m4_append)
(_m4_append_uniq, m4_append_uniq_w, _m4_text_wrap, m4_text_box)
(m4_version_prereq): Use them.
Use warnings from m4 when available.
* lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Don't
define slower wrapper if m4 will warn on our behalf; key off of
__m4_version__, added alongside the new warnings in m4 1.6.
* tests/m4sugar.at (m4@&t@_defn): New test.
2008-07-18 Eric Blake <ebb9@byu.net>
Add m4_joinall.
* lib/m4sugar/m4sugar.m4 (m4_joinall, _m4_joinall): New macros.
* tests/m4sugar.at (m4@&t@_join): Test them.
* doc/autoconf.texi (Text processing Macros) <m4_join>: Document
m4_joinall.
* NEWS: Likewise.
2008-07-17 Stepan Kasal <skasal@redhat.com>
and Eric Blake <ebb9@byu.net>
Improve documentation of config.h.in template rules.
* doc/autoconf.texi (Header Templates): Mention rules on comments
and whitespace, and that the user cannot rely on #undef to survive
through config.status.
2008-07-16 Eric Blake <ebb9@byu.net>
Revert m4_prepend; it is less efficient, and unused by bison.
* lib/m4sugar/m4sugar.m4 (m4_prepend, m4_prepend_uniq)
(m4_prepend_uniq_w): Delete addition from 2008-07-11.
(_m4_grow_uniq_1): Rename back...
(_m4_append_uniq): ...to this.
* NEWS: Revert NEWS blurb.
* doc/autoconf.texi (Text processing Macros) <m4_prepend>: Delete.
* tests/m4sugar.at (m4@&t@_prepend): Delete.
2008-07-15 Eric Blake <ebb9@byu.net>
Avoid failure if version.m4 is omitted but m4_PACKAGE_* unused.
* lib/m4sugar/m4sugar.m4 (m4_version_compare): Provide alternate
definition for non-Autoconf clients of m4sugar.
2008-07-14 Eric Blake <ebb9@byu.net>
Tighten bound of potential speed of m4_append.
* doc/autoconf.texi (Text processing Macros) <m4_append>
<m4_prepend>: If m4 is fixed, m4_append can be linear rather than
O(n log n).
* lib/m4sugar/m4sugar.m4 (m4_append, m4_append_uniq): Fix comments.
Analysis by Bruno Haible.
2008-07-11 Eric Blake <ebb9@byu.net>
Inherit improvements from bison's fork of m4sugar.
* lib/m4sugar/m4sugar.m4 (m4_PACKAGE_VERSION): Ignore failure to
find version.texi, since bison does not provide it.
(m4_prepend): Add new macro, from bison.
(m4_prepend_uniq, m4_prepend_uniq_w): Add new macros, for
completeness.
(_m4_append_uniq): Rename...
(_m4_grow_uniq_1): ...to this to share implementation, and
optimize initial assignment.
(m4_append_uniq_w): Adjust caller.
* NEWS: Document new macros.
* doc/autoconf.texi (Text processing Macros) <m4_append>: Mention
speed consideration.
<m4_prepend>: Document the new prepend variants.
* tests/m4sugar.at (m4@&t@_prepend): New test.
Work around M4 1.6 warning on undefined macros.
* lib/m4sugar/m4sugar.m4 (changeword, symbols): Don't rename if
not already available as builtins.
2008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (@dvar): Remove trailing newline.
(@ovar): Likewise. Fix macro documentation.
2008-07-02 Stepan Kasal <skasal@redhat.com>
Add quotes to the header of autoscan-generated source.
* bin/autoscan.in: Add quotes to AC_PREREQ and AC_INIT.
2008-06-28 Andreas Schwab <schwab@suse.de>
* doc/autoconf.texi (autoscan Invocation): Fix spacing.
(autoconf Invocation): Likewise.
(autoreconf Invocation): Likewise.
(autoheader Invocation): Likewise.
(autom4te Invocation): Likewise.
2008-06-19 Eric Blake <ebb9@byu.net>
Add comment explaining recent patch.
* lib/autotest/general.m4 (AT_INIT) <at_pass_list>: Explain choice
of * vs. ? globbing.
2008-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not warn when not
linking a file to itself.
Report by Bruno Haible.
2008-06-19 Eric Blake <ebb9@byu.net>
Resync with gnulib.
* GNUmakefile: Grab from upstream, to fix VPATH 'make dist' bug.
Reported by Stepan Kasal.
2008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Reorganize autotest files, factorize for parallel execution.
* lib/autotest/general.m4 (AS_MESSAGE_LOG_FD): Move definition
earlier in the file.
(AT_INIT): Create line number cache in
$at_suite_dir/at-source-lines.
<at_helper_dir>: New directory at-groups below $at_suite_dir.
Add comment explaining the new directory structure.
(at_func_group_prepare, at_func_group_postprocess): New shell
functions to factorize per-test group work. Keep the actual
test execution outside of a shell function in order to avoid
zsh 4.x exit status bugs.
<at_check_line_file, at_status_file, at_stdout, at_stder1>
<at_stderr, at_test_source>: Turn these into per-group files
below $at_helper_dir. Also store test results there in files
named pass, fail, xpass, xfail, skip. Let the parent collect
results from $at_helper_dir. Adjust summary statistics
computation and result output.
2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix '#undef variable /* comment */' transform in config headers.
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): For
undefined preprocessor macros that are followed by a comment
in the header template, do not create nested comments in the
output.
* tests/torture.at (@%:@define header templates): Extend test.
* NEWS: Update.
Report by Karsten Hopp <karsten@redhat.com>.
2008-06-09 Eric Blake <ebb9@byu.net>
Mark AC_TYPE_SIGNAL as obsolete.
* lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Switch to AU_DEFUN.
* doc/autoconf.texi (Function Portability): Update documentation.
(Particular Types): Move AC_TYPE_SIGNAL...
(Obsolete Macros): ...here, and mention why.
* NEWS: Mention the change.
Allow lib64 as a default X library location.
* lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Add lib64.
* NEWS: Mention the change.
* THANKS: Update.
Reported by Brad Walker.
2008-06-05 Eric Blake <ebb9@byu.net>
Fix regression in AT_KEYWORDS([Macro]), from 2007-10-18.
* lib/autotest/general.m4 (AT_KEYWORDS): Expand argument prior to
converting it to lower case.
* tests/autotest.at (Keywords and ranges): Test this.
* NEWS: Document the fix.
* THANKS: Update.
Reported via Karsten Hopp, by Jochen Schmitt in
https://bugzilla.redhat.com/show_bug.cgi?id=449973
2008-06-03 Eric Blake <ebb9@byu.net>
Fix 'make dist' regression from 2008-05-08.
* Makefile.am (INSTALL): Add rule, to accomodate 'make dist' after
GNUmakefile's _autoconf rule removes INSTALL.
2008-05-27 Eric Blake <ebb9@byu.net>
Document Solaris /bin/sh redirection pitfall.
* doc/autoconf.texi (File Descriptors): Mention redirection bug.
2008-05-14 Eric Blake <ebb9@byu.net>
Improve documentation of ! issues.
* doc/autoconf.texi (Limitations of Builtins) <!>: Touch up.
Reported by Noah Misch.
Document some FreeBSD shell bugs.
* doc/autoconf.texi (Limitations of Builtins) <!>: Mention ! issue
in compound pipe commands.
<export>: Mention difference of exporting an undefined variable.
(Shell Functions): Mention loss of $? in entry to shell functions.
Extracted from the git mailing list.
2008-05-13 Stepan Kasal <kasal@ucw.cz>
Work around MSYS and Cygwin bugs when dealing with trailing space.
* tests/atlocal.in (func_sanitize_dir_name): Let atlocal succeed,
even when platform bugs are tickled.
Reported by Keith Marshall and Eric Blake.
2008-05-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Let AC_MSG_FAILURE report pwd.
* lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE, AC_MSG_FAILURE):
Output $ac_pwd along with fatal failure.
* tests/torture.at (Deep Package): Extend test.
Reported numerous times against GCC, and probably other packages.
2008-05-12 Eric Blake <ebb9@byu.net>
Enforce --help and --version compliance.
* configure.ac (AM_INIT_AUTOMAKE): Add std-options option.
2008-05-08 Keith Marshall <keithmarshall@users.sourceforge.net> (tiny change)
Avoid case-insensitive `make install' vs. `INSTALL' conflict.
* Makefile.am ($(srcdir)/INSTALL): Replace all references...
($(abs_srcdir)/INSTALL): ...with this.
2008-05-06 Eric Blake <ebb9@byu.net>
Fix typo.
* doc/autoconf.texi (Shell Substitutions): Drop at_ prefix.
Avoid overfull \hbox.
* doc/autoconf.texi (Versioning): Reword to fit line size.
Document $(( )) pitfalls.
* doc/autoconf.texi (Shell Substitutions): Mention octal
vs. decimal. Mention autotest's at_func_arith.
Improve behavior of './testsuite 01'.
* lib/autotest/general.m4 (AT_INIT) <at_func_validate_ranges>:
Alter usage to eval its arguments, in order to normalize away
leading zero. All callers updated.
* tests/autotest.at (Keywords and ranges): Test range
normalization with leading 0.
2008-04-26 Eric Blake <ebb9@byu.net>
Mention Solaris /usr/ucb/tr pitfall.
* doc/autoconf.texi (Limitations of Usual Tools) <tr>: Add section.
Reported by Bruno Haible and Jim Meyering.
2008-04-24 Eric Blake <ebb9@byu.net>
Mention m4sugar's internal quote strings.
* doc/autoconf.texi (Quadrigraphs): Mention alternate quote used
in m4sugar, and how to still output it literally.
* tests/m4sugar.at (m4@&t@_split): And test it.
Reported by Joel E. Denny.
2008-04-23 Eric Blake <ebb9@byu.net>
Allow unbalanced () in m4_expand.
* lib/m4sugar/m4sugar.m4 (m4_expand, _m4_expand): Use more complex
quotes.
(m4_noquote, _m4_split): Use consistent complex quote.
* tests/autotest.at (Left paren, Right paren): Test this.
(Parentheses): Ensure new quadrigraphs still work.
(AT_CHECK_AT_TITLE_CHAR): All title char tests exercise m4_expand.
* NEWS: Mention the fix.
* doc/autoconf.texi (Quadrigraphs): Revert mention of macros that
require quadrigraphs for ().
(Evaluation Macros) <m4_expand>: Relax the restriction against
unbalanced ().
(Pretty Help Strings) <AS_HELP_STRING>: Likewise.
(Writing Testsuites) <AT_SETUP>: Likewise.
Reported by Joel E. Denny, fix suggested by Noah Misch.
2008-04-22 Eric Blake <ebb9@byu.net>
Support unbalanced () in AT_SETUP by adding two new quadrigraphs.
* bin/autom4te.in (handle_output): Substitute @{:@ and @:}@.
(handle_traces): Likewise.
* lib/m4sugar/m4sugar.m4 (m4_qlen): Account for new quadrigraphs.
* tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Add new tests.
* doc/autoconf.texi (Quadrigraphs): Document them.
(Evaluation Macros) <m4_expand>: Enhance documentation.
(Text processing Macros) <m4_text_box>: Document cases where
quadrigraphs can help for problemetic unbalanced parentheses.
(Pretty Help Strings) <AS_HELP_STRING>: Likewise.
(Writing Testsuites) <AT_SETUP>: Likewise.
(Limitations of Builtins) <case>: Consolidate text on unbalanced
parentheses, and add an example of creative comments.
* NEWS: Document the addition.
Reported by Joel E. Denny.
2008-04-16 Eric Blake <ebb9@byu.net>
Document pdksh exec behavior.
* doc/autoconf.texi (Limitations of Builtins) <exec>: New
subsection.
Discovered by Jim Meyering.
2008-04-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/autotest.at (AT_CHECK_AT): Allow to pass additional
arguments to the inner suite.
(errexit, input from stdin): New tests.
2008-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* NEWS: Post-release update.
2008-04-10 Eric Blake <ebb9@byu.net>
AC_AUTOCONF_VERSION might contain arbitrary macro names.
* doc/autoconf.texi (Versioning): Mention problem with expansion.
* tests/tools.at (autoconf: AC_AUTOCONF_VERSION): Adjust test.
2008-04-09 Slava Sysoltsev <Viatcheslav.Sysoltsev@h-d-gmbh.de> (tiny change)
Flush buffered output before exit.
* bin/autom4te.in (handle_output): Explicitly close file.
* THANKS: Update.
See http://lists.gnu.org/archive/html/autoconf/2008-04/msg00026.html.
2008-04-08 Eric Blake <ebb9@byu.net>
Generate web docs for 2.62.
* doc/autoconf.texi (Evaluation Macros): Fix typo.
(Notices): Use recommended means to escape RCS keyword.
* cfg.mk (gnulib_dir): New macro.
(web-manual): New target.
2008-04-05 Eric Blake <ebb9@byu.net>
Release Version 2.62.
* NEWS: Mention the release.
2008-04-04 Stepan Kasal <kasal@ucw.cz>
and Eric Blake <ebb9@byu.net>
Return back to GPLv2+, until the text of the exceptions is
finalized, reverting the change from 2007-07-03 and the first
part of the change from 2007-07-20.
* COPYING: Revert to GPLv2.
* COPYINGv3: New file, since some auxiliary build tools, used for
building autoconf and not installed, are GPLv3.
* Makefile.am (EXTRA_DIST): Distribute COPYINGv3.
* NEWS: Remove mention of GPLv3.
* README: Clarify situation regarding GPLv3.
2008-04-05 Eric Blake <ebb9@byu.net>
Prepare for release.
* maint.mk (announcement): Avoid deleted option.
* cfg.mk (release_archive_dir): Use default.
* build-aux/gnupload: New file, from automake/gnulib.
* Makefile.am (EXTRA_DIST): Distribute it.
* .x-sc_two_space_separator_in_usage: New file, to exempt gnupload
from syntax check.
2008-04-05 Jim Meyering <meyering@redhat.com>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Work around CR EOL markers on OS/2 (www.ecomstation.com Ecs v2 rc4)
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When CR
is the EOL marker, skip a step that would remove and translate
carriage return bytes.
* THANKS: Update.
Reported by Elbert Pol.
2008-04-05 Eric Blake <ebb9@byu.net>
Avoid some autoreconf -Wall warnings.
* configure.ac: Use proper quoting, to be a good example.
(PACKAGE_NAME): Remove setting covered by autoconf.
(AM_INIT_AUTOMAKE): Bump automake requirement, for html rules.
* doc/Makefile.am (TEXI2DVI): Remove settings covered by
automake.
(html, autoconf_1.html, standards_1.html): Likewise.
(TEXI2HTML, TEXI2HTML_FLAGS): Remove unused macros.
* Makefile.am (html): Likewise.
* doc/autoconf.texi (Quoting and Parameters): Add missing section
name.
* tests/Makefile.am (AUTOMAKE_OPTIONS): Intentionally ignore
warning about our override, until Automake is fixed.
* README-hacking: Document minimum requirements for bootstrap.
2008-04-03 Eric Blake <ebb9@byu.net>
Fix version number generation in man pages.
* Makefile.am (EXTRA_DIST): Distribute .version.
(.version): New rule.
* man/Makefile.am (common_dep): Depend on .version, not
configure.ac.
(.x.1): Use package name for version string.
* GNUmakefile [!_have-Makefile]: Sync from upstream, again.
* build-aux/git-version-gen: Sync from upstream.
More maintainer tweaks: pass 'make maintainer-distcheck'.
* GNUmakefile (_is-dist-target): Sync from upstream.
* build-aux/vc-list-files: Sync from upstream, yet again.
* tests/atlocal.in (unsupported_fs_chars): Always remove tdir.
* tests/Makefile.am (EXTRA_DIST): Don't distribute the built
package.m4.
* lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Bump year.
Fix VPATH 'make syntax-check'.
* maint.mk (VC_LIST, VC_LIST_EXCEPT, sc_changelog)
(sc_prohibit_jm_in_m4, makefile-check): Support VPATH.
(author_mark_check): Avoid error message.
* build-aux/vc-list-files: Sync from upstream again.
* build-aux/texinfo.tex: Likewise.
Sync files from upstream, and pass 'make syntax-check'.
* config/announce-gen: Move...
* build-aux/announce-gen: ...here, and sync from gnulib.
* Makefile.am (EXTRA_DIST): Adjust accordingly.
* cfg.mk (announce_gen): Likewise.
(prev_version_file): Delete, relying on default in maint.mk.
(gpg_key_ID): New macro.
(url_dir_list): Rewrite to match coreutils.
* config/prev-version.txt: Move...
* .prev-version: ...here, and adjust to 2.61.
* build-aux/vc-list-files: Sync from coreutils.
* maint.mk: Resynchronize with coreutils, where possible.
(ME): Remove $(srcdir) from definition.
(CVS): Delete.
(GIT, VC, VC-tag): New macros.
(CVS_LIST, CVS_LIST_EXCEPT): Rename...
(VC_LIST, VC_LIST_EXCEPT): ...to this.
(cvs-tag-check): Delete.
(cvs-diff-check): Rename...
(vc-diff-check): ...to this.
(sc_file_system): Allow FHS acronym.
* doc/autoconf.texi (Particular Functions): Recommend
unconditional <config.h>.
* build-aux/config.guess: Sync from upstream (manually).
* build-aux/config.sub: Likewise.
* build-aux/texinfo.tex: Likewise.
* doc/make-stds.texi: Likewise.
* doc/standards.texi: Likewise.
* .gitattributes: Ignore whitespace problems in upstream files.
2008-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Limitations of Usual Tools): Mention awk %u
bug on HP-UX/IA.
Report by Peter O'Gorman.
2008-04-02 Eric Blake <ebb9@byu.net>
Recommend the just-released M4 1.4.11.
* NEWS: Update recommendation.
* README: Likewise.
* doc/autoconf.texi (Introduction): Likewise.
* m4/m4.m4 (AC_PROG_GNU_M4): Likewise.
2008-04-01 Eric Blake <ebb9@byu.net>
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Bump
copyright year.
2008-03-28 Peter O'Gorman <peter@pogma.com>
Find X11 on Mac OS X too.
* lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT,_AC_PATH_X_XMKMF):
Check for libX11 with extensions dylib la and dll too.
* THANKS: Update.
Reported by Martin Costabel.
2008-03-28 Eric Blake <ebb9@byu.net>
Update TODO based on completed tasks.
* TODO (AC_PROG_INSTALL takes multiple files): Done.
(AC_GNU_SOURCE deprecation): Done, see AC_USE_SYSTEM_EXTENSIONS.
(AC_COMPILE_IFELSE documentation): Done.
(Tracing builtins): Done, now that we require M4 1.4.5.
(AC_PROG_CC_POSIX suggestion, providing header files)
(AC_TYPE_SIGNAL): Not needed; gnulib's approach is better.
(cache consistency): Done with precious variables.
2008-03-26 Eric Blake <ebb9@byu.net>
Document --trace=macro:format in --help output.
* bin/autom4te.in (help): Mention optional trace format.
* bin/autoconf.as (usage): Likewise.
* doc/autoconf.texi (Limitations of Usual Tools) <sed>: Fix
typos in last patch.
Reported by Ralf Wildenhues.
2008-03-26 Jim Meyering <meyering@redhat.com>
Fix texinfo syntax error.
* doc/autoconf.texi (Limitations of Usual Tools): s/@kbd {/@kbd{/
2008-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Warn, not fail on whitespace-only precious variable differences.
* lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Output
precious variable differences less ambiguous with `ugly-quotes'.
If their settings differ only in whitespace, do not fail, but
reuse the old value.
* tests/torture.at (AT_CHECK_AC_ARG_VAR): Extend macro to allow
an optional status and expected-warning argument. Fix m4
quotation for initial value.
(AC_ARG_VAR): Also test for whitespace-only differences, and
that the old value is retained in this case.
* doc/autoconf.texi (Setting Output Variables): Document this.
* NEWS: Update.
Report and initial patch by Paolo Bonzini.
2008-03-26 Eric Blake <ebb9@byu.net>
Document busybox sed bug.
* doc/autoconf.texi (Limitations of Usual Tools) <sed>: Mention
restrictions when using back-references.
Reported by Vincent Lefevre:
<http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/13013>.
Document Automake interaction with AC_CONFIG_MACRO_DIR.
* doc/autoconf.texi (Input): Mention ACLOCAL_AMFLAGS for automake
users.
* THANKS: Update.
Reported by Chris Pickett.
2008-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/autotest.at (Using atlocal): Quote instances of `pwd`.
* tests/local.at (AT_CHECK_M4): Factorize warning output
normalization.
Suggested by Eric Blake.
2008-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix .exe-related test failure on MinGW.
* tests/local.at (AT_CHECK_M4): Normalize `/bin/m4.exe' correctly
for comparing warning output.
Fix Fortran testsuite failures with gfortran 4.3.
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): When scanning
verbose compiler output, skip lines that set variables; gfortran
4.3 sets LIBRARY_PATH, COMPILER_PATH, COLLECT_GCC_OPTIONS.
* THANKS: Update.
Report by Vincent Lefèvre.
2008-03-21 Eric Blake <ebb9@byu.net>
* GNUmakefile: Resynchronize with gnulib.
Document more uses of $cross_compiling.
* doc/autoconf.texi (Runtime): Document that a temporary override
is permissible.
* THANKS: Update.
Reported by Ineiev, example by Ralf Wildenhues.
Don't swallow $1 in textual local variables.
* lib/m4sugar/m4sugar.m4 (m4_combine): Don't use overquoting and
expansion of text arguments, as that swallows $1.
(m4_text_wrap): Likewise, by splitting out...
(_m4_text_wrap): ...new helper macro. Also, allow arbitrary
expression for width.
* tests/m4sugar.at (m4@&t@_text_wrap): Test this.
(m4@&t@_combine): Likewise.
2008-03-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Avoid leftover files on Leopard.
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove a.out.dSYM
directory created on darwin.
(AC_NO_EXECUTABLES): Likewise; also remove objects which may be
left over from a broken link.
* tests/c.at (AC_NO_EXECUTABLES (working linker))
(AC_NO_EXECUTABLES (broken linker)): New tests.
Report by Gary V. Vaughan.
* lib/autom4te.in (Automake-preselections): Trace
_AM_COND_IF, _AM_COND_ELSE, _AM_COND_ENDIF.
2008-03-20 Eric Blake <ebb9@byu.net>
Kill more CVS references.
* README-cvs: Delete. See README-hacking instead.
* README-hacking: Update wording, based on older file.
* BUGS: Remove CVS mention.
2008-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/tools.at (autotools and whitespace in file names): Skip
if aclocal is not present.
2008-03-20 Eric Blake <ebb9@byu.net>
Sync GNUmakefile with gnulib.
* GNUmakefile (Makefile.cfg): Rename...
(cfg.mk): ...to this, and make optional.
(GNUmakefile.cfg): Delete, redundant with cfg.mk.
(Makefile.maint): Rename...
(maint.mk): ...to this.
(all) [!_have-Makefile]: Rename...
(abort-due-to-no-makefile): ...to this, and invoke via
.DEFAULT_GOAL to pick up all targets.
* Makefile.cfg: Rename...
* cfg.mk: ...to this.
* Makefile.maint: Rename...
* maint.mk ...to this.
(ME): Reflect name change.
(makefile-check, m4-check, author_mark_check, msg): Use $(ME)
rather than hard-coded name.
* GNUmakefile.cfg: Delete; move rules into cfg.mk.
* Makefile.am (EXTRA_DIST): Reflect file name changes.
* .x-sc_prohibit_atoi_atof: Likewise.
* lib/freeze.mk: Likewise.
2008-03-19 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Introduction): Improve the paraphrase of
Henry Spencer's quotation.
2008-03-19 Eric Blake <ebb9@byu.net>
AC_CONFIG_HEADERS replaced AC_CONFIG_HEADER.
* bin/autoscan.in (output): Avoid obsolete spelling.
* tests/local.at (AC_STATE_SAVE): Update usage.
* THANKS: Update.
Reported by John Calcote.
Emphasize that ease of configure triumphs over ease of autoconf.
* doc/autoconf.texi (Introduction): Expand on primary
vs. secondary goal of autoconf.
* THANKS: Update.
Inspired by Paul Smith.
2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/Autom4te/FileUtils.pm (handle_exec_errors): New argument
$hint, show if the executing program does not exist.
(xsystem_hint): New function, like xsystem but allows to pass
a hint.
* bin/autoreconf.in: Use xsystem_hint for spawning autopoint and
libtoolize.
Report by Bruce Korb.
2008-03-14 Stepan Kasal <kasal@ucw.cz>
* lib/Autom4te/ChannelDefs.pm, tests/fortran.at,
tests/mktests.sh, tests/wrapper.as: Fix typos.
2008-03-12 Eric Blake <ebb9@byu.net>
Fix yesterday's regression in m4_wrap([$1]).
* lib/m4sugar/m4sugar.m4 (_m4_wrap): Don't directly invoke wrapped
text, since it may contain text that looks like parameters.
* tests/m4sh.at (AS@&t@_INIT cleanup): Enhance test.
2008-03-11 Eric Blake <ebb9@byu.net>
Improve error messages for common testsuite bugs.
* lib/autotest/general.m4 (_AT_DEFINE_INIT, _AT_DEFINE_SETUP): New
macros for defining order-enforced macros.
(AT_INIT, AT_SETUP, AT_CLEANUP, AT_BANNER, AT_XFAIL_IF)
(AT_CAPTURE_FILE, AT_DATA, AT_CHECK, AT_CHECK_NOESCAPE): Add error
messages when order violations are detected.
* tests/autotest.at (AT_CHECK_AT_SYNTAX): New helper macro.
(AT_SETUP without AT_INIT, AT_BANNER without AT_INIT)
(AT_CLEANUP without AT_INIT, Missing AT_CLEANUP)
(AT_CHECK without AT_SETUP, AT_DATA without AT_SETUP)
(AT_XFAIL_IF without AT_DATA, AT_KEYWORDS without AT_SETUP,
(AT_CLEANUP without AT_SETUP, AT_BANNER inside AT_SETUP)
(AT_SETUP inside AT_SETUP, Multiple AT_INIT)
(Banner-only test suite): New tests.
Reported by Christopher Hulbert.
Tweak m4_wrap to force FIFO or LIFO semantics.
* lib/m4sugar/m4sugar.m4 (m4_wrap): Override M4 implementation.
(m4_wrap_lifo, _m4_wrap): New macros.
* lib/m4sugar/m4sh.m4 (AS_INIT): Combine all cleanup into known
order, prior to m4sugar's.
(_AS_DETECT_BETTER_SHELL): Use cleanup parameter, rather than
m4_wrap.
* lib/autotest/general.m4 (AT_INIT): Combine all cleanup into
known order, prior to m4sh's.
* doc/autoconf.texi (Diagnostic Macros) <m4_fatal>: Document
argument.
(Redefined M4 Macros) <m4_wrap>: Rewrite documentation to match
new behavior.
* tests/m4sh.at (AS_INIT cleanup): New test.
* NEWS: Document the change.
2008-03-10 Eric Blake <ebb9@byu.net>
Encode nested autotest data.
* tests/autotest.at (AT_CHECK_AT_PREP): Avoid raw AT_ in output.
(unusual file names): Likewise.
(m4_pattern_allow): Remove loophole, to make it easier to catch
poorly written tests.
Factor some autotest tests.
* tests/autotest.at (AT_CHECK_AT_PREP): New macro, to factor out
common initialization.
(AT_CHECK_AT, Banners, Keywords and ranges, srcdir propagation)
(whitespace in absolute testdir, unusual file names): Use it.
2008-03-06 Eric Blake <ebb9@byu.net>
Minor documentation fix.
* doc/autoconf.texi (Evaluation Macros): Fix typo.
2008-03-04 Eric Blake <ebb9@byu.net>
Make AT_CHECK act like a simple command.
* lib/autotest/general.m4 (_AT_CHECK): Wrap commands in {;}.
* tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Test it.
2008-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
On MinGW, substitution of CR and 0xFF fails.
* tests/torture.at (Substitute and define special characters):
MinGW awk cannot handle 0xFF, and on MinGW, the test does the
wrong thing for CR.
2008-03-04 Eric Blake <ebb9@byu.net>
Pull in recent maintainer improvements from coreutils.
* GNUmakefile (_is-dist-target): 'make distclean' should not
trigger autoreconf.
(_dummy): Change directories before removing autom4te.cache.
(check dist distcheck install) [!_have-Makefile]: Provide nicer
diagnostics.
* configure.ac (AC_CONFIG_LINKS): Copy GNUmakefile into VPATH
builds, after initial bootstrap.
* Makefile.am (distclean-local): Work around current automake bug.
* Makefile.maint (ME): Allow VPATH usage.
Use git-merge-changelog when available.
* .gitattributes: New file.
* README-hacking: Document use of git-merge-changelog.
Work around cygwin bug.
* tests/atlocal.in (unsupported_fs_chars): Avoid cygwin bug where
"touch 't\'" creates regular file 't'.
Ignore tests that require read-only directories under root.
* tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Skip
no-write portion if user has root-like privileges.
2008-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autotest/general.m4 (AT_INIT): Fix detection of '-C -'.
2008-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
autoreconf -m now honors $MAKE.
* bin/autoreconf.in ($run_make): Renamed from ...
($make): ... this. Use now as command to run `make',
overridden by $MAKE. Document this in --help output.
* doc/autoconf.texi (autoreconf Invocation): Document
all environment variables honored by autoreconf.
* NEWS: Update.
Report by Paul Eggert.
2008-03-03 Eric Blake <ebb9@byu.net>
Documentation improvements.
* doc/autoconf.texi (Looping constructs): s/recurses/repeats/.
(Evaluation Macros): Drop `1' suffix from metasyntax variable name
that preceeds @dots. Improve wording.
(Text processing Macros): Drop `1' suffix from metasyntax variable
name that preceeds @dots.
(Number processing Macros): Drop `1' suffix from metasyntax
variable name that preceeds @dots. Improve wording.
* lib/m4sugar/m4sugar.m4 (m4_cmp): Comment wording fix.
Suggested by Ralf Wildenhues.
2008-03-02 Jim Meyering <meyering@redhat.com>
Don't infloop upon "make dist".
* GNUmakefile: Merge from coreutils.
* Makefile.am (dist-hook): Inject .tarball-version into tarball,
not .version.
* configure.ac (AC_INIT): Use .tarball-version, not .version.
* build-aux/git-version-gen: Update from gnulib.
2008-03-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
Before using /dev/full, check that it is a writable character
special device.
Report by Benoit Sigoure and Eric Blake.
Actually test that @configure_input@ is expanded correctly.
* tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
Actually check generated file contents for the name of the
generated file, using AC_PROG_FGREP and $FGREP.
2008-03-01 Benoit Sigoure <tsuna@lrde.epita.fr>
Be nice with file systems that don't handle unusual characters.
* tests/atlocal.in (func_sanitize_file_name)
(func_sanitize_dir_name): New shell functions.
* tests/tools.at (autom4te and whitespace in file names)
(autotools and whitespace in file names): Use them.
* tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
Cover more potentially problemtic file names. Use the new
functions.
Properly handle funny file names for headers in config.status.
The test suite did not cover this bug because the code was not
quoting properly the arguments of `rm -f' (which "fails" silently)
as well as the arguments of `diff' (whose output was redirected to
/dev/null so we couldn't see its error message).
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Properly quote the
file names passed to `rm' and `diff'.
* tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
Add a regression test.
2008-03-01 Benoit Sigoure <tsuna@lrde.epita.fr>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Properly expand @configure_input@ in config.status.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_MAIN_LOOP):
Escape the backslashes and ampersands in $configure_input before
using it in the sed replacement string to expand @configure_input@.
Report by Eric Blake and Patrick Welche.
2008-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ignore errors from ./run on w32.
* tests/autotest.at (whitespace in absolute testdir):
Ignore stderr for `./run' which fails to remove the
busy test directory on w32.
2008-02-22 Eric Blake <ebb9@byu.net>
Improve documentation for writing autotest suites.
* doc/autoconf.texi (Writing Testsuites) <AT_CHECK>: Mention that
checks must live inside a test group.
Reported by Christopher Hulbert.
2008-02-21 Eric Blake <ebb9@byu.net>
Sync git-version-gen from upstream.
* build-aux/git-version-gen: Pull from gnulib.
* configure.ac (AC_INIT): Adjust to new calling convention.
2008-02-12 Eric Blake <ebb9@byu.net>
Avoid trailing space in config.h with AC_DEFINE([var], []).
* lib/autoconf/general.m4 (_AC_DEFINE_Q): Explicitly mark empty
defines with a comment.
2008-02-08 Eric Blake <ebb9@byu.net>
Fix texinfo typos in previous patch.
* doc/autoconf.texi (Site Defaults): s/[{}]/@&/g.
Reported by Ralf Wildenhues.
Describe a config.site that can be used for FHS compliance.
* doc/autoconf.texi (Site Defaults): Fix typo. Add new example
for FHS.
* THANKS: Update.
Reported by Jules Colding and Ralf Wildenhues.
2008-02-02 Eric Blake <ebb9@byu.net>
* doc/autoconf.texi (Limitations of Usual Tools) <grep>: Fix typo.
2008-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autotest/general.m4 (AT_INIT): Fix --clean to work
again, broken since introduction of `-C dir'.
* tests/autotest.at (Choosing where testsuite is run): Test it.
2008-01-30 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi: Update Back-Cover text to reflect new GNU wording.
2008-01-29 Eric Blake <ebb9@byu.net>
Fix more autotest regressions.
* lib/autotest/general.m4 (AT_LINE): Fix regression from
2007-10-04 when file name is `dnl'.
(AT_INIT) <PREPARE_TESTS>: Move command-line assignments...
<TESTS_BEGIN>: ...to this new diversion, to fix regression from
yesterday in libtool's testsuite.
(_AT_ARG_OPTION): Detect write failure.
* doc/autoconf.texi (Diversion support): Document PREPARE_TESTS to
make libtool's use kosher. Document m4_init.
(Programming in M4sh): Document AS_INIT.
(Writing Testsuites): Document limitation of AT_DATA file name.
* tests/autotest.at (unusual file names): New test.
(Banners, Keywords and ranges): Use correct shell.
More corner cases in testsuite VAR=VALUE handling.
* lib/autotest/general.m4 (AT_INIT) <PREPARE_TESTS): Fix quoting
bug.
<PARSE_ARGS_END>: Also detect leading digits in assignments.
* tests/autotest.at (Using atlocal): Enhance test to catch last
bug.
* doc/autoconf.texi (Limitations of Builtins) <.>: Mention bash
bug.
2008-01-28 Eric Blake <ebb9@byu.net>
Fix regression in handling VAR=VALUE arguments to testsuite.
* lib/autotest/general.m4 (AT_INIT) <PARSE_ARGS_END>: Detect
leading = as invalid. Defer use of command-line variable
assignments...
<PREPARE_TESTS>: ...here, after atconfig has been sourced. Fix
regression in sourcing files.
* tests/autotest.at (Using atlocal): New test to catch this.
(Debugging a successful test, Choosing where testsuite is run):
Use correct shell.
Reported by Ralf Wildenhues.
Document grep peculiarity.
* doc/autoconf.texi (Limitations of Usual Tools) <grep>: Document
BSD behavior on binary input.
Minor testsuite improvements.
* lib/autotest/general.m4 (AT_INIT) <PREPARE_TESTS>: Use fewer
forks when sanitizing PATH. Always output machine information,
not just when atconfig was located.
Add 'testsuite -C dir'.
* lib/autotest/general.m4 (_AT_ARG_OPTION): Move missing argument
detection...
(AT_INIT) <PARSE_ARGS_END>: ...here, since -k always takes
argument.
<DEFAULTS>: Delay computation of variables based on $at_dir...
<PREPARE_TESTS>: ...to here, since -C can change $at_dir.
<TESTS>: Re-invoke via absolute name, since -C may be in effect.
<PARSE_ARGS>: Parse new option.
<HELP_TUNING>: Document it.
* tests/autotest.at (Choosing where testsuite is run): New test
for this feature.
(Keywords and ranges): Add test for missing -k argument.
* NEWS: Document this.
* doc/autoconf.texi (testsuite Invocation): Likewise.
2008-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* build-aux/config.guess, build-aux/config.sub,
build-aux/texinfo.tex: Sync from gnulib.
* doc/fdl.texi, doc/make-stds.texi, doc/standards.texi:
Likewise.
2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Particular Programs): Do not mention the
Autoconf version in which the AC_PROG_INSTALL change was done.
Suggested by Paul Eggert.
2008-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix --help=recursive with multiple AC_CONFIG_SUBDIRS.
* lib/autoconf/general.m4 (_AC_INIT_HELP): If, for recursive help
mode, we change to the source directory, also set $ac_pwd so we
do not go back to the build tree for the next config subdir.
* tests/torture.at (Deep Package): Extend test to contain two
config subdirs on the top level.
Fix parallel `maintainer-check'.
* Makefile.am (maintainer-check-tests): Depend on `all'.
Use `$(MAKE) $(AM_MAKEFLAGS)' instead of plain `make'.
* tests/Makefile.am (maintainer-check-c++, maintainer-check-posix):
Likewise.
(maintainer-check): Serialize the testsuite runs.
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE2): Accept `+'
in feature string for --enable/--with. Convert to underscore
for variable name.
* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Require that
`install -c file1 file2 dir' works.
* doc/autoconf.texi (Particular Programs): Document this.
* NEWS: Update.
2008-01-21 Eric Blake <ebb9@byu.net>
Improve documentation about default include directives.
* doc/autoconf.texi (Generic Headers, Generic Declarations)
(Generic Structures, Generic Types)
(Generic Compiler Characteristics): Add links to
AC_INCLUDES_DEFAULT.
Reported by Reuben Thomas.
2008-01-15 Eric Blake <ebb9@byu.net>
* lib/m4sugar/m4sugar.m4 (m4_qlen): Use fewer macros.
2008-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/Makefile.am (noinst_SCRIPTS): Renamed from
check_SCRIPTS. Building the wrappers for `all' allows help2man
to use them for the manpages.
Report by Benoit Sigoure.
* bin/autoreconf.in: Discard stderr for $autoconf/$aclocal --help.
2007-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix some write failure cases in Autotest.
* lib/autotest/general.m4 (AT_INIT): Do not exit successfully
upon write failures for --help, --version, --list.
Guard against write failures for intermediate created scripts.
<at_func_create_debugging_script>: Do not make the debugging
script executable if it is not complete.
2007-12-12 Eric Blake <ebb9@byu.net>
Fix thinko in earlier patch - m4_join isn't defined yet.
* lib/m4sugar/m4sugar.m4 (m4_expansion_stack_push, _m4_defun_pro)
(_m4_defun_pro_outer, _m4_defun_epi, _m4_defun_epi_outer)
(m4_require): Use m4_do, not m4_join.
Fix some whitespace tests on cygwin.
* tests/tools.at (autom4te and whitespace in file names): Restore
font-lock. Create $TMPDIR before it might be used.
Fix spurious testsuite failure with M4 1.4.11.
* tests/local.at (AT_CHECK_M4): Cater to new m4 error message.
Optimize AC_REQUIRE.
* lib/m4sugar/m4sugar.m4 (m4_expansion_stack_push, _m4_defun_pro)
(_m4_defun_pro_outer, _m4_defun_epi, _m4_defun_epi_outer)
(m4_require): Avoid extra macro calls.
2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/torture.at (srcdir): Fix quoting.
Do not pass top_srcdir to configure scripts in testsuite.
* tests/autotest.at (srcdir propagation): Copy install-sh to
source tree.
(my only test): Drop setting of `top_srcdir'.
* tests/base.at (Input/Output): Likewise.
* tests/local.at (AT_CONFIGURE_AC): Copy install-sh,
config.guess, and config.sub to test source tree.
Drop AC_CONFIG_AUX_DIR setting.
(AT_CHECK_CONFIGURE): Drop setting of `top_srcdir'.
* tests/torture.at (Substitute a 2000-byte string): Drop
AC_CONFIG_AUX_DIR setting, copy install-sh to test source tree.
(Substitute a newline, datarootdir workaround): Likewise.
(Define a newline): Adjust for linenumber changes in configure.ac.
* tests/foreign.at (Libtool): Adjust comment to reflect changes.
* tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): Skip test
if `pwd` contains whitespace.
Quote $abs_top_srcdir in tests.
* tests/local.at (AT_CHECK_PERL_SYNTAX): Likewise.
* tests/tools.at (Syntax of the shell scripts): Likewise.
* tests/m4sh.at (LINENO): Quote $0.
Fix testsuite program wrapper for whitespace in `pwd`.
The problem here is that the usual mantra is that command
variables can contain arguments, thus we cannot just escape
$AUTOCONF, $AUTOM4TE etc. The compromise is to put the
$top_builddir/tests directory early in $PATH, so that the
wrappers are found by their plain name.
* tests/wrapper.as: Put $testdir early in $PATH.
(AUTOCONF, AUTOHEADER, AUTOM4TE): Set to plain command names.
Proper config.status --file/--header and $srcdir escaping.
* lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Quote special
characters in $ac_file_inputs.
(_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER): eval $ac_file_inputs
accordingly.
* tests/torture.at (datarootdir workaround): Adjust.
(AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS): Extend test.
Fix Autotest for whitespace in `pwd`.
* lib/autotest/general.m4 (AT_INIT)
<at_func_create_debugging_script, Driver Loop>:
Quote $at_group_dir.
* tests/autotest.at (whitespace in absolute testdir): New test.
* lib/autom4te.in: Quote @datadir@.
Proper file name escaping in Autoconf programs and Perl modules.
This includes escaping of characters special to the shell
as well as special to Perl, e.g., leading `<' or `>'.
For example, when $file starts with `>', `open ">$file"'
wrongly tries to append to a different file.
* bin/autoconf.as: Fix quoting for autom4te options.
* lib/Autom4te/General.pm (shell_quote): New function, taken
from coreutils, written by Jim Meyering.
(mktmpdir): Use it.
* bin/autom4te.in (files_to_options, handle_m4): Use shell_quote
and open_quote.
* bin/autoreconf.in (parse_args): Likewise.
* bin/autoscan.in (main): Likewise.
* bin/autoupdate.in (main): Likewise.
* bin/autoheader.in: Likewise, fixing old insufficient escaping.
* bin/ifnames.in: Likewise, XFile usage fixes.
* tests/tools.at (autom4te and whitespace in file names): Extend
test. Test twice, with special characters allowed on w32, and the
rest. Test leading and trailing whitespace, for `open_quote'.
(autotools and whitespace in file names): New, analogous test.
Reported by Paul Eggert and Benoit Sigoure, additional suggestions
by Russ Allbery and Eric Blake.
Sync from Automake.
* lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Likewise.
* lib/Autom4te/FileUtils.pm (open_quote): New function.
(update_file, contents): Use it.
* Makefile.am (autom4te-update): Rewrite for git.
2007-12-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (autom4te Invocation, Autom4te Cache): Fix typos.
Fix copyright years.
* Makefile.am, doc/install.texi, lib/autoconf/fortran.m4,
lib/autoconf/lang.m4, lib/freeze.mk: Likewise.
2007-12-04 Eric Blake <ebb9@byu.net>
Manually resync with gnulib, since 'make cvs-update' no longer works.
* build-aux/config.guess: New upstream version.
* build-aux/config.sub: Likewise.
When using older automake, don't downgrade build-aux/texinfo.tex.
* configure.ac (AM_INIT_AUTOMAKE): Add no-texinfo.tex option.
* doc/Makefile.am (TEXINFO_TEX): Add.
2007-11-27 Paul Eggert <eggert@cs.ucla.edu>
Fix AC_C_BIGENDIAN bug caused by new awk method of substitution.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Don't comment out the
#undef as this runs afoul of our new way of creating config.h.
Problem reported by Jim Meyering in
<http://lists.gnu.org/archive/html/autoconf-patches/2007-11/msg00164.html>.
2007-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix autom4te for unusual characters in input file names.
* bin/autom4te.in (files_to_options): Quote active characters
for the shell.
* tests/tools.at (autom4te and white space in file names):
New test.
* doc/autoconf.texi (Limitations of Usual Tools) <awk>:
Document that Tru64 awk always splits $0.
2007-11-24 Stepan Kasal <kasal@ucw.cz>
* lib/autotest/general.m4 (AT_INIT): Do not extract the
`#AT_STOP_...' line at the end of each test.
2007-11-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autotest/general.m4 (AT_INIT): For awk line number
extraction script, ensure `$at_group' has a defined value
even for the empty set, and properly quote its usage inside
the awk script.
2007-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Shell Functions): New chapter. Document
IRIX sh $0 issue in functions, move content from ...
(Portable Shell): ... here.
(Shell Script Compiler): Note that shell functions are not
totally unportable any more.
2007-11-22 Stepan Kasal <kasal@ucw.cz>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autotest/general.m4 (AT_INIT): Exit awk script after
extracting the line numbers of the last needed test.
2007-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autotest/general.m4 (AT_INIT) <at_func_create_debugging_script>:
Fix quoting.
2007-11-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix IRIX testsuite debugging failures: $0 in functions.
* lib/autotest/general.m4 (AT_INIT) <at_func_create_debugging_script>:
Do not use $0 inside a function, as IRIX sh will set that to the
function name rather than the script invocation name.
2007-11-19 Paolo Bonzini <bonzini@gnu.org>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autotest/general.m4 (at_func_test): Use cached line numbers
to extract test scripts.
(AT_INIT): Extract and cache test script line numbers.
2007-11-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autotest/general.m4: Revert 2007-11-15 patch and
subsequent fixups; the awk -> here-document conversion trashes
performance too much with AIX sh.
2007-11-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/local.at: Do not test m4, perl with AT_TESTED.
Diagnose and guard against write errors dealing with config.status.
The general idea is this: all write failures from `configure'
writing `config.status' are indicated by $ac_write_error, which
is only checked at the end. This is safe because config.status
code is not executed before the file is complete. Other write
failures, be they inside config.status, or in sub shell/awk
scripts spawned from configure or config.status, typically need
earlier checking, as their results are used right afterwards.
* lib/autoconf/status.m4 (AC_OUTPUT): Initialize `ac_write_fail'
before writing config.status, check afterwards.
(_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_FILE)
(_AC_OUTPUT_HEADERS_PREPARE,_AC_OUTPUT_CONFIG_STATUS):
Set `ac_write_error' for write failures to config.status. Barf
upon write failures to temporary files.
Adjust note about closing and reopening the here-document.
(_AC_OUTPUT_HEADER, _AC_OUTPUT_LINK, _AC_OUTPUT_COMMAND)
(_AC_OUTPUT_MAIN_LOOP): Likewise, adjust note about closing and
reopening the here-document.
* tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
Ensure `ac_write_error' does not escape into config.status.
Also, add a couple of code paths not yet exercised in the test
suite: a config file with input from stdin, and a config header
output to stdout.
Suggestion for catching write errors by Bruno Haible.
2007-11-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Avoid error with Tru64 awk and testsuite lines with many words.
* lib/autotest/general.m4 (AT_INIT): In the awk script that
reads the testsuite, set the field separator to an unusual value,
in order to not run over the limit of 199 fields. Tru64 4.0D awk
even splits the input if $i, i>0, was never accessed in the script.
Revert 2007-10-17 change.
* TODO: Multiline args in config files and headers mean something
different and are not fixed, see
<http://lists.gnu.org/archive/html/autoconf-patches/2007-05/msg00017.html>
Report by Stepan Kasal.
* doc/autoconf.texi (Generic Programs): Fix typo.
2007-11-16 Stepan Kasal <kasal@ucw.cz>
AC_*_TOOL does not canonicalize the prefix
* doc/autoconf.texi (Generic Programs): Do not say that
the *_TOOL macros canonicalize, they simply use the `host_alias'.
2007-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diagnose write errors in config.status instantiations.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE)
(_AC_OUTPUT_HEADER, _AC_OUTPUT_MAIN_LOOP): Bail out
on write errors.
* tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
Extend test to also check for some write error failures, using...
<AT_CHECK_CONFIG_CREATION_NOWRITE>: ...this new macro.
Report by Bruno Haible.
Indentation fixups.
* lib/autotest/general.m4 (AT_INIT) <at_func_log_failure>: Fix
indentation.
(_AT_CHECK): Use less indentation, to save space.
2007-11-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Add witness macro for @top_build_prefix@ substitution.
* lib/autoconf/status.m4 (_AC_HAVE_TOP_BUILD_PREFIX): New macro.
(_AC_OUTPUT_FILE): Mention it here.
2007-11-15 Paolo Bonzini <bonzini@gnu.org>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autotest/general.m4 (at_func_test): Remove.
(AT_INIT): Pre-extract test groups into separate files.
(AT_CLEANUP): Source pre-extracted file instead of calling at_func_test.
Remove at-test-source files together with the $at_group_dir.
* tests/autotest.at (Long test source lines): New test.
2007-11-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Shell functions and variables may share a namespace.
* doc/autoconf.texi (Portable Shell): Mention Solaris sh
limitation.
2007-11-14 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET): Make comment match
gnulib.
2007-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4: Fix a couple of comment typos.
* lib/m4sugar/m4sh.m4 (AS_TMPDIR): Use $as_me, not $me.
2007-11-13 Jim Meyering <meyering@redhat.com>
Clean up the rule to create "expr".
* tests/Makefile.am (expr): Don't redirect directly to target.
Redirect just once, not for each echo statement.
Use $@, not literal "expr".
2007-11-13 Paul Eggert <eggert@cs.ucla.edu>
Don't worry about preprocessor when testing long long.
See: http://lists.gnu.org/archive/html/bug-gnulib/2007-11/msg00075.html
* doc/autoconf.texi (Preprocessor Arithmetic): New section.
(AC_TYPE_LONG_LONG_INT, AC_TYPE_UNSIGNED_LONG_LONG_INT):
These no longer check for preprocessor flaws.
* lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET):
Do not check for preprocessor flaws.
2007-11-13 Jim Meyering <meyering@redhat.com>
Adapt dependencies, now that a version change doesn't modify configure.ac
* GNUmakefile: Remove "make clean" kludge.
* lib/m4sugar/Makefile.am (version.m4): Depend on Makefile, not
configure.ac.
Don't redirect directly to target.
Use $@, not literal "version.m4".
2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Making testsuite Scripts): Document
":;{" shorthand as in previous patch.
2007-11-12 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Builtins): Document problem
with { ... } a bit more clearly. Suggest ":;{" as a shorthand
for the workaround.
* lib/m4sugar/Makefile.am (version.m4): Detect 'echo' failure.
Use ":;{" shorthand.
* tests/Makefile.am ($(srcdir)/package.m4): Likewise.
2007-11-12 Jim Meyering <meyering@redhat.com>
Add more non-srcdir build support.
* GNUmakefile (dummy): Split a long line.
Add -v option to autoreconf invocation.
Remove the autoreconf-provided INSTALL, so that we regenerate it.
* GNUmakefile (dummy): Remove INSTALL.
Remove racy commands to build scripts in bin/ and tests/.
* man/Makefile.am (.x.1): Now that scripts in bin/ and tests/
are guaranteed to be built, remove the rules that tried to build
them. Before, with a parallel build, these rules could lead to
two processes writing tests/wrapper.in concurrently.
Build in man/ only *after* building in bin/ and tests/.
* Makefile.am (SUBDIRS): The man-page-creation process runs $(MAKE)
in both bin/ and tests/.
Accommodate non-srcdir build-from-checkout.
* build-aux/git-version-gen: Require an additional parameter: $srcdir.
Use git's --git-dir=$srcdir/.git option.
Add quotes, in case tarball_version_file contains shell meta-characters.
* GNUmakefile (_curr-ver): Pass $(srcdir) to git-version-gen.
* configure.ac: Pass "." to git-version-gen.
Avoid spurious test failures due to version skew.
* GNUmakefile (dummy): Run $(MAKE) clean after autoreconf -i.
2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Avoid warnings about conftest.dSYM directories on Mac OS X Leopard.
* lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_RUN_IFELSE):
Remove conftest.dSYM directory.
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT)
(_AC_LANG_PROGRAM_C_, _AC_FC_MAIN, __AC_FC_NAME_MANGLING):
Remove `conftest.*' recursively.
* lib/autoconf/lang.m4 (AC_LINK_IFELSE): Likewise.
* lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
Likewise.
(_AC_COMPILER_OBJEXT_REJECT): Reject *.dSYM.
* THANKS: Update.
Report and analysis by Jeff Squyres and Peter O'Gorman.
2007-11-12 Benoit Sigoure <tsuna@lrde.epita.fr>
Fix typos in variable names.
* tests/semantics.at (test for AC_CHECK_LIB): s/at_m/ac_m/.
2007-11-11 Benoit Sigoure <tsuna@lrde.epita.fr>
Document that $((expression)) is not portable.
* doc/autoconf.texi (Shell Substitutions): Here.
2007-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ignore configure --help* errors due to LINENO-impaired shells.
* tests/torture.at (Configuring subdirectories, Deep Package):
In the --help* tests in read-only trees, make `.' temporarily
writable again for the `stderr' file, and ignore errors due to
the attempt to write configure.lineno.
Report by Patrick Welche.
2007-11-10 Jim Meyering <meyering@redhat.com>
Generate package.m4 in build-dir, not srcdir.
* tests/Makefile.am (package.m4): Adjust target.
Don't redirect directly to $@.
(CLEANFILES): Add package.m4.
($(TESTSUITE)): Depend on just-built package.m4, not the one
in $(srcdir).
When running $(AUTOTEST), search "." before searching $(srcdir).
Avoid a race condition that would make parallel "distclean" fail.
* tests/Makefile.am (distclean-generic): Replace the default,
automake-provided rule with an identical one, but with an additional
dependency on distclean-local. Simply adding the dependency would
cause automake not to emit the rule at all.
* BUGS: Building with -jN works, now.
Distribute git-version-gen.
* Makefile.am (EXTRA_DIST): Add build-aux/git-version-gen,
since GNUmakefile is distributed, and requires it for dist* rules.
Remove two more generated files from version control.
* INSTALL: Remove generated file.
* lib/autoscan/autoscan.list: Remove generated file.
2007-11-09 Paul Eggert <eggert@cs.ucla.edu>
* GNUmakefile (PATH): Remove stray apostrophes; they become
part of PATH, which isn't wanted here.
2007-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
New config files output variable `top_build_prefix'.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Substitute
`top_build_prefix'.
* doc/autoconf.texi (Preset Output Variables): Document it.
* NEWS: Update.
Report by Bob Friesenhahn.
Avoid expr for arithmetic evaluation if the shell accepts $((...)).
* lib/autotest/general.m4 (AT_INIT) <at_func_arith>: New
function, to parametrize arithmetic with expr vs. the shell.
Use it where possible.
Suggestion by Benoit Sigoure.
2007-11-03 Benoit Sigoure <tsuna@lrde.epita.fr>
Adjust the documentation of autotest WRT atlocal.
* doc/autoconf.texi (Making testsuite Scripts): It is not necessary,
when using Automake, to write a rule to produce atlocal, since it's
an AC_CONFIG_FILES. Mention that atlocal.in needs to be
distributed, not atconfig.in.
2007-11-04 Eric Blake <ebb9@byu.net>
Update list information.
* README: Mention new autoconf-commit list.
* doc/autoconf.texi (Introduction): Mention autoconf-commit list.
2007-11-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Fix comment typo.
* lib/m4sugar/Makefile.am (version.m4): Another bash bug workaround.
* build-aux/.gitignore: Ignore mkinstalldirs.
* doc/autoconf.texi (autoreconf Invocation): Fix an underfull line.
2007-11-03 Jim Meyering <meyering@redhat.com>
s/-/./ in snapshot version string: 2.61a-256-8b556 -> 2.61a.256-8b556
* build-aux/git-version-gen: This syncs from coreutils.
Adjust the build procedure so "make check" works reliably.
* README-hacking: Include an extra step between "make" and
"make check" to ensure that the latter passes.
Use just-built tools, when possible.
* GNUmakefile (PATH): Set and export here, ...
(dummy): ... rather than here.
2007-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
and Andreas Schwab <schwab@suse.de>
* tests/Makefile.am ($(srcdir)/package.m4): Work around bash
exit status bug.
2007-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure.ac (AC_PREREQ): Require version 2.60, for
AC_PROG_SED, AC_PROG_GREP.
2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
and Jim Meyering <meyering@redhat.com>
and Andreas Schwab <schwab@suse.de>
and Eric Blake <ebb9@byu.net>
Document a bug in GNU Bash with compound commands and redirections.
* doc/autoconf.texi (Limitations of Builtins): Mention that GNU
Bash doesn't properly set $? when `{ ... } >/bad' fails, and give
workaround.
2007-11-03 Eric Blake <ebb9@byu.net>
Support m4 1.4.5 in testsuite.
* tests/torture.at (Define a newline): Exclude line numbers in
error message.
Reported by Ralf Wildenhues.
2007-11-03 Jim Meyering <meyering@redhat.com>
Remove automake-provided files from version control.
* build-aux/elisp-comp: Remove file.
* build-aux/install-sh: Remove file.
* build-aux/missing: Remove file.
* build-aux/mdate-sh: Remove file.
* build-aux/.gitignore: New file.
Suggestion from Ralf Wildenhues.
2007-11-03 Eric Blake <ebb9@byu.net>
Adjust version comparison to account for git snapshot numbers.
* lib/m4sugar/m4sugar.m4 (_m4_version_unletter): Also treat - as a
component separator.
* doc/autoconf.texi (Number processing Macros)
<m4_version_compare>: Document this change.
* tests/m4sugar.at (m4@&t@_version_compare): Test it.
2007-10-30 Bruno Haible <bruno@clisp.org>
* lib/autoconf/types.m4 (_AC_TYPE_LONG_LONG_SNIPPET): New macro,
extracted from AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT.
(AC_TYPE_LONG_LONG_INT, AC_TYPE_UNSIGNED_LONG_LONG_INT): Use it.
Fixes problem with Sun C 5.[0-8] in 32-bit mode, reported in
<http://lists.gnu.org/archive/html/autoconf-patches/2007-10/msg00210.html>
Suggested by Paul Eggert.
2007-10-28 Jim Meyering <meyering@redhat.com>
* README-hacking: Autoconf, Automake, and Perl are required to build.
List Gzip and Tar separately. Suggested by Ralf Wildenhues.
2007-10-28 Jim Meyering <meyering@redhat.com>
README-hacking: Recommend running autoreconf -vi.
* GNUmakefile (dummy): Use autoreconf -i, with appropriate PATH,
so that we use just-built tools when they're available.
Suggestions from Ralf Wildenhues.
2007-10-28 Jim Meyering <meyering@redhat.com>
Make inter-release --version output more useful.
Now, each unofficial build has a version "number" like 2.61a-19-58dd,
which indicates that it is built using the 19th change set
(in _some_ repository) following the "v2.61a" tag, and that 58dd
is a prefix of the commit SHA1.
* build-aux/git-version-gen: New file.
* configure.ac: Run it to set the version.
(AM_INIT_AUTOMAKE): Don't check NEWS here.
* Makefile.am (dist-hook): Arrange so that .version appears only
in distribution tarballs, never in a checked-out repository.
* .gitignore: Add .version here, too. Just in case.
* tests/Makefile.am ($(srcdir)/package.m4): Depend on Makefile,
not configure.ac, now that the version number changes automatically.
Ensure that $(VERSION) is up to date for dist-related targets.
* GNUmakefile: Arrange to rerun autoconf, if the version reported by
git-version-gen doesn't match $(VERSION), but only for dist targets.
2007-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix `Deep Package' failure with a configure script early in PATH
* tests/torture.at (Deep Package): Add `.' early in PATH.
Report by Jim Meyering.
2007-10-27 Jim Meyering <meyering@redhat.com>
Remove all generated files from version control.
* aclocal.m4: Remove.
* configure: Remove.
* Makefile.in: Remove, along with all other Makefile.in in subdirs.
* .gitignore: Add aclocal.m4, configure and Makefile.in. Sort.
* README-hacking: New file: how to build from just-checked-out sources.
2007-10-23 Eric Blake <ebb9@byu.net>
Improve corner case of m4_expand.
* lib/m4sugar/m4sugar.m4 (m4_expand, _m4_expand): Rewrite more
efficiently.
* tests/m4sh.at (AS@&t@_HELP_STRING): Test overquoted comma.
* doc/autoconf.texi (Evaluation Macros) <m4_expand>: Update
documentation.
2007-10-23 Paul Eggert <eggert@cs.ucla.edu>
* doc/make-stds.texi: Update from gnulib.
2007-10-22 Paul Eggert <eggert@cs.ucla.edu>
and Eric Blake <ebb9@byu.net>
* lib/autoconf/c.m4 (AC_C_RESTRICT): Work around Sun C++ compatibility
problem reported by Bruno Haible in
<http://lists.gnu.org/archive/html/bug-autoconf/2007-10/msg00027.html>.
2007-10-22 Eric Blake <ebb9@byu.net>
* doc/autoconf.texi (Particular Types): Mention bug in HP-UX 11.00
preprocessor.
2007-10-22 Paul Eggert <eggert@cs.ucla.edu>
Don't check for bug in HP-UX 11.00 cpp.
* lib/autoconf/types.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT):
Use -1ull rather than -1u, since that causes problems with gnulib; see
<http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00329.html>.
2007-10-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/autotest.at (Backquote command substitution)
(Multiline backquote command substitution)
(Parenthetical command substitution)
(Multiline parenthetical command substitution): Fix typos in
test names.
2007-10-21 Eric Blake <ebb9@byu.net>
* configure: Regenerate.
2007-10-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix config status generation with Tru64 ksh.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix
escaping of backslash in here-documents.
Fix `Deep Package' test failure on FreeBSD.
* tests/torture.at (Deep Package): Do not add `.' to $PATH
unnecessarily. Do not try running `/bin/sh configure' with a
configure script to be found in $PATH, if the shell does not do
this resolution. Fixes test failure on FreeBSD.
Fix config header generation with AIX awk.
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): In awk
script, use helper array D_is_set, as `" 0"' does not evaluate
to true for AIX awk.
2007-10-21 Eric Blake <ebb9@byu.net>
* tests/autotest.at (Banners): Reinstate test, with typo
corrected.
2007-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autotest/general.m4 (Defaults): Validate input ranges ...
<at_func_validate_ranges>: ... using this new function.
* tests/autotest.at (Keywords and ranges): Test invalid ranges.
Test --list with ranges and keywords.
(Banners): Remove one now-failing test.
2007-10-20 Eric Blake <ebb9@byu.net>
Fix testsuite --list subset.
* lib/autotest/general.m4 (AT_INIT) <at_list_p>: Swap newlines
back to spaces, before listing subset of tests.
Reported by Ralf Wildenhues.
2007-10-19 Eric Blake <ebb9@byu.net>
s/parenthesis/parentheses/ where appropriate.
* doc/autoconf.texi: Fix typos.
* lib/m4sugar/m4sugar.m4: Likewise.
Reported by Ralf Wildenhues.
Document m4_expand limitation.
* lib/m4sugar/m4sugar.m4 (m4_expand): Mention problem with
unbalanced parse.
* doc/autoconf.texi (Pretty Help Strings, Evaluation Macros)
(Writing Testsuites): Mention limitations inherited from
m4_expand.
Improve AT_BANNER handling.
* lib/autotest/general.m4 (BANNERS): New named diversion.
(TESTS_END): Diversion no longer used.
(AT_INIT) <at_func_banner, BANNERS>: Factor all banners into a
shell function, which prints only as needed, using an associative
array of banner text from a special diversion.
<PARSE_ARGS_END>: No longer need awk to find banners.
<TESTS>: Banners are no longer processed by main driver loop, so
we no longer need case statement.
(AT_BANNER): Rewrite to populate new diversion.
(AT_SETUP): Each test invokes its own banner. No output is needed
to the TESTS diversion.
* doc/autoconf.texi (Writing Testsuites): Document slight
semantics change.
* tests/autotest.at (AT_BANNERS): Enhance test.
* NEWS: Document AT_BANNER.
Document and test AT_BANNER.
* doc/autoconf.texi (Writing Testsuites): Document AT_BANNER.
* tests/autotest.at (AT_CHECK_EGREP): Share between tests.
(AT_CHECK_BANNERS): New test.
Doc touchups.
* doc/autoconf.texi (Text processing Macros) <m4_strip>
<m4_text_wrap>: Clarify and fix typos.
2007-10-18 Eric Blake <ebb9@byu.net>
Ignore `make dist' changelogs in testsuite.log.
* lib/autotest/general.m4 (AT_INIT) <ChangeLogs>: Prune
directories matching AT_PACKAGE_TARNAME-*.
Fix AT_TESTED, AT_KEYWORDS.
* lib/m4sugar/m4sugar.m4 (m4_append_uniq): Warn if separator
occurs in string, as duplicates may be added.
(_m4_append_uniq): New helper macro.
(m4_append_uniq_w): New macro.
* lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Fix
duplication bug by using new macro.
(AT_INIT) <at_tested>: Restore newline separators. Invoke tested
programs with stdin redirected, so programs that don't
understand --version won't try to behave interactively.
* tests/autotest.at (Tested programs): Catch this bug.
* tests/m4sugar.at (m4@&t@_append): Test new macro.
* tests/local.at (AT_TESTED): Add m4, perl.
* doc/autoconf.texi (Text processing Macros): Document
m4_append_uniq_w, and update text on m4_append.
* NEWS: Document the addition.
2007-10-17 Eric Blake <ebb9@byu.net>
Function cleanup.
* lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Convert
from m4 macro...
(AT_INIT) <at_func_create_debugging_script>: ...to shell
function.
(AT_INIT): Defer function declarations until after --help,
--version. Format functions consistently, trying to fit in 80
columns.
(TEST_FUNCTIONS): Based on recent changes, rename...
(TEST_GROUPS): ...to this.
Reject FreeBSD m4.
* m4/m4.m4 (AC_PROG_GNU_M4): Also check for frozen file support.
* configure: Regenerate.
Reported by Bob Friesenhahn.
Test recent additions.
* tests/m4sugar.at (m4@&t@_map, m4@&t@_combine)
(m4@&t_max and m4@&t_min): New tests.
* doc/autoconf.texi (Evaluation Macros) <m4_apply>: Enhance
description.
2007-10-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* TODO: multiline args in config files and headers work now.
Autotest: do not use shell functions for individual tests.
* lib/autotest/general.m4 (AT_INIT) <at_func_test>: Merely
extract the source test source, do not invoke it.
(AT_SETUP, AT_CLEANUP): Source test code outside shell function.
* tests/autotest.at (Fallacy): Actually let the inner suite fail,
expect exit status of 1.
* tests/autotest.at (Skip): New test, for bogus zsh exit status.
* lib/autotest/general.m4 (at_func_test): Fix test extraction
script.
2007-10-17 Eric Blake <ebb9@byu.net>
Fix m4_combine for empty suffix list.
* lib/m4sugar/m4sugar.m4 (m4_combine): Check for suffix list.
* doc/autoconf.texi (Text processing Macros): Document this.
Add m4_combine, based on Libtool's lt_combine.
* lib/m4sugar/m4sugar.m4 (m4_combine): New macro.
* doc/autoconf.texi (Text processing Macros): Document it.
* NEWS: Likewise.
2007-10-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix `configure --help=recursive' in unconfigured/read-only trees.
* lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Avoid errors when `.'
is not writable, use 'cp -p' in this case, in the hope that it
will not actually be needed. Still try removing files, in case
of other write errors.
* lib/autoconf/general.m4 (_AC_INIT_SRCDIR): For ac_confdir,
use $as_myself, not $0.
(_AC_INIT_HELP): For --help=recursive, if the subdir does not
exist, try again in the the source tree. This change assumes
that the subpackage configure script is capable of running
--help=recursive in the source tree.
* tests/torture.at (Configuring subdirectories, Deep Package):
Adjust tests to expose both issues, also try invocation as
`sh configure ...' and plain `configure ...' with PATH adjusted.
* NEWS, THANKS: Update.
Report by Hans Ulrich Niedermann.
2007-10-16 Paul Eggert <eggert@cs.ucla.edu>
Check for 64-bit int errors in HP-UX 10.20 preprocessor.
Problem reported by H.Merijn Brand in
<http://lists.gnu.org/archive/html/bug-tar/2007-10/msg00018.html>.
* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
(AC_TYPE_UNSIGNED_LONG_LONG_INT):
Check that preprocessor handles 64-bit ints, too.
2007-10-16 Eric Blake <ebb9@byu.net>
m4_map is a looping construct.
* lib/m4sugar/m4sugar.m4 (m4_map, _m4_map, m4_map_sep): Move.
Fix m4_map, and add some more utility macros.
* lib/m4sugar/m4sugar.m4 (m4_apply, m4_count, m4_dquote_elt)
(m4_echo, m4_make_list): New documented macros.
(_m4_quote, _m4_shift2): New helper macros.
(m4_map): Change semantics to allow calling macro without
arguments.
(m4_map_sep): Likewise. Also change semantics to quote separator,
to match m4_join and m4_append.
(m4_version_unletter): Fix use of m4_map.
* doc/autoconf.texi (Evaluation Macros): Document m4_apply,
m4_count, m4_dquote_elt, m4_echo, m4_make_list.
(Text processing Macros): Mention m4_dquote as a faster
alternative to joining with commas.
(Looping constructs): Document m4_map, m4_map_sep.
* NEWS: Mention new macros.
A few more m4sugar improvements, to benefit libtool.
* lib/m4sugar/m4sugar.m4 (m4_bpatsubsts, _m4_shiftn): Reduce size
of expansion by avoiding extra uses of $@.
(m4_shiftn): Avoid extra dnl, and forbid shifting by 0.
(_m4_cdr): New helper macro.
(_m4_map, m4_map_sep): Use it to reduce size of expansion.
(_m4_shift3): New helper macro.
(_m4_foreach): Swap argument order, and use new macro to reduce
size of expansion.
* doc/autoconf.texi (Looping constructs) <m4_shiftn>: Mention that
count must be positive.
* doc/autoconf.texi (Evaluation Macros) <m4_expand>: Fix typo.
Reported by Ralf Wildenhues.
2007-10-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Portable Shell): Improve description of zsh
4.x function subshell bug with exit and trap.
2007-10-15 Eric Blake <ebb9@byu.net>
Enhance AS_HELP_STRING.
* lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't expand arguments,
and reduce number of expansions.
* lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Rework to use m4_expand,
and to take indent and wrap column numbers.
* tests/m4sh.at (AS@&t@_HELP_STRING): Update the test.
* doc/autoconf.texi (Pretty Help Strings): Document details about
arguments.
(Text processing Macros): Minor tweaks.
* NEWS: Document this change.
Fix 2007-10-03 regression with AT_SETUP([a, b]).
* lib/m4sugar/m4sugar.m4 (m4_expand): New macro.
(m4_text_box): Use it.
* lib/autotest/general.m4 (AT_SETUP): Use it.
* lib/m4sugar/m4sh.m4 (_AS_RUN): Use it.
* tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Test this.
* NEWS: Revert caveat about semantics change on comma.
* doc/autoconf.texi (Evaluation Macros): Document m4_expand.
2007-10-13 Eric Blake <ebb9@byu.net>
Change m4_join to match libtool's ltsugar semantics.
* lib/m4sugar/m4sugar.m4 (m4_join): Just define this, not defun.
Ignore empty arguments, using...
(_m4_join): ...this new helper.
* tests/m4sugar.at (m4@&t@_join): New test.
* doc/autoconf.texi (Text processing Macros): Document new
semantics of m4_join.
Make AC_PREREQ faster and more robust.
* lib/m4sugar/m4sugar.m4 (m4_ignore, m4_unquote): New macros.
(m4_version_prereq): Inline constant expansions.
(m4_list_cmp): Reduce number of expansions, by avoiding m4_case.
Rewrite in terms of [] list, not () list.
(_m4_list_cmp, _m4_version_unletter): New helper macros.
(m4_version_unletter): Write wrapper around new implementation to
preserve old semantics.
(m4_version_compare): Pass correct type of list, and avoid
overhead of flattening expressions too early.
(m4_do): Move to be near other quoting macros.
(m4_max, m4_min): Always result in decimal output.
* doc/autoconf.texi (Looping constructs): Add m4_car, m4_cdr.
Move m4_do...
(Evaluation Macros): ...here. Add m4_ignore, m4_unquote.
(Text processing Macros): Move m4_version_compare...
(Number processing Macros): ...to this new node; document m4_cmp,
m4_list_cmp, m4_sign, m4_max, m4_min.
* tests/m4sugar.at (m4@&t@_version_compare): Enhance test, to pick
up on bugs fixed by this patch.
* NEWS: Document new macros.
2007-10-12 Eric Blake <ebb9@byu.net>
* doc/autoconf.texi (Text processing Macros): Fix bad merge.
(Reporting Messages): Fix underfull hbox.
Some more m4sugar documentation.
* lib/m4sugar/m4sugar.m4: Clean up macro order.
* doc/autoconf.texi (Programming in M4): Lighten the warning on
using m4sugar; it is stabilizing and useful.
(Redefined M4 Macros): Touch up wording on M4 builtins; sort. Add
m4_divert, m4_undivert, __file__, __line__, __oline__.
(Diagnostics): New node, documenting m4_assert, m4_errprintn,
m4_fatal, m4_location, m4_warn.
(Diversion support): New node, documenting m4_divert_push,
m4_divert_pop, m4_divert_text, m4_divert_once.
(Text processing Macros): Sort. Add m4_flatten, m4_join,
m4_newline, m4_strip, m4_text_box, m4_text_wrap.
(Reporting Messages): Mark AC_DIAGNOSE, AC_WARNING, and AC_FATAL
as obsolescent.
(Printing Messages): Change cross-reference.
Document interaction of recent m4_append change with Libtool HEAD.
* lib/m4sugar/m4sugar.m4 (m4_append): Document semantics change.
(m4_append_uniq): Add new parameters, based on lt_append_uniq.
* tests/m4sugar.at (m4@&t@_append): New test.
* NEWS: Document semantics change.
* doc/autoconf.texi (Text processing Macros): Likewise.
s/AC_VERSION/AC_AUTOCONF_VERSION/.
* doc/autoconf.texi (Versioning): Change the name.
* NEWS: Likewise.
* lib/autoconf/general.m4 (AC_AUTOCONF_VERSION): Likewise.
* tests/tools.at (autoconf: AC_AUTOCONF_VERSION): Likewise.
Suggested by Ralf Wildenhues.
Namespace cleanup.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE)
(_AC_OUTPUT_HEADERS_PREPARE): Convert here-doc delimiters into
autoconf namespace.
* doc/autoconf.texi (Programming in M4sugar, Forbidden Patterns)
(Programming in M4sh, Macro Names): Beef up description of
namespaces reserved for autoconf.
* configure: Regenerate.
2007-10-12 Eric Blake <ebb9@byu.net>
and Paolo Bonzini <bonzini@gnu.org>
Speed up execution of subset of testsuite.
* lib/autotest/general.m4 (TEST_FUNCTIONS): New diversion.
(AT_INIT) <at_func_test>: New shell function.
(AT_INIT) <at_myself>: New variable, set to absolute $as_myself.
(AT_INIT) <at_test_source> New variable, names file that holds
current test function definition.
(AT_SETUP): Start the shell function at_func_test_#, into the
TEST_FUNCTIONS diversion.
(AT_CLEANUP): End the shell function. Simplify the TESTS
diversion to invoke the function.
2007-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* .gitignore: Ignore tags and TAGS files.
2007-10-11 Eric Blake <ebb9@byu.net>
Config header generation followup.
* lib/autoconf/general.m4 (_AC_DEFINE_Q): Check for raw newlines,
which won't work with the preprocessor nor with the awk
implementation.
* tests/torture.at (Define a newline): Test raw newline detection,
removing the XFAIL.
* doc/autoconf.texi (Defining Symbols): Document recent change to
allow backslash-newline.
* THANKS: Update.
2007-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autotest/general.m4: Put function braces in separate line.
2007-10-10 Eric Blake <ebb9@byu.net>
Avoid some overhead from m4_defn and m4_popdef.
* lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Only
pass on first argument, since we are documented that way.
(m4_for, m4_append_uniq, m4_text_wrap): Optimize out defined-ness
check where it is safe to do so.
(m4_append): Likewise, and quote the separator.
(m4_text_box): Likewise, and avoid regex, also be robust to
expansion and quadrigraphs.
Another AC_DEFINE speedup.
* lib/autoconf/general.m4 (AC_DEFINE_TRACE): Move parameter
elision...
(_AC_DEFINE_Q): ...here, and only do it once.
* lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Avoid overquoting.
* lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Fix m4_defn overquoting
introduced 2007-10-05.
Whitespace cleanup.
* lib/autoconf/general.m4: Use consistent indentation.
* configure: Regenerate.
* NEWS: Announce recent round of speed optimizations.
2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* NEWS: Announce shell function usage in Autotest.
2007-10-10 Eric Blake <ebb9@byu.net>
and Paul Eggert <eggert@cs.ucla.edu>
Reduce number of forks at startup.
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Speed up NLS
sanitization.
* configure: Regenerate.
2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
and Paul Eggert <eggert@cs.ucla.edu>
Use awk for config header generation.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix comments.
(_AC_OUTPUT_HEADERS_PREPARE): New macro. Rewrite of the config
header machinery for use with awk and placement outside the main
config.status instantiation loop. Retain multi-line defines
through backslash-newline combinations, do not split the script
any more.
(_AC_OUTPUT_HEADER): Simplify accordingly, use $AWK.
(_AC_OUTPUT_MAIN_LOOP): Call _AC_OUTPUT_HEADERS_PREPARE if
needed.
(AC_OUTPUT_MAKE_DEFS): Remove backslash-newline combinations
from define values.
* NEWS: Update.
* tests/torture.at (#define header templates): Extend test by
several more cases: white space before and after `#', macros
with parameters in config.hin and as defines, multi-line macro
values.
(Torturing config.status): Use a define value twice the length
in order to exercise the awk literal string limit.
(Substitute and define special characters): Also try special
delimiter, to exercise the special-case code.
Suggestion by Eric Lemings.
2007-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/local.at (AT_COPYRIGHT): Bump copyright years.
2007-10-09 Eric Blake <ebb9@byu.net>
Improve header of bin/autoconf.
* lib/m4sugar/m4sh.m4 (AS_INIT): Add a 'generated from' notice.
* lib/autoconf/general.m4 (_AC_INIT_NOTICE): Override new notice
from M4sh.
* bin/autoconf.as: Put copyright up front in generated file.
* bin/autoconf.as (exit_missing_arg): Font-lock tweak.
2007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/install.texi (Basic Installation): Document `uninstall'.
* INSTALL: Regenerate.
Suggestion by Roberto Bagnara.
2007-10-08 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Usual Tools): V7 awk had 'index'.
Adjust doc. to match latest gnulib.
* build-aux/texinfo.tex: Sync from gnulib.
* doc/standards.texi: Likewise.
* doc/autoconf.texi (Copying This Manual): Rename to "GNU Free
Documentation License" and remove the subsection. This simplifies
the manual a bit and is more like what other GNU projects do
nowadays.
2007-10-08 Eric Blake <ebb9@byu.net>
Use recent changes.
* configure: Regenerate.
Fix regression in m4_text_wrap from 2007-10-05.
* lib/m4sugar/m4sugar.m4 (m4_max, m4_min): New macros.
(m4_sign): Sort.
(m4_text_wrap): Fix off-by-one error in rewrite from m4_for to
m4_format.
* lib/autotest/general.m4 (AT_SETUP): Avoid negative width.
* tests/autotest.at (Long test title, Longer test title): Test
this fix, beyond what AS_HELP_STRING already tests.
Avoid m4 warnings on bad m4_format usage.
* lib/m4sugar/m4sugar.m4 (m4_text_wrap): Use %*s, in case width
evaulates to 0.
* lib/autotest/general.m4 (AT_SETUP): Likewise; also ensure that
enough arguments are provided.
2007-10-06 Paolo Bonzini <bonzini@gnu.org>
* doc/autoconf.texi (Shell portability): Document shell function
portability.
2007-10-06 Paolo Bonzini <bonzini@gnu.org>
* lib/autotest/general.m4 (AT_INIT): Add at_func_diff_devnull,
at_func_check_skip, at_func_check_status, at_func_filter_trace,
at_func_log_failure shell functions. Use test -s to avoid
useless diff invocations.
(at_func_check_newline): Renamed from at_check_newline.
(AT_SETUP): Define AT_captured_files to empty.
(AT_DIFF_STDERR(*), AT_DIFF_STDOUT(*)): New, extracted from _AT_CHECK.
(_AT_CHECK): Replace m4_case with m4_ifdef/m4_indir. Use all
the shell functions.
2007-10-05 Paul Eggert <eggert@cs.ucla.edu>
Don't assume "." is writeable, for commands like "autoconf --version".
* lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use a
different heuristic instead, one that doesn't rely on creating
files.
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle "///"
correctly.
2007-10-05 Jim Meyering <meyering@redhat.com>
Avoid makeinfo warnings.
* doc/autoconf.texi (Redefined M4 Macros): Add a `,' after @xref.
(Looping constructs): Add ` ' after @defmac'd name, m4_do.
2007-10-05 Eric Blake <ebb9@byu.net>
Resolve Python issue 1676135 regarding configure directory args.
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Strip trailing
slashes from directory arguments.
* tests/base.at (configure directories): New test.
* doc/autoconf.texi (Installation Directory Variables): Document
the change.
* NEWS: Likewise.
* THANKS: Update.
Reported by Björn Lindqvist.
Provide better short-circuiting operation.
* lib/m4sugar/m4sugar.m4 (m4_cond, m4_newline): New macros.
(m4_text_wrap): Use it. Also avoid useless m4_for.
* lib/m4sugar/m4sh.m4 (_AS_QUOTE_IFELSE, AS_LITERAL_IF): Use
new macro.
(_AS_IDENTIFIER_IF): Likewise, and fix bug when $1 is [,].
* lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Use new macros
to avoid regexps.
* doc/autoconf.texi (Redefined M4 Macros): Expand m4_if
documentation. Sort m4_mkstemp, m4_undefine. Move m4_ifndef...
(Conditional constructs): ...here, to new section. Also document
m4_cond, m4_ifval, m4_n, m4_ifvaln, m4_ifset, m4_case, m4_bmatch,
m4_bpatsubsts, and m4_default.
(Looping constructs): Document m4_shiftn, m4_shift2, m4_shift3,
m4_do.
2007-10-04 Eric Blake <ebb9@byu.net>
Fix recent testsuite failures.
* lib/autotest/general.m4 (AT_INIT, AT_SETUP): Double-quote text
that must not be re-expanded after AS_ESCAPE.
* lib/m4sugar/m4sh.m4 (_AS_IDENTIFIER_IF): Don't expand $1 when
checking if it is an identifier.
Whitespace cleanup.
* lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Avoid
leading whitespace, as it caused space-tab in testsuite.
(AT_INIT): Avoid trailing newlines in testsuite.
One more round of m4_foreach_w speedups.
* lib/m4sugar/m4sugar.m4 (m4_flatten): Only use regex if newline
is present.
(_m4_split): Avoid useless expansions inside definition. Move
argument defaulting...
(m4_split): ...here. Change alternate quote to something less
likely to appear in $1. Also, special case space as regexp...
(m4_foreach_w): ...to avoid regexp on single-term list.
(m4_default, m4_defn, m4_popdef, m4_undefine, _m4_foreach): Avoid
useless expansions inside definition.
* tests/m4sugar.at (m4@&t@_split): Add tests.
2007-10-04 Paolo Bonzini <bonzini@gnu.org>
* general.m4 (AT_INIT): Add at_check_newline function.
(_AT_DECIDE_TRACEABLE): Include at_traceon test, use shell function.
(_AT_CHECK): Don't use at_trace_this.
2007-10-04 Paolo Bonzini <bonzini@gnu.org>
Fix previous commit.
* lib/autotest/general.m4 (AT_LINE): Fix regex.
2007-10-04 Eric Blake <ebb9@byu.net>
Speed up building testsuites.
* lib/autotest/general.m4 (AT_LINE): Only use regex when file
changed since last time. Use simpler regex.
2007-10-03 Eric Blake <ebb9@byu.net>
Optimize checking for identifiers.
* lib/m4sugar/m4sh.m4 (AS_IDENTIFIER_IF, _AS_IDENTIFIER_IF): New
macros, more efficient than regex on m4_re_word.
* lib/autoconf/general.m4 (AC_SUBST, AC_DEFINE_TRACE_LITERAL):
Rewrite in terms of new macro. As a side-effect, AC_DEFINE can
now use @&t@.
* configure: Regenerate.
Remove some XFAILs, and make AT_SETUP output line up.
* lib/autotest/general.m4 (AT_SETUP): Only expand description
once; thereafter, use its expansion, properly quoted.
* tests/autotest.at (AT_CHECK_AT_TITLE): Also check macro
expansion with arguments, and check for aligned output.
(AT_CHECK_AT_TITLE_CHAR): Remove XFAILs for tests that now pass.
Add a test for macros with parameters.
* NEWS: Document the semantics change.
* tests/base.at: Fix test titles containing commas.
* tests/compile.at: Likewise.
* tests/tools.at: Likewise.
* tests/torture.at: Likewise.
Another round of regex avoidance.
* lib/m4sugar/m4sugar.m4 (m4_cr_alnum, m4_cr_all)
(_m4_define_cr_not, m4_cr_not_letters, m4_cr_not_LETTERS)
(m4_cr_not_Letters, m4_cr_not_digits, m4_cr_not_alnum)
(m4_cr_not_symbols1, m4_cr_not_symbols2): New macros, implementing
character ranges useful in m4_translit.
(m4_toupper, m4_tolower): Optimize the constant portion of
definition.
* lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Also reject @S|@ because it
creates $, and reject [] thanks to AS_TR_SH rewrite.
(AS_TR_SH, AS_TR_CPP): Use just translit, not bpatsubst.
(AS_ESCAPE): Factor...
(_AS_ESCAPE): ...into new macro, with second argument required.
Avoid regex in common case.
(_AS_QUOTE): Use new macro.
Whitespace cleanup.
* lib/autoconf/types.m4: Avoid space-tab.
* lib/m4sugar/m4sh.m4: Use tab consistently.
2007-10-03 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sugar.m4 (m4_shift2, m4_shift3): New macros.
(m4_shiftn): Remove no-longer-needed optimization. Perhaps we
should remove m4_shiftn entirely?
(m4_case, b4_bmatch, m4_map_sep, m4_bpatsubsts, m4_join):
Prefer m4_shift2 and m4_shift3 to m4_shiftn.
* lib/autoconf/lang.m4 (_AC_LANG_DISPATCH): Likewise.
* lib/m4sugar/m4sh.m4 (AS_CASE, AS_IF): Likewise.
* tests/autotest.at (AT_CHECK_AT_TEST): Likewise.
2007-10-03 Eric Blake <ebb9@byu.net>
Comment touchups.
* lib/m4sugar/m4sugar.m4: Grammar fixes in comments.
2007-10-02 Eric Blake <ebb9@byu.net>
Optimize appending text.
* lib/m4sugar/m4sugar.m4 (m4_append_uniq): Use index, not regular
expressions.
Optimize recursion.
* lib/m4sugar/m4sugar.m4 (m4_shiftn): This macro is called in a
lot of hot spots; optimize it for 2 and 3 shifts.
Optimize AC_PREREQ and other m4sugar numerics.
* lib/m4sugar/m4sugar.m4 (m4_sign): Write with m4_eval.
(m4_cmp): Compare arbitrary expressions, without overflow.
(m4_version_unletter): Also recognize capital letters.
(m4_version_compare): Avoid regex when splitting version number
string.
2007-10-01 Eric Blake <ebb9@byu.net>
Once again, reject IRIX m4.
* m4/m4.m4 (AC_PROG_GNU_M4): Use indir builtin to root out non-GNU
implementations that ignore --trace.
* configure: Regenerate.
Reported by Ralf Wildenhues.
Fix regression in AC_DEFINE([macro(with_arg)]).
* lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't chop off close
quotes with a careless m4_substr.
2007-09-30 Eric Blake <ebb9@byu.net>
Allow nameless iteration.
* lib/m4sugar/m4sugar.m4 (m4_for, _m4_for): Access variable
indirectly.
* tests/m4sugar.at (myvar): Test this.
2007-09-29 Eric Blake <ebb9@byu.net>
Speed optimization: avoid m4 regex when other algorithms work.
* lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Rewrite without regex.
(_AS_QUOTE_IFELSE): Likewise.
* lib/m4sugar/m4sugar.m4 (m4_strip): Reduce from 3 to 2 regex.
(m4_bpatsubsts): Split...
(_m4_bpatsubsts): ...so that recursion can avoid patsubst on empty
regex.
(_m4_divert()): Define, to avoid m4 warning on `m4_divert'.
(m4_qlen): Optimize on short strings, to avoid regex.
(m4_sign): Avoid regex, and fix bug with `01' and `-0'.
* lib/autoconf/general.m4 (AC_CACHE_VAL): Rewrite without regex.
(AC_DEFINE_TRACE): Likewise.
2007-09-28 Eric Blake <ebb9@byu.net>
Oops - my earlier 'optimization' caused a regression.
* tests/local.at (AT_CHECK_M4): Fix typo.
2007-09-27 Eric Blake <ebb9@byu.net>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Catch even more common AC_CACHE_VAL mistakes.
* lib/autoconf/general.m4 (AC_CACHE_VAL): Warn if cache variable
lacks '_cv_', or if AC_SUBST appears in body.
* tests/base.at (AC_CACHE_CHECK): Test this change.
2007-09-27 Stepan Kasal <kasal@ucw.cz>
and Eric Blake <ebb9@byu.net>
Autotest no longer caters to Ultrix redirection limitation.
* doc/autoconf.texi (Writing testsuite.at): Remove the
limitation that the first parameter of AT_CHECK cannot
contain redirection.
(File Descriptors): Mention that Ultrix limitation is no longer a
show-stopper in modern code.
* tests/local.at (AT_CHECK_M4): Fix for cases when the fourth
parameter is `stderr' or `experr'. Optimize if it was `ignore'.
* lib/autotest/general.m4 (AT_CHECK): Update comment.
2007-09-27 Eric Blake <ebb9@byu.net>
Squelch changeword in m4sugar.
* lib/m4sugar/m4sugar.m4 (changeword): Disable this experimental
feature of m4 1.4.x.
Configure whitespace touchups.
* lib/autoconf/general.m4 (_AC_INIT_HELP): Fix alignment of
installation directories, and avoid TAB, in configure --help
output.
* configure.ac: Avoid extra trailing newline.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Avoid space-tab.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Avoid TAB in
config.status --help output.
* configure: Regenerate.
Fix underquotation in AS_HELP_STRING.
* lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Don't underquote lhs
argument.
* lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't underquote
first-prefix argument.
* tests/m4sh.at (AS@&t@_HELP_STRING): Test this fix.
* NEWS: Document AS_HELP_STRING fix.
Autotest formatting touchups.
* lib/autotest/general.m4 (HELP_TUNING): Avoid TAB in terminal
output.
(PATH): Simplify computation of new PATH.
2007-09-26 Eric Blake <ebb9@byu.net>
Fix testsuite breakage in last patch.
* tests/autotest.at (AT_CHECK_AT_TITLE): Properly quote the
font-lock fix.
* tests/torture.at (@%:@define header templates): Rename, so that
output lines up correctly.
More font-lock happiness.
* tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Clean up font
confusion.
2007-09-25 Eric Blake <ebb9@byu.net>
Typo fixes.
* lib/autoconf/general.m4 (AC_SUBST): Fix typo in comment.
* lib/m4sugar/m4sh.m4 (AS_VAR_PUSHDEF): Likewise.
Improve documentation of M4 parameter expansion.
* doc/autoconf.texi (Quoting and Parameters): New section.
(Quotation and Nested Macros): Improve wording.
Improve C99 detection.
* lib/autoconf/c.m4 (_AC_PROG_CC_C99): Add support for HP cc, and
avoid deprecation warning with icc.
* THANKS: Update.
Reported by Ted Bullock.
2007-09-24 Jim Meyering <jim@meyering.net>
Whenever possible, use the vertical bar as sed delimiter.
* lib/autoconf/functions.m4 (GETLOADAVG_LIBS) [AC_FUNC_GETLOADAVG]:
Use "|", not "!".
* lib/autoconf/status.m4 (_AC_SRCDIRS) [ac_top_builddir_sub]:
[ac_dir_suffix]: Use "|", not "," as sed delimiter.
* tests/mktests.sh (as_me): Likewise.
* lib/freeze.mk (check-forbidden-patterns): Likewise.
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
* configure: Regenerate.
* doc/autoconf.texi (Shell Substitutions): Use "|", not "," in examples.
* lib/autotest/general.m4 (AT_INIT): Use "|", not "&" as sed delimiter
in the : -> $PATH_SEPARATOR transformation of $AUTOTEST_PATH.
This is fine, as long as $PATH_SEPARATOR doesn't contain "|".
2007-09-22 Jim Meyering <jim@meyering.net>
Add a comment.
* lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Document the
2004-05-31 change also with a comment in the code.
2007-09-20 Eric Blake <ebb9@byu.net>
More contribution housekeeping.
* THANKS: Sort.
* AUTHORS: Sort, reflect recent assignment from Helge Deller.
Ignore additional files, when copying cross-repository.
* .gitignore: Ignore CVS directories, emacs edits.
* .cvsignore: Ignore .git directory, emacs edits.
2007-09-15 Eric Blake <ebb9@byu.net>
Provide AC_VERSION, not m4_AUTOCONF_VERSION.
* doc/autoconf.texi (Text processing Macros): Remove mention of
m4_AUTOCONF_VERSION, and leave m4_PACKAGE_VERSION undocumented
once again.
(Notices): Move AC_PREREQ...
(Versioning): ...to this new section, alongside the new AC_VERSION
alias for the undocumented m4_PACKAGE_VERSION.
* lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): Revert change.
* lib/autoconf/general.m4 (AC_VERSION): New macro.
* NEWS: Update to match this rename.
* tests/m4sugar.at (m4@&t@_version_compare): Remove tests of
m4_PACKAGE_VERSION.
* tests/tools.at (autoconf: AC_VERSION): New test.
Suggested by Paolo Bonzini and Benoit Sigoure.
2007-09-14 Eric Blake <ebb9@byu.net>
Prepare for conversion to git.
* doc/.cvsignore: Avoid multiple listings on one line.
* bin/.cvsignore: Likewise.
* .gitignore, bin/.gitignore, config/.gitignore, doc/.gitignore,
lib/.gitignore, lib/Autom4te/.gitignore, lib/autoconf/.gitignore,
lib/autoscan/.gitignore, lib/autotest/.gitignore,
lib/emacs/.gitignore, lib/m4sugar/.gitignore, man/.gitignore,
tests/.gitignore: New files, identical to .cvsignore counterpart.
2007-09-13 Eric Blake <ebb9@byu.net>
Editing eye-candy.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Restore
font-lock balance.
* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Likewise.
* lib/autoconf/general.m4 (_AC_DO_ECHO): Likewise.
* configure: Regenerate.
Clean up 'make dist' of previous patch.
* tests/Makefile.am (EXTRA_DIST): Distribute mktests.stamp.
(CLEANFILES): Don't clean the stamp, since we distribute the
generated files pre-built.
(MAINTAINERCLEANFILES): Clean it here instead.
* tests/Makefile.in: Regenerate.
Avoid parallel 'make check' issue.
* tests/Makefile.am (mktests.stamp): New witness.
(TESTSUITE_GENERATED_AT): Use it.
(CLEANFILES): Clean the witness.
* tests/.cvsignore (mktests.stamp): Ignore the witness.
Document another awk pitfall.
* doc/autoconf.texi (Limitations of Usual Tools) <awk>: Document
limitation of field variables in END.
Reported by Gary V. Vaughan.
* AUTHORS: Add missing entries.
2007-09-12 Eric Blake <ebb9@byu.net>
Publish m4_ifndef, m4_version_compare, m4_AUTOCONF_VERSION.
* doc/autoconf.texi (Text processing Macros): Document
m4_version_compare, m4_AUTOCONF_VERSION, m4_PACKAGE_VERSION.
(Redefined M4 Macros): Document m4_ifndef.
* lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): New macro; we
can't obsolete m4_PACKAGE_VERSION at this time since Autoconf 1.10
used it while it was undocumented.
* NEWS: Document this change.
* lib/m4sugar/Makefile.am (version.m4): Update copyright dates.
* lib/m4sugar/Makefile.in: Regenerate.
* tests/m4sugar.at (m4@&t@_version_compare): New test.
Reported by Bruno Haible.
* doc/autoconf.texi (Generic Compiler Characteristics): Add
missing index entries.
2007-09-11 Eric Blake <ebb9@byu.net>
Centralize all system extensions checks.
* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
from AC_AIX, AC_GNU_SOURCE, AC_MINIX. Add Interix support.
(AC_AIX, AC_GNU_SOURCE, AC_MINIX): Obsolete, and point to
AC_USE_SYSTEM_EXTENSIONS.
(AC_ISC_POSIX): Obsolete, and point to AC_SEARCH_LIBS.
(AC_XENIX_DIR, AC_IRIX_SUN): Promote proper quoting in AU_DEFUN.
* doc/autoconf.texi (Posix Variants): Reword this section,
emphasizing that AC_USE_SYSTEM_EXTENSIONS is the preferred method,
rather than a series of system-specific checks.
(Obsolete Macros): Add AC_AIX, AC_GNU_SOURCE, AC_ISC_POSIX,
AC_MINIX.
* NEWS: Document this change.
* THANKS: Update.
Reported by Martin Koeppe.
2007-09-08 Eric Blake <ebb9@byu.net>
Clean up obsolete macros references.
* doc/autoconf.texi: Add anchors to support better
cross-referencing.
(Particular Structures): Move obsolete macros descriptions...
(External Software): Likewise.
(Package Options): Likewise.
(Obsolete Macros): ...to here. Add cross-references to
documentation on replacements.
* NEWS: Mention that these macros have been obsolete for a while
now: AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH AC_ENABLE.
Improve M4 path searching during configure.
* lib/autoconf/programs.m4 (AC_PATH_PROGS_FEATURE_CHECK): New
macro.
(_AC_PATH_PROG_FEATURE_CHECK): Rename...
(_AC_PATH_PROGS_FEATURE_CHECK): ...to this, add defaulted action
parameter, and kill side effects.
(_AC_PROG_GREP, AC_PROG_SED): Adjust callers.
(_AC_FEATURE_CHECK_LENGTH): Kill extra whitespace.
* m4/m4.m4 (AC_PROG_GNU_M4): Don't stop searching until working m4
is found.
(AC_PATH_PROGS_FEATURE_CHECK): Add backwards compatibility hack to
allow bootstrapping with autoconf 2.61.
* configure.ac (M4): AC_PROG_GNU_M4 now exits on failure.
* configure: Regenerate.
* doc/autoconf.texi (Generic Programs): Document new macro.
* tests/mktests.sh (au_exclude_script): Exclude auto-testing new
macro.
* tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): New test.
* NEWS: Document the change.
* THANKS: Update.
Reported by Hans Aberg.
* doc/autoconf.texi (Generic Programs): Fix typo.
2007-09-06 Eric Blake <ebb9@byu.net>
* doc/autoconf.texi (Generic Programs): Use $PATH_SEPARATOR, not
:, and make it clear that optional @var{path} defaults to $PATH.
(Erlang Compiler and Interpreter): Likewise.
Texinfo cleanup.
* doc/autoconf.texi: Avoid lines > 80 columns when possible.
Reword some paragraphs to avoid overfull, underfull hbox
warnings. Add index entries to avoid overfull vbox warnings.
2007-09-05 Eric Blake <ebb9@byu.net>
* NEWS: Adjust wording for AC_CONFIG_LINKS.
Reported by Ralf Wildenhues.
2007-09-03 Eric Blake <ebb9@byu.net>
* NEWS: Document fixes that have been applied since 2.61a.
Housekeeping.
* THANKS: Update, and convert to UTF-8 encoding.
* AUTHORS: Likewise.
2007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file
names beginning with `-' again.
2007-08-22 Stepan Kasal <kasal@ucw.cz>
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Defining Directories): Mention
AM_CPPFLAGS, as the way to modify CPPFLAGS when using Automake.
2007-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/general.m4 (AC_SITE_LOAD): Do not overwrite "$@"
here, this macro is expanded by AC_INIT. Fixes 2.60 regression.
* tests/base.at (configure arguments): New test.
* THANKS: Update.
Report by Olaf Lenz.
* lib/autoconf/general.m4 (_AC_ENABLE_IF): Expand macro
arguments in comment.
Report by Vincent Torri <vtorri at univ minus evry dot fr>.
2007-08-20 Benoit Sigoure <tsuna@lrde.epita.fr>
* doc/autoconf.texi (File System Conventions): Index the proper
way of detecting absolute file names.
2007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* build-aux/config.guess, build-aux/config.sub,
build-aux/elisp-comp, build-aux/install-sh, build-aux/mdate-sh,
build-aux/missing, build-aux/texinfo.tex, doc/fdl.texi,
doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
* doc/autoconf.texi (GNU Free Documentation License): Adjust for
sectioning change in fdl.texi.
* bin/autoconf.as: Update --version output to match current GCS.
* bin/autoheader.in: Likewise.
* bin/autom4te.in: Likewise.
* bin/autoreconf.in: Likewise.
* bin/autoscan.in: Likewise.
* bin/autoupdate.in: Likewise.
* bin/ifnames.in: Likewise.
2007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not try to link a
file to itself if source and build trees coincide.
* tests/torture.at (AC_CONFIG_LINKS and identical files): New
test.
Report by Sebastian Freundt <hroptatyr@gna.org>.
2007-07-20 Paul Eggert <eggert@cs.ucla.edu>
Reword the copyright notices to match what's suggested in GPLv3.
In ChangeLog files, use more-permissive notice rather than GPL, as
per usual GNU standards these days.
2007-07-13 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
limitation reported by Leo Moisio in
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
2007-07-03 Paul Eggert <eggert@cs.ucla.edu>
* COPYING: Update to GPLv3. All uses changed.
2007-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
and Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
fails on AIX 5.3.
2007-06-17 Noah Misch <noah@cs.caltech.edu>
* lib/autotest/general.m4 (AT_INIT): Handle absolute `srcdir'.
* tests/autotest.at (srcdir propagation): Test absolute `srcdir' and
`srcdir' as subdirectory of `builddir'.
2007-06-13 Noah Misch <noah@cs.caltech.edu>
* lib/autotest/general.m4 (AT_INIT): Compute $srcdir correctly.
* tests/autotest.at (srcdir propagation): New test.
* THANKS: Update.
Reported by Mike Frysinger.
2007-06-13 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Set FPATH too.
Problem reported by Fred Kreek in
<http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00009.html>.
* doc/autoconf.texi (Special Shell Variables): Warn about FPATH.
(Macro Names, Defining Directories): Don't mention PATH as a name
for a fully qualified file name, as this usage violates the GNU
coding standards and we shouldn't recommend it.
* lib/autotest/general.m4 (AT_INIT): Don't set PATH to the empty
string and then assume shell builtins like "test" will work.
2007-06-12 Noah Misch <noah@cs.caltech.edu>
* lib/autoconf/general.m4 (AC_SUBST): Raise a fatal error if VARIABLE is
not a valid shell variable name.
* tests/mktests.sh (ac_exclude_list): Add AC_ARG_VAR.
* tests/torture.at (AC_SUBST: variable name validation): New test.
Reported by Andreas Schwab.
2007-06-04 Noah Misch <noah@cs.caltech.edu>
* doc/autoconf.texi (AC_F77_MAIN): Give a specific usage example that
works with both C and C++.
2007-06-03 Noah Misch <noah@cs.caltech.edu>,
Bruno Haible <bruno@clisp.org>
* lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
brand tests.
2007-05-31 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Particular Types): Give example of use for
AC_TYPE_INT8_T etc.
2007-05-29 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
2007-05-28 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
define HAVE_INT8_T, and likewise for similar macros.
Problem reported by Patrick Welche in
<http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html>.
2007-05-25 Noah Misch <noah@cs.caltech.edu>
* bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
choice, since that's what we do with --enable-largefile etc.
Redo indenting and assignments to simplify things a bit, and make
the parens work with Emacs.
* doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
in my previous change: AC_C_OPENMP -> AC_OPENMP. Reported by Bruno
Haible.
2007-05-21 Noah Misch <noah@cs.caltech.edu>
* lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
* tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
2007-05-21 Bruno Haible <bruno@clisp.org>
* NEWS: Rename AC_C_OPENMP to AC_OPENMP.
* lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
* doc/autoconf.texi (Generic Compiler Characteristics): Move
renamed AC_OPENMP documentation here, from "C compiler".
Mention C++ and Fortran.
2007-05-21 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
2007-05-21 Bruno Haible <bruno@clisp.org>
* NEWS: Mention AC_C_OPENMP.
* lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
* doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
Based in part on Steven G. Johnson's investigations for the AX_OPENMP
macro in the Autoconf macro archive.
2007-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* bin/autom4te.in: Fix typos.
2007-05-16 Noah Misch <noah@cs.caltech.edu>
* bin/autoconf.as: Handle `-' just like other input files.
* bin/autom4te.in (parse_args): Pass `-' through.
(handle_output): Skip the forbidden token search if we read from stdin.
(up_to_date): Always treat stdin as out of date.
* tests/tools.at (autoconf: input from stdin): New test.
(autoconf: forbidden tokens, basic): Check a second `autoconf' run.
2007-05-16 Stepan Kasal <kasal@ucw.cz>
* tests/foreign.at tests/semantics.at, tests/tools.at: Remove
parameters for AT_CLEANUP.
* tests/local.at (AT_CHECK_AU_MACRO): Likewise.
2007-05-14 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
* doc/autoconf.texi (C Compiler): Likewise.
2007-05-14 Noah Misch <noah@cs.caltech.edu>
* lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
2007-05-09 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi: Direntry for "autoconf Invocation"
renamed to "autoconf-invocation"
* doc/autoconf.texi (Caching Results): The CACHE-ID variable
in the examples should not use the internal "ac_" prefix.
2007-05-05 Noah Misch <noah@cs.caltech.edu>
* lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
* doc/autoconf.texi ($@, case): Document Zsh limitations.
2007-05-03 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
Reorganize the comments before and in the macro.
2007-05-02 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/lang.m4, lib/autoconf/c.m4,
lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
section titles and other comments; no code change.
2007-05-01 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Particular Programs): Typo
@acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
2007-04-30 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
'configure' will fail if the shell lacks proper support for shell
functions. Suggested by RMS.
2007-04-29 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Builtins): Correct the warning
about Solaris /bin/printf '%010000x' 123. Problem reported by
Bruno Haible.
2007-04-28 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
for a.* when searching for executables, as this prevents users
from having files like a.c. Problem reported by Ralf Wildenhues in:
http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
This fixes a problem introduced on 2000-12-19.
2007-04-26 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
/bin/printf '%010000x' 123. Problem reported by Arto C. Nirkko
via Bruno Haible.
2007-04-12 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
AC_CHECK_TYPE, AC_CHECK_TYPES.
* doc/autoconf.texi (Generic types): C types must be type-names
(the C terminology), not type-ids (the C++ term). C++ types
must not be anonymous.
* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
for C++; this drops support for anonymous struct and union types,
which were problematic anyway.
* tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
for C++.
2007-04-12 Jim Meyering <jim@meyering.net>
* doc/autoconf.texi (Libraries): Typo fix: insert missing "in".
2007-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
to prefer a link source from the build tree, if it exists.
Report by Pallav Gupta <pallavgupta@gmail.com>.
2007-04-11 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Generic Types): Document the restrictions
on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
(Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
with objects too. Document the restrictions on its use.
Document the restrictions on AC_CHECK_ALIGNOF's type argument.
* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
works but the latter doesn't, then it's a valid type.
This lets people use function types and so forth.
For C++ there doesn't seem to be a simple solution, so leave it alone.
(AC_CHECK_SIZEOF): Allow argument to be a variable.
(AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
AC_CHECK_TYPE; that wasn't documented or necessary.
2007-04-11 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
when cross-compiling.
2007-04-11 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (External Software): Fix a typo in the
previous change.
2007-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (External Software, Package Options):
Fix ambiguous wording. Report by Reuben Thomas <rrt@sc3d.org>.
2007-04-06 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
obsolescent. Suggested by Bruno Haible.
* NEWS: Document this.
2007-03-29 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Here-Documents, Limitations of Builtins):
(Limitations of Usual Tools): Don't say "older" if Solaris 10 by
default still has the problem. Problem reported by Bruce Korb.
2007-03-28 Stepan Kasal <kasal@ucw.cz>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
comment in the generated config.status.
2007-03-27 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
2007-03-26 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Shellology): Rework treatment of the 'test'
command and case statements to make it a bit clearer and describe
more pitfalls.
2007-03-23 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
checks for unsigned long long int.
2007-03-19 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Usual Tools): Warn about other
nonstandard grep R.E. escape sequences.
2007-03-17 Jim Meyering <jim@meyering.net>
* doc/autoconf.texi: Adjust grammar around use of "heuristics".
(Limitations of Usual Tools): Also list \< and \>, and mention that
HP-UX's grep, like the one from Solaris, does not support that syntax.
2007-03-09 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Specifying Names): `--host' does not
change the build type.
2007-03-05 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
suggests AC_CONFIG_HEADERS.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
AC_CONFIG_HEADERS. Problem reported by
Peter O'Gorman.
2007-02-28 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
Problem reported by Paolo Bonzini in:
http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
* tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
universal binaries. Problem reported by Elias Pipping.
2007-02-27 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
* doc/autoconf.texi (C Compiler): Document this. There is a new
extra argument ACTION-IF-UNIVERSAL.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
Reindent for sanity's sake.
2007-02-24 Eric Blake <ebb9@byu.net>
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
copyright.
* lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
(_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
2007-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autotest/general.m4 (AT_INIT): With --clean, return exit
status of rm so we know when it failed.
If cleaning of test dir failed before running the test, warn.
Output the line separator in verbose mode before the warning
to make clear the warning belongs to the following test.
2007-02-08 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Parentheses): Mention problem with (( in
shells.
2007-02-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
and Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
errors introduced in last change.
2007-02-07 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
an actual carriage return. Use "ac_cr" to contain the actual
carriage return.
* doc/autoconf.texi (Limitations of Usual Tools): Document problem
with traditional Awk and begin.
* tests/torture.at (Limitations of Builtins): Document the problem
with Bash 2.03 printf.
(Substitute and define special characters):
Remove trailing white space. Work around a bug in Solaris 8 /bin/bash.
2007-02-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (tiny change)
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
input from /dev/null in awk test, so even Solaris /usr/bin/awk
will not wait for input with a script containing only a BEGIN
rule.
2007-02-03 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
requirements.
* README: Likewise.
2007-02-02 Eric Blake <ebb9@byu.net>
* NEWS: Update copyright.
* m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
broken.
* configure.ac: Update error message.
* NEWS: Note that M4 1.4.5 or later is now a hard dependency.
Reported by Gary Vaughan and Jim Meyering, and problem analyzed
by Stepan Kasal:
http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
2007-01-31 Eric Blake <ebb9@byu.net>
* THANKS (people): Update.
2007-01-28 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
latest version.
(Shell Substitutions): Note problems with @{var:=value} etc.
Add a new section for problems with @{#var} etc. Problem noted
by Ralf Wildenhues. See:
http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
2007-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
trace, if a package uses AC_PROG_MKDIR_P explicitly. The actual
substitution will still be done by the special code.
Report by Jim Meyering.
* doc/autoconf.texi (File System Conventions): Mention that
$PATH_SEPARATOR is for the build system only.
Report by Keith Marshall.
2007-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Setting Output Variables): Mention that
all non-NUL characters are ok in substituted values.
* lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
(_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
carriage return for $AWK, needed for BSD awk.
* tests/torture.at (Substitute and define special characters):
Test all 8 bit non-NUL characters.
Report against Automake by Patrick Welche.
2007-01-15 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi: Direntry for "autoconf Invocation" renamed.
2007-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
early on the reader side, drop stderr of the input to avoid
`broken pipe' error output; this may happen even with shell
builtin `echo' of some bash versions. Reports by Ian Macdonald
<iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
separate items of `ac_user_opts', to avoid long lines.
(_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
2007-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi: Fix some typos.
2007-01-05 Paul Eggert <eggert@cs.ucla.edu>
Fix some wording problems noted by Paolo Bonzini in:
http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
* doc/autoconf.texi (Signed Overflow Examples): Give more
discussion about the allow_superuser_privileges example,
and change it a bit to make things clearer.
(Optimization and Wraparound): Clarify whether the compiler
will generate an infinite loop for the example derived from
Autoconf's mktime test.
(Signed Overflow Advice): Say that -ftrapv is meant for debugging.
Also, clarify unsigned multiplication overflow.
2007-01-04 Eric Blake <ebb9@byu.net>
* bin/Makefile.am (RELEASE_YEAR): New macro.
(edit): Use it to supply correct copyright year to scripts.
* bin/autoconf.as (version): Use it.
* bin/autoheader.in ($version): Likewise.
* bin/autom4te.in ($version): Likewise.
* bin/autoreconf.in ($version): Likewise.
* bin/autoscan.in ($version): Likewise.
* bin/autoupdate.in ($version): Likewise.
* bin/ifnames.in ($version): Likewise.
2007-01-02 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Integer Overflow): Revised based on today's
feedback. The most important changes document what happens when
you convert an out-of-range value to a signed integer type, and
say that (sum < a) != (b < 0) reliably detects overflow when sum =
a + b.
* doc/autoconf.texi (Integer Overflow): Greatly expand and
rewrite, taking notions from the recent discussion on the gcc and
autoconf mailing lists; please see
http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
and follow the many links.
(Integer Overflow Basics, Signed Overflow Examples):
(Optimization and Wraparound, Signed Overflow Advice):
(Signed Integer Division): New sections.
2006-12-28 Steven G. Johnson <stevenj@alum.mit.edu>
* lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
preprocessor macro arguments in traced name.
* doc/autoconf.texi (Defining symbols): Document longstanding
support for AC_DEFINE-ing macros with arguments, and document
behavior when the same variable has multiple AC_DEFINEs.
* lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
macros directly, giving much shorter and simpler code.
2006-12-28 Malcolm Purvis <malcolmp@xemacs.org> (trivial change)
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
space before "$ac_configure_args" to prevent a 'config.status
--recheck' failure if ac_configure_args doesn't contain a leading
space. This works around a problem with the XEmacs configure.ac,
which uses the (undocumented) ac_configure_args variable
inconsistently with Autoconf.
2006-12-22 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
Include <limits.h>, and use its INT_MAX to rewrite the
j loop so that it does not overflow 'int'. Problem reported by
Ralf Wildenhues in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
Play it safe by shifting left by 1 rather than multiplying by 2,
as GCC is less likely to optimize this away when the value
is signed (when it assumes overflow leads to undefined behavior).
Also, don't assume time_t uses two's complement.
2006-12-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/torture.at (Substitute a 2000-byte string): Avoid using
a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
dumps core on it. Report by Tim Rice.
2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
* lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
--disable-option-checking to --help output even when
AC_PRESERVE_HELP_ORDER is not used.
(_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
--with argument, rather than argument with [-.] replaced by
underscores.
* NEWS: Fix typo in previous change; the news was in the
wrong section.
2006-12-18 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Warnings are now generated by default for unknown
--enable-* and --with-* options.
* doc/autoconf.texi (Option Checking): Renamed from
(Configure Option Checking). Tighten up the wording a bit.
(External Software, Package Options): Cross-reference to Option
Checking, and use this to shorten our section.
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
"$x" to test "x$foo" != x.
* lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
Don't warn if $enable_option_checking is "no".
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
ac_unrecognized_opts to the empty string.
Don't echo the unrecognized opts, as this might mishandle
backslashes or leading -.
(AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
usage next to the other --disable-FEATURE options in the
help string.
2006-12-18 Steven G. Johnson <stevenj@alum.mit.edu>
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
(_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
Print warning for unrecognized --with and --enable options
(AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
* lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
Disable option checking when subdirs are configured.
(AC_OUTPUT): If warnings are enabled, print warning about
unrecognized --with and --enable options at the end of
the configure output (as well as at the beginning).
* doc/autoconf.texi (Option Checking): New node.
Document new option warning functionality.
2006-12-16 Eric Blake <ebb9@byu.net>
* configure.ac (AC_INIT): Bump version, since 2.61a is released.
* NEWS: Start news for current version.
2006-12-15 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
Define HAVE_GETMNTENT to 1, not to the empty string.
Problem originally reported by Jochen Friedrich in
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
This change prompted by a problem report by Andrey Simonenko in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
* doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
object-like macros only, in the traditional portable character
set.
* lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
Warn about attempts to define things that are not identifiers.
* lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
awful hack that AC_DEFINEd macro names containing parentheses.
2006-12-12 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi: Undo some of the 2006-12-10 change. It was
too drastic, even if Texinfo in theory requires it for info mode.
(config.status Invocation): Renamed back from Recreating a
Configuration).
(Obsolete config.status Use): Renamed back from Obsolete Recreation.
(Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Version 2.61a.
2006-12-11 Paul Eggert <eggert@cs.ucla.edu>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* NEWS: Document changes with echo and printf, and the lack
of limits on the total size of multi-line values of substituted
variables, and the AC_FUNC_FSEEKO fix.
2006-12-10 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Writing Autoconf Input): Renamed from
Writing configure.ac.
(Autoconf Input Layout): Renamed from configure.ac Layout.
(Recreating a Configuration): Renamed from config.status Invocation.
(Obsolete Recreation): Renamed from Obsolete config.status Use.
(acconfig Header): Renamed from acconfig.h.
(20th-century Autoconf 2): Renamed from Autoconf 2.13.
(Writing Testsuites): Renamed from Writing testsuite.at.
(Autom4te Cache): Renamed from autom4te.cache.
* BUGS: Remove mention of VPATH problem, since it's now documented
not to be a bug in the Autoconf build procedure itself, but rather
a problem with the proprietary `make' programs.
* doc/autoconf.texi (Build Directories): Add a cross reference
to VPATH and Make.
* build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
* doc/standards.texi: Sync from gnulib.
* man/autoconf.1, man/autoheader.1, man/autom4te.1, man/autoreconf.1:
* man/autoscan.1, man/autoupdate.1, man/config.guess.1:
* man/config.sub.1, man/ifnames.1: Remove from CVS, since they're
generated automatically.
2006-12-06 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
C 5.8 on Solaris 10. Using -xc99=all rather than -xc99 bypasses
the buggy -xc99 option of Forte Developer 7 C on Solaris 9.
2006-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
`CEOF$ac_eof' special marker, the awk script cannot contain a
line matching `^CEOF', so this is not needed any more.
* tests/torture.at (Substitute a newline): Expose the `%!_!# '
special marker in the test.
2006-12-06 Stepan Kasal <kasal@ucw.cz>
* tests/tools.at (autom4te preselections): Use `find -newer';
remove one of the sleeps.
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
more readable, using ...
(_AC_INIT_PARSE_ENABLE2): ... this new helper macro.
* doc/autoconf.texi (autoheader Invocation): Do not double-
quote the parameter of `AH_BOTTOM' in the example.
2006-12-05 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Configuration Headers): Remove the
example with multiple input files.
(autoheader Invocation): Encourage `AH_BOTTOM', discouraging
multiple input files.
2006-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
creating the awk substitution script, handle one input line at a
time, so that the maximum length of a substituted (multi-line)
value is not limited by the size of the sed pattern space.
The trade-off is a slightly repetitive sed script.
* doc/autoconf.texi (Limitations of Usual Tools): Branch labels
can only have up to 7 characters, due to Solaris 10 /bin/sed.
* tests/torture.at (Substitute a 2000-byte string): Increase the
test with several long lines, they should not be caught by sed
limits any more.
* tests/tools.at (autom4te preselections): New test, to flag
entries missing from autom4te.cfg.
Report by David Byron <dbyron@hheld.com>.
* tests/torture.at (Substitute a 2000-byte string): Actually use
AC_PROG_AWK, so the last change works as intended.
(Substitute and define special characters): Likewise.
(Substitute a newline): Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
instead of `awk' consistently.
(_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
* tests/torture.at (Torturing config.status): Test both the
result of AC_PROG_AWK and plain awk.
(Substitute a 2000-byte string): Likewise.
(Substitute and define special characters): Likewise.
(Substitute a newline): Likewise.
2006-12-04 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
can be assigned to a function pointer. Problem reported by
Peter Palfrader in <http://bugs.debian.org/401377>. Based on
part of a patch by Ralf Wildenhues in that same bug report.
2006-12-01 Paul Eggert <eggert@cs.ucla.edu>
* tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
* tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.
2006-12-01 Eric Blake <ebb9@byu.net>
* lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
cross-compiling from cygwin to mingw.
Reported by Bob Rossi. This resurrects the 2000-11-30 patch to
aclang.m4, which was mistakenly removed in the 2001-09-17 patch
to lib/autoconf/c.m4.
2006-12-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
string for more reliable failure. Wrap the entire test that
causes the broken Solaris printf to dump core, in a subshell,
so the segmentation fault message is reliably suppressed.
Fix shell expansion errors by using /usr/ucb/echo always;
avoid an error on systems without it by another subshell.
Avoid m4 expansion of `$1'. Set the zeroth argument of the
subshell-$as_echo to `as_echo', for better error message.
2006-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
`BASH_SOURCE' contain a newline, set them to empty, as they may
not be unset.
2006-11-27 Paul Eggert <eggert@cs.ucla.edu>
Turn AC_FUNC_SETVBUF_REVERSED into a noop. It's been obsolete for
years and is too hard to maintain now. The last straw was
reported by Jerker Baeck in
<http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
* NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
* doc/autoconf.texi (Particular Functions): Move
AC_FUNC_SETVBUF_REVERSED from here...
(Obsolete Macros): ... to here. Say that it does nothing now.
* lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
Turn into (almost) a no-op.
* lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
(AC_C_VOLATILE):
Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
These macros are obsolescent and new applications shouldn't need them.
* lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
(AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
(AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
(AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
(AC_FUNC_VPRINTF): Likewise.
* lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
(AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
* lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.
* doc/autoconf.texi (Setting Output Variables): Mention that
@VAR1@VAR2 has unspecified behavior. Problem reported by
Ralf Wildenhues.
* NEWS: Mention this.
* Makefile.am: Put only a single '#' into the copyright notice,
so that it's also present in the output file. Standardize wording
in makefile copyright notices to match GNU coding standards.
* bin/Makefile.am: Likewise.
* doc/Makefile.am: Likewise.
* lib/Makefile.am: Likewise.
* lib/freeze.mk: Likewise.
* lib/autoconf/Makefile.am: Likewise.
* lib/autoscan/Makefile.am: Likewise.
* lib/autotest/Makefile.am: Likewise.
* lib/m4sugar/Makefile.am: Likewise.
* man/Makefile.am: Likewise.
* tests/Makefile.am: Likewise.
* lib/emacs/Makefile.am: Remove copyright notice; it's just a
one-line file.
2006-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
in the sed script that mangles the awk script: delete up to the
first exclamation mark only.
* tests/torture.at (Substitute and define special characters):
Test '!' too.
2006-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Rewrite config files generation: avoid quadratic growth in
the number of substituted variables by using awk instead of sed
for the bulk of the substitutions.
* NEWS: Mention this.
* doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
forbidden in the output (and thus input) file.
* lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
(_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
generate just one large awk script for substitutions,
eliminating much of the earlier complexity, while adding some
new complexity. Only expand the substitution templates at
configure time, for smaller configure script size. If
_AC_SUBST_FILES are used, test 'awk' for working getline support
at config.status time. If absent, interpolate through the
shell. The awk script was written with much help
from Paolo Bonzini and Paul Eggert.
(_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
(_AC_SED_FRAG_NUM): Likewise.
(_AC_SUBST_CMDS): Renamed from...
(_AC_SED_CMDS): ...this.
(_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
* tests/torture.at (Substitute a 2000-byte string): Also
substitute a line with 1000 words, and a variable with several
long lines.
(Substitute and define special characters): Test awk special
characters, and put substitution input strings `@foo@' in the
output, to test that no recursion happens; test several other
combinations from Paolo Bonzini.
2006-11-25 Paul Eggert <eggert@cs.ucla.edu>
* lib/autotest/general.m4 (AT_INIT): Undo recent changes
that replaced echo with AS_ECHO where this wasn't necessary.
Problem reportd by Ralf Wildenhues.
* lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
where "/usr/bin/printf '%s\n' S" dumps core if S is long.
This is Sun bug 4206210. Problem reportd by Ralf Wildenhues.
2006-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/freeze.mk (GREP): Removed, no need to initialize this.
2006-11-21 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Usual Tools): Don't claim
that traditional Awk lacks 3-arg "split". It has it.
Mention that FS must be a single character, and a few other
99-byte limits of traditional Awk.
Mention that if (i in a) doesn't work with traditional Awk.
2006-11-18 Paul Eggert <eggert@cs.ucla.edu>
* tests/autotest.at (BSx641-newline in command):
(BS-BS-newline in command, BSx640-newline in command):
(Newline-CODE-BS-newline in command):
(Single-quote-BS-newline in command):
(Single-quote-newline-BS-newline in command):
Use printf '%s\n' instead of echo, for portability to hosts
where echo interprets backslashes. This will break on hosts
that lack printf, but for now let's assume all such hosts
are dead (if not, we should get reports of test failures).
2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
'echo' has some portability problems, when given a first argument
with a leading '-', or when given any argument containing '\'.
Avoid using 'echo' in these cases.
* bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
* lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
argument might be unportable.
* lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
* lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
(_AC_FC_LIBRARY_LDFLAGS): Likewise.
* lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
(_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
(AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
* lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
(AC_PROG_MAKE_SET): Likewise.
* lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
(_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
* lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
(AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
(_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
(AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
* bin/autoconf.as: Redo verbose flag implementation, as the old
scheme wouldn't work with AS_ECHO.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
Don't use ECHO_T, since ECHO_N is now reliable.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
rather than using a here-document to put the script into a file.
(_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
use AS_ECHO.
* lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
AS_ECHO_N rather than ECHO_N and ECHO_C. This doesn't fix any
bug, but we might as well stop using ECHO_N and ECHO_C internally.
* lib/autotest/general.m4 (AT_SETUP): Likewise.
* lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
(_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
operand, as AS_ECHO requires. Avoid double file name expansion.
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
Don't set as_nl, since _AS_ECHO_PREPARE does that now.
(_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
(AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
* tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
Double-quote strings that would otherwise contain M4 comments.
* tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.
* configure.ac (AC_INIT): Bump to 2.61a.
* NEWS: Likewise.
2006-11-17 Paul Eggert <eggert@cs.ucla.edu>
Version 2.61.
* configure.ac (AC_INIT): Bump to 2.61.
* NEWS: Likewise.
* tests/autotest.at (Macro with backslash in a test title):
Comment out for now, as this tests neither fails nor passes
reliably. Problem reported by Ralf Wildenhues.
2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
in previous change, which caused test failures.
2006-11-16 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
code for --enable, --disable, --with, and --without to...
(_AC_INIT_PARSE_ENABLE): ... a new macro.
* doc/autoconf.texi (Package Options):
* NEWS: Document that AC_ARG_ENABLE allows dots, too.
2006-11-16 Paul Eggert <eggert@cs.ucla.edu>
Import these changes from config via gnulib:
2006-11-15 Ben Elliston <bje@gnu.org>
From Josselin Mouette <joss@debian.org>:
* build-aux/config.guess (SX-8:SUPER-UX:*:*): New.
2006-11-08 Ben Elliston <bje@gnu.org>
* build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.
2006-11-07 Steve Woodford <scw@NetBSD.org>
Ben Elliston <bje@gnu.org>
* build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.
* build-aux/config.sub (sh5el): New basic_machine.
Import this change from coreutils:
2006-02-13 Jim Meyering <jim@meyering.net>
* GNUmakefile (all): Emit diagnostics to stderr, not stdout.
Import this change from gnustandards via gnulib:
2006-11-15 Karl Berry <karl@gnu.org>
* standards.texi: core -> memory, throughout.
(CPU Portability): show correct example of calling write
on a char value; thanks to Paul Eggert for the code.
Both of these suggestions from Eugene Y. Vasserman.
Import these changes from texinfo via gnulib:
2006-11-08 Karl Berry <karl@gnu.org>
* build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and
as well as pdf images, since they are supported in pdftex with
no further ado.
2006-11-05 Karl Berry <karl@gnu.org>
* doc/texinfo.tex (Image Syntax): don't mention GIF any more.
2006-11-13 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Document the AC_ARG_WITH change.
2006-11-13 Bruno Haible <bruno@clisp.org>
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
options, transliterate also dots to underscores.
(_AC_ENABLE_IF): Transliterate also dots to underscores.
* doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
first argument may also contain dots.
2006-11-09 Paul Eggert <eggert@cs.ucla.edu>
* tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
benefit of platforms like Solaris+GCC where it is common to have a
non-working g++ installation.
2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
and Joel E. Denny <jdenny@ces.clemson.edu>
and Paul Eggert <eggert@cs.ucla.edu>
* tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
and non-portable sed scripts, and use $CONFIG_SHELL when invoking
./micro-suite.
2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
Imported from a similar patch to gnulib by Bruno Haible.
2006-11-08 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
* doc/autoconf.texi (C Compiler): Document them.
* lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
New macros, taken from gnulib.
2006-11-07 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
Matthew Woehlke.
2006-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/torture.at (Configuring subdirectories): Do not skip
Automake 1.10 nor future Automake 11.1 (sic).
2006-10-26 Joel E. Denny <jdenny@ces.clemson.edu>
and Stepan Kasal <kasal@ucw.cz>
Handle special characters in test case titles correctly.
* lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
properly.
(AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
* tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
argument. Extend to check titles printed by ./micro-suite and
./micro-suite -l and the title in micro-suite.log.
(Backquote in a test title,
Single-quote in a test title,
Double-quote in a test title): Don't expect failure anymore.
(Backslash in a test title): Put a non-whitespace character after the
backslash so that Bourne shells might actually see it as an escape
sequence.
(Brackets in a test title,
Pound in a test title,
Comma in a test title,
Quoted Macro in a test title,
Macro in a test title,
Macro with single-quote in a test title): New tests.
(Macro with backquote in a test title,
Macro with double-quote in a test title,
Macro with backslash in a test title): New tests expected to fail.
* tests/torture.at (#define header templates): M4-quote this title in
AT_SETUP call so that no M4 code is commented inadvertently somewhere.
The visible effect was a stray [] in the testsuite output.
2006-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Limitations of Builtins): Do not invoke
`trap ... 0' inside a function, for AIX sh.
2006-10-26 Paul Eggert <eggert@cs.ucla.edu>
* tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
5363) simply issues a warning when dividing by zero at compile
time. Problem reported by Elias Pipping.
2006-10-26 Eric Blake <ebb9@byu.net>
* THANKS: Update.
* doc/autoconf.texi (Evaluation Macros): Improve the example to
show effect on macros that expand with commas.
Reported by Joel E. Denny.
* tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
Also work with M4 1.4.8.
2006-10-25 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
Jim Meyering.
2006-10-25 Stepan Kasal <kasal@ucw.cz>
* tests/tools.at (autom4te --force): New test, verifies that
`--force' always rewrites the output file.
2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Usual Tools): Document that rm
needs operands on NetBSD 2.0.2. Problem reported by Bruno Haible.
2006-10-24 Stepan Kasal <kasal@ucw.cz>
* tools/trace.at (autoconf --trace: user macros): Test `$%'.
2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
reported by Nelson H. F. Beebe for Coreutils 6.4.
* tests/tools.at (autoconf --trace: user macros): Remove test
for tracing multiline macros, since m4 1.4.7a uses a different
way to number lines. Problem reported by Ralf Wildenhues.
2006-10-24 Stepan Kasal <kasal@ucw.cz>
* bin/autom4te.in (handle_m4): Do not redirect stdin to
/dev/null since the heuristics for interactive behaviour was
fixed in CVS m4.
* bin/autom4te.in: With --force, always refresh the output
file. Problem reported by Greg Schafer <gschafer@zip.com.au>.
* bin/autoconf.as: Fix the verbose message at the end.
2006-10-23 Paul Eggert <eggert@cs.ucla.edu>
* configure.ac (AC_INIT): Bump to 2.60c.
* NEWS: Likewise.
2006-10-22 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Version 2.60b.
Import this change from Texinfo:
2006-10-15 Karl Berry <karl@gnu.org>
* build-aux/texinfo.tex: automake 1.10
* NEWS: Remove AC_CACHE_CHECK_INT.
* doc/autoconf.texi (Caching Results): Likewise.
* lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
AC_CACHE_CHECK_INT, since it's no longer public.
* lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
* tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
2006-10-19 Eric Blake <ebb9@byu.net>
* lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
(m4_maketemp): Avoid warnings with M4 1.9a.
* lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
m4_mkstemp.
* doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
* NEWS: Likewise.
2006-10-16 Eric Blake <ebb9@byu.net>
* doc/autoconf.texi (Setting Output Variables): Fix typo.
* bin/autoconf.as (version): Reword to match GNU Coding
Standards.
* bin/autoheader.in (version): Likewise.
* bin/autom4te.in (version): Likewise.
* bin/autoreconf.in (version): Likewise.
* bin/autoscan.in (version): Likewise.
* bin/autoupdate.in (version): Likewise.
* bin/ifnames.in (version): Likewise.
2006-10-14 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
looking for special shell characters.
* lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
macro defined by AS_VAR_PUSHDEF before passing it as a
parameter.
* lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
* lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
(_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
Likewise.
* lib/autotest/general.m4 (AT_INIT): Quote parameters of
AS_VAR_* properly.
* tests/m4sh.at (AS_LITERAL_IF): New test.
2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
(Imported from Automake.)
* build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
which incorrectly sets the mode of an existing destination
directory. In some cases the unpatched install-sh could do the
equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
system. We hope this is rare in practice, but it's clearly worth
fixing. Problem reported by Alex Unleashed in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
Also, don't bother to check for -m bugs unless we're using -m;
suggested by Stepan Kasal.
2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
Import this change from Automake:
2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
* lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
is enabled by default with gnu and gnits strictness.
Report from Bruno Haible.
2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
* lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
gnu and gnits modes.
Import this change from Config:
2006-09-20 Ben Elliston <bje@gnu.org>
* build-aux/config.sub (score, score-*): New.
Import this change from Gnulib:
2006-09-16 Karl Berry <karl@gnu.org>
* doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
to avoid sectioning errors.
Import these changes from Texinfo:
2006-10-04 Karl Berry <karl@gnu.org>
* build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
(\quoteexpand): rename to \rquoteexpand.
(\codequoteleft): new def, to look for @set codequotebacktick.
(\lquoteexpand, \quoteexpand): new defs.
(\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
(\code): must use new \...Char values, since now ` is active.
2006-08-26 Karl Berry <karl@gnu.org>
* build-aux/texinfo.tex (\textdegree): New command.
2006-08-12 Karl Berry <karl@gnu.org>
* build-aux/texinfo.tex (error \box0): smaller font.
2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Autoheader Macros): Fix syntax error.
2006-10-13 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Autoheader Macros): Warn that the text
added to the template can get mangled.
2006-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
include the default headers, and redefine obstack_chunk_alloc
and obstack_chunk_free. Fixes false failure with glibc.
2006-10-12 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
for backward compatibility with Libtool 1.5.22. Problem reported
by Ralf Wildenhues.
2006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
AC_PROG_CC.
Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
the NonStop platform.
* doc/autoconf.texi (Posix Variants): Likewise.
* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
* lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
(AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
(_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
Use a better substitute, by inspecting the output of "ls"
rather than just using ":".
* lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
rather than AS_EXECUTABLE_P, since we needn't worry about
non-regular files here.
* NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
due to configuration hassles with this. See Tonya Underwood's report
<http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
* doc/autoconf.texi (Special Shell Variables): Likewise.
2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
(_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
2006-10-11 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
initialization which is not inherited through the environment
(_AS_BOURNE_COMPATIBLE): ... to this new macro.
(_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
2006-10-09 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Usual Tools): Describe
problems with mkdir -p -m.
2006-10-06 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
comment about ac_cpp_err; it was incorrect, and anyway
ac_cpp_err is being removed below.
* lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
are both 'yes'. In fact, don't bother setting ac_cpp_err at all;
nobody uses it.
(_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
with werror_flag and conftest.err and so forth. This is more
compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
and anyway the user shouldn't normally want to see this gorp logged.
Problem reported by Ralf Wildenhues.
* lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
empty, not 'no', since the rest of the code uses 'test -z'.
2006-10-04 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
Use a single call to AC_DO_TOKENS rather than multiple, for
efficiency.
(_AC_LINK_IFELSE): Test that resulting file is executable.
Problem reported by mwoehlke in
<http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.
* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
than creating a file to use with test -x; this is much faster.
2006-10-02 Bruno Haible <bruno@clisp.org>
* lib/autom4te.in (Automake-preselections): Add
AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.
2006-09-27 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
standard error, `experr' should be used, not `expout'.
2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
fseeko testing program twice; just use the earlier result.
* lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
Set cache var to 'unknown' (not 'no') if leaving the macro unset
still doesn't let the program compile.
(AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
failed.
* lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
(AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h. Just
include it, without including anything else.
(AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
expressions.
(AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.
2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
`error.h', and include it, for a `error_at_line' prototype.
Use a nonempty format string in the link test.
* lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
for a declaration of wait3.
2006-09-26 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: AC_CHECK_DECL now also works with aggregate objects.
* doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL
can apply to constants too, and that it checks for macro defns.
* lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,
and simply cast the identifier to void. This handles structure
values. Problem reported by Ralf Wildenhues.
* tests/semantics.at (AC_CHECK_DECLS): Also check enums.
2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/semantics.at (AC_CHECK_DECLS): Also check macros,
structure, and function symbols.
2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
member.
2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Recommend M4 1.4.7 instead of 1.4.6.
* README: Likewise.
* doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
warnings (uninitialized value).
(AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
present.
* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
parentheses.
(AC_STRUCT_TM): Likewise, avoid unused variables.
2006-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
(_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
(AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
* lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
Report by Olly Betts.
2006-09-19 Eric Blake <ebb9@byu.net>
* m4/m4.m4: Change copyright.
* configure: Regenerate.
* Makefile.in: Likewise.
* bin/Makefile.in: Likewise.
* doc/Makefile.in: Likewise.
* lib/Makefile.in: Likewise.
* lib/Autom4te/Makefile.in: Likewise.
* lib/autoconf/Makefile.in: Likewise.
* lib/autoscan/Makefile.in: Likewise.
* lib/autotest/Makefile.in: Likewise.
* lib/emacs/Makefile.in: Likewise.
* lib/m4sugar/Makefile.in: Likewise.
* man/Makefile.in: Likewise.
* tests/Makefile.in: Likewise.
* m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
* bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
* bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
--error-output, to avoid warnings with M4 2.0.
2006-09-19 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
* lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
2006-09-15 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
expansion of AC_CHECK_FUNCS.
2006-09-14 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
mistaken comment: the path has to be relative; do not use
the path at runtime.
2006-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
argument to `--prefix' for sub-configure scripts.
Pass `--silent' to sub-configure scripts.
* tests/torture.at (Configuring subdirectories): Add tests
for both changes.
* doc/autoconf.texi (Setting Output Variables): Fix example to
not show `--silent' being passed to a `configure' re-run.
2006-09-12 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
* lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
for the existence of the directory at configure-time. That's
too late, anyway. Problem reported by Stefan Seefeld.
* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
7.1.4 /usr/bin/posix/sh described by Tim Rice in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
2006-09-11 Stepan Kasal <kasal@ucw.cz>
* tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
works with GNU M4 1.4.3 again; make the normalized form
match the current m4 message; fix the description.
* test/tools.at (autom4te cache): Adapt to the change.
2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test
to catch glibc bug 2821
<http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
AC_CHECK_FUNCS. Don't check for stdlib.h, since we now
assume C89.
2006-09-08 Stepan Kasal <kasal@ucw.cz>
* lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
preselections ...
(Autoconf): ... here.
(Autoscan-preselections): Delete.
2006-09-07 Stepan Kasal <kasal@ucw.cz>
* lib/autom4te.in (Automake-preselections): Preselect
AM_ENABLE_MULTILIB.
2006-09-05 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Preset Output Variables): srcdir and
top_srcdir are not necessarily relative. Problem reported
by Dries Kimpe.
2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
f90/f95 because the latter drivers of AIX Fortran 9.1 do not
accept files with extension `.f'. For consistency, also prefer
xlf over f77.
* doc/autoconf.texi (Fortran Compiler): Remove mention of bug
from last patch.
2006-09-05 Romain Lenglet <rlenglet@users.forge.objectweb.org>
* lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
of ERLANG_LIB_VER_* variables.
* doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
variables.
2006-09-03 Paul Eggert <eggert@cs.ucla.edu>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Limitations of Builtins): Document 'unset'
bugs of Bash 2.01 and 2.05a.
(Fortran Compiler): Document that AC_PROG_CC should be called
before AC_PROG_FC, due to a bug in Autoconf.
2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: New macro AC_CACHE_CHECK_INT. It replaces the
old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
except the first two arguments are reversed.
* doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
(Generic Compiler Characteristics): AC_COMPUTE_INT no longer
caches nor outputs a diagnostic. Suggested by Bruno Haible.
* lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
equivalent to the old AC_COMPUTE_INT.
(AC_COMPUTE_INT): No longer caches or reports. New signature.
All uses changed to AC_CACHE_CHECK_INT.
* tests/base.at (AC_CACHE_CHECK_INT): New test.
* tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
2006-08-31 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
and AC_REPLACE_FNMATCH are now obsolescent in Autoconf. New
programs should use their Gnulib counterparts.
* doc/autoconf.texi (Particular Functions): Likewise.
(Macro Names, testsuite Invocation): Replace uses of these
obsolete macros with uses of non-obsolete macros.
2006-08-29 Eric Blake <ebb9@byu.net>
* configure.ac (AC_INIT): Bump to 2.60b.
* NEWS: Update.
2006-08-28 Eric Blake <ebb9@byu.net>
* lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
mistakenly swapped on 2006-08-15.
2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Version 2.60a.
2006-08-25 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
file created by the PGI compiler.
2006-08-25 Noah Misch <noah@cs.caltech.edu>
* lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
simplify the code.
2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
Fix Lex library problem reported to us by Julio Garvia.
* doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
for the default, which the user can override.
* lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
deal with LEXLIB.
(_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
didn't work if some values were cached but not others. Test for
broken lex libraries like native ia64-hp-hpux11.22; see
<http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
work around the problem by preferring an empty LEXLIB to -lfl or
-ll. Let the user set LEXLIB='' to indicate no library needed.
* NEWS: Recommend M4 1.4.6 instead of 1.4.5.
* README: Likewise.
* doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
Rework to use more-modern build style.
Many files are renamed; all uses of their names were changed.
* .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
* .x-sc_useless_cpp_parens: New file.
* build-aux/config.guess: Renamed from config/config.guess. Update.
* build-aux/config.sub: Renamed from config/config.sub. Update.
* build-aux/elisp-comp: Renamed from config/elisp-comp.
* build-aux/install-sh: Renamed from config/install-sh. Update.
* build-aux/mdate-sh: Renamed from config/mdate-sh.
* build-aux/missing: Renamed from config/missing.
* build-aux/texinfo.tex: Renamed from config/texinfo.tex. Update.
* build-aux/vc-list-files: Renamed from config/vc-list-files.
* config/Makefile.am: Removed.
* config/mkinstalldirs: Removed.
* config/move-if-change: Removed.
* m4/m4.m4: Renamed from config/m4.m4. Add (C) to copyright notice.
* Makefile.am (SUBDIRS): Remove config.
(ACLOCAL_AMFLAGS): Include from m4, not config.
(EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
(WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
(autom4te-update): Rewrite with a loop. Get from gnulib, not automake.
Fail if there's an error.
* Makefile.cfg (move_if_change): Remove.
(wget_files): Remove.
(cvs_executable_files): New macro.
(cvs_files): Use it. Remove mkinstalldirs. Add fdl.texi.
(executable-update): Use $(cvs_executable_files).
(local-checks-to-skip): Remove.
* Makefile.maint: Merge from coreutils, plus add our own changes
(gzip_rsyncable): New macro.
(GZIP_ENV): Use it.
(CVS_LIST): Use build-aux/vc-list-files.
(VERSION_REGEXP): New macro.
(local-checks-available): Add patch-check, $(syntax-check-rules),
check-AUTHORS.
(syntax-check-rules): Compute dynamically.
(sc_cast_of_x_alloc_return_value): Work even if no source files.
(sc_cast_of_alloca_return_value): Likewise.
(sc_prohibit_atoi_atof): Simplify regexp.
(sc_no_if_have_config_h, sc_require_config_h):
(sc_prohibit_assert_without_use,
(sc_obsolete_symbols): Check for O_NDELAY.
(sc_texi_notab): Remove.
(sc-changelog): Don't make an exception for '----' lines.
(.re-list): Remove, so we don't have a junk file behind.
(sc_system_h_headers): Remove the need for .re-list.
(sc_the_the): New rule.
(sc_tight_scope): Simplify.
(sc_trailing_blank): Renamed from sc_trailing_space.
(longopt_re): New macro.
(sc_two_space_separator_in_usage): New rule.
(sc_unmarked_diagnostics): Look at all files under CVS.
(sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
(news-date-check, changelog-check): Version is OK.
(po-check): Look for lib files even if not in CVS.
(copyright-check): Use $() not ``.
(maintainer-distcheck): Do not depend on changelog-check.
(my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
Also check for -Wpointer-arith.
(WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
(xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
Remove.
(announcement): Add --gpg-key-id arg.
(cvs-sv): Remove.
(move_if_change): Just use mv.
(local_updates: Remove wget-update, po-update.
(po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
(config.guess-url_prefix, config.sub-url_prefix): Remove.
(ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
(standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
($(get-targets)): Remove.
(cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
(gnulib_repo): Renamed from automake_repo. Get from gnulib now.
(cvs-update): Get from gnulib.
(emut_upload_commands): gnupload is in build-aux now.
(alpha beta major): Add changelog-check. Check version.
* configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
(AC_CONFIG_FILES): Remove.
* bin/autoconf.as: Add spaces to avoid distcheck warning.
* config/announce-gen: Sync from coreutils.
* doc/make-stds.texi: Sync from gnulib.
* doc/standards.texi: Likewise.
* man/Makefile.am: Adjust for config -> build-aux renaming.
* tests/Makefile.am: Prefer $(FOO) to @FOO@.
* tests/local.at: Adjust from config -> build-aux renaming.
* tests/tools.at: Likewise.
* tests/torture.at: Likewise.
* NEWS: The C99 check now tests for vararg macros and 64-bit
preprocessor ints.
* doc/autoconf.texi (C Compiler): Document // comments, va_copy.
* lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
64-bit preprocessor ints. Check for static initialization of
long long. Remove unnecessary casts.
2006-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Particular Programs): Mention that
@INSTALL@ and @MKDIR_P@ may vary for different output files.
Reported by Alexandre Duret-Lutz.
2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
-lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by
Bill Northcott in
<http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
pacify insanely picky compilers. Problem reported by Eric Blake.
* doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
longer supported by Sun.
2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
-Wundef -Werror". Problem reported by David Fang in
<http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
* doc/autoconf.texi (Header Templates, Default Includes):
(Particular Functions, Generic Functions, Header Portability):
(Particular Headers, Generic Headers, Generic Declarations, Guidelines):
(Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
(Present But Cannot Be Compiled, Preprocessor Symbol Index):
Prefer #ifdef to #if.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
* lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
(AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
(AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
Likewise.
* lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
(AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
* lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
(AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
* lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
this.
2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Usual Tools): Document sed
problems with arg script text that doesn't end in newline, and
with '-e a...'. Problems reported by Ralf Wildenhues.
2006-08-12 Alexandre Julliard <julliard@winehq.org> (tiny change)
* lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
check for libXt by a check for libX11.
2006-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (config.status Invocation): Adjust according
to last change.
2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
--help' should mention that `--version' outputs configuration
settings. Report by Bruno Haible.
2006-08-06 Paul Eggert <eggert@cs.ucla.edu>
Fix test suite failures reported by Pierre in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
the compiler created a file "b.out" when it didn't create anything
at all.
* lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
Discard stderr too, when invoking the test script.
2006-08-05 Alexandre Julliard <julliard@winehq.org> (tiny change)
* lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
in the restoring of the werror flag.
2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Volatile Objects): Be even a little
less skeptical about "volatile", after discussion with
Bruno Haible on bug-gnulib.
(Limitations of Usual Tools): Warn about sed stripping
leading white space from text. From Bruno Haible.
2006-07-20 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
compiler complains about it, even if things works after the
complaint. Problem reported by Peter O'Gorman.
* doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
CPPFLAGS, and LDFLAGS better. Problem reported by Bruno Haible.
Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
2006-07-17 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
after -R regardless of host. Patrick Welche reports that this
fixes things on NetBSD 3.99.
* NEWS: Recommend M4 1.4.5.
* README: Likewise.
* doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
* tests/tools.at (autom4te cache): Update wording of diagnostic
to match M4 1.4.5.
2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
under AC_C_VOLATILE.
(Volatile Objects): Be a little less skeptical about what
"volatile" means. Derived from thoughts by Ben Pfaff in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
2006-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi: Fix some typos.
2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
* tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
more globally, since the 2006-06-30 patch didn't suffice. Problem
reported by Keith Marshall. Also, don't bother with builddir2,
since it shouldn't be needed any more.
2006-07-07 Paolo Bonzini <bonzini@gnu.org>
* doc/autoconf.texi (Generic compiler characteristics):
Document AC_COMPUTE_INT. Fix wrong statements on Default
Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
* lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
(_AC_COMPUTE_INT): Add obsoletion warnings.
* lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
AC_COMPUTE_INT.
* NEWS: Document change.
2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Volatile Objects): New section.
* NEWS: Document previous change.
2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
Require that long long int be at least 64 bits wide. C99 requires
this and enough programs depend on it so we should check for it.
Bruno Haible reports in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
that long long int is 32 bits wide with some nonstandard compilers.
(AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
* tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
to a nonexistent file, so that we don't have to worry about
a local site configuration that doesn't use /usr/local.
Problem reported by Keith Marshall in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi: Be more consistent about using @acronym with
"HP" and "HP-UX". Remove mention of OSF; the old version wasn't
quite right (it talked about "OSF/Tru64", even though the
operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
and it even mentioned "OSF 4"!) and at this point there's little
reason to talk about OSF any more, since it died in 1994.
(Specific Compiler Characteristics): Simplify example of
negative-size array.
(File Descriptors): Reorder to make the text flow better.
Remove joke about "appreciate the various levels"; I didn't get it.
Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
<http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
(File Descriptors, Limitations of Usual Tools):
Tone down the advice against renaming or removing open files.
(Limitations of Usual Tools): Add a new section, on 'rm'.
2006-06-26 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
-lXt in LIBS, idea from Karsten Hopp; this was due since
this change:
2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
(which belong to Xt, not X itself). See Debian bug 327655.
2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure.ac (AC_INIT): Bump to 2.60a.
* NEWS: Update.
2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Version 2.60.
* configure.ac, NEWS: Update.
2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/texinfo.tex: Sync from upstream.
* bin/autom4te.in (handle_traces): Transform the `@S|@'
quadrigraph correctly in traces.
* NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
Fix typos.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
not defined.
* doc/autoconf.texi (Changed Directory Variables): New node,
to document the whole `datarootdir' business a bit better.
* NEWS: Update.
* tests/torture.at (datarootdir workaround): Extend test.
Prompted by report by Alexandre Julliard.
2006-06-22 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
when using default mode of IBM C 6 for AIX. Problem and two-line
fix reported by Larry Jones.
2006-06-22 Alexandre Julliard <julliard@winehq.org>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
about literal '${datarootdir}' if a definition is found in the
output file.
2006-06-20 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Use "M4" rather than "m4" when appropriate.
Problem reported by Eric Blake.
* doc/autoconf.texi: Likewise.
Use @acronym around BSD, GCC, and GNU when appropriate.
(Why GNU M4): Renamed from "Why GNU m4".
(Redefined M4 Macros): Mention that Posix
m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
(Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
to int.
2006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* bin/autom4te.in (handle_output): Do not forbid the empty
pattern.
* tests/tools.at (autoconf: the empty token): New test.
2006-06-20 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
calls, so that we do not care whether they are LIFO or FIFO;
in the m4_wrap, do not check which diversion is the topmost
one, just check that the stack is balanced at the end.
* lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
base diversion forever--pop the previous diversion before
opening the new one; consequently, remove the m4_wrap call.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* tests/m4sugar.at: Do not use
m4_wrap([m4_diversion_pop([..])]), for educational purposes.
2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* NEWS: Document that m4wrap/m4_wrap might not be LIFO.
* doc/autoconf.texi (Redefined M4 Macros): Likewise.
Rework example of m4wrap token-pasting trouble so that it doesn't
care whether it's LIFO or FIFO.
Fix some "contrary to"s that are awkward in English.
2006-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
to `yes' instead of `int$1_t' if the type is found, for more
consistent configure output (where $1 is the number of bits).
(_AC_TYPE_UINT): Likewise for `uint$1_t'.
Suggested by Bruno Haible.
* lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
with system headers. Report by Bruno Haible.
2006-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/config.guess, config/config.sub: Sync from upstream.
* bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
in order to avoid picking up an older installed frozen m4sh.m4f.
Besides an outdated shell startup, this could have been created
by an earlier M4 version with incompatible frozen file format.
2006-06-16 Paul Eggert <eggert@cs.ucla.edu>
* README: Recommend m4 1.4.4 instead of 1.4.3..
* doc/autoconf.texi: Likewise.
(Special Chars in Names): Say that $(.FOO) is portable, as
suggested by Stepan Kasal.
(Installation Directory Variables, Build Directories):
(Automatic Remaking, Subdirectories, Fortran Compiler):
(Making testsuite Scripts, Defining Directories):
Quote variable usages better.
(Making testsuite Scripts): Add clean-local rule to makefile
snippet, by Eric Blake.
(Installation Directory Variables): Fix table item font.
Reword slightly to clarify. Generalize advice about
not using special characters to include all file-related
vars, not just VPATH.
(Special Chars in Variables): Warn about special characters in
$(srcdir) too.
(Assignments): Clarify default-value example as suggested by
Ralf Wildenhues in
<http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
(Special Shell Variables): Note leading ./ or ../, as suggested
by Eric Blake.
(Limitations of Builtins): Under cd, warn about CDPATH.
(The Make Macro MAKEFLAGS): Untabify. Problem reported by
Ralf Wildenhues.
2006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Configuration Actions): Remove duplicate
`@var', for texi2html.
(Systemology): Some more word wrapping, for DVI output.
(autom4te Invocation): The short option for `--melt' is `-M',
not `-m'.
2006-06-15 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi: More formatting and English tweaks,
many suggested by Ralf Wildenhues.
Reword to avoid "@code{...}'s" and the like, since it's ugly
with Emacs info mode. discontents -> woes.
Put a few "will"s back. time stamp -> timestamp.
side-effect -> side effect.
2006-06-14 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Initializing configure, Shell Substitutions):
Warn about $@ not persisting. Problem reported by Julien Danjou in
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
(Special Chars in Names): Renamed from Leading _ in Macro Names.
Mention other special chars, too.
2006-06-14 Eric Blake <ebb9@byu.net>
* doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
2006-06-13 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi: Some systematic minor improvements, as
follows. Use "makefile" when talking about makefiles
generally (which might be named "makefile" or "Makefile" or even
"foo.mk"), "Makefile" when talking about a specific makefile
called "Makefile". This unclutters the text from weird quotes
(e.g., "`Makefile's" in info mode). Similarly, use "@var{foo}
values" rather than "@var{foo}s" and similar constructs containing
"}s". Use "Make rules" rather than "Makefile rules". Minor
English-language improvements. Change the prefix "sub-" to "sub"
and "re-" to "re".
Put blank lines around examples more consistently.
Avoid "rather" and "very" as intensifiers.
Avoid "will" as an auxiliary.
(Limitations of Make): Split this node into....
(Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
(Leading _ in Macro Names, Backslash-Newline-Newline):
(Backslash-Newline Comments, Long Lines in Makefiles):
(Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
(obj/ and Make, make -k Status, VPATH and Make):
(VPATH and Double-colon, $< in Explicit Rules):
(Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
(Make Target Lookup, Single Suffix Rules, Timestamps and Make):
New nodes, resulting from splitup of Limitations of Make.
All cross-references changed. Raise the top node from
a section to a chapter, and all subnodes accordingly.
Redo the introductory wording to match the new organization.
(Installation Directory Variables): Use an example that is
closer to what Autoconf actually does. Mention that VPATH's
value should not contain metacharacters or white space.
(Fortran Compiler): Fix a VPATH bug in an example.
(Leading _ in Macro Names): Mention that this problem is no longer
of practical concern.
(VPATH and Make): Reword the advice to make it clearer
that Autoconf and Automake support VPATH in non-GNU make, but
many packages have bugs in this area.
($< in Explicit Rules): Refer to Build Directories rather
than using a (non-VPATH-safe) example.
(Automatic Rule Rewriting): Mention the sort of disaster that
can ensue with Solaris-style rule rewriting with VPATH.
2006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/install.texi (Compilers and Options): Weaken the
suggestion to use GNU make for VPATH builds.
* lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
in regular expression.
2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Installation Directory Variables):
Drop extra @samp from `@table @samp' item.
(Limitations of Usual Tools): Comment fix.
Do not nest @samp just to point to other table items.
(Writing testsuite.at) <AT_CHECK>: The second argument to
`@dvar' is already @samp'ed.
(Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
do not use @var in the second argument.
2006-06-07 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
$as_shell.exe too. Problem reported by Andreas Buening in
<http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
2006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
`unused variable' compiler warning, for `-Wall -Werror'.
Reported by Jaap Haitsma in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
case the compiler dumps core. Problem reported for
OpenServer 5.0.7 by Tim Rice in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
* lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
Likewise.
2006-06-06 Tim Rice <tim@multitalents.net>.
* lib/freeze.mk: Quiet check-forbidden-patterns so the string
"ERROR" only shows up in "make check" output if there is an
error.
2006-06-06 Eric Blake <ebb9@byu.net>
* tests/tools.at (automatically allowed tokens): Fix typo.
2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
* doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
typically overflows on x86 CPUs, even though the C standard
requires otherwise.
2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure.ac (AC_INIT): Bump to 2.59e.
* NEWS: Update.
2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Version 2.59d.
* config/texinfo.tex: Sync from upstream.
* bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
seen, invoke libtoolize with `--ltdl' argument.
* lib/autom4te.in (Autoreconf-preselections): Adjust.
* NEWS: Update.
Suggested by Eric Blake.
2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
reported by Ralf Wildenhues.
* doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* THANKS: Update.
2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi: Modernize some of the references to Solaris.
2006-06-05 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
message issued by AC_REQUIRE.
* tests/m4sugar.at: Check m4_require's error message.
* tests/base.at: Check AC_REQUIRE's error message.
* tests/local.at (AT_CHECK_M4): New macro, almost identical
to...
(AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
AT_CHECK_M4.
(AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
`expout' as the last parameter.
* tests/tools.at: Adapt to the above change.
2006-06-04 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Limitations of Usual Tools): Correct
information about race-free implementations of mkdir.
2006-06-04 Eric Blake <ebb9@byu.net>
* bin/autoreconf.in (help): Document M4 environment variable.
* bin/autoconf.as (Usage): Likewise.
* bin/autom4te.in (help): Likewise.
* doc/autoconf.texi (autom4te Invocation): Likewise.
2006-06-04 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: GNU make now recommended for VPATH builds.
Mention that some macros are now documented to be obsolescent.
* doc/autoconf.texi:
Prefer "current" to "modern" to describe
currently-used (albeit perhaps old-fashioned) hosts.
Mention which ancient features no longer need to be worried about.
setgid -> set-group-ID
setuid -> set-user-ID (these are the Posix terms)
Fix some misuses of "only".
(AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
(AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
(AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
(AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
(AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
(AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
(AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
(AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
(AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
Mention that these macros are obsolescent.
(Installation Directory Variables): shall -> should
(File Descriptors): Mention that 0, 1, 2 might get reopened.
Mention that it's now safe to use 3 and 4.
(Limitations of Usual Tools): cp -r is now specified by Posix.
Omit longwinded and obsolescent discussion of cp -f.
Modernize discussion of expr, ls.
(Limitations of Make): Modernize discussion of VPATH builds.
Mention $? as a workaround in some cases.
* doc/install.texi (Basic Installation):
Mention "./configure; make; make install" first. Be more
specific about why this file is generic. Remove unnecessary
parens. Remove misleading "only". Remove obsolete advice
about csh. Don't say "configure" takes awhile; say it
might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,
and CC=c99 rather than CC=c89, as these are blessed by current
Posix. Recommend GNU make if doing a VPATH build.
2006-06-03 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
examples involving shell prompts.
2006-06-02 Stepan Kasal <kasal@ucw.cz>
and Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Here-Documents): Add details about the
pre-ksh93g bug. Reword slightly to make it clearer. Consistently
use "here-documents" instead of "here documents".
2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/texinfo.tex, doc/standards.texi: Sync from upstream.
2006-06-01 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (File System Conventions): Warn about ":"
anywhere in directory names.
2006-05-31 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
about quoting the case statement, just in case.
* doc/autoconf.texi (Here-Documents): Mention that the ksh bug
was fixed in ksh93g; reported by Ralf Wildenhues.
2006-05-31 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (System Services): Do not document
overriding EXEEXT via ac_cv_exeext=ext.
(Particular Programs) <AC_PROG_MKDIR_P>:
Document that ${MKDIR_P} understands --.
* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
comment.
2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
argument with leading hyphen. Problem reported by Paul Eggert.
2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
about quoting ac_try: quote all of it, if any of it seems suspicious.
This means we don't have to worry about ${ or sed any more.
Also, double-quote the case statement, to work around misuses via
underquoting as reported by Ralf Wildenhues in
<http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
(_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
undocumented and dangerous macro.
Problem reported by Ralf Wildenhues in
<http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
`dirname -- /' returns `/', for SunOS dirname scripts that escaped.
Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
since evidently some packages rely on the old, broken behavior.
Problem reported by Ralf Wildenhues in
<http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
(AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
pre-2006-05-26 definitions, but leave in the comments that
these macros are dangerous and should not be used.
(_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.
(_AC_DO): Renamed from _AC_EVAL. All callers changed.
(_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.
(_AC_DO_VAR): Renamed from AC_TRY_EVAL.
(_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
2006-05-29 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
the use of 'tr', since this is our only use of 'tr'.
2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
and Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
Don't assume 'grep' works on long lines, since AIX grep doesn't.
2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
the output file in the `${datarootdir}' test.
2005-05-28 Stepan Kasal <kasal@ucw.cz>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
mention of `datarootdir' in the input file(s), but literal
`${datarootdir}' in the output file, and we haven't warned yet,
then warn as well: the user may have (erroneously) used
`AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
`AC_SUBST([mydatadir], ['${datadir}/my'])'.
* tests/torture.at (datarootdir workaround): Extend this test.
* NEWS: Update.
2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
and Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (autoheader Invocation): The first argument to
`AC_DEFINE_UNQUOTED' need not be a literal. Mention the
alternatives and clear up the language a bit.
2006-05-27 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
ac_config_guess, ac_config_sub, ac_configure.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
Fix typo that prevented an unnecessary space from being removed.
Problems reported by Ralf Wildenhues in:
http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
2006-05-26 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
Don't use the term "thread-safe" to talk about mkdir race
conditions, since the problem is more a process than a thread
issue. Problem reported by Stepan Kasal in:
http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
the test for 'install' more closely. Look at MKDIR_P first.
Look in the PATH, and at /opt/sfw/bin.
Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
Don't bother to try mkdir -p, since we already check mkdir --version;
just look at the version number. (There's no easy way to check
for race-free implementations.)
* tests/tools.at (autoconf: subdirectories): Adjust to above
changes, since MKDIR_P now might end in "/mkdir -p".
* doc/autoconf.texi (autoheader Invocation): Mention that the
first arg of AC_DEFINE_UNQUOTED must be a literal.
Problem reported by Ben Pfaff in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
* NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
* doc/autoconf.texi (Special Chars in Variables): New section.
(Preset Output Variables): Warn about special chars in CPPFLAGS.
(Installation Directory Variables): Quote $(datadir) better.
(Limitations of Builtins): Describe some of eval's trickiness.
* lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
* lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
in front of every arg, not just trailing args. Quote apostrophes.
(_AC_EVAL_ECHO): New macro.
(_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.
(AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
removed.
(_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
exposed by quoting of eval argument. Put the command on line line
so it logs better.
* lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
(_AC_PATH_X, AC_PATH_X): Quote more safely.
* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
* lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
Handle special chars in prefix, ac_srcdir, ac_aux_dir.
Use eval more safely.
(_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
* lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
to be replaced.
* tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
lines, exposed by quoting of eval argument.
2006-05-26 Stepan Kasal <kasal@ucw.cz>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
initialization of `ac_cv_exeext', do not override it if it was
already set, unless it was set to `no', for compatibility with
Autoconf-2.13, and comment this.
Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
(_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
(_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
* doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
Document that this test may be overridden by setting
`ac_cv_exeext'.
2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Revert these two patches:
2006-04-06 Eric Blake <ebb9@byu.net>
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
2006-04-01.
2006-04-01 Stepan Kasal <kasal@ucw.cz>
Clean up _AC_COMPILER_EXEEXT* macros.
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
ac_file to the name of the default output file and call
_AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
initial `rm' of the candidate files...
(_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
the same list in subsequent `rm' calls, and for the temporary
redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
(_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
(_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
no longer needed) by libtool. Make it a cache check.
(_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
copied here by mistake.
(AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
_AC_COMPILER_EXEEXT.
* lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
_AC_COMPILER_OBJEXT directly.
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
Fix description of how the buggy `sed' works.
2006-05-25 Noah Misch <noah@cs.caltech.edu>
Sync from Automake:
* lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
ENOLCK. Only mention `make -j' when applicable. Only raise
fatal errors when `make -j' is involved. Improve error message.
2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Here-Documents): We now know more about
the variable expansion in here documents bug.
Thanks to Tim Rice and Stepan Kasal.
* doc/autoconf.texi (Making testsuite Scripts): Add an example
how to use TESTSUITEFLAGS. Suggested by Eric Blake.
2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/autotest.at (Multiline command from M4 expansion):
No failure to be expected if the shell quotes newlines in
commands in the `set -x' output. Report by Tim Rice.
* THANKS: Update.
2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
expansion in the here-documents used by config.status, as that
runs afoul of the Korn shell version M-12/28/93d bug described in
the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
2006-05-23 Jim Meyering <jim@meyering.net>
* lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
Fix typo introduced with 2006-04-02 change. It reversed the sense
of the test.
2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
ac_dB slightly, to save bytes in the script.
Max out at 50 lines, rather than 96; this is more likely
(though not guaranteed) to avoid obscure 'sed' failures.
2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
`tr -d -' as bad option argument. Work around this by deleting
an unrelated character.
Report by Tim Rice <tim@multitalents.net>.
2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Particular Programs): Do not promise that
we always prefer the GNU version of the program, and that we
search according to PATH; both rules can have exceptions.
Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
AC_PROG_SED. Move descriptions of limitations
to the Limitations of Usual Tools section.
(Limitations of Usual Tools) <sed>: Mention script length
limitations with Solaris /usr/ucb/sed.
<grep>: Fix wording for empty alternative. Mention that -c and
-l should not be combined, and that -E and -F should not be
combined.
2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
limits in Solaris 8 /usr/ucb/sed by testing a long script.
2006-05-22 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Defining Symbols): Literal parameter of
AC_DEFINE is now passed to m4_pattern_allow.
* NEWS: Mention that; likewise for AC_SUBST.
* lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
the parameter to m4_pattern_allow.
* tests/tools.at: Add a check for that.
2006-05-22 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/status.m4: Fix typos.
2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
only the files that this macro generates.
2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
the HP-UX sed limitation of 99 commands, labels do not count.
* lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
in the comment.
(_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
Import the following fix from coreutils:
2006-01-13 Jim Meyering <jim@meyering.net>
Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
$ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
not double-quote uses of that variable, to accommodate the rare
case in which getmntent is available in none of the libraries
checked. This happens at least on FreeBSD 5.0.
2006-05-20 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
ac_config_guess, ac_config_sub, and ac_configure, since evidently
some other programs unwisely rely on these undocumented vars.
But put in warning comments about them.
Problem reported by Ralf Wildenhues in
<http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
* NEWS: Document that these variables are intended to go away.
2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
and set the language to C++ (analogous to the equivalent Fortran
tests).
* lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
* doc/autoconf.texi (C++ Compiler): Document it.
* lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
* NEWS: Update.
2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
that caused config.status to generate 100-command sed scripts; the
portable limit is 99.
2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
variable `ac_d' instead of `d' to avoid infringing namespace.
Report by Ralf Menzel.
2006-05-18 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
$ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
* tests/tools.at (autoconf: subdirectories): New test, taken from
the corresponding problem report by Ralf Wildenhues in:
http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
* lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
Quote some uses of shell variables if they might suffer unexpected
globbing. This doesn't fix all instances of quoting problems that
I found, just the easy ones that look safe.
* lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
(AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
(AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
(AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
* lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
* lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
Likewise.
* lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* bin/autoreconf.in ($help): Reword according to the manual.
Suggested by Olly Betts.
2006-05-17 Olly Betts <olly@survex.com> (tiny change)
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* bin/autoreconf.in: Pass the directory argument to
`require_configure_ac'. Fix comment.
* tests/torture.at (Configuring subdirectories): Expose this.
Reported by Olly Betts.
2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
Automake as follows:
* lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
`$configure_in' instead of `configure.in', to preserve
directory component.
2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/config.guess, config/config.sub, config/texinfo.tex,
doc/make-stds.texi, doc/standards.texi: Sync from upstream.
2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
test for C99 conformance; (bool) 0.5 is an integer constant
expression, but (bool) -0.5 is not. Problem reported by Fedor
Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
2006-05-13 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
Warn about obsolete install-sh files. Remove stray sentence
fragment and fix cross reference.
* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
install -d; this undoes the 2006-05-10 change.
(MKDIR_P): Mark with AN_MAKEVAR.
(AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
that we don't require $INSTALL to be thread-safe. Move comments
out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead
of AC_PROG_INSTALL. Output a message saying that we're checking
mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for
MKDIR_P instead of AC_SUBST.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
Special magic for MKDIR_P, too.
* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
a dnl.
* tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
Sync from Automake, as follows:
2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/install-sh: Initialize IFS, so field splitting isn't
turned off later.
* config/mkinstalldirs: Likewise.
* config/missing: Remove superfluous quotes. Replace all uses of
`[' by `test', for consistency, and for..
* config/missing (sed_minuso, sed_output): New variables.
(autom4te, help2man, makeinfo): Use them. Unifies detection of
`-o FILE', `--output FILE', `--output=FILE', stricter regex.
Fixes `missing' to detect `--output' for help2man. Fixes
PR automake/483. Report by Dennis J. Linse.
(autom4te): Document in `missing --help'.
2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.
* config/install-sh: Don't use 'path' to talk about file names,
as per GNU coding standards. Close a race condition reported by Ralf
Wildenhues and Stepan Kasal. There is still a race condition
on hosts that predate Posix 1003.1-1992, but we can't help this.
Don't mishandle weird characters like space on pre-Posix hosts.
Invoke mkdir at most once per dir arg on pre-Posix hosts.
* doc/autoconf.texi (Programming in M4sh): Cross-reference to
AC_PROG_MKDIR_P from AS_MKDIR_P.
(Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
from mkdir. Mention that Autoconf 2.60 install-sh is safe but
earlier editions are not (including Automake 1.8.3).
Do not suggest mkinstalldirs for thread-safety.
* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
presence of special characters and race conditions.
* tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
in Autoconf's name space.
2006-05-10 Bruno Haible <bruno@clisp.org>
and Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
from Automake with minor changes.
* doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
* config/install-sh: Update to Automake CVS version, as follows:
2006-04-25 Stepan Kasal <kasal@ucw.cz>
* lib/install-sh: Simplify the expr implementation of dirname.
2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
* lib/install-sh: Handle --, and diagnose unknown options.
2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
`./autom4te' to create `./testsuite', since the `all' target
will ensure its presence, but `installcheck' should not create
the uninstalled wrappers.
* tests/torture.at (Unusual Automake input files): Skip if we
detect automake < 1.8.
2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
is set to `no', then that overrides and sets ac_cv_prog_cc_c89
and ac_cv_prog_cc_c99 to `no', for backward compatibility.
* NEWS: Update.
2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
munge (multiple) white space and other oddities.
* tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
single quotes in variable assignment.
(AC_ARG_VAR, configure invocation): Adjust tests to expose this
and similar failures by adding multiple spaces, tabs, and other
special characters.
Report and different test suggested by Francesco Romani
<fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
single quotes, we only need to search for single quotes; this
both simplifies the search pattern, and makes us less
susceptible to `echo' variations for arguments not containing
single quotes.
(_AC_ARG_VAR_VALIDATE): Likewise.
2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Special Shell Variables) <IFS>: Document
`$*' and IFS concatenation issue with traditional shells and
bash-2.04. Report by Seanster@Seanster.com.
2006-05-03 Bruno Haible <bruno@clisp.org>
* doc/autoconf.texi (Limitations of Usual Tools): Identify more
precisely which Mac OS X versions have the od problem.
2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi: Use @option systematically.
2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
and Bruno Haible <bruno@clisp.org>
* doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
about 'od'.
(Integer Overflow): Mention the special case of integer division
overflow.
2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
traditional shells like the Solaris one that do not use the
first IFS character for assembling `$*'.
Prompted by a related report from autoconf_bug@nro.ca.
2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
Mention more problems with the -e option.
2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* NEWS: Typo.
* doc/autoconf.texi (Systemology): Mention the Heirloom Project.
* doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
in URLs to improve DVI formatted output (requires texinfo 4.6).
(System Services, Systemology, Shellology): Likewise.
(Limitations of Usual Tools): Rewrite Mac OS X example for nicer
output.
* doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
continuous text.
(Runtime): Fix macro argument names to match description:
`action-if-found' -> `action-if-true' and similarly.
(Obsolete Macros): Likewise.
* lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
(AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
(AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Limitations of Make): Clean up markup.
* ChangeLog: Typo.
* doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
DVI output.
2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
/bin/sh set unsorted output.
* lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
* tests/local.at: Likewise.
2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
(Integer Overflow, Null Pointers, Buffer Overruns):
(Floating Point Portability, Exiting Portably): New sections.
(Writing Test Programs): Fix some langauge. Recommend exiting
with status 1, not merely nonzero. Clarify exit declaration.
(Run Time): Move C exit status stuff to new Exiting Portably section.
(Systemology): Mention Posix and levenez. Update v7 reference.
(Portable Shell): Mention the Posix shell.
2006-04-25 Stepan Kasal <kasal@ucw.cz>
* bin/autoconf.as (me): Replace by as_me.
2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
since as_me isn't set yet.
2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
a few minor bugs in this area.
* doc/autoconf.texi (Programming in M4sh): Comment out the
documentation of AS_BASENAME, for now.
(Shell Substitutions): Do not use AS_DIRNAME in an example.
(Limitations of Builtins) <basename>: Do not refer to
AS_BASENAME.
* bin/autoconf.as (me): Don't use AS_BASENAME.
(dir): Remove the unused variable.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
AS_DETECT_REQUIRED. All uses changed.
(_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
All uses changed.
(_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
(AS_BASENAME): Use "basename --" to protect against leading "-".
(_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
(_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
(_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
(_AS_DIRNAME_PREPARE): Likewise.
(_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
(_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
(AS_DIRNAME): Use "dirname --".
2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
of "run time" and "run-time" changed to "runtime", for consistency.
* lib/autoconf/fortran.m4: Likewise (in comment).
* lib/autoconf/functions.m4: Likewise.
* lib/autoconf/general.m4: Likewise.
* lib/autoconf/headers.m4: Likewise.
* doc/autoconf.texi (Run Time): Document the exit status situation
with more accuracy and detail.
2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Introduction): The GNU Autoconf Macro
Archive is not officially `GNU' any more. Update URL.
(Defining Directories): Likewise
* lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
newline from the `trap' code to finish `config.log'; the NetBSD
/bin/sh resets the exit status after an empty command, as
documented in doc/autoconf.texi.
Reported by Dalibor Topic <robilad@kaffe.org>.
2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
Suggested by Bruno Haible.
2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
* configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
Instead, just list the shells that we know work.
* tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
changed. Be more cautious about the _cv_ variable.
* tests/tools.at (Syntax of the shell scripts): Check the
_cv_ variable once, at first, to avoid an internal autoconf error
when sh -n does not work.
2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/Autom4te/FileUtils.pm: Sync from Automake.
2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
use ">&-" since we're only 99.999% sure that this is portable,
and since the MinGW bug is fixed in a different way.
* lib/autotest/general.m4 (AT_INIT): Likewise.
2006-04-16 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
before opening config.log, to avoid hitting a bug on MinGW.
2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
AS_MESSAGE_LOG_FD before reopening it onto the log file.
This works around a MinGW bug reported by Eric Paire.
Make sure that all writes to the log file append to it,
rather than possibly losing data.
* lib/autotest/general.m4 (AT_INIT): Likewise.
2006-04-14 Stepan Kasal <kasal@ucw.cz>
* lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
description.
2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* NEWS: Update.
* configure.ac (AC_INIT): Bump to 2.59d.
2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Version 2.59c.
* Makefile.maint (news-date-check): Do not require a leading `*'
before the release date in NEWS.
2006-04-12 Stepan Kasal <kasal@ucw.cz>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
the instantiated file do not contain the string 'datarootdir'
but contain @datadir@, @docdir@, @infodir@, @localedir@, or
@mandir@, replace the reference '${datarootdir}' by the value.
* tests/torture.at (datarootdir workaround): New test.
* NEWS: Advertise this temporary fixup.
Based on a patch by Bruno Haible, reported and analyzed by
Paul Eggert and Noah Misch.
2006-04-12 Eric Blake <ebb9@byu.net>
* tests/autotest.at (Debugging a failed test): Fix comment.
2006-04-12 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
all the changes since 2006-04-07.
2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
succeeded, but `ln -s file dir' failed, take care to remove the
leftover target before the next test, to prevent its spurious
failure; also make sure `ln file dir' works before selecting it.
Thanks to Keith Marshall for pointing this out.
* THANKS: Update.
* lib/autotest/general.m4 (AT_INIT): Store quoted variable
assignments in `at_debug_args', so that we put them correctly
in the `run' script.
* tests/autotest.at (Debugging a failed test): Unmark XFAIL.
Reported by Eric Blake.
2006-04-11 Eric Blake <ebb9@byu.net>
* tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
top-level tests after micro-suite has been run. Used in...
(Debugging a successful test, Debugging script and environment),
(Debugging a failed test): ...these new tests. The first of these
is fixed by...
* lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
macro, split out from...
(AT_INIT): ...here, so that using -d also generates a run script.
Document that -d inhibits top-level logging.
* doc/autoconf.texi (testsuite Invocation): Document that -d only
inhibits top-level logging; debug scripts are created.
* lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
check.
* tests/autotest.at (Empty test, Empty check): New test to check it.
* lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
from gcc.
2006-04-10 Stepan Kasal <kasal@ucw.cz>
* tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
the files if a problem appears. Make the empty *.at files
read-only, too. Proposed by Ralf Wildenhues.
2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/Makefile.am: Add comment to force updated Makefile.in.
* lib/freeze.mk: Fix typo in comment. Unlike the last, white
space only patch to this file, this patch causes the Makefile.in
files that include freeze.mk to be updated, and thus have a
newer time stamp again, which in turn makes a pristine CVS
checkout have correct time stamps.
* Makefile.maint (cvs-sv): New macro, to be used..
(config.guess-url_prefix, config.sub-url_prefix)
(texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
point to CVS text checkout of Gnulib files.
(copyright-check): Bump current year.
(announcement): Do not hard-wire `./announce-gen'.
(cvs-update): Propagate failures of `cvs' and `move-if-change'
correctly.
* Makefile.cfg (executable-update): Use `chmod a+x' instead of
`chmod +x'.
(wget_files): Update config.guess, config.sub, texinfo.tex by
`wget-update', now that their URLs work again.
2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
Problem noted by Paul D. Smith.
2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi: Remove unused words from word list.
* .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
.x-sc_trailing_space: New files.
* doc/standards.texi: Sync from gnulib.
* NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
`LIBOBJDIR' as experimental.
* lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
with a target directory; it's internally implemented as `cp'
anyway, but since Autoconf advertises the possibility to use
a target directory when LN_S is `ln -s', we need to find out.
Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
analyzed by Keith Marshall <keith.marshall@total.com>.
* THANKS: Update.
2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
confdefs.h as-is. In general, if it has backslash-newline or the
like, then it doesn't work either to sort or to remove empty
lines.
2006-04-09 Stepan Kasal <kasal@ucw.cz>
* tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
* lib/autom4te.in (Automake-preselections): Preselect
_AM_SUBST_NOTMAKE.
2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
apostrophe within a single-quoted string, as this is the usual
tradition and is easier to read than '"'"'. Don't rely on the
shell treating "$/" like '$/'. Use a more-consistent indenting
style for the trap.
2006-04-09 Eric Blake <ebb9@byu.net>
* tests/autotest.at (Backquote command substitution),
(Multiline backquote command substitution): Remove mistaken
AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
applied...
(Parenthetical command substitution, Multiline parenthetical
command substitution): here.
2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
Import macros from gnulib (often changing their name).
* NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
The manual mentions Gnulib more prominently.
* doc/autoconf.texi (Gnulib): New node.
(Pointers): Add Gnulib URL.
(Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
(Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
Gnulib section.
(Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
suggest a #define rather than a typedef for _Bool, and mention
Gnulib rather than trying to substitute stdbool code.
(Generic Headers): Add AC_CHECK_HEADERS_ONCE.
(Generic Declarations): Add AC_CHECK_DECLS_ONCE.
(Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
AC_STRUCT_DIRENT_D_TYPE.
(Particular Types): Mention stdint.h and inttypes.h as standard
headers too.
Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
(C Compiler): Move AC_C_LONG_DOUBLE to ...
(Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
(Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
(Coding Style). Don't mention m4_expand_once.
* lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
* lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
(AC_CHECK_FUNCS): Use it.
(AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
(AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
* lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
* lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
(AC_HEADER_ASSERT): New macro.
(AC_HEADER_STDBOOL): Don't assume "#error" works.
Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
Catch a bug in an HP-UX C compiler.
* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
* lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
(AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
(AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
(AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
(_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
New macros.
* tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
use /^foo|bar$/, it does not mean /^(foo|bar)$/.
2006-04-08 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
of the warning introduced by the 2001-08-28 change.
2006-04-08 Stepan Kasal <kasal@ucw.cz>,
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
variables shall be overriden by the cache.
* tests/torture.at (AC_ARG_VAR): Test also with a first value
that contains braces.
2006-04-07 Stepan Kasal <kasal@ucw.cz>
Revert the patch from 2006-04-01 and only improve
_AS_DETECT_BETTER_SHELL:
* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
skip nonexistent directories.
(_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
only shell candidates which exist.
(AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
* lib/autotest/general.m4 (AT_INIT): No need to give three
parameters to _AS_PATH_WALK.
2006-04-07 Stepan Kasal <kasal@ucw.cz>,
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* bin/autoupdate.in (handle_autoconf_patches): Change the way we
distinguish m4sugar macros.
* tests/tools.at (autoupdating with aclocal and m4_include):
New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
test case by Noah Misch <noah@cs.caltech.edu>.
2006-04-07 Stepan Kasal <kasal@ucw.cz>
Revert my change from 2006-03-17, in other words:
* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
and DUALCASE=1.
(AS_SHELL_SANITIZE): Remove DUALCASE=1.
* doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
it is set.
2006-04-07 Eric Blake <ebb9@byu.net>
* doc/autoconf.texi (Programming in M4sh): Document that
AS_MKDIR_P exits the script on failure.
* lib/autotest/general.m4: Remove redundant AS_ERROR.
2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/elisp-comp, config/install-sh, config/mdate-sh,
config/missing, config/mkinstalldirs: Sync from Automake.
* lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
from Automake.
* doc/make-stds.texi: Sync from gnulib.
2006-04-06 Eric Blake <ebb9@byu.net>
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
2006-04-01.
2006-04-06 Stepan Kasal <kasal@ucw.cz>,
Eric Blake <ebb9@byu.net>,
Paul Eggert <eggert@cs.ucla.edu>,
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
whether `set' quotes correctly: redirect stderr of the tested
`set', and use a subshell, for Ultrix; use `sed' instead of
`grep' for zsh `set' which may write binary output; match only
at the beginning of a line, to avoid false positives.
In order to avoid false positives by unrelated variables with
multiline content, put the dump algorithm in a subshell and
unset all variables containing newlines (except some which are
special to the shell). Warn about cache variables that are
unset.
2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/config.guess, config/config.sub, config/texinfo.tex:
Sync from upstream.
* tests/mktests.sh: Reword comments.
* tests/mktests.sh: Only skip internal macros starting with
`_AC_' or `__AC_'. Noted by Stepan Kasal.
Update exclusion lists for the test suite to this end:
(AC_ARG_VAR): Do test this now.
(AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
(AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
(AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
(AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
* doc/autoconf.texi (Shell Substitutions): Mention the MSYS
shell issue with double-quoted command substitutions of native
commands.
Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
Marshall.
* Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
no file matches the glob, discard the warning, set `nullglob'.
(syntax-check): Likewise.
(sc_cast_of_x_alloc_return_value): Likewise.
(sc_cast_of_alloca_return_value, sc_error_exit_success)
(sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
(m4-check): Likewise.
(sc_system_h_headers): Do not print rule on execution.
(sc_tight_scope): Do not fail for non-existing `src' directory.
(sc_changelog): Skip the Copyright footer.
* lib/autoconf/lang.m4: Remove trailing space.
* lib/autoconf/status.m4: More replacements to
<tab><space> where this makes sense.
2006-04-06 Stepan Kasal <kasal@ucw.cz>
* tests/Makefile.am (maintainer-check-posix):
s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
* lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
ac_config_<foo>s again, sometimes normalized, sometimes not.
(AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
(AC_CONFIG_COMMANDS): Do not do so here.
(_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
2005-07-25 rewrite. Noticed by Noah Misch.
* lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
_AC_PRESERVE_HELP_ORDER, ...
(AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
* lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
inside m4_expand_once; it is redundant.
* lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
for --help from Cygnus `configure.'
2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (C Compiler): Warn about #error. Follows up
on a patch proposed by Ralf Wildenhues.
2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/status.m4: Replace <space>''<tab> with
<tab><space> where this makes sense.
2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
Noah Misch <noah@cs.caltech.edu>
* lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
(AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
* doc/autoconf.texi (Help Formatting): New node.
* NEWS: Announce AC_PRESERVE_HELP_ORDER.
2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
lib/autoconf/specific.m4, lib/autoconf/status.m4,
lib/autoconf/types.m4, lib/autotest/general.m4,
tests/mktests.sh, tests/torture.at: White space cleanup:
remove some SPACE before TAB, or add quoting ('' or @&t@).
* NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
* doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
2006-04-05 Eric Blake <ebb9@byu.net>
* lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
empty test suite works.
* tests/autotest.at (Empty test suite): Remove xfail.
2006-04-05 Noah Misch <noah@cs.caltech.edu>
* lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
TAGS to ac_config_<foo>s.
(AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
(AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
normalizing it, consistent it with previous releases.
* tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
Use simplified args that Eric Blake originally suggested.
2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
* tests/mktests.sh: Don't use 'cat'; just read the files directly.
Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
Use 'comm' rather than N instances of grep; this also fixes a bug
whereby substrings were incorrectly matched, causing us to not
generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
(exclude_list): Exclude empty macros.
(ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
Use awk rather than grep -E or egrep, to avoid
portability problems with regular expressions containing newlines.
(exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
Switch from grep to awk syntax.
(ac_exclude_script): Renamed from ac_exclude_egrep.
(au_exclude_script): Renamed from au_exclude_egrep.
2006-04-04 Noah Misch <noah@cs.caltech.edu>
* lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
a subdirectory subject to Cygnus `configure'.
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
report request when we have no AC_PACKAGE_BUGREPORT.
2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* THANKS: Update.
* tests/mktests.sh: Update copyright year in the header of the
generated files.
* lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
(AC_C_RESTRICT): Likewise. Furthermore, add a function with a
typedef'ed restricted pointer, to catch a compiler bug on
HP-UX 11.x, and fix warnings so it passes with -Werror.
(_AC_PROG_CC_C99): Likewise.
Reported by Albert Chin <china@thewrittenword.com>.
* tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
2006-04-03 Noah Misch <noah@cs.caltech.edu>
* bin/autoscan.in (subdirs): New global.
(scan_file): Prune directories with configure{,.{ac,in,gnu}}.
(output): Emit AC_CONFIG_SUBDIRS as needed.
* tests/autoscan.at (autoscan): Remove XFAIL.
2006-04-03 Noah Misch <noah@cs.caltech.edu>
* lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
2006-04-03 Eric Blake <ebb9@byu.net>
* THANKS: Add myself.
2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
to log, point to testsuite output tree.
2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
* doc/autoconf.texi (Function Portability): Mention that C++
has trouble with 'exit'.
(Guidelines): Test programs shouldn't use 'exit'.
* lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
Remove; all uses removed.
(AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
Return from 'main' instead of calling 'exit'.
* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
(_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
(AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
(AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
(AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
(_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
* lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
* lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
* lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
* tests/compile.at: Likewise.
2006-04-02 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
2006-04-01 Stepan Kasal <kasal@ucw.cz>
Clean up _AC_COMPILER_EXEEXT* macros.
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
ac_file to the name of the default output file and call
_AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
initial `rm' of the candidate files...
(_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
the same list in subsequent `rm' calls, and for the temporary
redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
(_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
(_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
no longer needed) by libtool. Make it a cache check.
(_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
copied here by mistake.
(AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
_AC_COMPILER_EXEEXT.
* lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
_AC_COMPILER_OBJEXT directly.
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2006-04-01 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
(AS_DIRNAME): Use it.
(_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
* tests/*.at: Remove the generated ones.
2006-04-01 Stepan Kasal <kasal@ucw.cz>
* lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
2006-04-01 Eric Blake <ebb9@byu.net>
* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
directories, unless optional third argument supplied.
(AS_UNAME): Don't optimize PATH walk.
* lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
2006-04-01 Eric Blake <ebb9@byu.net>
and Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
and fix some typos.
2006-04-01 Noah Misch <noah@cs.caltech.edu>
* lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
Autoconf version number despite a zero- or one-argument AC_INIT.
* bin/autoreconf.in (parse_args): Multiple -v send --verbose to
subordinate tools.
* lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
* doc/autoconf.texi (autoreconf Invocation): Document it.
* doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
2006-04-01 Eric Blake <ebb9@byu.net>
* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
* lib/autotest/general.m4: Be tolerant of existing directory when
rm failed to remove it.
2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* bin/autoupdate.in: Redefine m4_location so that warnings print
the correct lines of the input file by subtracting..
(_au__first_line): ..this new definition.
* lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
Remove stray newline in output.
(AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
AC_DEFUN this for autoconf, including the obsoletion diagnose.
Fixes autoupdating of code where the replacement output contains
m4sugar macros.
* lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
* tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
(au_exclude_list): Add AC_LANG_SAVE.
* tests/tools.at: Several new tests for all of this.
* doc/autoconf.texi (Obsoleting Macros): Give a hint about the
hairy details.
The AC_LANG_SAVE issue was reported against Libtool by
Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
Kristian Kvilekval <kris@cs.ucsb.edu>.
2006-04-01 Stepan Kasal <kasal@ucw.cz>
* bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
switch all of them on and of when necessary. Fixes the bug when
m4sugar macros (e.g., m4_define) were expanded after the first
automatic update (e.g., after AC_PREREQ or AC_INIT).
2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
* lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
correctly. Problem reported by Eric Blake.
(_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
Ralf Wildenhues.
2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
Tighten up the basename/dirname wording.
2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Makefile.maint (sc_texi_notab): New check: do not use TABs
in texinfo files outside of verbatim environments.
(syntax-check-rules): Update.
* doc/autoconf.texi (Configuration Headers): Conform to it.
2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
* doc/autoconf.texi (autoreconf Invocation): Mention that -I for
aclocal cannot be given on the command line.
2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
Give an example for AS_DIRNAME instead of referring to Posix..
(File System Conventions): Put discussion of // versus / here, and
modernize it a bit.
(Limitations of Usual Tools): Add basename. Remove verbiage
after dirname, since it got moved to the above sections.
All this was inspired by a patch proposed earlier by Eric Blake.
2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
`$0' to protect against spaces.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
`$0', $as_me.
2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* bin/autoscan.in: The value of find_configure_ac should be
checked for existence, so we don't barf over a nonexisting
configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* bin/autoupdate.in: Fix some typos.
2006-03-21 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Installation Directory Variables): Fix typo.
* lib/autoscan/autoscan.list: Refreshed.
2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
and Erlang related variables.
* lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
(_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
(AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
(AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
(AC_LANG_BOOL_COMPILE_TRY(Objective C))
(AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
(AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
(_AC_PROG_OBJC_G): New macros.
(_AC_ARG_VAR_CPPFLAGS): Adjusted.
* doc/autoconf.texi (Objective C Compiler): New node.
(Preset Output Variables): Document OBJCFLAGS.
(Language Choice): Document `Objective C' language.
(Fortran Compiler): Fix typo.
* NEWS: Updated.
Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
2006-03-20 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Default Includes): Fix typo
s/AC_HEADERS_STDC/AC_HEADER_STDC/
(Limitations of Usual Tools): s/unwriteable/unwritable/
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
Fix typos in the comments.
2006-03-17 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
Factor out the warning to...
(_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
* tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
* tests/semantics.at (AC_C_BIGENDIAN): Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
case `ac_delim' when writing the sed script.
* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
moved DUALCASE=1 ...
(AS_SHELL_SANITIZE): ... here.
* doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
that it is set.
* lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
AC_SUBST.
(_AC_PATH_PROG): Store the result to VARIABLE.
(AC_PATH_PROG): No need to set VARIABLE again.
* tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
the first one is usual AT_CHECK_MACRO test, the second one checks
that the same works when cross-compiling.
* tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
(AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
the directory `/usr/bin/posix' in the shell search, to prefer
the Posix shell not only in subsequent spawns as with `$BIN_SH'
on Tru64.
* doc/autoconf.texi (contents): To fix texi2html output, hide
`@setcontentsaftertitlepage' for HTML.
(Writing Autoconf Macros): Likewise, insert space after `@c'.
(Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
`@,{c}'.
2006-03-16 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
sanitizing...
(AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
why IFS is restored so late; thank you, Ralf, for reminding us.
2006-03-15 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Pretty Help Strings): No need to use cached
variables in the examples.
2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
* doc/autoconf.texi (several sections): Cleaned up documentation for
macros in erlang.m4.
2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
failure condition for `$(cmd)' style command substitutions.
(Parenthetical command substitution, Multiline parenthetical
command substitution): Use it.
* doc/autoconf.texi (Special Shell Variables): Missing word.
Reported by Keith Marshall <keith.marshall@total.com>.
* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
IFS even in case of empty `$PATH'.
2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
`expr' away if there is nothing to do.
< --keywords >: Simplify and robustify argument handling.
Revert erroneous comment from 2005-08-23. Extend to allow
keyword negation with `!'.
Update help message. Remove broken code to prevent running
tests multiple times.
* doc/autoconf.texi (testsuite Invocation) < --keywords >:
Update and fix the documentation accordingly.
* tests/autotest.at (Keywords): Renamed to..
(Keywords and ranges): .. this. Extended to make sure negated
keywords, keywords taken from AT_SETUP arguments, and numeric
test ranges work, and that matching is case-insensitive.
2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
allow to pass unnamed structs even in C++.
(AC_CHECK_SIZEOF): Likewise.
Also fix quoting error in `AC_MSG_FAILURE' arguments.
* tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
struct): New tests for unnamed structs, each both native and
cross-compiling.
* lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
a structure inside a cast, for C++ conformance.
* lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
Also fix quoting error in `AC_MSG_FAILURE' arguments.
* lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
trying to execute the command `no'.
* lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
expanded outside.
* doc/autoconf.texi (autoconf Invocation): Fix typos in trace
example. Do not emphasize `$%', it is hardly new and special.
Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
* doc/autoconf.texi (Limitations of Usual Tools): Document
OpenBSD and traditional `grep' failure to handle multiple
patterns separated by newlines.
2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
* doc/autoconf.texi (several sections): Add documentation for macros
in erlang.m4.
2006-03-10 Eric Blake <ebb9@byu.net>
* doc/autoconf.texi (Obsolete Macros): Fix wording of
AC_TRY_LINK_FUNC.
2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi: Use @acronym more consistently for acronyms
like BSD, GPL, LGPL. Fix minor English typos.
(AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
Mention that these macros are becoming obsolete.
(AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
Use more modern terminology for which standard is what.
(AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
and to ansi2knr.
(AC_PROG_CXX): Likewise.
(AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
Remove obsolete discussion about how to port to K&R.
(Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
the obsolescent AC_HEADER_STDC.
(AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
can't rely on it.
2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
Remove stdin redirection from /dev/null to allow pipe to work.
2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
* tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
Require that /lib/cpp include stdio.h correctly. Solaris 10's
doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
Ralf Wildenhues.
2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
HP-UX sed is 99 commands, not 100.
(_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
_AC_SUBST_FILES fragment. Separate `{' and `r' commands by
newline for portability.
* tests/torture.at (Torturing config.status): Also test 100
AC_SUBST_FILE invocations. Fix test to actually verify the
AC_CONFIG_FILES output.
* doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
command, label, and read-file `r' limits. Unify HP-UX spelling.
* tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
non-suffix rule.
($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
non-GNU make.
(autoconfdir, $(AUTOCONF_FILES)): Likewise.
* tests/mktests.sh: Small shell portability fixes.
2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Caching Results): Fix the examples to use a
recommended quoting style and discard unwanted output.
2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
* lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
(AT_INIT): Use it, to remove arbitrary limit of 999,999 test
cases, and to work around Tru64 expr bug.
2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
expr bug that turns the result of a regex match into a number if
possible.
2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
in section `Specific Compiler Characteristics'.
2006-03-04 Eric Blake <ebb9@byu.net>
* lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
variable warning.
2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
order of variable initialization, so even the Solaris 2.6 shell
can create a config header correctly. Fixes lots of test suite
failures.
2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Text processing Macros): New node to
document the m4sugar macros m4_re_escape, m4_tolower,
m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
XrmInitialize (0) -> XrmInitialize ().
Reported by Toshio Kuratomi.
2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
test, as in `if tests; then cmd1; elif ...; else ...; fi'.
* doc/autoconf.texi (Programming in M4sh): Adjusted.
* tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
both macros are defun'ed so that required macros are evaluated
outside.
* doc/autoconf.texi (Prerequisite Macros): State more precisely
where a required macro will be expanded.
(Coding Style): Another reason not to use `m4_define'.
2006-02-21 Eric Blake <ebb9@byu.net>
* lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Looping constructs): New node, to
document m4_for, m4_foreach, m4_foreach_w, and mention
obsolete AC_FOREACH.
(Obsolete Macros): Document AC_FOREACH.
* lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
(m4_for): Fix to never loop (almost) endlessly, work correctly
with arithmetic expressions in arguments, a step of zero or
non-integer multiple of the interval, and avoid integer
overflow.
* tests/m4sugar.at: New test for m4_for, m4_foreach, and
m4_foreach_w.
2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
Add basic support for Erlang, both for configuring Erlang/OTP
tools, and Erlang as a conf test language.
* lib/autoconf/erlang.m4: New file.
* lib/autoconf/autoconf.m4: Add erlang.m4.
* lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
* lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
* NEWS: Add short description of new macros.
* THANKS: Add Romain Lenglet.
2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
2006-02-15 Eric Blake <ebb9@byu.net>
* lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
warning.
2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
(_AS_CASE): Private helper macro.
* tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
* doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
Fix syntax of AS_IF description
(Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
for the AC_REQUIRE mess.
* NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
AS_SHELL_SANITIZE.
2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi: Minor style cleanup.
Be consistent about spaces after commas.
Insert [] where empty args look a bit funny.
Fix some "i.e." and "e.g." usages.
Try to avoid "X/Y" usages.
Don't be pedantic about "ISO C99"; just say C99.
Prefer GNU style for spaces in front of parens.
(Function Portability): Comment about C89 versus C99
signed integer division.
(Particular Headers): Use current gnulib style for dirent
includes.
2006-02-14 Stepan Kasal <kasal@ucw.cz>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* bin/autoupdate.in (handle_autoconf_macros): Fix updating of
macros without parameters.
* lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
* doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
* tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
`$#' bug.
(autoupdate): Updated to match AU_ALIAS fix.
2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
and Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Programming in M4sh): Document
AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
(AS_BOURNE_COMPATIBLE): ..this.
(_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
* doc/install.texi (Defining Variables): Tighten up the
CONFIG_SHELL wording.
2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
of (set -o) rather than testing whether (set -o posix) succeeds,
to work around a bug in the AIX 5.3 shell. Problem originally
reportd by Howard Chu for libtool.
2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
* doc/autoconf.texi (Running the Compiler, Running the Linker):
Changes the macro arguments in summaries to match the
descriptions.
2006-02-04 Stepan Kasal <kasal@ucw.cz>
* doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
hint as ``a workaround for a bug.''
2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* bin/autoreconf.in: New option `--no-recursive'.
Improve wording for subpackages a bit.
* doc/autoconf.texi (autoreconf Invocation): Updated.
* NEWS: Updated.
* doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
in environment of `configure', not the command line.
Reported by Howard Chu <hyc@highlandsun.com>.
2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Builtins): Document the
problem with "trap -".
2006-01-23 Steven G. Johnson <stevenj@fftw.org>
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
(_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
messages to differentiate Fortran and Fortran 77 tests.
(AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
AC_LANG_ASSERT, to allow use in mixed-language projects.
2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
FOO" to "defined (FOO)".
* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
* lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
* lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
* tests/tools.at (ifnames): Likewise.
2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
* lib/Autom4te/General.pm (mktmpdir): Likewise.
(END): Improve error message a bit.
Reported by Bruce Korb <bkorb@gnu.org>.
2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
`-LIST:' and `-LNO:', for PathScale 2.3 compilers.
2006-01-11 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
requires sys/stream.h. Reported by Oliver Kiddle.
2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Stepan Kasal <kasal@ucw.cz>
* lib/autotest/general.m4 (AT_INIT): When ensuring writability
before the removals of test dirs, use `find' to avoid modification
of symlinked directories.
2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
* lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
Don't ignore the macro arguments.
2006-01-11 David Thompson <dthompsn@vizsolutions.com>
* lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
declaration that works for MSVC.
2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
Add `*.map' and `.inf' for Green Hills compiler.
Reported by Stefan Seefeld <stefan@codesourcery.com>.
* lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
correctly: pad with spaces after FIRST_PREFIX if necessary,
and compute string lenghts with `m4_qlen' instead of `m4_len'.
* lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
* tests/m4sh.at (AS_HELP_STRING): Test extended.
* NEWS: Updated.
Reported by numerous people, numerous times.
2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
* bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
* bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
* lib/autoconf/general.m4, lib/autoconf/status.m4:
* lib/autotest/general.m4, tests/local.at:
Update copyright year to 2006.
* Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
sed substitutions.
* doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
for file names, again. Reported by Noah Misch.
(Coding Style): Explain that s|a|b| is preferred for file names.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
(AC_OUTPUT_MAKE_DEFS): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
* tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
Fix Posix-conformance bugs re use of { command in sed scripts,
and improve the sed-related documentation a bit.
* doc/autoconf.texi (Installation Directory Variables): Use
our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
rather than "sed" when talking about Sed in general.
(Particular Programs): Likewise.
(Coding Style): y is like s with respect to / and ,.
(Limitations of Usual Tools): Document the weird restrictions
that Posix has about { }. Use better quoting.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
Rewrite to conform to Posix rules about { } in sed scripts.
* lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
* tests/foreign.at (Libtool): Likewise.
* tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
Use our own style advice re 's,a,b,' versus 's|a|b|'.
2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4: Fix typo.
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
singly- or doubly-quoted arguments to `-cmdline', `-ignore',
`-def', for the benefit of Portland `pgf90 -Mipa'.
Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi: Update copyright (and other) dates to 2006.
* doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
shell from zsh to bash.
2005-12-31 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
parentheses in $(...). Problem reported by Eric Blake.
2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Usual Tools):
Mention which characters can be escaped with \ in portable regular
expressions used in grep, sed, expr. Mention the leading ^ problem
with expr. Clean up some confusing wording. Mention which
grep options are portable.
2005-12-09 Stepan Kasal <kasal@ucw.cz>
* tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
patch, noted by Ralf Wildenhues.
2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
posix' unconditionally, for pdksh in `native sh' emulation.
2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Shellology): Document eval $? problem
with ash.
(Limitations of Builtins): Likewise.
2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
CONFIG_SHELL in the environment of the configure rerun.
* doc/autoconf.texi (Here-Documents, config.status Invocation):
Suggest passing CONFIG_SHELL absolute, and in the environment
rather than as option.
2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
Fix quoting of output line (triggered for many AC_SUBST_FILEs).
Fix macro quoting. Fix output for n * 98 substituted variables.
2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
`tmp' to avoid file removal race.
2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
ac_clean_files and LIBOBJS.
2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
Factor functionality to..
(_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
`AC_SUBST($1)' in the public version.
(AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
(AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
ac_pt_* variables.
2005-11-01 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
filesystems.
2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* NEWS: Move AH_HEADER mention to right place.
2005-10-27 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
* lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2005-10-25 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
conftst2.$ac_objext.
* lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2005-10-24 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
conftest.o, to see whether the compiler really obeys; rm the object
file before and after the test and register it with ac_clean_files.
* lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2005-10-21 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
code so that the most common case requires less forks.
2005-10-20 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
not portable; thanks to Paul Eggert and Alexandre.
* NEWS: Fix an old typo.
2005-10-20 Jim Meyering <jim@meyering.net>
* doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
the latter'', in two places.
2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
AC_LANG_PROGRAM, fixing a typo. Don't give details about
the inner workings of AC_LANG_FUNC_LINK_TRY.
* lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
by the function rather than ignoring it.
(AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
comparing its address. Intel's interprocedural optimization was
outsmarting the old heuristic. Problem reported by
Mikulas Patocka.
2005-10-19 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
(m4_map, m4_map_sep): Use it. Handle the empty list correctly.
2005-10-04 Stepan Kasal <kasal@ucw.cz>
* lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
before removing it (chmod -R u+rwx); there are three instances of this.
2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
* lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
make its content writable before removing it. Remove an errorneous
comment from the end, where the logs of the failed tests are copied
to the main log file.
2005-09-27 Stepan Kasal <kasal@ucw.cz>
* tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
in case the computer is too quick. Double quote the configure.ac
snippets.
* tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
problems if the testsuite were running too fast.
2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
(which belong to Xt, not X itself). See Debian bug 327655.
* NEWS: Mention this.
2005-09-07 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
* config/move-if-change: Don't output "$2 is unchanged";
suggested by Ben Elliston. Handle weird characters correctly.
2005-09-06 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
calls, so that the final expansion of this macro is shorter.
Create the conftest.$ac_ext outside the `for' loop, to speed the run.
Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
the cleanup there. Use AS_VAR_* macros, to be more general.
* tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
* lib/autoconf/general.m4: Use AS_IF where appropriate.
* lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
2005-09-01 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Configuration Headers): Add an index entry
for AH_HEADER.
2005-08-26 Pavel Roskin <proski@gnu.org>
* lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
running xmkmf.
2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
The previous patch didn't work, so try a better one.
2005-08-26 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
in the example. Reported by Bruno Haible.
<AS_TR_SH>: Likewise. Also modify the example to be more convincing:
"if $undefined_var;" succeeds with my shell.
* lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
but change the m4_divert_text to m4_divert_once.
2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
Work around bug in Solaris /usr/xpg4/bin/awk.
The bug is present in at least Solaris 8 through 10.
2005-08-24 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
some evil values and relying on the fact that $* concatenates the
parameters by the first character from IFS.
2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
first header appears, define AH_HEADER.
* doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
Update limitations about when to call AC_CONFIG_HEADERS.
(Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
``Configuration Actions''; fix their index entries.
* lib/autotest/general.m4 (AT_INIT): Process multiple keywords
options correctly. Process N-M as M-N if M is smaller than N.
Process ranges correctly so that N-N will run only N.
Sort and uniquify the tests that will be run. If there is more
than one test, reinsert the banners for the tests.
* tests/autotest.at (Keywords): Unmark XFAIL.
2005-08-23 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
before passing the macro name to AH_TEMPLATE.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
now opens log after option processing; in particular, --version
and --help do not touch config.log.
* Makefile.maint: Revert the change from 2005-08-12.
2005-08-22 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
common code to...
(_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Using Autotest, testsuite Scripts)
(Autotest Logs, Writing testsuite.at, testsuite Invocation):
Language cleanup.
* doc/autoconf.texi (Defining Symbols, Changed Results):
Prepend to LIBS, not append, in examples.
2005-08-16 Stepan Kasal <kasal@ucw.cz>
When building in place, set srcdir="."; suggested by Tim Van Holder.
* lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
(_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
* lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
does not mean "no --srcdir option".
2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/autoscan.at (autoscan): New file.
* tests/suite.at: Use it.
* tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
* tests/autotest.at (Keywords): Test keywords combinations.
2005-08-12 Stepan Kasal <kasal@ucw.cz>
* Makefile.maint (GZIP_ENV): When checking the help text of gzip,
add "2>&1"; gzip 1.2.4 prints help on stderr.
2005-07-27 Stepan Kasal <kasal@ucw.cz>
* lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
was pushdef'ed twice while popped only once. Push it only once.
(_AT_CHECK): Cosmetic changes to the "case $at_status" command.
2005-07-26 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
prefixed by mere "===", not "configure: === ".
2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
* Makefile.maint: Update from Bison.
* lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
"<tab>" in comment, so that the point is understandable.
2005-07-25 Stepan Kasal <kasal@ucw.cz>
Rewrite substantial part of lib/autoconf/status.m4.
The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
and CONFIG_COMMANDS are not processed in four separate loops.
Instead, there is one main loop. This allows that the common code
is expanded only once, thus config.status (and configure) is smaller.
The registration mechanism in AC_CONFIG_FILES and cousins also
changed; the AC_LIST_FILES and cousins macros are no longer used.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
_AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
(_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
_AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
contain the initialization, nor the for loop, nor the associated
commands; all these go to ...
(_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
_AC_OUTPUT_CONFIG_STATUS.
(_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
(_AC_OUTPUT_FILE): The creation of the sed script ...
(AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
(_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
_AC_OUTPUT_MAIN_LOOP.
(_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
_AC_CONFIG_COMMANDS): Use ...
(_AC_CONFIG_FOOS): ... this new macro, which uses these ...
(_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
(_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
_AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
(_AC_CONFIG_DEPENDENCY): Update, it uses these ...
(_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
... new macros.
(_AC_CONFIG_UNIQUE): Update.
(AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
Replaced by this ...
(_AC_LIST_TAGS): ... new common macro.
(AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
AC_LIST_COMMAND_COMMANDS): Replaced by this ...
(_AC_LIST_TAG_COMMANDS): ... new common macro.
(_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
this didn't belong to the `config commands' section.
(_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
(AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
to the `config commands' section either.
(AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
(_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
... and many changes to the comments nearby.
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
set ac_subdirs_all='_AC_LIST_SUBDIRS'.
* tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
(#define header templates): The comment at the top of the generated
header now includes the name(s) of the source file(s).
Several unrelated small changes:
* lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
parameter to AC_DIAGNOSE.
* lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
(_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
(AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
with AU::AC_OUTPUT.
(AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
in AC_OUTPUT doesn't double-quote it either.
* tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
parameters.
2005-07-10 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
versions of Portland Group compiler produce single- and double-quoted
-cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
* tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
This is a corrected version of yesterday's patch.
2005-07-07 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
path, too; insert a "===" to emphasize the line.
* lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
ac_cv_build_alias to ac_build_alias.
(AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
change eliminates it. Problem reported by Alexandre Duret-Lutz.
* lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
(AC_ARG_VAR): ... here.
(_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
target_alias.
Keep a list of all precious variables and process them with one simple
for loop, instead of expanding all commands, or, OTOH, complicated
processing of output of "set".
* lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Accumulate the
variable names in new macro...
(_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
(_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
a loop to assign all ac_env_* and ac_cv_env_* variables.
(_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
to INIT_PREPARE.
(_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
its value to shell variable ac_precious_vars and call
_AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
_AC_ARG_VAR_VALIDATE.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
and the AC_SUBSTs ...
(AC_INIT): ... here.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
the ac_subst_files section in config.log.
* tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: New macro AC_C_TYPEOF.
* doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
* lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
* tests/c.at (C keywords): Test AC_C_TYPEOF.
Fix problems reported by Nicolas Joly.
* tests/base.at (Input/Output): Ignore 'loading site script' chatter.
* tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
They are generated by the Tru64 v5.1B shell.
2005-07-05 Stepan Kasal <kasal@ucw.cz>
Fix my changes from 2005-07-01; reported by Noah Misch.
* lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
description, the macro now accepts only a single tag.
(_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
Fix cases when the varsions of Autoconf and Autotest don't match.
Reported by Noah Misch.
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
at_top_builddir, for compatibility with older autotest.
* lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
is not set, use at_top_builddir, for compatibility with older
versions of autoconf.
2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
* bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
Problem reported by Patrick Welche.
2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
sed substitution command, so that we allow | in program prefixes
and program suffixes. (& is a problem anyway; we're not fixing
that here.)
* lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
configure_input, top_builddir, srcdir, etc.
* lib/autotest/general.m4 (AT_INIT): Likewise, for
PATH_SEPARATOR in AUTOTEST_PATH.
2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
* lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
for loop over config.site files using `set', to allow
directory names containing IFS characters.
2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
directories with weird names. Apparently some people like living
on the edge. However, improve the test that "pwd" actually does
report a name for the working directory.
* NEWS: Remove the claim that we test for funny chars in dir names.
2005-07-01 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
replaced ...
* lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
* lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
Now accept a single tag, not whitespace separated list.
(AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
2005-06-30 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Configuration Headers): Change the explanation
about #include <config.h>.
(Generic Functions): Mention the Gnulib project.
(Limitations of Usual Tools) <sed>: Another minor rephrasing.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
document to output the default config_* lists to config.status.
Don't recognize option --file, if the functionality is not there.
Likewise for --header; moreover, recognize --he and --h as shortcuts
for --help in that case.
* lib/autoconf/status.m4: Fix the order of the "sections", so that it
matches the order of execution. No code changed.
2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
single-quoted -cmdline argument in Portland Group compiler.
Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
* lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
2005-06-29 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
descriptors to child processes; reported by Norman Gray.
2005-06-29 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
* lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
(AC_SUBST): Call it.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
the directory specific variables; but don't call it for configure_input.
2005-06-28 Derek Price <derek@ximbiot.com>
* doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
addition.
2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
directory have inherent problems with special characters like spaces,
due to limitations in Make syntax. Problem reported by Alexandre
Duret-Lutz.
* lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
Also, fix Tru64 porting problem with shell patterns,
reported by Ralf Wildenhues.
2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Subdirectories): Fix markup typos.
2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
* tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
Fix some more shell quoting problems. Prompted by a bug report
from Justace Clutter.
* lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
variable into diagnostic. Make the diagnostic an error, not a warning,
because we really don't support spaces and suchlike in dir names.
(_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
Don't worry about backslashes in srcdir; it can't happen now.
(_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
Simplify ac_optarg handling.
(_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
2005-06-22 Stepan Kasal <kasal@ucw.cz>
Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
* configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
* tests/atlocal.in: Propagate $EGREP and $SED.
* tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
(AT_CONFIG_CMP): Use sed instead of grep plumbing.
* doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
that '\|' is not allowed in BREs; recommend using newline separated
list of patterns instead of multiple -e options.
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
2005-06-21 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
b, t, r, w commands require single space, while : cannot have any.
(Special Shell Variables): Fix sed code this in the example.
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
* lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
* lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
expand to the empty list. Don't use two pairs of m4_changequote,
it's not necessary.
2005-06-20 Derek Price <derek@ximbiot.com>
* lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
* doc/autoconf.texi:
Don't mention Solaris versions so much, if a
problem is common to all extant versions of Solaris. Say "SunOS
4" instead of "SunOS" for SunOS 4.
(awk): Mention more of the limitations of traditional Awk.
(cat): Don't talk about cat -v.
2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
(AS_VERSION_COMPARE): New macro. The API is taken from CVS,
but the implementation is entirely different and is designed
to be compatible with glibc strverscmp.
* tests/m4sh.at (AS_VERSION_COMPARE): New test.
* doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
on Mac OS X 10.4 reported by Peter O'Gorman in:
http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
Use shell builtins rather than 'expr', to work around expr bug.
2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi: "filesystem" -> "file system".
"behaviour" -> "behavior".
Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
* lib/autoconf/general.m4: Omit blank after ":" sed command,
as per POSIX.
* lib/m4sugar/m4sh.m4: Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
* man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
(.x.1): Ignore the time stamp in the .TH line when deciding whether
to update the man page. That way, we don't have to check in new
man pages every month.
* lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
quotes and backslashes. Patch from Derek Price.
2005-06-10 Derek Price <derek@ximbiot.com>
* doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
AS_TR_SH.
2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
* lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
-u, since it outputs chatter if the input files are the same.
Problem reported by Ralf Menzel.
2005-06-08 Derek Price <derek@ximbiot.com>
* lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
renaming them since they are about to be redefined anyhow.
2005-06-08 Derek Price <derek@ximbiot.com>
* doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
redefined M4 macros to this node. Document m4_include & m4_sinclude.
Move m4_undefine to alphabetical order.
2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
* README: Recommend GNU M4 1.4.3 or later.
* doc/autoconf.texi (Introduction): Likewise.
Reword to avoid some formatting glitches.
Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
Clarify explanation of HP compiler bug.
Redo example output tp match current CVS snapshot.
Use @example.org in email addresses when the examples
might get inadvertently cut-and-pasted into user code.
Remove example of autom4te usage that doesn't seem to work now.
Use modern AC_INIT (except when the example is meant to be
shown with Autoconf 2.13).
Update ksh info for Solaris 9 and later.
KB -> kB.
Modernize description of Automake versions a bit.
Don't claim a future version of Autoconf is near.
* doc/install.texi: Reword to avoid some formatting glitches.
2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi: Add [] to examples, so that the manual
follows its own advice about quoting better.
Reword to avoid some formatting glitches.
* doc/installt.exi: Reword to avoid some formatting glitches.
* doc/autoconf.texi (Limitations of Builtins) <case>: Mention
Tru64 ksh pattern matching bug. Reported against Libtool by
Albert Chin <libtool@mlists.thewrittenword.com> and
Nicolas Joly <njoly@pasteur.fr>.
2005-06-06 Stepan Kasal <kasal@ucw.cz>
m4_cdr of one-member list was [[]] (one-member list containing an
empty string) instead of [] (an empty list. Callers were skewed to
match this misbehaviour. As a consequence of this:
- m4_foreach([x], [], [foo]) expanded to `foo', while
- the expansion of m4_foreach([x], [[]], [foo]) was empty.
This bug has been fixed:
* lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
expand to an empty string; print error msg if called without
an argument list.
(m4_foreach, m4_map, m4_map_sep): Don't expect the previous
misbehaviour; handle [] and [[]] correctly.
2005-06-06 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
* doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
swallow records with more than 99 fields.
* lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
parse the long line.
2005-06-04 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
swallow literals longer than 399. Reported by Ralf Wildenhues.
* lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
to workaround this limitation.
2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
to gfortran, and make these the first two compiler names
checked (following the general autoconf preference for gcc).
2005-06-03 Stepan Kasal <kasal@ucw.cz>
* tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
(DISTCLEANFILES): Remove $(check_SCRIPTS).
(testsuite): Make sure autotest.m4f is up-to-date before using it.
2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
* lib/autotest/general.m4 (AT_INIT): Don't create a regular
expression of unbounded size when processing the --list
option. This runs afoul of a limit of 399 bytes per regular
expression on AIX. Problem reported by Ralf Wildenhues.
2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
* doc/autoconf.texi (Particular Headers): Reword example
for multiline stdbool replacement.
(Setting Output Variables): Reword text a bit. Don't
give all the details about |#_!!_#|.
Reword description of line replacement.
2005-05-31 Dan Manthey <dan_manthey@partech.com>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
now contain newlines, and substituted files must be referenced on
a line alone; the sed scripts to substitute them are now very
different.
(_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
commands can be put in a sed script portably.
* doc/autoconf.texi (Setting Output Variables): Document above
changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
use of multiline substitution.
* tests/torture.at: No longer expect substitution of newline to fail.
2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
From Ralf Menzel (trivial change).
2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
* tests/local.at: Don't attempt to check for negated character
classes in shell scripts. The test was too brittle.
2005-05-25 Stepan Kasal <kasal@ucw.cz>
* bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
* doc/autoconf.texi (Limitations of Builtins): Document this
limitation.
2005-05-24 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
common code; used in many places in the tree.
(AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
(_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
* lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
* lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
messages when ac_unique_file is not found.
(AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
(AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
commands, for consistency with AC_MSG_ERROR and such.
* bin/autoconf.as: Make more use of "shift 2" in option processing.
* bin/Makefile.am: Merge the two rules for creating scripts.
2005-05-23 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
obsolete; it was never documented.
(AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
2005-05-20 Stepan Kasal <kasal@ucw.cz>
* NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
* lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
(ac_top_builddir): ... this ...
(ac_top_build_prefix): ... to this; the old name is also kept, for
backward compatibility.
(ac_top_builddir_sub): New variable, without the trailing slash,
always nonempty.
(_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
* doc/autoconf.texi (Configuration Actions): Rename
ac_top_builddir to ac_top_build_prefix.
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
at_top_builddir to at_top_build_prefix.
* lib/autotest/general.m4 (AT_INIT): Likewise.
2005-05-20 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
of confdefs.h .
2005-05-17 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
argument to m4_foreach. I guess it was necessary in the past,
but I think it's a no-op now.
2005-05-17 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
``cat <<_ACEOF'' commands to one.
(_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
* lib/autoconf/status.m4: On various places, use expr instead of
``echo|sed.''
(_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
(_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
* lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
a range.
* tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
the wrong patterns between ``case'' and ``esac.'' The previous
code had false positives.
2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
as on 2005-05-02.
* doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
Mention LIBOBJDIR.
2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
* AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
config/config.guess, config/config.sub, config/elisp-comp,
config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
lib/autoconf/autoupdate.m4, 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/libs.m4,
lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
lib/autoconf/specific.m4, lib/autoconf/status.m4,
lib/autoconf/types.m4, lib/autoscan/Makefile.am,
lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
lib/autotest/Makefile.am, lib/autotest/autotest.m4,
lib/autotest/general.m4, lib/emacs/Makefile.am,
lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
tests/compile.at, tests/foreign.at, tests/fortran.at,
tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
tests/semantics.at, tests/suite.at, tests/tools.at,
tests/torture.at, tests/wrapper.as:
Update FSF postal mail address.
2005-05-13 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
check.
* lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
enough arguments, similarly as in m4_bpatsubsts.
2005-05-12 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
of absolute paths.
2005-05-11 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
for absolute directory names in one loop.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
abbreviations of --version and --debug.
2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Autoconf Language): Be more precise about
quoting rules. Problems noted by Stepan Kasal.
Also, throughout this document, be more careful about white space.
"blank", "white space", and "space" all have different meanings
and we should be careful to say what we mean.
2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
Fix C++ related problems reported by Werner Lemberg.
* doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
* lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
* lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
avoid problems with C++ and throw.
* tests/compile.at: .cpp, not .cc.
* tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Generic Functions): Typos.
2005-05-02 Gary V. Vaughan <gary@gnu.org>
* lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
set by latest automake.
2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
outputs 0 on GNU/Linux these days.
2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Autoconf Language): Add more description
about quoting heuristics.
(Limitations of Builtins): Describe "set -" problems.
2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
not newline.
* doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
by AC_DEFINE; it was a mistake.
From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
2005-04-25 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
2005-04-22 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (External Software): Quadrigraphs are not
processed correctly in AS_HELP_STRING; avoid this in the examples.
* lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
* lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
comment and reduce m4_default([foo], []) to [foo].
(m4_strip): Update the explanation.
2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
Remove core.conftest.* too; it's generated by Tru64 5.1.
Problem reported by Jennis Pruett.
* lib/autoconf/functions.m4
(AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
Don't bother to remove core files; AC_RUN_IFELSE should do that
for you.
2005-04-19 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
Report from Horst Wente.
2005-04-15 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
the comment.
2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
* doc/autoconf.texi (External Software, Package Options): Add
examples showing how to implement --with-* and --enable-* options.
2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
as well as configure.in. Problem reported by Gregorio Guidi.
2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Particular Functions): Use gnulib's current
pattern for alloca snippet.
2005-04-04 Stepan Kasal <kasal@ucw.cz>
* lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
2005-04-01 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Generic Programs): Fix a typo.
2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
* lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
fails if %s isn't supported. Problem reported by Ralf Wildenhues.
2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
Merge `-z option' as well for the benefit of Solaris link flags. Pass
whole-archive (-zallextract, -zdefaultextract) options in the hope of
unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: The configure command now warns you if you attempt to use
a directory whose name contains a special character like space,
newline, or "\".
* doc/autoconf.texi (Installation Directory Variables): Allow
"," in file names. Do not use \@; it's not a portable regexp.
* bin/Makefile.am (edit): Likewise.
* lib/Makefile.am (edit): Likewise.
* tests/Makefile.am (edit): Likewise.
* tests/semantics.at: Likewise.
* tests/torture.at: Likewise.
* lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
* lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
* doc/autoconf.texi (File System Conventions): Warn about
unportable file names.
* lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
(AC_INIT): Use it.
(_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
ac_pwd, and quote srcdir.
* lib/autotest/general.m4 (AT_INIT): Quote file name args.
* doc/autoconf.texi: Fix some systematic formatting problems.
".)" needs a following @: if not at the end of a sentence, and
similarly for "!)". "etc." should be preceded by a comma.
"n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
2005-03-22 Bruno Haible <bruno@clisp.org>
* doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
argument is often called 'build-aux'.
2005-03-07 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
macro AC_TRY_LINK is obsolete.
(Installation Directory Variables): Change `AC_OUTPUT_FILES' to
`AC_CONFIG_FILES'.
2005-02-24 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
`/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
from a Common Lisp's `cl'.
(AC_PROG_CXX): Behave according to the documentation: don't
search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
make the variable CCC precious; use `cl.exe', not `cl'.
2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
Alexandre Duret-Lutz <adl@gnu.org>
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
/dev/null, as "configure" shouldn't read stdin, and this insulates
us from problems (e.g., when testing for "cl"). Also, do this
redirection before invoking "hostname" or "uname", and keep the
original input stream available via...
(AS_ORIGINAL_STDIN_FD): ... this new macro.
(_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
bother with "</dev/null" since it's now done at the top of
'configure'.
* lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
* lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
* doc/autoconf.texi (File Descriptor Macros): New section.
(Printing Messages): Mention it.
* tests/base.at (Input/Output): New test.
2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
newline if neither \c nor -n work, as that would output two
newlines. Prefer -n to \c. Reported by Stepan Kasal.
2005-02-12 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
This causes that any required macros inside will get before the if.
* doc/autoconf.texi (autom4te.cache): A typo.
2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
Undo previous change, except keep the change to
lib/autoconf/programs.m4 that replaced grep with shell
pattern-matching. This is because net-snmp configure reads stdin.
Reported by Noah Misch.
2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
from /dev/null, as "configure" shouldn't read stdin, and this
insulates us from problems (e.g., when testing for "cl").
Suggested by Alexandre Duret-Lutz. Also, do this redirection
before invoking "hostname" or "uname".
(_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
_AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
* lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
"</dev/null" since it's now done at the top of 'configure'.
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
* lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
Also, replace grep with shell pattern-matching, to save a process.
2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
_AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
avoid thinking that Allegro Common Lisp's "cl" command is a C++
compiler.
2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Usual Tools): Document that
grep -q isn't portable. Improve grep -s explanation.
Problem reported by Dan Manthey.
2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Special Shell Variables): Clarify
PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi: Use @acronym for DJGPP.
Fix some @code's that should have been @env's, and vice versa.
Sort environment variable names.
Mention that shells no longer inherit IFS.
Don't recommend PATH_SEPARATOR=';' so strongly.
Mention that $RANDOM might expand to the empty string.
"symlink" and "soft link" -> "symbolic link".
Improve mktemp description (reported by Bruno Haible).
2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
* tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
* tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
Likewise.
* tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
Likewise.
2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Mention AT_COPYRIGHT.
* tests/local.at (AT_CMP): Use diff directly on input files rather
than copying them.
* lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
/usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
2005-02-04 Noah Misch <noah@cs.caltech.edu>
and Paul Eggert <eggert@cs.ucla.edu>
* tests/autotest.at (Empty test suite): New test.
* tests/torture.at (Substitute and define special characters)
(Substitute a 2000-byte string, Define to a 2000-byte string)
(Substitute a newline, Define a newline): New tests.
2005-02-04 Noah Misch <noah@cs.caltech.edu>
* lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
* tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
(AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
* tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
(Standard regular expressions): New test.
(m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
excess test name quoting.
* tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
CPPFLAGS to `configure' instead of setting it in `configure'.
* lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
on some platforms.
* lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
* tests/local.at (AT_CMP): New macro.
(AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
(AC_SAVE_STATE): Move environment grep...
(AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
(AT_CONFIG_CMP): New macro.
(AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
* tests/c.at (Extensions): Do not exit early.
* tests/atlocal.in: Inherit $GREP.
* lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
(_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
* lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
(AC_COPYRIGHT): Factor header comment portion out and move into...
* lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
* lib/autotest/general.at (AT_COPYRIGHT): New macro.
(AT_INIT): Add Autotest copyright notice. Display copyright notices in
--version output.
* tests/local.at: Add Autoconf test suite copyright notice.
* doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
2005-02-04 Bruno Haible <bruno@clisp.org>
and Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
Try not to generated lines of unlimited length, as POSIX places a
2047-byte limit on line length of portable text files.
* lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
Use newline as a separator, not space.
* lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
(AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
space.
2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
as_func_*. Add test to check whether positional parameters
are restored after function return.
2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Special Shell Variables): Mention _,
BIN_SH, DUALCASE. Say that variables other than "status" are safe
if they contain a lower-case letter. The DUALCASE problem was
reported by Ralf Wildenhues.
* bin/autoconf.as: Don't exit with status 0 after write failure
with --help or --version.
* lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Limitations of Usual Tools):
Unicos 9 sed limitations.
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
to get the option-enhanced interface on older Crays. Try ftn for
Fortran 95 (newer Crays).
2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
* man/Makefile.am (.x.1): Go back to the simple solution, but take
care to echo the commands, so the user knows what's going on.
Modified from a suggestion by Stepan Kasal.
* doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
with a cross reference. Derived from a suggestion by Bruce Korb.
2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (config.status Invocation): Warn about
discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
* doc/install.texi (Defining Variables): Likewise.
Based on a proposed patch by Ralf Wildenhues.
* man/Makefile.am (.x.1): Make sure the required generated files
are up to date. Problem and original solution proposed by Stepan Kasal.
$(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
implicit-man-prerequisites): New rules, used by the above.
* doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
* config/config.guess, config/config.sub, config/install-sh: Likewise.
* config/missing, config/texinfo.tex: Likewise.
2005-01-29 Stepan Kasal <kasal@ucw.cz>
Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
Update the long comment explaining it.
m4_require no longer writes an ``is required by'' line to the
execution stack. It contains only one bit of non-redundant
information: that the macro was required, not called. And even
this bit is useless in most situations: have you ever met a macro
which both calls and requires the same macro?
* lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
(_m4_defun_pro_outer): ... only via this macro, for the outermost
macro.
(_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
(m4_expansion_stack_pop): Remove the misplaced comment.
(m4_require): Don't put the ``is required by'' line to the
execution stack; slightly improve the out-of-a-defun error message.
(_m4_divert_grow): New macro, counter for the temporary diversions.
(_m4_require_call): Use it.
* tests/m4sugar.at (m4_require): Expect output without the
``is required by'' messages.
2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Usual Tools): Recommend X
rather than x for expr.
* lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
this is safe.
* lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
* lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
* tests/mktests.sh: Likewise.
2005-01-27 Akim Demaille <akim@epita.fr>
Have autoheader honor --force.
* doc/make-stds.texi, doc/standards.texi: Update from masters.
* lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
* lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
from masters, so that FileUtils.pm's update_file provide --force
support.
* bin/autoheader.in: Pass $force to update_file so that
config.h.in is always recreated when --force.
2005-01-24 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Introduction): Update Peter Simons' address.
2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Builtins): Clarify that
"if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
Warn about newline stripping in `` and $(). Update Solaris
version to 9.
(Limitations of Builtins): Use expr "X...", not expr "x...", as
X insulates us from future changes to Posix.
(Limitations of Usual Tools): For AS_DIRNAME, warn about newline
stripping.
2005-01-19 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Defining Symbols): Delete the false comment that
you cannot use AC_DEFINE to define macros containing `[' or `]'.
2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Usual Tools): Document bug
in Solaris 8 join. Problem reported by Tomohiro Suzuki on
bug-tar mailing list.
2005-01-05 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
ulongval to be static, to avoid unwanted GCC warning. Problem
reported by Michael Jennings via Daniel Reed; see
<https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
datadir, infodir, and mandir. Adjust argument parsing code.
(_AC_INIT_HELP): Update help text.
* doc/autoconf.texi (Installation Directory Variables): Document
new variables.
2005-01-04 Noah Misch <noah@cs.caltech.edu>
* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
not seem to work, assume it does set $(MAKE).
* doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
2005-01-03 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
2005-01-03 Stepan Kasal <kasal@ucw.cz>
A cleanup of the diversion support in m4sugar.
* lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
(_m4_divert_n_stack): New macro; the expansion is
<newline>m4_divert_stack, if m4_divert_stack is defined, and void
otherwise.
(m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
(m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
stored in _m4_divert_diversion or _m4_divert_dump.
(m4_divert_pop): When the parameter is given, compare the symbolic
name with the last diversion pushed on the stack. Previously, the
current diversion was compared with the numeric value of the
diversion given as the parameter.
(m4_require): If the macro hasn't been expanded yet, call ...
(_m4_require_call): this new macro.
2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
Workarounds for documented `case' limitations.
2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Usual Tools): Warn about
sed 'command1;command2'. Problem reported by Ralf Wildenhues.
2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
* bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
Patch from Roger Leigh (with some minor changes) as follows:
* NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
Resurrect AC_PROG_CC_STDC.
* doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
AC_PROG_CC_C89, AC_PROG_CC_C99.
(Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
* lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
AC_PROG_CC_C99): New macros.
(AC_PROG_CC_STDC): Use them.
(_AC_PROG_CC_STDC): Remove.
(AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
* THANKS: Add Roger Leigh.
2004-12-30 Noah Misch <noah@cs.caltech.edu>
* bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
signals that the package uses Automake; a `Makefile.am' is typical but
not essential. Reported by Magnus Therning.
* tests/torture.at (autoreconf.): New banner.
(autoreconf and non-AC configure): Rename to `Non-Autoconf
AC_CONFIG_SUBDIRS'.
(autoreconf an empty directory): Rename to `Empty directory'.
(Unusual Automake input files): New test.
2004-12-30 Noah Misch <noah@cs.caltech.edu>
* lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
(AT_SETUP): Clear AT_capture_files.
(_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
(AT_KEYWORDS): Fix comment typo.
* tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
* tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
* doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
If the variable to set is already set, set ac_cv_path_$1
to the preset value so caller can assume ac_cv_path_$1
is available. (trivial change)
2004-12-27 Noah Misch <noah@cs.caltech.edu>
* BUGS (Minor Problems): Warn about makefile limitations.
* Makefile.am: Find and update `INSTALL' in $(srcdir).
* man/Makefile.am: Find and update manual pages in $(srcdir).
2004-12-24 Eric Blake <ebb9@byu.net>
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
shells in subshell, to avoid noise from ash. (trivial change)
2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/autoconf.texi (Limitations of Builtins) <case>: Mention
problems with SunOS ksh and backslash escaping, Bourne shells and
closing brackets (both within character classes). Bug reported
against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
<read>: New entry. Mention non-availability of -r.
2004-12-21 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
avoid cluttering displayed messages. Rather, prepend srcdir where
AT_LINE is used for log files.
2004-12-21 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/status.m4: Quote ``$tmp'' in many places.
* lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
no longer part of the macro, quote the occurrence of ``$tmp''.
* doc/autoconf.texi (Forbidden Patterns): Typo.
2004-12-21 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
separated from the test title by forcing a white space.
2004-12-21 Akim Demaille <akim@epita.fr>
Enable Emacs navigation within testsuite.log files.
* lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
use the compilation mode.
(AT_LINE): Point to the srcdir.
2004-12-19 Noah Misch <noah@cs.caltech.edu>
* tests/Makefile.am (installcheck-local): Use $(bindir).
(check-local, installcheck-local): Pass TESTSUITEFLAGS.
* doc/autoconf.texi (Making testsuite Scripts): Recommend the same
Makefile.am scheme Autoconf now uses.
2004-12-18 Noah Misch <noah@cs.caltech.edu>
* lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
* lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
2004-12-18 Noah Misch <noah@cs.caltech.edu>
* lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
(_AT_CHECK): Use it.
* lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
(AS_ESCAPE): Fix comment.
* tests/autotest.at: Adjust section banner comments.
(AT_CHECK_AT): Accept STATUS and STDERR.
(AT_CHECK_AT_TEST): Likewise.
(Invalid brace-enclosed parameter expansion)
(Multiline command from M4 expansion)
(Double-M4-quoted command): New tests.
2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
2004-12-17 Akim Demaille <akim@epita.fr>
* lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
m4_pattern_allow.
Suggested by Alexandre Duret-Lutz.
* doc/autoconf.texi (Setting Output Variables): Catch up.
2004-12-17 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
2004-12-17 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
remove the comment which said we cannot.
2004-12-17 Stepan Kasal <kasal@ucw.cz>
Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
Reini Urban and Paul Eggert for reporting the dependencies.
* lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
* doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
(AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
2004-12-17 Stepan Kasal <kasal@ucw.cz>
* bin/autoscan.in: Open autoscan.log only after ``parse_args'';
so that eg. ``autoscan --help'' doesn't truncate it.
2004-12-15 Nicolas Joly <njoly@pasteur.fr>
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
generated conftest files.
2004-12-13 Noah Misch <noah@cs.caltech.edu>
* lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
tracing on commands with possibly-escaped newlines.
* doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
discontinued behavior and its implications.
* tests/autotest.at (BS-newline in command, ^BS-newline in command)
(BSx641-newline in command, BS-BS-newline in command)
(BSx640-newline in command, Newline-CODE-BS-newline in command)
(Single-quote-BS-newline in command)
(Single-quote-newline-BS-newline in command): New tests.
2004-12-13 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
on platforms where it works.
(_AS_TEST_PREPARE): Test for ``test -x''.
(_AS_BROKEN_TEST_PREPARE): Nuke.
2004-12-13 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
give only 4-letter prefix to AS_TMPDIR, comment fixed.
* lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
create the temporary directory.
(_AC_FEATURE_CHECK_LENGTH): Work in current directory.
2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
* bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
(trivial change)
2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
* doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
2004-12-11 Noah Misch <noah@cs.caltech.edu>
* lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
to avoid using a negated character class. Reported by Nicolas Joly.
* tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
* man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
Don't depend on .x file explicitly, since "make" does that for us.
Suggested by Stepan Kasal.
* bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
Add *.tmp.
(autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
ifnames): Factor common code. And they said it couldn't be done!
2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
* bin/.cvsignore: Add autoconf.in.
* tests/.cvsignore: Add wrapper.in.
* lib/autotest/general.m4: Escape '$' in case pattern.
2004-12-09 Noah Misch <noah@cs.caltech.edu>
* man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
* lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
* tests/autotest.at: New file.
* tests/suite.at: Include it.
* tests/Makefile.am: Distribute it.
* lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
shell tracing on a command that could contain multiple lines.
* doc/autoconf.text: Document that fact and its implications.
* lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
* tests/autotest.at (Multiline backquote command substitution,
Multiline parameter expansion, Literal multiline command,
Multiline parenthetical command substitution): Remove XFAIL.
2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
2004-12-08 Noah Misch <noah@cs.caltech.edu>
* configure.ac (test suite): Cease to generate wrapper scripts.
* configure: Regenerate.
* lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
(m4f_dependencies): Adjust accordingly.
* tests/Makefile.am (Wrappers): Generate wrapper scripts.
(wrapper.in): Generate it in the build directory.
(MAINTAINERCLEANFILES): Delete wrapper.in.
(CLEANFILES): Add wrapper.in.
* tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
the output. Replace each $as_me with a @wrap_program@.
* tests/wrapper.in: Delete it; we always build it.
* bin/Makefile.am (autoconf.in): Generate it in the build directory.
(EXTRA_DIST): Remove autoconf.in.
(CLEANFILES): Add autoconf.in.
(autoconf): Find autoconf.in in the build directory.
* bin/autoconf.in: Delete it; we always build it.
2004-12-08 Noah Misch <noah@cs.caltech.edu>
* lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
PATH members so as to not prepend an empty element. Move a comment.
* Makefile.am (SUBDIRS): Build in `tests' last.
* tests/Makefile.am (installcheck-local): Add check-local dependencies.
2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
* lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
the spaces inside $ls_command. Problem reported by Loulou Pouchet in
<http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
2004-12-07 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
patch: extra "-l"s.
2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
* doc/autoconf.texi (Particular Functions): Mention new behavior.
2004-12-03 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
out the common code to ...
(_AC_DEFINE_Q): ... a new macro; simplify the condition about the
value of the #define--default to 1, iff the macro was called
with exactly one parameter.
2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
"char c = '\200';" rather than "char c = 0x80;" as the
latter doesn't conform to the strict C standard due to
overflow on signed char hosts.
* lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
to -qlanglvl=ansi. We don't want to disable extensions.
2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
(Using Autotest, testsuite Scripts, Writing testsuite.at):
Reword slightly to avoid some English-language problems noted
by Ralf Wildenhues in:
http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
2004-11-29 Stepan Kasal <kasal@ucw.cz>
* NEWS: Add ^L above each release.
2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
Fix documentation problems reported by Russ Boylan in
<http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
along with some nearby cruft.
* doc/autoconf.texi (Libtool): Libtool can be used without
Automake (not without Autoconf).
(Introduction): Mention lists.gnu.org.
* BUGS: Don't mention bugs.gnu.org.
Remove mention of ancient libtool compatibility problem.
* NEWS: Mention that bugs.gnu.org is kaput.
* README: Likewise. Mention where mailing list archives can be found.
2004-11-28 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Pretty Help Strings): Go back to
single-quoting assignments to cache variables.
2004-11-23 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
with the examples; fix the bug in MY_ARG_WITH example reported
by Alexandre Duret-Lutz.
* lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
expansion of $1 in the comment emitted to configure.
2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Pretty Help Strings): Fix typo
in my editing of the previous patch. Problem reported
by Alexandre Duret-Lutz.
2004-11-22 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Autoconf Language): Explain that
``descriptions'' may not be double quotes.
(Quotation Rule Of Thumb): Likewise.
(Pretty Help Strings): Likewise; remove the wrong comment;
simplify the examples and improve their quoting.
2004-11-13 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
the $1_found variable, don't test whether the file is executable;
Both things are checked ...
(_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
the former ``test -f''.
* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
use cp -R instead.
2004-11-10 Derek R. Price <derek@ximbiot.com>
* doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
limitations. Reorder paragraphs for clarity.
2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
variants", "Unix", and some related minor wording fixups.
(Shellology, Special Shell Variables): Document that the Zsh
problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
to Alexandre Duret-Lutz for this info.
2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
* doc/autoconf.texi (One-Shot Macros): New node.
2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Function Portability): Fix misdescription
of putenv. Problem reported by Michael Wardle.
2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (auindex): New macro.
(AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
Problem reported by Stepan Kasal.
2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
Fix problems reported by Andreas Buening in:
http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
in test makefile.
* lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
readable; it's not true in OS/2-emx.
2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
"/usr/include", clear ac_x_includes instead of leaving it as "no"
(trivial change). Problem and patch reported by Andrew Church in:
http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
three args in examples. Problem reported by Frederik Fouvry in:
http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
Also, fix some minor spacing and punctuation bugs.
2004-09-02 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
"case" to restore ordering.
Reported by Stepan Kasal.
2004-08-26 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Minor typos and stylos.
2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
* configure.ac (AC_INIT): Bump to 2.59c.
2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
Version 2.59b.
* README: Add advice about m4 1.4.2.
* Makefile.cfg (wget_files): Remove config.guess, config.sub,
texinfo.tex for now (done by hand now).
* Makefile.maint (wget_files, cvs_files):
Remove ansi2knr.c; nobody uses it.
(ansi2knr.c-url_prefix): Remove.
(cvs-update): Fix test for failure. I don't know why it ever
worked...
* doc/autoconf.texi: Update URLs, some of which went stale.
Use @uref rather than @href.
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
handle "--" as per POSIX. Suggested by Paul Pogonyshev.
* config/config.guess, config/config.sub, config/elisp-comp,
config/install-sh, config/mkinstalldirs, config/texinfo.tex,
doc/fdl.texi, doc/standards.texi: Sync with master copy.
* NEWS, TODO, configure.ac, bin/autoscan.in,
bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
doc/install.texi, lib/Autom4te/Configure_ac.pm,
lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
lib/autoconf/programs.m4, lib/autoconf/status.m4,
lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
tests/tools.at, tests/torture.at:
Use "file name" rather than "filename" or "path",
to be consistent with the terminology of the GNU coding standards.
2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
<http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
More fixes to support spaces in the name of the build directory.
This isn't a complete fix but it's an improvement.
* bin/autoconf.as (autom4te_options): New var.
Use it instead of appending to AUTOM4TE, so that we can allow
spaces in the build directory's absolute name.
* bin/autoheader.in ($autoconf): Allow spaces in file names.
* lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
AT_CHECK_NOESCAPE): Likewise.
* tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
main program): Likewise.
2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
From Ralf Corsepius in:
http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Function Portability): Document isinf and
and isnan. From a suggestion by Kevin Ryde.
* lib/Autom4te/General.pm (END): Return correct exit status even
if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
* tests/torture.at (Deep Package): Use configure.in, not configure.ac,
for compatibility with Automake 1.4. Reported by J C Fitzgerald in
<http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
* lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
(AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
* doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
* lib/autom4te.in (Automake-preselections): Preselect
AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
* lib/autom4te.in (Automake-preselections): Preselect
AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
trace them.
2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
Tru64.
* doc/autoconf.texi (Shellology): Mention BIN_SH.
Document problem with "`""`" in pdksh POSIX mode.
2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
with pdksh, too. Problem reported by Patrick Welche via
Gary V. Vaughan.
* doc/autoconf.texi (Shellology): Note that set -o posix is
useful for pkdsh, too.
2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
_AS_UNSET_PREPARE, so that we can use $as_unset directly.
Don't fail if ENV or BASH_ENV is readonly.
(AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
etc. are read only. Problem reported by Ludovic Courtes.
2004-06-23 Noah Misch <noah@cs.caltech.edu>
* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
zsh, disable GLOB_SUBST to avoid backslash handling problems.
(trivial change)
2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (File System Conventions): Warn about
names like "aux". Problem reported by Eric Blake.
* lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
by zero instead of array size, so that we can use any arithmetic
constant expression (instead of requiring an integer constant
expression). This allows us to test expressions like DBL_MAX <
LDBL_MAX, which didn't conform to the C standard using the old
method.
(AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
now that we can do floating-point tests at compile time.
2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
and LDBL_EPSILON, as the resulting expression isn't an
integer constant expression and violates the C standard.
Problem reported by Nelson H. F. Beebe. Also, check
for "L" suffix, and check that long double doesn't have
worse range or precision than double, that mixed-mode
arithmetic doesn't generate a diagnostic, that double
constants fit in long double.
2004-06-03 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Function Portability): Add notes on free(NULL),
malloc(0) and realloc(NULL,size).
* doc/autoconf.texi (Shell Substitutions): Spelling error reported by
Bob Proulx.
2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
by Jim Meyering.
2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
can be rewritten using if-then-else. Suggested by Bruno Haible.
2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (testsuite Scripts): Fix typo.
Problem reported by Stepan Kasal.
2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
* tests/Makefile.am (autoconfdir): Fix to match comment (trivial
change). Patch reported by Ralf Wildenhues in
<http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
* lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
function F exists if the compiler and linker let you compile an
expression like (F != 0). Recent versions of GCC optimize away
the reference to F in that case, since every function address must
be nonzero, so the link succeeds even if F does not exist.
Problem reported by Manu in
<http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
* doc/autoconf.texi (Systemology): Standardize on the spelling of
"Unix". Many uses changed.
(Limitations of Builtins): Explain better why the ! command isn't
portable.
2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
* lib/autom4te.in (Automake-preselections): Preselect
LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
2004-05-19 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Function Portability): Add strerror_r, cross
referencing AC_FUNC_STRERROR_R.
* doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
note pessimistic assumption when cross compiling.
2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Make): Note that BSD make
(until 2004) invoked subcommands with sh -e, contra POSIX.
Reported by Kevin Ryde.
2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
* programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
_AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
" $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
`test -f " /usr/bin/grep"', which _always_ failed.
(AC_PROG_SED): Ditto bogus PATH fix.
* autoconf.texi (AC_PROG_GREP): Properly document that this macro
requires that grep correctly supports _multiple_ `-e' options, rather
than stating only that grep should accept `-e'.
2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
Port to C99, which requires that 'exit' be declared.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
to ensure that stdlib.h is included.
* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
_AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
* lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
* lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
* lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
when using 'exit' in a test; C99 requires that 'exit' be declared.
2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Particular Programs): AC_PROG_GREP
now prefers 'grep' implementations that accept -e.
(Limitations of Usual Tools): Describe problems of traditional
egrep and fgrep with long input lines, and of traditional grep
with -e.
* lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
(_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
All callers changed. Append /usr/xpg4/bin to the PATH, for
Solaris.
(_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
the user with complaints about multiple -e options.
* tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
Define it with AC_PROG_GREP.
* configure.ac (AC_PROG_GREP): Add.
* lib/freeze.mk (GREP): New macro.
2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
a possible candidate only after all others fail, rather than
consulting it first. This improves backward compatibility by
better reflecting the way shell selection occurred in previous
versions of Autoconf, and should help to avoid triggering latent
problems in other packages, such as the one in Automake where zsh
is not handled robustly:
http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
Although it is not Autoconf's responsibility to work around
problems in Automake, it nevertheless makes sense to avoid
introducing unnecessary incompatibilites.
2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
Gary V. Vaughan <gary@gnu.org>
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
how deeply nested we are when a suitable tool is found, set the
ac_path_TOOL_found flag.
(_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
nested we are in this macro. Break out of all 3 nested loops if
ac_path_TOOL_found is set.
2004-04-21 Gary V. Vaughan <gary@gnu.org>
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
of the _AS_PATH_WALK loop too if GNU flavor is found.
2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
* doc/autoconf.texi (Limitations of Make): Update documentation
for `$<'. New entry `Long lines', based on a report from Simon
Josefsson. Augment the documentation for SHELL = @SHELL@ with a
paragraph about DJGPP, based on a mail from Richard Dawe.
2004-04-20 Paul Eggert <eggert@twinsun.com>
* tests/c.at (C keywords): Don't assume that GCC supports
"restrict" and "inline", as sufficiently-old GCC versions do not
(also, GCC configured to be in pedantic C89 mode does not).
Problem reported by Sumit Pandya in:
http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
* lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
consider -g to work if it generates warnings when plain compiles
don't. Problem reported by Braden McDaniel in:
http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
* doc/autoconf.texi (Slashes): New section, to document a problem
reported by Jim Meyering in:
http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
linker output files before linking, to work around IRIX 6 linker bug.
Problem reported by Rainer Orth in:
http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
2004-04-20 Gary V. Vaughan <gary@gnu.org>
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
best tool so far counter rely on the tool path variable name to
avoid checks for one tool being affected by the results of running
the length check on a previous tool.
* lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
match expression argument, as different greps have different
regular expression flavours.
(AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
literals.
(AC_PROG_EGREP): Pass 'EGREP$'.
(AC_PROG_GREP): Pass 'GREP$'.
2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
* lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
2004-03-29 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Particular Headers, Particular Types, Generic
Types, Specific Compiler Characteristics, System Services,
Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
etc. consistently instead of 'long', 'short', 'unsigned' etc.
* lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
* lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
Likewise.
* lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
* lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
AC_TYPE_OFF_T): Likewise.
* tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
Likewise.
* tests/foreign.at (Libtool): Create an empty aclocal.m4, to
pacify libtool 1.5.2. Fix quoting problems in sed command.
2004-03-28 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
now defines HAVE_DECL_TZNAME if it is declared, when
HAVE_STRUCT_TM_TM_ZONE is not defined.
* lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
for HAVE_TZNAME.
2004-03-28 Steven G. Johnson <stevenj@fftw.org>
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
superfluous backslashing of quotes (") in sed expressions;
thanks to Paul Eggert.
2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
* lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
Fortran compiler is ifort, also added pghpf; thanks to Nelson
H. F. Beebe for the bug report.
2004-03-26 Steven G. Johnson <stevenj@fftw.org>
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
quoted -cmdline argument in Portland Group compiler (bug
reported by Jeffrey J. Barteet).
2004-03-25 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
(Run Time): ... here, where it's now mentioned.
2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
* doc/autoconf.texi (autom4te Invocation): Language Autoconf
inherits from language Autoconf-without-aclocal-m4.
(Customizing autom4te): Adjust example; the cache must now be
disabled for language Autoconf-without-aclocal-m4.
2004-03-16 Paolo Bonzini <bonzini@gnu.org>
Nathanael Nerode <neroden@twcny.rr.com>
* lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
AC_CHECK_TOOLS): Warn if a cross-tool is found without
a prefix.
(AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
AC_CHECK_TARGET_TOOLS): New macros.
* doc/autoconf.texi (Generic Programs): Document
(AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
AC_CHECK_TARGET_TOOLS, and warn for future changes
in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
AC_CHECK_TOOLS.
(Specifying Names): Document the reason for these future
behavioral changes.
* tests/mktests.sh: Do not generate tests for the
new macros.
* NEWS: Document these changes.
* doc/autoconf.texi: Avoid macros with unbraced arguments,
they make TeX hang up.
2004-03-15 Paul Eggert <eggert@bogus.example.com>
* NEWS: New macro AC_CHECK_ALIGNOF.
* doc/autoconf.texi (Generic Compiler Characteristics): Document it.
* lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
vowel.
(AC_CHECK_ALIGNOF): New macro.
* tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
* tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
those for sizeof.
2004-03-03 Paul Eggert <eggert@twinsun.com>
* bin/Makefile.am (edit): Don't use $< in a context where
POSIX doesn't require support for it. Use $@.in instead.
Problem reported by Anthony N. Frasso in
<http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
* bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
2004-02-23 Gary V. Vaughan <gary@gnu.org>
* bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
from the next generation of Libtool.
* lib/autom4te.in (Autoreconf-preselections): Ditto.
2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
* doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
is not always thread-safe. Report from Nathanael Nerode.
2004-02-18 Paul Eggert <eggert@twinsun.com>
Fix a dependencies problem, stemming from a Autoconf 2.59 build
problem on QNX reported by Stephen Rasku in
<http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
* bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
$(m4sh_m4f_dependencies); this removes a FIXME.
* tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
(MAINTAINERCLEANFILES): Split into pieces,
one per related section. Add $(srcdir)/wrapper.in.
2004-02-09 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Setting Output Variables): Emphasize that
AC_SUBST provides no portable way to escape literal newlines.
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
Darwin uses -lcrt2.o and there's little point to cataloging all
the system variants. Partial fix reported by Andreas Waechter in:
http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
for bug reported by Nelson H. F. Beebe in:
http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
2004-02-04 Paolo Bonzini <bonzini@gnu.org>
* doc/autoconf.texi (AU_DEFUN): Fix English,
suggested by Paul Eggert.
* lib/autoconf/autoupdate.m4: Correct reference to
acobsolete.m4, suggested by Alexandre Duret-Lutz.
2004-02-02 Paolo Bonzini <bonzini@gnu.org>
* bin/autoupdate.in: Define __file__ so that warnings
refer to the correct file.
* doc/autoconf.texi (AU_DEFUN): Describe more correctly
the behavior of the third argument.
* lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
correctly the behavior of the third argument. Document
what the three macros that AU_DEFUN defines do. Fix
warning message when the third argument includes $0
(reported by Alexandre Duret-Lutz).
2004-01-30 Paolo Bonzini <bonzini@gnu.org>
Eric Sunshine <sunshine@sunshineco.com>
Paul Eggert <eggert@twinsun.com>
* lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
(AS_INIT): Output shell initialization there. Removed optional
parameter. Expand _AS_SHELL_FN_SPY.
(AS_INIT_WITH_SHELL_FN): Removed.
(_AS_SHELL_FN_SPY): New macro.
(AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
macros.
(AS_SHELL_SANITIZE): Remove loop to find better shell
and documentation for the parameter.
(_AS_DETECT_BETTER_SHELL): Move it here.
(_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
(_AS_RUN): Move it here, support testing with eval.
(AS_REQUIRE_SHELL_FN): Require shell functions when
it is used.
(_AS_LINENO_WORKS): Put around braces, we do not
trigger the bash bug anymore.
* lib/autotest/general.m4: Document M4SH-SANITIZE, do not
use AS_INIT_WITH_SHELL_FN.
* bin/autoconf.in, tests/wrapper.in: Regenerated.
2004-01-30 Paolo Bonzini <bonzini@gnu.org>
* bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
* doc/autoconf.texi: Don't say that the third parameter
is broken.
* lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
(AU_DEFUN): Honor the third parameter, create autoupdate
macros with AU_DEFINE.
* lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
AC_DIR_HEADER): Use AU_DEFUN's third parameter.
* lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
* lib/autoconf/programs.m4 (AC_RSH): Likewise.
* lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
AC_XENIX_DIR): Likewise.
* lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
* lib/autoconf/status.m4: Remove FIXME.
* tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
that the macro is not present anymore in the updated
configure.ac.
* tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
of autoupdate.
2004-01-28 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
copyright years.
* lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
2003 (except 1997) to the list of copyright years. This undoes
the 2003-05-22 change, which removed the older years from the list.
* lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
2004-01-27 Gary V. Vaughan <gary@gnu.org>
Albert Chin-A-Young <china@thewrittenword.com>
* lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
grep or ggrep program in PATH that accepts as long lines as
possible.
* lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
AC_PROG_GREP.
(AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
egrep and fgrep respectively if $GREP -E/-F don't work.
(_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
_AC_PROG_GREP, and AC_PROG_SED.
(_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
longest input length accepted by a command.
(AC_PROG_SED): Use it.
* doc/autoconf.texi (Particular Programs): Document the changes.
* NEWS: Updated.
2004-01-27 Paul Eggert <eggert@twinsun.com>
* bin/autoconf.as ($version): Update copyright from 2003 to 2004.
* bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
* lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
* Makefile.in, aclocal.m4, configure, bin/Makefile.in,
bin/autoconf.in, config/Makefile.in, config/config.guess,
config/config.sub, config/install-sh, config/mdate-sh,
config/mkinstalldirs, config/texinfo.tex, 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, man/autoconf.1,
man/autoheader.1, man/autom4te.1, man/autoreconf.1,
man/autoscan.1, man/autoupdate.1, man/config.guess.1,
man/config.sub.1, man/ifnames.1, tests/Makefile.in,
tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
tests/actypes.at: Regenerate and/or sync with original
sources.
2004-01-26 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Default Includes): Include <stdint.h> even if
HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
not <inttypes.h>. Problem reported by Tim Mooney in
<http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
* lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
Likewise.
* lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
otherwise "make check" fails because it forbids cmp (I guess
because cmp treats files as binary on DOS-like systems).
* tests/mktests.sh: Update copyright date to 2004, since some tests
have changed in 2004.
2004-01-23 Gary V. Vaughan <gary@gnu.org>
* lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
non-truncating sed or gsed program in PATH.
* tests/acprograms.at: Add it.
* doc/autoconf.texi (Particular Programs): Document it.
* NEWS: Updated.
2004-01-15 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
-std1 disables some useful extensions on Tru64. Problem reported
by N. Lichtmaier in
<http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
2004-01-14 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Programming in M4sh): Document that
AS_MKDIR_P succeeds if the destination is a symbolic link
to an existing directory.
(Limitations of Usual Tools): Note that mkdir -p might not
succeed on symlinks to directories.
2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
* lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
* bin/autoheader.in: Grammar fix in message.
* lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
Test for dir before calling mkdir -p. (trivial changes)
2004-01-13 Eric Blake <ebb9@byu.net>
* doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
2004-01-10 Jim Meyering <jim@meyering.net>
* doc/autoconf.texi (Running the Preprocessor): Correct grammar.
2004-01-09 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
with `autoconf -Wall,error'. Bug reported by Eric Blake in:
http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
(_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
AC_COMPILE_IFELSE, since we now assume our caller invokes
AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
(_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
of AC_RUN_IFELSE; this avoids the warning mentioned above.
(_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
2004-01-07 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
`"'...'"`, as it's confusing (and I suspect it may not work on
some platforms). The code was incorrect anyway, as it assumed
that \$ evaluated to itself in that context. Reported by
Alexandre Duret-Lutz.
2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
* lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
and _LT_AC_TAGCONFIG.
2004-01-06 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (One Macro Call): Fix an incorrect
example, and add more examples. Reported by Eric Sunshine.
2004-01-05 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Limitations of Usual Tools):
Remove warning against "rm -fr" introduced yesterday; it
was a false alarm.
* bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
autoscan, autoupdate, ifnames): Don't use chmod -w.
* lib/Makefile.am (autom4te.cfg): Likewise.
* doc/autoconf.texi (Limitations of Usual Tools): Warn against
"chmod -w".
2004-01-04 Paul Eggert <eggert@twinsun.com>
Paolo Bonzini <bonzini@gnu.org>
* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
by doing lineno substitution only on lines containing "$LINENO".
2004-01-04 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/general.m4 (AC_ARG_PROGRAM):
Use "rm -f" to remove conftest.sed, not plain "rm".
Bug reported by David Relson in
<http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
* Makefile.am (autom4te-update):
Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
* Makefile.maint (my-distcheck, do-po-update): Likewise.
* doc/autoconf.texi (Guidelines): Likewise.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
* lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
* lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
* tests/Makefile.am (clean-local): Likewise.
* tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
srcdir): Likewise.
* doc/autoconf.texi (Limitations of Usual Tools):
Warn against "rm -fr".
2004-01-03 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
-c -o might not work. From a suggestion by Kevin Ryde.
(C Compiler, Generating Sources, Limitations
of Usual Tools, Limitations of Make, Making testsuite Scripts):
Don't put '-o' after non-options, as POSIX doesn't allow this.
Mention that cc's name might be gcc or c89 or whatever.
2004-01-04 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi: Add various further index entries.
2003-12-29 Paul Eggert <eggert@twinsun.com>
* bin/autoreconf.in (autoreconf_current_directory):
Fix typo: mkdir without umask arg.
2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
* doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
`VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
explanation clearer.
2003-12-24 Andreas Schwab <schwab@suse.de>
* doc/autoconf.texi (Default Includes): Fix misspelling of
AC_INCLUDES_DEFAULT.
2003-12-03 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Test if sh -n works.
* configure: Regenerate.
* tests/atlocal.in: Store the result here.
* tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
tools.at, looking in atlocal's ac_cv_sh_n_works instead
of explicitly testing.
(AT_CHECK_PERL_SYNTAX): Moved from tools.at.
(AT_CHECK_AUTOCONF): Test for the configure script syntax.
* tests/tools.at (Syntax of the shell scripts): Simplify
using AT_CHECK_SHELL_SYNTAX.
(Syntax of the Perl scripts): Remove definition of
AT_CHECK_PERL_SYNTAX.
2003-12-03 Paolo Bonzini <bonzini@gnu.org>
* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
stderr to /dev/null.
* bin/autoconf.in: Regenerate.
* bin/wrapper.in: Regenerate.
2003-11-26 Paolo Bonzini <bonzini@gnu.org>
* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
Extracted from AS_SHELL_SANITIZE.
(_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
macros.
(AS_SHELL_SANITIZE): Move reinvocation code from
_AS_LINENO_WORKS, use it to find out if shell
functions work.
(_AS_LINENO_WORKS): Don't find another shell if $LINENO
does not work.
(AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
(AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
was called.
* lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
* bin/autoconf.in: Regenerate.
* tests/wrapper.in: Regenerate.
* tests/tools.at: Test the syntax of tests/autoconf
and tests/testsuite.
2003-11-24 Akim Demaille <akim@epita.fr>
* config/announce-gen (&print_locations, &print_signatures)
(&sizes): New.
Use them.
No longer rely on Gnus to inline the list of signatures: compute
them on the fly.
2003-11-24 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
override some files.
(Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
From Debian Autoconf 2.58.
2003-11-24 Akim Demaille <akim@epita.fr>
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
uses.
From Debian Autoconf 2.58.
2003-11-24 Paolo Bonzini <bonzini@gnu.org>
* TODO: Remove already done things. Update the part about finding
tools for the target.
2003-11-24 Paolo Bonzini <bonzini@gnu.org>
* lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
Make wording more consistent.
* lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
Explain the transition better.
* lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
the transition better.
2003-11-24 Paolo Bonzini <bonzini@gnu.org>
* doc/autoconf.texi (Obsoleting Macros): Don't document the third
parameter of AU_DEFUN.
* lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
(AU_DEFUN): Remove the third parameter, it was not used.
Use AC_DEFUN directly, not AU_DEFINE.
* lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
the expanded body, consistently with other macros such as AC_USG.
2003-11-17 Paul Eggert <eggert@twinsun.com>
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
into the initial confdefs.h, to work around a bug in NextStep 3.3
patch 3 reported by Eric Sunshine.
2003-11-15 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (Using System Type): Revise, showing $host rather
than $target since the latter is not usual, add guidelines on when to
use or not use the system type.
2003-11-12 Derek Price <derek@ximbiot.com>
* doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
typo misrepaired by an auto-spellcheck.
2003-11-12 Akim Demaille <akim@epita.fr>
* bin/autoreconf.in (&parse_args): Don't call automake with
--force-missing unless it actually supports it.
From Debian #219336.
2003-11-12 Akim Demaille <akim@epita.fr>
* configure.ac: Bump to 2.59a.
Require 2.59.
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.
-----
Local Variables:
coding: utf-8
End:
Copyright (C) 2001-2012 Free Software Foundation, Inc.
This program 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 3 of the
License, or (at your option) any later version.
This program 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 this program. If not, see
<http://www.gnu.org/licenses/>.
|