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
|
2001-12-31 Tom Tromey <tromey@redhat.com>
* automake.texi (Extending): Document installcheck-local. Added
installdirs-local index entry.
(Tests): Document installcheck-local.
* automake.in (handle_single_transform_list): Indentation fix.
2001-12-31 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (common_files): Add COPYING.DOC.
Suggested by Karl Berry.
2001-12-30 Tom Tromey <tromey@redhat.com>
* automake.in (define_configure_variable): Define a user macro,
not an automake macro.
* tests/Makefile.am (TESTS): Added ar.test.
* tests/ar.test: New file.
For PR automake/211:
* automake.in (object_compilation_map): New global.
(initialize_per_input): Initialize it.
(COMPILE_LIBTOOL): New constant.
(COMPILE_ORDINARY): Likewise.
* tests/Makefile.am (TESTS): Added pr211.test.
* tests/pr211.test: New file.
For PR automake/215:
* configure.in: Use AM_AUTOMAKE_OPTIONS.
* Makefile.am (AUTOMAKE_OPTIONS): Removed.
* automake.texi (Macros): Document AM_AUTOMAKE_OPTIONS.
(Options): Mention AM_AUTOMAKE_OPTIONS.
* automake.in (global_options): New global.
(global_options_line): Likewise.
(scan_autoconf_traces): Trace AM_AUTOMAKE_OPTIONS.
(scan_one_autoconf_file): Likewise.
(process_option_list): New function.
(handle_options): Use it. Also, handle global options.
* m4/Makefile.am (m4data_DATA): Added options.m4.
* m4/options.m4: New file.
* lib/am/install.am (?SUBDIRS?installdirs-am): Handle
installdirs-local.
(?!SUBDIRS?installdirs): Likewise.
* automake.in (handle_installdirs): Handle installdirs-local.
* automake.texi (Extending): Mention installdirs.
* tests/Makefile.am (TESTS): Added installdir.test.
* tests/installdir.test: New file.
2001-12-30 Akim Demaille <akim@epita.fr>
* lib/am/yacc.am: Also rename the possible y.output file.
Remove the trailing y.tab.h.
2001-12-30 Paolo Bonzini <bonzini@gnu.org>
* automake.texi (Install): Remove mention of nonexistent
uninstall-hook.
2001-12-30 Alan Modra <amodra@bigpond.net.au>
* automake.in (generate_makefile): Unlink output file before
opening so that any hard links are not changed.
2001-12-30 Tom Tromey <tromey@redhat.com>
* tests/pr220.test: Use `required' to pick up gcc.
For PR automake/243:
* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Strip everything
after `:'.
* tests/Makefile.am (TESTS): Added pr243.test.
* tests/pr243.test: New file.
For PR automake/220:
* tests/Makefile.am (TESTS): Added pr220.test.
* tests/pr220.test: New file.
* m4/cond.m4 (AM_CONDITIONAL): Cause creation of config.status to
fail if conditional was never run.
For PR automake/260:
* lib/depcomp (tru64): Correctly handle libtool case.
From doreille@smr.ch.
2001-12-30 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/distdir.am (distcleancheck_listfiles): Unquote.
Reported by Yann Droneaud.
2001-12-29 Tom Tromey <tromey@redhat.com>
For PR automake/266:
* tests/Makefile.am (TESTS): Added pr266.test.
* tests/pr266.test: New file.
* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Handle
non-standard name for makefile.
For PR automake/279:
* automake.in (conditional_ambiguous_p): New sub.
(handle_lib_objects_cond): Use it.
(check_ambiguous_conditional): Use it.
* tests/Makefile.am (TESTS): Added pr279.test, pr279-2.test.
* tests/pr279.test: New file.
* tests/pr279-2.test: New file.
2001-12-26 Tom Tromey <tromey@redhat.com>
For PR automake/249:
* tests/Makefile.am (TESTS): Added nodist2.test.
* tests/nodist2.test: New file
2001-12-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* m4/multi.m4: Fix quoting in AC_OUTPUT_COMMANDS.
2001-12-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.in: Test for Autoconf >= 2.52.
* tests/defs (needs_autoconf, has_autoconf): Delete definition.
* tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
tests/cond4.test, tests/cond9.test, tests/cond16.test,
tests/cond18.test, tests/cond19.test, tests/cond20.test,
tests/confsub.test, tests/depcomp2.test, tests/depdist.test,
tests/depend2.test, tests/dirname.test, tests/distname.test,
tests/extra5.test, tests/install2.test, tests/lex3.test,
tests/make.test, tests/nobase.test, tests/pr9.test,
tests/pr87.test, tests/stamph2.test, tests/subdir5.test,
tests/subdirbuiltsources.test, tests/subobj3.test,
tests/subobj5.test, tests/subobj6.test, tests/substref.test,
tests/target-cflags.test, tests/yacc4.test, tests/yacc7.test,
tests/yaccvpath.test: Do not use $needs_autoconf.
2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.in: Bump version to 1.5c.
2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.in: Bump version to 1.5b.
* lib/config.sub, lib/config.guess: New versions from FSF.
* lib/am/lex.am, lib/am/yacc.am: Use `rm -f', not `rm'.
2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (check_gnu_standards, check_gnits_standards): Pass
"$am_file.am" as WHERE argument to require_file.
2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
* m4/python.m4 (AM_PATH_PYTHON): Check all known Python interpreters
in loop until we find one the satisfies the user supplied version.
Add python2 to the list of known interpreters. Don't use
changequote. Cache the calculation of PYTHON_VERSION and
PYTHON_PLATFORM.
(AM_PYTHON_CHECK_VERSION): New function, extracted from
AM_PATH_PYTHON and modernized.
* m4/runlog.m4: New file.
* m4/Makefile.am (m4data_DATA): Add it.
2001-12-06 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/confsub.test, tests/depdist.test, tests/extra5.test,
tests/nobase.test, tests/stamph2.test,
tests/subdirbuiltsources.test: Require Autoconf.
2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.texi (Dist): Document $(DISTCHECK_CONFIGURE_FLAGS).
* lib/am/distdir.am (distcheck): Honnor $(DISTCHECK_CONFIGURE_FLAGS).
Suggested by Merijn de Jonge.
2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/tags.am (ID): Search $(LISP) files in $(srcdir),
like other ID dependencies.
Suggested by Christian Cornelssen.
2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_dist): Distribute common files which
do not exist but are target of a Makefile rule.
* automake.texi (Dist): Update.
* test/builtcommon3.test: New file.
* test/Makefile.am (TESTS): Add distcommon3.test.
2001-12-04 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (macro_define): Fix misuse of chomp introduced on
2001-11-28.
2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (append_comments): New. Extracted from
read_am_file. Match '\n' with a regexp, don't use substr (the
perlport man page says '\n' is not always one byte wide).
(read_am_file): Use it. Always chomp $_.
(file_contents_internal): Use append_comments.
(macro_define): Don't treat the trailing '\n' with substr, use
a regexp or chomp.
2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/defs: Turn on shell traces when VERBOSE=x.
2001-11-26 Tom Tromey <tromey@redhat.com>
* automake.texi (Assembly Support): Mention .s and .S as only
suffixes.
2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/subdirbuiltsources.test: Set -e after sourcing defs, not
before.
2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/lex3.test: Require GNU Make.
2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/defs (ACLOCAL): Add -I $srcdir/../m4 before any other
directory.
2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/tags.am (TAGS): Search %CONFIG% and $(LISP) files
in $(srcdir), like other TAGS dependencies.
Suggested by Christian Cornelssen.
2001-11-26 Akim Demaille <akim@epita.fr>
* automake.in (¯o_define): Use $where when reporting an error,
not the place where the macro was first defined since (i) if this
is the first definition, then obviously it was not defined before,
and (ii) anyway, the error is with the new definition, not the
first.
2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/distdir.am (distcheck): Call distcleancheck.
(distcleancheck_listfiles, distcleancheck): New, extracted from
distcheck.
* automake.texi (Checking the distribution): Document
distcleancheck_listfiles and distcleancheck.
2001-11-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (scan_one_autoconf_file): Parenthesize qw// in
foreach invocation, otherwise Perl5.005_03 complains about a
syntax error. Reported by Yann Droneaud.
2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (scan_texinfo_file): Suppress FIXME about strange
map behavior.
2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/defs (aclocaldir): Check for existence of libtool.m4 and
gettext.m4 if required.
2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (define_objects_from_sources,
handle_lib_objects_cond, value_to_list): Use quotemeta instead of
the equivalant substitution.
2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (SUFFIX_RULE_PATTERN): Add '_(){}$@' to the
set of accepted characters in extensions.
(rule_define): Convert '.o' and '.obj' into '$(OBJEXT)' for
internall use.
* tests/suffix6.test: Ensure that `.o' is handled like `.$(OBJEXT)'.
2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.texi (Suffixes): Don't require SUFFIXES, but document
its use for the "extreme" cases.
2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (rule_define): Use $KNOWN_EXTENSIONS_PATTERN
to match suffix rules for known extensions, or call
accept_extensions on suffixe rules for unknown extensions.
(var_SUFFIXES_trigger): New function.
(macro_define): Call var_VAR_trigger when $VAR is updated.
* tests/suffix6.test, tests/suffix7.test: New files.
* tests/Makefile.am (TESTS): Add suffix6.test and suffix7.test.
2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (KNOWN_EXTENSIONS_PATTERN, known_extensions_list):
New variables.
(handle_single_transform_list, lang_yacc_target_hook): Use
KNOWN_EXTENSIONS_PATTERN.
(accept_extension): New function.
(register_language): Call it.
2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
At every place where an "$extension" is used, include the leading
dot in the extension, don't hardcode it when building the filename.
That will make any support for a dot-less extension easier to add.
* automake.in (SUFFIX_RULE_PATTERN): Include extension dots in
backref groups.
("main"): Prepend a '.' to the supported extensions of all
languages (e.g. 'c' becomes '.c').
(handle_languages, handle_single_transform_list,
handle_lib_objects_cond, handle_headers, derive_suffix,
rule_define): Do not add a dot
before extensions, and include dots in matching groups.
* lib/am/depend2.am (.%EXT%.o, .%EXT%.obj, .%EXT%.lo): Rename as ...
(%EXT%.o, %EXT%.obj, %EXT%.lo): ... these.
* lib/am/lex.am (.%EXT%.%DERIVED-EXT%): Rename as ...
(%EXT%%DERIVED-EXT%): ... this.
* lib/am/yacc.am: Likewise.
2001-11-12 Akim Demaille <akim@epita.fr>
* m4/make.m4 (AM_MAKE_INCLUDE): Serial 2.
Use `"#"' and `"\""', which
Autoconf mode prefers over `'#'' and `'"''.
* m4/missing.m4 (AM_MISSING_HAS_RUN): Serial 3.
Rely on AC_MSG 2.50's quotation.
2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (scan_texinfo_file): Typo from 2001-11-05.
2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/distdir.am (distdir): Also look for directory in build
directory first. (See 2001-05-14.)
* tests/Makefile.am (TESTS): Add extra5.test.
* tests/extra5.test: New file.
From Dean Povey.
2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix for distcommon2.test:
* automake.in (automake_needs_to_reprocess_all_files): New
variable.
("main"): Process all Makefiles a second time if
$automake_needs_to_reprocess_all_files is set.
(maybe_push_required_file): Return 1 or 0 whether the file is
pushed or not.
(require_file_internal): Set $automake_needs_to_reprocess_all_files
if an added file can't be pushed.
* test/distcommon2.test: New file.
* test/Makefile.am (TESTS): Add distcommon2.test.
From Pavel Roskin.
2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (exec_dir_p): Remove. Replace by...
(EXEC_DIR_PATTERN):... this.
(am_install_var): Adjust to use EXEC_DIR_PATTERN.
2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
Fix for nobase.test:
* lib/am/header-vars.am (install_sh_DATA): New.
* lib/am/data.am (install-%DIR%%PRIMARY%): Declare and use
%DIR%%PRIMARY%_INSTALL, and set it to $(install_sh_DATA) instead
of $(INSTALL_DATA) for nobase_ targets.
* lib/am/lisp.am (install-%DIR%LISP): Likewise.
* lib/am/python.am (install-%DIR%PYTHON): Likewise.
* tests/nobase.test (configure.in): Append AC_OUTPUT.
* tests/Makefile.am (XFAIL_TESTS): Remove nobase.test.
2001-11-08 Akim Demaille <akim@epita.fr>
* automake.texi: Remove references to stamp-h.in, which no longer
exists.
* tests/stamph2.test: Formatting change.
2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in.
Don't use -Wno-error.
2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/suffix4.test ($AUTOMAKE): Don't use -Wno-error.
* tests/suffix5.test ($AUTOMAKE): Likewise.
2001-11-07 Akim Demaille <akim@epita.fr>
* m4/init.m4 (AM_INIT_AUTOMAKE): Don't escape quotes in
AC_MSG_ERROR.
Reported by Jim Meyering.
2001-11-07 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/distdir.am (am__remove_distdir): Define in topdir only.
2001-11-05 Paul Eggert <eggert@twinsun.com>
* lib/am/distdir.am (am__remove_distdir):
New macro. Do not change permission of non-directories.
Change only user permission, as there's no point to changing group
or other permission.
(distdir, dist, dist-bzip2, dist-tarZ, dist-shar, dist-zip, dist-all,
distcheck): Use it.
2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/python.am: Cleanup the cleaning section.
* automake.texi (Python): Remove documentation for PYCFILES
and PYOFILES. Update the first paragraphes.
2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (FOREIGN, GNU, GNITS, AC_CANONICAL_HOST,
AC_CANONICAL_SYSTEM, MOSTLY_CLEAN, DIST_CLEAN): Define as constants.
Adjust usage everywhere.
2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (libtool_files, libtool_sometimes, common_files,
common_sometimes, config_aux_path): Use qw to simplify definition.
(scan_texinfo_file) <clean_suffixes, predefined_index,
hidden_index>: Likewise.
(scan_autoconf_traces) <traced>: Likewise.
(scan_one_autoconf_file, check_gnu_standards, resolve_linker):
Likewise.
2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_single_transform_list): Pass $nonansi_obj to
derive_suffix. Don't use an hardcoded 'o' for object extensions.
(derive_suffix): Accept $OBJ as a second argument, don't
hardcode 'o'.
* tests/suffix5.test: New test.
* tests/Makefile.am (TESTS): Add suffix5.test.
Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_single_transform_list): Don't call
$lang->target_hook for undefinied langages.
* tests/suffix4.test: New test.
* tests/Makefile.am (TESTS): Add suffix4.test.
Reported by Dmitry Mikhin <dmitrym@acres.com.au>.
2001-11-05 Akim Demaille <akim@epita.fr>
* automake.in (@common_sometimes, &handle_configure): No longer
use stamp-hin.
* lib/am/remake-hdr.am: Adjust.
* tests/confh.test: There is no stamp.hin.
2001-11-01 Akim Demaille <akim@epita.fr>
* lib/am/lex.am, lib/am/yacc.am: Use the output file name in
`#line' and multiple inclusion guards.
* lib/ylwrap: Remove debugging code.
(input_dir, input_rx): Move where used.
Use the output file name in `#line'.
2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (transform): Update documentation.
2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
* m4/gcj.m4 (AM_PROG_GCJ): Define GCJFLAGS if unset.
Reported by Olivier Louchart-Fletcher <olivier@zipworld.com.au>.
2001-10-30 Akim Demaille <akim@epita.fr>
* automake.in (&create): Reinstall.
2001-10-30 Akim Demaille <akim@epita.fr>
* automake.in (&append_exeext): Use macro_delete.
2001-10-30 Akim Demaille <akim@epita.fr>
* automake.in ($verbose): Remove, inherited from
Automake::General.
(&variable_delete): Rename as...
(¯o_delete): this, for consistency.
(&variable_assert): New.
(&variable_value_as_list, &variable_value_as_list_recursive_worker):
Use it.
2001-10-29 Akim Demaille <akim@epita.fr>
* m4/lispdir.m4 (AM_PATH_LISPDIR): Use AC_RUN_LOG to avoid
cluttering configure's stdout.
2001-10-28 Akim Demaille <akim@epita.fr>
* automake.in: Various formatting changes.
(create): Remove, unused.
2001-10-28 Akim Demaille <akim@epita.fr>
* automake.in (&append_exeext): New.
(&am_primary_prefixes): Use it.
2001-10-28 Akim Demaille <akim@epita.fr>
* automake.in (am_primary_prefixes): Now, in accordance with its
comment, return the list of prefixes actually used, not all the
possible prefixes for a primary.
(&handle_libraries, &handle_ltlibraries, &handle_java)
(&am_install_var): Adjust.
* Makefile.am (maintainer-check): Allow `local $_;'.
2001-10-28 Akim Demaille <akim@epita.fr>
* automake.in: Various formatting changes.
(&variable_defined): Second argument is optional.
2001-10-28 Akim Demaille <akim@epita.fr>
* automake.in (&am_primary_prefixes): Now returns a list, not a
hash.
(&handle_libraries, &handle_ltlibraries, &handle_java)
(&am_install_var): Adjust.
2001-10-28 Akim Demaille <akim@epita.fr>
* automake.in (@libtoolize_files, @libtoolize_sometimes): Rename
as...
(@libtool_files, @libtool_sometimes): these.
($libtool_location): Remove, completely replaced by $seen_libtool.
(&require_file_internal): Do not run libtoolize, that's
autoreconf's job.
2001-10-28 Akim Demaille <akim@epita.fr>
* tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
* tests/acouttbs.test, tests/auxdir.test, tests/colon.test,
* tests/colon2.test, tests/colon3.test, tests/colon4.test,
* tests/colon5.test, tests/colon6.test, tests/colon7.test,
* tests/conf2.test, tests/config.test, tests/depcomp.test,
* tests/depcomp2.test, tests/discover.test, tests/fpinst2.test,
* tests/fpinstall.test, tests/ldadd.test, tests/libobj7.test,
* tests/libobj8.test, tests/output.test, tests/output2.test,
* tests/output3.test, tests/output4.test, tests/output5.test,
* tests/pr2.test, tests/remake.test, tests/remake2.test,
* tests/remake3.test, tests/scripts.test, tests/stamph.test,
* tests/subdir.test, tests/subdir2.test, tests/subdir4.test,
* tests/tagsub.test, tests/texinfo8.test: Remove PACKAGE and VERSION
assignments.
2001-10-28 Akim Demaille <akim@epita.fr>
* automake.in (&scan_autoconf_traces): Use eq for equality.
Anchor regexps.
Remove dead comment.
(&initialize_per_input): Don't initialize several times the same
vars.
2001-10-28 Akim Demaille <akim@epita.fr>
* automake.in (scan_one_autoconf_file): When using %generalize, be
sure to replace only words. AC_FUNC_OBSTACK was matching
M4_AC_FUNC_OBSTACK.
2001-10-26 Akim Demaille <akim@epita.fr>
* tests/stamph2.test: Strengthen.
* tests/confh2.test, tests/confh3.test: Remove.
These are bad tests: they don't check the effects, but some
internal details in Makefile.
And they are covered by stamph2.test.
2001-10-26 Akim Demaille <akim@epita.fr>
Now that stamp-h's are created by config.status, we don't need to
handle them in Makefile's.
* lib/am/remake-hdr.am (%STAMP%): Just run config.status.
* m4/header.m4 (_AM_STAMP): New.
(_AM_CONFIG_HEADER): Use it.
2001-10-26 Akim Demaille <akim@epita.fr>
* automake.in (&generate_makefile, &handle_texinfo_helper)
(&handle_man_pages, &handle_dist, &handle_configure, &handle_all)
(&define_pretty_variable, &read_am_file, &file_contents_internal)
(&am_install_var, &push_dist_common, &unquote_m4_arg): Simplify
`join (' ', @list)' into `"@list"'.
2001-10-26 Akim Demaille <akim@epita.fr>
* automake.in (@config_fullnames, @config_names): Remove.
(@config_headers): Now contains the actual spec used in
AC_CONFIG_HEADERS.
(&split_config_file_spec): New.
(&handle_tags, &handle_configure, &handle_all, &scan_autoconf_traces)
(&scan_one_autoconf_file): Adjust.
(&scan_one_autoconf_file): Pff, don't think _AM_CONFIG_HEADER is
AM_CONFIG_HEADER.
2001-10-26 Akim Demaille <akim@epita.fr>
* m4/header.m4 (_AM_CONFIG_HEADER): New.
(AM_CONFIG_HEADER): Use it.
2001-10-26 Akim Demaille <akim@epita.fr>
* automake.in (&handle_configure): Use the config.status 2.50
invocation syntax for config files and headers.
autoheader needs the name of the file to create, not from what it
must be created, hence CONFIG_HEADER_FULL is $one_name, not
$one_fullname.
* lib/am/configure.am, lib/am/remake-hdr.am: Likewise.
* tests/confsub.test (SUBDIRS): Adjust to the new config.status
invocation.
Strengthen: Use the non-default config.hin source.
Strengthen: Make sure config.h is properly updated when config.hin
is changed.
2001-10-26 Akim Demaille <akim@epita.fr>
* automake.in (&handle_configure): Seeing Automake files in
@other_input_files is a programming error, not merely something to
ignore.
Factor slightly the code.
2001-10-26 Akim Demaille <akim@epita.fr>
* automake.in ($canonical_location): New.
Use it.
(&require_config_file, $line_error): Remove.
2001-10-24 Akim Demaille <akim@epita.fr>
* automake.in: Use &verbose.
(&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use
Automake::XFile.
2001-10-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
Have the basename step optional and use %NDIR% instead of %DIR% in
filenames in order to support 'nobase_'.
2001-10-24 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_languages, handle_single_transform_list,
lang_c_rewrite): Use require_conf_file instead of
require_config_file to require depcomp or compile from
Makefile.am. (This is a part of my patch of 2001-10-15 which got
mistakenly reverted.)
2001-10-24 Akim Demaille <akim@epita.fr>
* tests/confh.test: Since 2001-10-20 Kevin Ryde, stamp-h is
stamp-h1.
2001-10-24 Akim Demaille <akim@epita.fr>
Since the ansi2knr patch from 2001-10-20 Kevin Ryde, `$U' can
appear in Makefile.in in the clean rule.
* tests/cxxansi.test: Adjust.
2001-10-24 Akim Demaille <akim@epita.fr>
* automake.in (&am_print_error, &am_file_error, &am_macro_error)
(&am_target_error, &am_line_error, &am_conf_error, &am_file_warning):
Rename as...
(&print_error, &file_error, ¯o_error, &target_error, &line_error)
(&conf_error, &file_warning): these.
(&file_warning): Fix the prototype and argument handling.
(&am_line_warning): Remove, unused.
Also, repair the misapplication of previous patches.
2001-10-21 Akim Demaille <akim@epita.fr>
* automake.in ($ac_output_location): Replace with...
($ac_config_files_location): this.
(&scan_autoconf_traces): We don't need $file and $line, $here is
enough.
(&scan_one_autoconf_file): Use `$in_ac_output' to store the macro
name (AC_OUTPUT or AC_CONFIG_FILES) for error messages.
2001-10-21 Akim Demaille <akim@epita.fr>
* automake.in (&require_file_with_macro): Use &require_file.
(&read_am_file): Move the definition of $here at its proper place.
2001-10-21 Akim Demaille <akim@epita.fr>
* automake.in ($libtool_line, $seen_pythondir): Replace with...
($libtool_location, $pythondir_location): these.
(&require_conf_file_with_line, &require_conf_file_with_line):
Remove, unused.
(&require_file): Don't forget $where.
(&require_conf_file): Ahem... Fix the name.
(&require_config_file): Invoke &require_conf_file, not yourself.
(&am_line_error): Fix the default am_file_error invocation.
2001-10-21 Akim Demaille <akim@epita.fr>
* automake.in ($seen_lispdir): Replace with...
($am_lispdir_location): this.
(&require_conf_file): New.
(&require_config_file, &require_conf_file_with_line,
(&require_conf_file_with_conf_line): Use it.
(&require_conf_file_with_macro): New.
2001-10-21 Akim Demaille <akim@epita.fr>
* automake.in ($config_header_line, $ac_output_line)
($ac_gettext_line, $package_version_line): Replace with...
($config_header_location, $ac_output_location)
($ac_gettext_location, $package_version_location): these.
(&require_file_with_conf_line, &require_file_with_line): Remove,
no longer used.
2001-10-21 Akim Demaille <akim@epita.fr>
* automake.in (&require_file_internal): Instead of $file and $line,
take $where as first argument.
Adjust all callers.
(&require_file_with_macro): New.
Use it where internal black magic was used to recover the location
of a macro definition.
2001-10-21 Akim Demaille <akim@epita.fr>
* automake.in (&read_am_file): Define and use `$here'.
Avoid using am_line_error.
2001-10-21 Akim Demaille <akim@epita.fr>
* automake.in (&am_target_error): New.
Use it where appropriate instead of...
(&am_line_error): this.
Using it for a target is a croak error.
2001-10-21 Akim Demaille <akim@epita.fr>
* automake.in (&am_macro_error): New.
Use it where appropriate instead of...
(&am_line_error): this.
Using it for a macro is a croak error.
2001-10-21 Akim Demaille <akim@epita.fr>
* tests/asm.test: s/AC_PROG_AS/AM_PROG_AS/.
AC_OUTPUT a Makefile.
2001-10-21 Akim Demaille <akim@epita.fr>
* automake.in (%var_line): Rename as...
(%var_location): this.
Use it consistently as the location where the macro is defined,
file and line when possible, otherwise just file.
(&read_am_file): Rules have their own location tracking, don't
pollute %var_location.
2001-10-21 Akim Demaille <akim@epita.fr>
* automake.in (am_line_error): Clarify.
2001-10-21 Akim Demaille <akim@epita.fr>
* automake.in (&am_print_error): Set $exit_status since all your
users do.
(&am_error, &am_file_error, &am_line_error, &am_conf_error):
Don't.
(&am_conf_line_error, &am_conf_line_warning): Remove.
Adjust callers to use &am_file_error and...
(&am_file_warning): new.
2001-10-21 Akim Demaille <akim@epita.fr>
* m4/regex.m4: Use AC_LIBOBJ.
Require 2.50, and use AC_LIBSOURCES freely.
* tests/asm.tests: Formatting changes.
Exercise AM_PROG_AS.
2001-10-21 Akim Demaille <akim@epita.fr>
* tests/install.test: This test is an empty shell, do not run
automake.
* tests/Makefile.am (TESTS): Don't run it.
* tests/defs (ACLOCAL): When using gettext, pass in the installed
aclocaldir.
* tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake
--add--missing.
* tests/obsolete2.test: Remove, merged into...
* tests/obsolete.test: here.
Both aclocal and automake should complain.
2001-10-21 Akim Demaille <akim@epita.fr>
* automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs
for symbols which cannot be Make macro names.
(scan_one_autoconf_file): `$here' is new.
Use it consistently instead of `1' to remember a token was seen.
2001-10-21 Akim Demaille <akim@epita.fr>
* tests/subdircond.test: Requires gettext.
* tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
* tests/libobj6.test, tests/libobj9.test, tests/libtool.test,
* tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test,
* tests/nolink.test, tests/obsolete.test, tests/pr72.test,
* tests/sinclude.test, tests/subdircond.test, tests/subobj4.test:
Produce valid configure.in, use aclocal appropriately, declare
when libtool is required.
2001-10-21 Akim Demaille <akim@epita.fr>
* m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does.
* automake.texi (Macros, Yacc and Lex): Adjust.
* automake.in ($seen_decl_yytext): Rename as...
($seen_prog_lex): this.
(&scan_autoconf_traces): Add AC_PROG_LEX support.
(&scan_one_autoconf_file, &lang_lex_finish): Adjust.
2001-10-21 Akim Demaille <akim@epita.fr>
* automake.in (&scan_autoconf_traces): Add support for
AM_PATH_LISPDIR and AM_PATH_PYTHON.
2001-10-21 Akim Demaille <akim@epita.fr>
* tests/defs (ACLOCAL): Point to the installed aclocaldir if
libtool is required.
* tests/lex.test: Run AC_INIT once.
* tests/ldflags.test, tests/listval.test, tests/suffix2.test:
Libtool is required.
* tests/header.test: Build a correct configure.in.
* tests/defun2.test (configure.in): Be a bit respectful with
Autoconf, close the macro invocations.
* tests/confdeps.test: Even when not using aclocal, aclocal.m4
must be correct.
* automake.in (scan_autoconf_traces): Add support for
AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL,
AM_CONFIG_HEADER, AM_MAINTAINER_MODE.
* tests/condincl.test (target): Better pattern, to avoid matching
the definition of `target_alias' which is now properly discovered
as an AC_SUBST by traces.
* cond4.test: Better grep pattern: After all, why shouldn't
TWO_FALSE be AC_SUBST properly.
* tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust.
2001-10-20 Kevin Ryde <user42@zip.com.au>
* lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when
actually using ansi2knr.
* automake.in (handle_configure): Always put a number on $stamp_name,
to match AM_CONFIG_HEADER.
2001-10-20 Tom Tromey <tromey@redhat.com>
* tests/Makefile.am (TESTS): Added condd.test.
(XFAIL_TESTS): Added condd.test.
* tests/condd.test: New file.
2001-10-20 Akim Demaille <akim@epita.fr>
* automake.in (&scan_autoconf_traces): Add support for
AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and
AC_CONFIG_AUX_DIR.
* tests/alpha.test (configure.in): Automake wants a Makefile.
2001-10-20 Akim Demaille <akim@epita.fr>
* automake.in (scan_autoconf_traces): Use an unlikely to be used
separator between trace arguments, in particular not `:' as it is
within AC_CONFIG_FILES's $1.
2001-10-20 Akim Demaille <akim@epita.fr>
* tests/alpha.test (configure.in): Create, don't append. A single
AC_INIT is enough.
2001-10-20 Akim Demaille <akim@epita.fr>
* tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
* tests/acoutqnl.test, tests/acouttbs.test, tests/all.test,
* tests/alpha.test, tests/ansi.test, tests/asm.test,
* tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test,
* tests/badline.test, tests/block.test, tests/canon2.test,
* tests/check.test, tests/checkall.test, tests/clean.test,
* tests/colneq.test, tests/colneq2.test, tests/colon.test,
* tests/colon2.test, tests/colon3.test, tests/colon4.test,
* tests/colon5.test, tests/colon6.test, tests/colon7.test,
* tests/comment.test, tests/comment3.test, tests/cond.test,
* tests/cond2.test, tests/cond6.test, tests/cond7.test,
* tests/condincl.test, tests/condincl2.test, tests/condman.test,
* tests/condman2.test, tests/confdist.test, tests/confh.test,
* tests/confh2.test, tests/confh3.test, tests/confvar.test,
* tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
* tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test,
* tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test,
* tests/else.test, tests/empty.test, tests/exdir.test,
* tests/exdir2.test, tests/extra3.test, tests/extra4.test,
* tests/flibs.test, tests/fnoc.test, tests/fo.test,
* tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
* tests/fpinstall.test, tests/gcj2.test, tests/gnits.test,
* tests/include.test, tests/info.test, tests/insh.test,
* tests/insh2.test, tests/install.test, tests/installsh.test,
* tests/instdata.test, tests/instdata2.test, tests/instexec.test,
* tests/insthook.test, tests/instman.test, tests/instman2.test,
* tests/java.test, tests/javaprim.test, tests/javasubst.test,
* tests/libobj3.test, tests/link_f_only.test, tests/lisp.test,
* tests/man.test, tests/mclean.test, tests/mdate.test,
* tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
* tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test,
* tests/noinst.test, tests/obsolete.test, tests/obsolete2.test,
* tests/outdir.test, tests/output.test, tests/output2.test,
* tests/output3.test, tests/output4.test, tests/output5.test,
* tests/package.test, tests/pluseq.test, tests/pluseq2.test,
* tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test,
* tests/pluseq8.test, tests/ppf77.test, tests/pr2.test,
* tests/primary.test, tests/proginst.test, tests/python.test,
* tests/remake.test, tests/remake2.test, tests/remake3.test,
* tests/rulepat.test, tests/scripts.test, tests/seenc.test,
* tests/sinclude.test, tests/spell.test, tests/spell3.test,
* tests/spelling.test, tests/stamph.test, tests/subdir.test,
* tests/subdir2.test, tests/subdircond.test, tests/subst.test,
* tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
* tests/syntax.test, tests/tags.test, tests/tagsub.test,
* tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test,
* tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test,
* tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test,
* tests/texinfo9.test, tests/vars.test, tests/vartar.test,
* tests/version.test, tests/version2.test, tests/version3.test,
* tests/version4.test, tests/vpath.test, tests/vtexi.test,
* tests/vtexi2.test, tests/werror.test: Run aclocal before automake.
2001-10-20 Akim Demaille <akim@epita.fr>
* tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
* tests/acouttbs.test, tests/asm.test, tests/colon.test,
* tests/colon2.test, tests/colon3.test, tests/colon4.test,
* tests/colon5.test, tests/colon6.test, tests/colon7.test,
* tests/conf2.test, tests/confh.test, tests/confh2.test,
* tests/confh3.test, tests/confh4.test, tests/config.test,
* tests/confsub.test, tests/depend3.test, tests/discover.test,
* tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test,
* tests/header.test, tests/ldadd.test, tests/ldflags.test,
* tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
* tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
* tests/libobj9.test, tests/mdate4.test, tests/obsolete.test,
* tests/output.test, tests/output2.test, tests/output3.test,
* tests/output4.test, tests/output5.test, tests/package.test,
* tests/parse.test, tests/pr2.test, tests/remake.test,
* tests/remake2.test, tests/remake3.test, tests/scripts.test,
* tests/stamph.test, tests/subdir.test, tests/subdir2.test,
* tests/subdir4.test, tests/subdirbuiltsources.test,
* tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test,
* tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove
AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation
since AM_INIT_AUTOMAKE requires them.
2001-10-20 Akim Demaille <akim@epita.fr>
* tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE
arguments.
Don't run AC_ARG_PROGRAM another time, it is required by
AM_INIT_AUTOMAKE.
* tests/aclocal.test: Work on the default configure.in
* tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
Be realistic in testing: AC_INIT is required for Autoconf.
Broken so called optimized tests break trace handling.
* tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
* tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
* tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
* tests/colon.test, tests/colon2.test, tests/colon3.test,
* tests/colon4.test, tests/colon5.test, tests/colon6.test,
* tests/colon7.test, tests/cond.test, tests/cond2.test,
* tests/cond3.test, tests/cond5.test, tests/conf2.test,
* tests/confh.test, tests/confh2.test, tests/confh3.test,
* tests/confh4.test, tests/config.test, tests/confsub.test,
* tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
* tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
* tests/fpinstall.test, tests/header.test, tests/ldflags.test,
* tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
* tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
* tests/libobj9.test, tests/output.test, tests/output2.test,
* tests/output3.test, tests/output4.test, tests/parse.test,
* tests/pr2.test, tests/recurs.test, tests/recurs2.test,
* tests/remake.test, tests/remake2.test, tests/remake3.test,
* tests/req.test, tests/scripts.test, tests/subdir.test,
* tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
* tests/tagsub.test, tests/texinfo8.test, tests/version.test,
* tests/version2.test: Add AC_INIT in `configure.in'.
2001-10-20 Akim Demaille <akim@epita.fr>
* automake.in (&scan_autoconf_traces): Add support for
AM_INIT_AUTOMAKE, AM_CONDITIONAL.
Let @args have a more natural M4 correspondence: $1 is args[1], no
args[0] etc.
(&scan_autoconf_files): Using autoconf traces is no longer a
complement of the previous ad hoc scheme: use either.
2001-10-20 Akim Demaille <akim@epita.fr>
* automake.in (&scan_one_autoconf_file): `%generalize' is new, and
factors dedicated $libsources assignments.
2001-10-20 Akim Demaille <akim@epita.fr>
* m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
Remove, since Autoconf 2.52 has them.
* automake.in, aclocal.in, automake.texi: Adjust.
2001-10-19 Akim Demaille <akim@epita.fr>
* automake.in (&read_main_am_file): s/generated automatically/
generated/.
Insert @configure_input@, since 2.50 no longer output this
automatically for Makefiles.
2001-10-19 Kevin Ryde <user42@zip.com.au>
* lib/am/check.am (check-TESTS): Add an "else true" to work with
Ultrix 4.5 /bin/sh when $(TESTS) is empty.
2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test.
* tests/nobase.test: New file. Based on a bug report
from Martin Frydl <martin@idoox.com>.
2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (am_install_var): Don't strip nobase_ from $X, do
this with $nodir_name only. Use $nodir_name where appropriate.
2001-10-15 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_languages, handle_single_transform_list,
lang_c_rewrite): Use require_conf_file instead of
require_config_file to require depcomp or compile from Makefile.am.
(require_aux_file_with_line): New function, adapted from
require_conf_gile_with_line.
(require_conf_file_with_line, require_conf_file_with_conf_line):
Simplify using require_aux_file_with_line.
(require_config_file): Simplify using require_conf_file_with_conf_line.
(require_conf_file): New function.
2001-10-15 Akim Demaille <akim@epita.fr>
* m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH])
normally, what is wrong is that automake outputs a variable
definition for it, hence...
* automake.in (scan_one_autoconf_file): don't.
* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted
from...
(AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust.
Use AC_CONFIG_COMMANDS.
(_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.
2001-10-15 Akim Demaille <akim@epita.fr>
* m4/header.m4 (AM_CONFIG_HEADER): Don't use m4_patsubst.
2001-10-15 Akim Demaille <akim@epita.fr>
* automake.in (&variable_conditions): Be deterministic and Perl
version independent: sort the result.
(&variable_output, &variable_pretty_output): Sort all the @conds,
not only when defaulted.
* tests/cond3.test: Adjust.
2001-10-15 Akim Demaille <akim@epita.fr>
* automake.in: Formatting changes.
2001-10-15 Akim Demaille <akim@epita.fr>
* aclocal.in: Use Automake::General and Automake::XFile.
Use find_configure_ac.
Output the Emacs tags for Autoconf mode selection.
2001-10-10 Akim Demaille <akim@epita.fr>
* lib/COPYING, COPYING, lib/config.guess, lib/config.sub: Update
from master copies.
2001-10-09 Akim Demaille <akim@epita.fr>
Do not use Autoconf internals.
* tests/dirname.test: Don't use AC_PLAIN_SCRIPT.
* m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not
m4_regexp and m4_patsubst, since the latter are reserved for ERE
macro in GNU M4 1.5.
2001-10-08 Akim Demaille <akim@epita.fr>
* m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf
changed its name.
2001-10-05 Akim Demaille <akim@epita.fr>
* automake.in (scan_autoconf_files): Use find_configure_ac from
General.
2001-10-02 Akim Demaille <akim@epita.fr>
* lib/Automake/Struct.pm: Update from Autoconf.
* lib/Automake/General.pm, lib/Automake/XFile.pm: New, from CVS
Autoconf.
* automake.in: Use them.
(&uniq, $me): Remove, as they are provided by Automake::General.
2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
* Makefile.am (maintainer-check): Don't check for 'cd' calls in m4.
* lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'.
* lib/am/dejagnu.am (check-DEJAGNU): Likewise.
* lib/am/distdir.am (distcheck): Likewise.
* lib/am/texinfos.am (install-info-am, dist-info): Rewrite without
using cd so we don't have to fiddle with CDPATH.
* lib/am/header-vars.am (am__cd): Define so as to support Zsh and
DOSish path separator.
2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/python.am (install-%DIR%PYTHON,
uninstall-%DIR%PYTHON): Strip path of source file.
(clean-python): Comment out.
2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_python): Use require_conf_file_with_conf_line
instead of require_file_with_conf_line, so that elisp-comp and
py-compile are installed in the aux-directory.
(handle_emacs_lisp): Likewise. Define elisp_comp.
* lib/am/lisp.am (.el.elc): Use elisp_comp.
2001-10-01 Akim Demaille <akim@epita.fr>
* lib/am/distdir.am (distcheck): Report the trailing files.
Run `dist-gzip', not `dist', as it may leave other distribution
flavors.
2001-09-29 Paul Eggert <eggert@twinsun.com>
* lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
bugs when making file names with unusual characters. Quote chmod
arg "$dirmode", in case it contains white space.
Incorporate the following change from autoconf mkinstalldirs:
1999-04-10 Ben Elliston <bje@cygnus.com>
Add `-m' flag to specify the mode of a newly created
directory. Add command line usage and `-h', `--help' options.
Contributed by Jeff Garzik.
2001-09-27 Akim Demaille <akim@epita.fr>
* m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
2001-09-27 Akim Demaille <akim@epita.fr>
* lib/am/distdir.am (dist): Rename as...
(dist-gzip): this.
(dist): Additional name for dist-all.
* automake.texi (Options, Dist): Adjust.
2001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* aclocal.in (obsolete_macros): Update AM_EXEEXT message.
* automake.in (obsolete_macros): Likewise.
(seen_objext): Remove (unused).
(scan_one_autoconf_file): Don't handle AC_OBJEXT.
* lib/am/header-vars.am (EXEEXT, OBJEXT,
PATH_SEPARATOR): New variables.
* tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
* m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
neutralize CDPATH for us.
* m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
* lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
TEXINPUTS.
2001-09-22 Akim Demaille <akim@epita.fr>
* configure.in, NEWS: Bump to 1.5a.
Require 2.52.
2001-09-22 Paul Eggert <eggert@twinsun.com>
* ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am,
lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4,
m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4,
m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4,
m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4,
m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4,
m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4,
m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4,
m4/termios.m4, m4/winsz.m4: Add copyright notice.
* INSTALL, lib/INSTALL: Upgrade to latest autoconf version,
which has a copyright notice.
* m4/strtod.m4: Correct the dates on the copyright notice.
2001-09-17 Akim Demaille <akim@epita.fr>
* lib/missing (autom4te): New.
(aclocal, autoconf, automake, autoheader, help2man): Propagate
actual failures.
2001-08-27 Tom Tromey <tromey@redhat.com>
* automake.texi (A Shared Library): Clarify installation
requirement.
(Install): Typo. From Adrian Bunk.
2001-08-27 Tom Tromey <tromey@redhat.com>
* automake.texi (Macros): Typo fix.
From Christian Cornelssen
2001-08-27 Tom Tromey <tromey@redhat.com>
* tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
tests/cond4.test, tests/cond16.test, tests/cond18.test,
tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
tests/lex3.test, tests/pr87.test, tests/subobj3.test,
tests/substref.test: Clear CFLAGS.
* automake.texi (Yacc and Lex): Mention lex, not yacc.
From Alexey Mahotkin.
2001-08-27 Tom Tromey <tromey@redhat.com>
* tests/yacc7.test: Use test -f, not test -e.
2001-08-27 Adrian Bunk <bunk@fs.tum.de>
* automake.texi (etags): Typo fix.
2001-08-27 Guido Draheim <guidod@gmx.de>
* automake.in : restrict ansi2knr option to be a filepath
2001-08-23 Richard Boulton <richard@tartarus.org>
* tests/yacc7.test: Actually add this file: was accidentally omitted.
2001-08-22 Tom Tromey <tromey@redhat.com>
* automake.texi (Conditionals): Mention that conditionals must
always be invoked. For PR automake/220.
2001-08-22 Richard Boulton <richard@tartarus.org>
Tom Tromey <tromey@redhat.com>
* automake.in (lang_yacc_target_hook): Make header file depend on
.c file, not .y file.
* lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
.c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
* tests/yacc7.test: New file.
* tests/Makefile.am (TESTS): Added yacc7.test.
2001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
* m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
2001-08-18 Tom Tromey <tromey@redhat.com>
* automake.texi (Dist): Mention dist-all.
2001-08-18 Tom Tromey <tromey@redhat.com>
* tests/cond3.test: Use portable sed expression.
From Richard Boulton.
2001-08-13 Richard Boulton <richard@tartarus.org>
* automake.in (handle_source_transform): Call
define_objects_from_sources() instead of calling
variable_value_as_list(), handle_single_transform_list() and
define_pretty_variable() directly.
(handle_single_transform_list): Add $topparent parameter, used for
error messages. Improved error message.
(define_objects_from_sources): New function.
(subobjname): New function.
(variable_conditions_recursive): New name for variable conditions.
(variable_value_as_list_recursive): New name for variable_value_as_list.
(variable_value_as_list_worker): Renamed to ...
(variable_value_as_list_recursive_worker): ... this.
(variable_conditions_sub): Renamed to ...
(variable_conditions_recursive_sub): ... this.
(variable_conditions): Rewritten: now doesn't recurse subvariables.
(variable_value_as_list): Rewritten: now doesn't recurse subvariables.
(substfroms): New global.
(substtos): New global.
(substnums): New global.
* tests/cond3.test: Update to work with new method of defining _OBJECTS.
* tests/cond4.test: Update to work with new method of defining _OBJECTS.
* tests/sourcesub2.test: New test.
* tests/Makefile.am (TEST): Added sourcesub2.test.
2001-08-11 Tom Tromey <tromey@redhat.com>
* configure.in: Upped to 1.4s.
2001-08-09 Richard Boulton <richard@tartarus.org>
* automake.in (handle_single_transform_list): Use new global,
`%linkers_used', to store the linkers used, rather than an internal
variable. Enables correct linker to be calculated across a group
of calls to &handle_single_transform_list. Return only list of
objects, since linker to be used is now externally determined.
(handle_source_transform): adapted for new calling conventions of
handle_single_transform_list. Calls resolve_linker() on a set of
all the linkers used for any prefix, rather than for each prefix in
turn.
(linkers_used): New global.
* tests/link_dist.test: New test.
* tests/Makefile.am (TESTS): Added link_dist.test.
2001-08-08 Raja R Harinath <harinath@cs.umn.edu>
Dissociate testsuite 'make' invocations from outer 'make'.
* tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
environment variables.
* tests/cond16.test: Use '$MAKE -s', and avoid GNU make
dependency.
* tests/substref.test: Likewise.
2001-08-08 Richard Boulton <richard@tartarus.org>
* tests/cond18.test: New file.
* tests/cond19.test: New file.
* tests/cond20.test: New file.
* tests/cond4.test: Updated to check the generated _OBJECTS more
thoroughly.
* tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
cond20.test
2001-08-08 Richard Boulton <richard@tartarus.org>
* automake.in (file_contents_internal): if a rule is conditionally
defined, define the standard automake definition for it for those
conditions which are not conditionally defined.
(invert_conditions): New function: invert a list of conditionals.
* tests/cond14.test: New file.
* tests/cond15.test: New file.
* tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
2001-08-05 Tom Tromey <tromey@redhat.com>
* tests/Makefile.am (TESTS): Added dejagnu2.test.
* tests/dejagnu2.test: New file.
* lib/am/dejagnu.am (site.exp): Don't conditionalize.
* automake.in (handle_scripts): Removed dead code.
(handle_tests_dejagnu): Don't handle site.exp generation
specially.
2001-08-04 Richard Boulton <richard@tartarus.org>
* tests/cond17.test: New file: test for being able to define an
object to be generated in different ways according to a
conditional.
* tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
(TESTS): Added cond17.test.
2001-08-02 Richard Boulton <richard@tartarus.org>
* automake.in (variable_conditions_sub): Handle variable
substitution refs when computing conditions based on subvariable
conditions. Fixes substitution refs of system variables when sub
variable is conditional.
(SUBST_REF_PATTERN): New global.
* tests/cond16.test: New file: regression test for variable
substitution refs.
* test/Makefile.am (TESTS): Added cond16.test.
2001-08-03 Tom Tromey <tromey@redhat.com>
* tests/substref.test: Require GNU make; backed out previous
change.
* tests/substref.test: Handle entering/leaving directory
messages.
2001-08-03 Richard Boulton <richard@tartarus.org>
* automake.in (value_to_list): Check for whether $from is defined,
rather than whether it is true, so that empty $froms are allowed in
substitution reference patterns.
* tests/substref.test: New file: test behavior of substitution
references when the $from side of the substitution is empty.
* tests/Makefile.am (TESTS): Added substref.test.
2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
* m4/install-sh.m4: New file.
* m4/Makefile.am (m4data_DATA): Add install-sh.m4.
* m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
* m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
for install.sh any longer, always use install-sh, don't even
fall back to missing. Use $am_aux_dir, making $install_sh absolute.
* m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
is absolute.
* m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
* automake.texi (EXEEXT): Clarify.
2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
* m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
* m4/auxdir.m4: More comments.
2001-07-31 Richard Boulton <richard@tartarus.org>
Raja R Harinath <harinath@cs.umn.edu>
* automake.in (variable_conditions_sub): Remove @parent_conds
argument. This was old logic - duplicate or impossible
conditionals are removed later by &variable_conditions_reduce().
Fixes tests/cond13.test.
(conditionals_true_when): Removed.
* tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
2001-07-31 Tom Tromey <tromey@redhat.com>
* tests/Makefile.am (TESTS): Added cond13.test.
(XFAIL_TESTS): Likewise.
* tests/cond13.test: New file.
* configure.in: Upped to version 1.4k.
* configure.in: Released 1.4j.
* lib/config.guess: Updated from master sources.
* lib/config.sub: Likewise.
2001-07-30 Tom Tromey <tromey@redhat.com>
* automake.texi (A Program): Typo. Added subsections and more
text about conditional compilation.
(A Shared Library): Moved earlier.
(Program variables): Updated LINK text. Added AM_CFLAGS.
(C++ Support): Added AM_CXXFLAGS.
(Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
(EXEEXT): New node.
* tests/Makefile.am (TESTS): Added aclibobj.test.
* tests/aclibobj.test: New file.
* automake.in (handle_lib_objects_cond): Avoid undefined variable
error.
(scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
* automake.texi (Dist): Mention other distribution types.
(Install): Updates.
2001-07-29 Tom Tromey <tromey@redhat.com>
* automake.texi (Program and Library Variables): Texinfo fix.
From Alexey Mahotkin.
2001-07-28 Tom Tromey <tromey@redhat.com>
* automake.texi (Strictness): Mention Cygnus mode.
(Cygnus): Updated.
(Uniform): Likewise.
(Canonicalization): Likewise.
(Install): Add `nobase_' to example; typo fix.
(Clean): Typo.
(Dist): Expand on putting a directory into EXTRA_DIST. Insert
section markers.
(Options): Texinfo fixes; some text updates.
(Tags): Update.
2001-07-27 Tom Tromey <tromey@redhat.com>
* automake.texi (Invoking Automake): Document --Werror and
--Wno-error.
2001-07-26 Tom Tromey <tromey@redhat.com>
* tests/nolink.test: Added no-exeext.
* automake.in (check_variable_defined_unconditionally): Don't call
macro_dump.
* automake.texi (Optional): Don't mention ALL_LINGUAS.
(gettext): Likewise.
* automake.in (seen_linguas, all_linguas, all_linguas_line):
Removed.
(handle_gettext): Don't do any checking of the languages.
(scan_one_autoconf_file): Don't look for ALL_LINGUAS.
* automake.in (am_print_error): New function.
(am_error): Use it.
(am_file_error): Likewise.
(am_line_error): Likewise.
(am_conf_error): Likewise.
(am_conf_line_error): Likewise.
* automake.texi (Options): Document no-exeext.
* automake.in (handle_options): Recognize no-exeext.
(rule_define): Handle no-exeext.
* tests/Makefile.am (TESTS): Added new file.
* tests/exeext2.test: New file.
* automake.in (make_input_list): Removed.
(scan_autoconf_config_files): Don't add to make_input_list.
(scan_one_autoconf_file): Don't use make_input_list.
(scan_autoconf_files): Use make_list, not make_input_list.
(scan_autoconf_files): Likewise.
* automake.in (seen_exeext): Removed.
(generate_makefile): Don't define EXEEXT or OBJEXT.
(scan_one_autoconf_file): Don't check for AC_EXEEXT.
(am_install_var): Don't check $seen_exeext.
(handle_programs): Likewise.
(rule_define): Allow x to override x$(EXEEXT), for now.
(file_contents_internal): Only define rule if rule_define allows
us to.
* m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
2001-07-25 Tom Tromey <tromey@redhat.com>
From Nicolas Joly:
* tests/pr9.test: Require GNU make.
* tests/dirname.test: Don't use `-u'.
2001-07-22 Tom Tromey <tromey@redhat.com>
* tests/Makefile.am (TESTS): Added auxdir2.test.
(XFAIL_TESTS): Likewise.
* tests/auxdir2.test: New file.
* tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
* automake.in (TARGET_PATTERN): Add `@' as allowable character.
* tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
* automake.in (am_install_var): Add $(EXEEXT) even if program name
holds `.'. Don't add $(EXEEXT) if program name already has it.
(handle_programs): Don't add $(EXEEXT) if user already did.
(make_paragraphs): Don't compute EXEEXT.
* tests/Makefile.am (TESTS): Added exeext.test.
(XFAIL_TESTS): Likewise.
* tests/exeext.test: New file.
2001-07-22 Tom Tromey <tromey@redhat.com>
* lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
`prog.exe' on Cygwin with libtool. From Robert Collins.
2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
* tests/dirname.test: Explicitly use $SHELL to run the
script; this avoids failures on DJGPP.
* tests/install2.test: Skip if 'chmod 000' doesn't make
a file unreadable.
2001-07-21 Tom Tromey <tromey@redhat.com>
* tests/libtool2.test: Check for libtoolize.
* tests/Makefile.am (TESTS): Added substtarg.test.
(XFAIL_TESTS): Likewise.
* tests/substtarg.test: New file.
* automake.in (handle_dist): Handle case where aux dir doesn't
have a Makefile. Fixes depdist.test.
* tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
* tests/depdist.test: Look for config/depcomp.
* tests/Makefile.am (TESTS): Added depdist.test.
(XFAIL_TESTS): Likewise.
* tests/depdist.test: New file. From Eric Magnien.
* tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
AC_PROG_CC_C_O does require AC_PROG_CC.
From Erik Lindahl:
* lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
`foo.o.d'.
* m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
output is suitable for make.
* automake.texi (Macros): Document AM_PROG_AS.
(Assembly Support): New node.
* m4/Makefile.am (m4data_DATA): Added as.m4.
* m4/as.m4: New file.
* automake.texi (Tags): Added uref to global tags.
2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
* automake.in (handle_single_transform_list): Use $(DEPDIR)
instead of hardcoding '.deps'.
* m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
2001-07-20 Derek Price <dprice@collab.net>
* m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
locations.
* tests/dirname.test: New test.
* tests/stamph2.test: New test.
* tests/Makefile.am: Add new tests.
* tests/Makefile.in: Regenerated.
2001-07-19 Tom Tromey <tromey@redhat.com>
* automake.texi (Tags): Document GTAGS_ARGS.
* lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
2001-07-19 Tom Tromey <tromey@redhat.com>
Alexandre Duret-Lutz <duret_g@epita.fr>
Fix for ccnoco.test, subobj8.test:
* m4/Makefile.am (m4data_DATA): Added auxdir.m4.
* tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
subobj8.test.
* m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
Use AM_AUX_DIR_EXPAND.
* lib/compile: Handle case where `-o' argument is the name of an
executable, not an object file.
* m4/auxdir.m4: New file, from...
* m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
* automake.in (handle_single_transform_list, lang_c_rewrite):
Require compile using `require_config_file'.
2001-07-19 Tom Tromey <tromey@redhat.com>
* automake.texi (Program and Library Variables): Added X example
for _LDADD.
2001-07-19 Tom Tromey <tromey@redhat.com>
* automake.texi (Distributing): Updated to reflect new license.
2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (require_build_directory): New function, extracted
from ...
(handle_single_transform_list): ... here.
(require_build_directory_maybe): New function.
(handle_prograns, handle_libraries, handle_ltlibraries): Call
require_build_directory_maybe() to ensure the subdirectory
in which a target may lie will exist when the target is created.
(handle_libraries, handle_ltlibraries): Use basename before
checking library name.
* lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
* lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
* lib/am/program.am (%PROGRAM%): Likewise.
2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
* m4/missing.m4: Reword comment.
2001-07-18 Pavel Roskin <proski@gnu.org>
* automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
* tests/gcj.test: Likewise.
* tests/gcj2.test: Likewise.
* tests/gcj3.test: Likewise.
2001-07-18 Tom Tromey <tromey@redhat.com>
* lib/compile: Change how lockdir is computed. If linking or
compiling without `-o', just run the compiler.
* tests/Makefile.am (TESTS): Added ccnoco.test.
(XFAIL_TESTS): Likewise.
* tests/ccnoco.test: New file.
2001-07-17 Tom Tromey <tromey@redhat.com>
* lib/ylwrap: Added special exception.
* lib/py-compile: Added license.
* lib/mdate-sh: Added special exception.
* lib/elisp-comp: Added special exception.
* lib/compile: Added special exception.
* lib/depcomp: Added special exception.
Report from Motoyuki Kasahara:
* tests/make.test: Use am__include.
* tests/exsource.test: Use am__include.
* m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
* automake.in (handle_languages): Use am__include and am__quote.
* m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
* m4/init.m4: Updated callers.
2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
* aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
* aclocal.in (scan_configure, add_file): Handle the full macro
name even if it contains numbers, such as I18N.
2001-07-16 Tom Tromey <tromey@redhat.com>
* automake.texi (Dependencies): Link to dependency tracking page.
(Data): Mention dist_.
(Clean): Mention clean heuristics.
(Install): Mention nobase_.
* automake.texi (Program and Library Variables): Document _LINK.
2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_libraries): Allow libraries to lie in
a subdirectory by constraining only the basename to start
with 'lib', not the whole path.
2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/subobj8.test: New file.
* tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
2001-07-16 Tom Tromey <tromey@redhat.com>
Fix for PR automake/212:
* lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
(uninstall-%DIR%LISP): Likewise.
2001-07-15 Tom Tromey <tromey@redhat.com>
* automake.in (usage): Rewrote code to handle columnization.
From Alexey Mahotkin and Maxim Sinev.
Report from Ralf Corsepius:
* automake.in (TARGET_PATTERN): Add `+' as valid character.
(SUFFIX_RULE_PATTERN): Likewise.
* tests/Makefile.am (TESTS): Added cxx.test.
* tests/cxx.test: New file.
* lib/am/tags.am (distclean-tags): Remove files for gtags.
From Shigio Yamaguchi.
2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* lib/am/distdir.am (distcheck): Emit diagnostic when files
remain after "make uninstall".
2001-07-14 Tom Tromey <tromey@redhat.com>
* lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
* lib/missing (makeinfo): Redirect stdout and stderr outside
subshell. From Alexandre Oliva.
2001-07-14 Akim Demaille <akim@epita.fr>
* automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
`\b(foo|bar)\b' is what we want.
* aclocal.in: Likewise.
2001-07-14 Akim Demaille <akim@epita.fr>
* m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
not used.
Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
actually modified to require AM_DEPENDENCIES.
Rename `confdir' as `conftest.dir' so that the configure trap
remove it.
2001-07-04 Tom Tromey <tromey@redhat.com>
Fix for nolink.test:
* tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
* lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
* automake.in (am_install_var): Only rewrite PROGRAMS if
$seen_exeext.
(make_paragraphs): Always define %EXEEXT%.
2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/nolink.test: New file.
* tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
* automake.in (scan_texinfo_file): Add the second argument to
`@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
itself may not be used directly.
2001-07-04 Tom Tromey <tromey@redhat.com>
* missing: Updated.
* lib/missing (makeinfo): Use subshell, not explicit sh
invocation.
* automake.texi (Headers): Mention that we prefer uninstalled
headers in _SOURCES.
(ANSI): Mention cross-compilation limitation.
2001-07-03 Tom Tromey <tromey@redhat.com>
* configure.in: Upped to 1.4i.
* configure.in: Released 1.4h.
* lib/config.guess, lib/config.sub: Updated.
2001-07-02 Tom Tromey <tromey@redhat.com>
Fix for libtool2.test:
* tests/libtool2.test: Use `rm -f' to placate maintainer-check.
* lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
* automake.in (generate_makefile): Call handle_libtool
unconditionally.
* tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
* tests/libtool2.test: Look for `.lo' files to be removed.
* tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
* tests/Makefile.am (TESTS): Removed dup.test.
* tests/dup.test: Removed.
* aclocal.in (scan_file): Don't give error for duplicate macro.
2001-07-01 Tom Tromey <tromey@redhat.com>
* automake.texi (Program and Library Variables): Document
subdir-objects. Document fact that per-object flags override AM_
flags.
(Options): Likewise.
(Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
(Multilibs): New node.
(Macros): Documented missing macros.
(Auxiliary Programs): New node.
* lib/missing (makeinfo): If makeinfo exists, and we're in --run
mode, then simply fail.
2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
* lib/ylwrap: Improve support for DOS paths (and paths
containing backslashes in general).
2001-07-01 Tom Tromey <tromey@redhat.com>
* lib/missing: Added special exception to license.
* missing: Updated.
* lib/missing: Updated. Added comment explaining configure.ac
oddity.
* lib/depcomp: Reorder arguments to gcc3.
From Per Oyvind Hvidsten.
* tests/Makefile.am (TESTS): Added libtool2.test.
* tests/libtool2.test: New file.
* automake.texi (Program and Library Variables): Added example for
_AR.
2001-06-29 Tom Tromey <tromey@redhat.com>
* tests/cond11.test: Use `=', not `=='.
* tests/cond12.test: Look for automake in build directory, not
source directory.
2001-06-29 Richard Boulton <richard@tartarus.org>
* automake.in (conditionals_true_when): Pass first parameters by
reference, avoiding bug which put all parameters in @CONDS instead
of @WHENS. Report by Kalle Olavi Niemitalo.
Take a single WHEN instead of an array of WHENS.
Remove FIXME; can't now have an empty @WHENS.
(conditional_is_redundant): New sub.
(variable_conditions_reduce): Check whether each condition is
implied by any of the other conditions (other those already
discarded), rather than checking only against those already
considered (and kept). Also, fix sense of check: was keeping
tautologous terms instead of discarding them. Use
conditional_is_redundant instead of conditionals_true_when.
* tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
* tests/cond11.test: New file.
* tests/cond12.test: New file.
2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
* automake.in (saw_sources_p): Work even if there are more
than one header files, and more than of one type of header.
* tests/Makefile.am (TESTS): Added new file.
* tests/depend4.test: New file.
2001-06-28 Tom Tromey <tromey@redhat.com>
* lib/am/libs.am (RANLIB): Don't define.
2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (am_install_var): Assign 1 to $first on
first interation.
2001-06-23 Tom Tromey <tromey@redhat.com>
Fix for yacc5.test:
* lib/ylwrap: Changed usage.
* lib/am/yacc.am: Rewrote to use new substitutions.
* lib/am/lex.am: Likewise.
* automake.in (handle_languages): Skip files whose language
doesn't have a compiler. Handle `define_flag' attribute.
Changed '$' to "\$" to aid Emacs fontification.
(struct): Added `rule_file'. Removed `derived_autodep'. Added
`_target_hook' and `define_flag'.
(yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
and `compiler' attributes. Removed `linker', `derived_autodep',
and `ansi' attributes. Added `define_flag'.
(yacc, yaccxx): Added `_target_hook'.
(saw_extension): Count number of times extension seen.
(count_files_for_language): New sub.
(saw_sources_p): Use it.
(handle_single_transform_list): Allow language rewrite function
to return a new source extension. Call target_hook.
(yacc_sources, lex_sources): Removed.
(initialize_per_input): Don't initialize yacc_sources or
lex_sources.
(lang_yacc_rewrite): Rewrote.
(lang_yaccxx_rewrite): Likewise.
(lang_lex_rewrite): Likewise.
(lang_lexxx_rewrite): Likewise.
(output_yacc_build_rule): Removed.
(output_lex_build_rule): Removed.
(lang_yacc_finish): Removed build rule generation.
(lang_lex_finish): Likewise.
(DASH_D_PATTERN): New global.
(lang_yacc_target_hook): New function.
(_target_hook): New function.
(register_language): Default `define_flag'.
* tests/yacc5.test: Updated test.
* tests/yacc4.test: Exit with status 77 if bison doesn't work.
* tests/yacc3.test: Remove bogus `make' invocation. Added test
for all YFLAGS variables.
2001-06-20 Tom Tromey <tromey@redhat.com>
* tests/yacc5.test: Check for per-executable YFLAGS.
2001-06-19 Tom Tromey <tromey@redhat.com>
* tests/Makefile.am (TESTS): Added yacc5.test.
* tests/yacc5.test: New file.
2001-06-17 Tom Tromey <tromey@redhat.com>
* automake.in (require_file_internal): Check for already-required
file after searching for it, and only if it is not found. Don't
use `readlink' when checking for dangling symlink. Work if
--force-missing specified.
* tests/acoutput2.test: Also test --force-missing.
Fix for libtool.test:
* automake.in (generate_makefile): Call handle_libtool.
(handle_libtool): New sub.
(handle_compile): Don't read `libtool' file.
* tests/acoutput2.test: New file.
* tests/Makefile.am (TESTS): Added acoutput2.test.
2001-06-15 Tom Tromey <tromey@redhat.com>
* tests/Makefile.am (TESTS): Added libtool.test.
* tests/libtool.test: New file.
2001-06-14 Tom Tromey <tromey@redhat.com>
Fix some lisp bugs reported by Bruno Haible:
* lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
echo.
(install-%DIR%LISP): Handle case where lispdir is not defined.
(uninstall-%DIR%LISP): Likewise.
(.el.elc): Added `else' clause.
Fix for bug reported by Steve M. Robbins:
* automake.in (handle_single_transform_list): When building a file
from a subdirectory, continue to use `AM_' prefix.
* tests/Makefile.am (TESTS): Added subobj7.test.
* tests/subobj7.test: New file.
* lib/am/configure.am ($(top_builddir)/config.status): Added
$(top_builddir) prefix to work around problems with some vendor
makes. From Nicolas Joly.
* automake.in (yacc_lex_finish_helper): Find ylwrap in
top_srcdir. From Tim Van Holder.
* tests/Makefile.am (TESTS): Added yacc6.test.
* tests/yacc6.test: New file.
2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
* tests/defs, tests/installsh.test: Properly support
DOS-style paths.
2001-06-14 Tom Tromey <tromey@redhat.com>
* tests/Makefile.am (TESTS): Added mdate4.test.
* tests/mdate4.test: New file.
* aclocal.in (scan_m4_files): Removed unused variable.
2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
* aclocal.in (scan_m4_files): Tweak the building of &search so
that multiple macro names can be found on the same line. Ensure
we match whole macro name, not only substrings.
2001-06-12 Tom Tromey <tromey@redhat.com>
* automake.texi (ANSI): Minor clarification.
(Other GNU Tools): Don't mention Guile.
(Guile): Removed.
(Java Support): Mention file extensions.
(Man pages): Mention dist_. Don't mention info pages.
2001-06-11 Tom Tromey <tromey@redhat.com>
* automake.texi (Program variables): Document AM_CPPFLAGS.
Deprecate INCLUDES.
(Java Support): Document AM_GCJFLAGS.
(Support for Other Languages): Removed `fixme'; added link to
suffix rule handling.
* automake.texi (Program and Library Variables): Document _LIBADD,
_LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
2001-06-11 Kevin Dalley <kevind@rahul.net>
* missing: Support configure.ac.
2001-06-08 Tom Tromey <tromey@redhat.com>
* tests/version4.test: New file.
* automake.in (version_check): New sub.
(handle_options): Use it.
* tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
(TESTS): Added version4.test.
* m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
* Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
2001-06-04 Kevin Dalley <kevind@rahul.net>
* lib/am/dejagnu.am (site.exp): Fix typo.
2001-06-02 Tom Tromey <tromey@redhat.com>
* automake.in (variable_conditions_sub): Move parent-only code
from here...
(variable_conditions): ... to here.
(variable_conditions_sub): Include this variable's conditions in
the resulting condition list.
* tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
2001-06-01 Tom Tromey <tromey@redhat.com>
* tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
(TESTS): Likewise.
* tests/ltdeps.test: New file. Report from Lars J. Aas.
2001-05-31 Tom Tromey <tromey@redhat.com>
* automake.texi (Alternative): New node.
(Macros): Use new name for gcc.
(Java Support): Likewise.
(Dependencies): Rewrote.
(Invoking Automake): (Re-)document -i, --ignore-deps, and
--include-deps.
* automake.texi (Top level): Removed erroneous spaces. Documented
MAKE and MAKEFLAGS.
2001-05-29 Tom Tromey <tromey@redhat.com>
* m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
* automake.texi (Include): Rewrote.
(Suffixes): Remove Java example.
(Java): Added more explanation. Document variables.
(Uniform): Mention JAVA as a primary.
(Python): Updated for new Python support.
(Sources): Added a weak example.
* lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
* automake.texi (A Program): Mention `check' prefix.
(Program and Library Variables): New node.
(Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
AM_MAKEINFOFLAGS.
(etags): Mention per-program flags.
(Tests): Document AM_RUNTESTFLAGS; added sectioning; more
updates.
* lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
install-info-am.
2001-05-28 Tom Tromey <tromey@redhat.com>
* m4/Makefile.am (MAINT_CHARSET): Removed.
* Makefile.am (MAINT_CHARSET): Removed.
* automake.in (maint_charset, dist_charset): Removed.
(local_maint_charset): Removed.
(initialize_per_input): Don't use maint_charset.
(handle_dist): Don't compute maint_charset or check DIST_CHARSET.
* lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
AM_MAKEINFOFLAGS.
(.%SUFFIX%.dvi): Likewise.
(.%SUFFIX%): Likewise.
2001-05-27 Tom Tromey <tromey@redhat.com>
* automake.in (handle_multilib): Only add multilib support code at
top level.
* lib/am/multilib.am: Handle invocation of *-multi targets
differently for SUBDIRS and non-SUBDIRS Makefiles.
* m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
Only add multilib code when the Makefile in question is actually
rebuilt.
* lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_single_transform_list): Skip unknown
extensions.
2001-05-25 Tom Tromey <tromey@redhat.com>
* m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
2001-05-24 Tom Tromey <tromey@redhat.com>
* automake.in (handle_texinfo_helper): Find mdate-sh in current
directory in some situations.
* automake.in (generate_makefile): Better explanation for ansi2knr
fix.
2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_languages): Skip unknown extensions.
(derive_suffix): Check whether $extension_map{$source_ext}
is undefined, not empty.
2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (read_am_file): Ignore trailing backslash on
comment lines.
2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
2001-05-21 Akim Demaille <akim@epita.fr>
* automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
multiple times'' warning.
2001-05-20 Tom Tromey <tromey@redhat.com>
* configure.in: Updated to 1.4g.
* configure.in: Updated to 1.4f.
* Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
* lib/ansi2knr.c: New version.
* Makefile.am (FETCHFILES): Added ansi2knr.c.
(fetch): Likewise.
2001-05-19 Tom Tromey <tromey@redhat.com>
* config.guess, config.sub: New versions from FSF.
* Makefile.am (fetch): Compare against files in srcdir.
For for ansi2knr report from Harlan Stenn:
* automake.in (generate_makefile): Run handle_compile before
handle_languages.
2001-05-18 Tom Tromey <tromey@redhat.com>
* automake.in: Reverted erroneous checkin.
2001-05-18 Akim Demaille <akim@epita.fr>
* lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
to missing `install-info'.
2001-05-17 Tom Tromey <tromey@redhat.com>
* automake.in (lang_c_finish): Use `rm -f'.
* automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
* tests/Makefile.am (TESTS): Added new file.
* tests/ansi5.test: New file.
2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
STRIP is not empty.
* m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
* automake.texi (Requirements): Document the use of the STRIP
variable in cross-compilation environments.
2001-05-17 Tom Tromey <tromey@redhat.com>
* m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
to no dependency tracking.
* tests/Makefile.am (TESTS): Added depcomp2.test.
* tests/depcomp2.test: New file. From Pavel Roskin.
* lib/depcomp (aix): Bug fix and simplification from Larry Jones.
* lib/depcomp (tru64): New dependency tracking mode.
Fix for PR automake/159:
* lib/depcomp (aix): Rewrote.
(sgi): Likewise.
Fix for PR automake/174:
* tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
* automake.in (read_am_file): Warn if `#' is at start of rule.
2001-05-16 Tom Tromey <tromey@redhat.com>
For PR automake/174:
* tests/Makefile.am (TESTS): Added comment3.test.
(XFAIL_TESTS): Likewise.
* tests/comment3.test: New file.
Fix for PR automake/175:
* tests/Makefile.am (XFAIL_TESTS): Removed make.test.
* m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
`Leaving directory' messages.
For PR automake/175:
* tests/Makefile.am (XFAIL_TESTS): Added make.test.
* tests/make.test: Run test with `make -w'.
* tests/Makefile.am (TESTS): Removed maintclean.test.
* lib/am/clean.am (maintainer-clean-generic): Don't remove
Makefile.in.
* lib/am/configure.am (maintainer-clean-am): Removed.
(maintainer-clean-conf): Removed.
* tests/maintclean.test: Removed.
2001-05-15 Tom Tromey <tromey@redhat.com>
Fix for PR automake/177:
* Makefile.am (maintainer-clean): Set perllibdir before invoking
automake or aclocal.
Fix for maintclean.test:
* tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
* lib/am/clean.am (distclean-generic): Don't remove config.cache
or config.log.
(distclean, maintainer-clean): Moved to...
* lib/am/configure.am: ... here.
(distclean): Remove config.cache and config.log.
(maintainer-clean): Removed.
(maintainer-clean-conf): New target.
(maintainer-clean-am): New target.
* tests/Makefile.am (TESTS): Added maintclean.test.
(XFAIL_TESTS): Likewise.
* tests/maintclean.test: New file.
Fixes PR automake/175:
* tests/target-cflags.test: Use $needs_gnu_make.
* tests/exsource.test: Use $needs_gnu_make.
* tests/make.test: Require GNU make.
* tests/defs (needs_gnu_make): Compute.
2001-05-14 Tom Tromey <tromey@redhat.com>
* lib/ylwrap: Fixed quoting on regular expression. Fixes
yacc4.test.
Fix for texinfo10.test.
* tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
* lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
* automake.in (handle_texinfo_helper): New sub.
(handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
* tests/texinfo10.test: Added more cases.
Fix for yaccvpath.test:
* tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
* lib/am/distdir.am (distdir): Always look for file in build
directory first.
* lib/ylwrap: Quote the `#line' regular expression.
* lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
change; don't run sed on the generated file.
* tests/yaccvpath.test: Create new parser in srcdir. Added test
to make sure parser will be rebuilt at dist time.
2001-05-13 Pavel Roskin <proski@gnu.org>
* automake.in ($IGNORE_PATTERN): Allow spaces before comments
beginning with `##'.
* automake.texi (General Operation): Document it.
2001-05-13 Tom Tromey <tromey@redhat.com>
Reported by Rainer Orth:
* lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
TOPDIR_P.
* tests/Makefile.am (TESTS): Added distname.test.
* tests/distname.test: New file.
* Makefile.am (dist_pkgdata_DATA): Removed.
* tests/defs: Find files to copy in lib/.
* automake.in (perllibdir): Set to Automake directory.
* ansi2knr.c, ansi2knr.1: Removed.
* Makefile.am (dist_am_DATA): Removed.
(amdir): Removed.
(maintainer-check): Look for lib/am/*.am. Expect 28 lines of
diffs.
(scriptdir): Removed.
(dist_script_DATA): Likewise.
(install-data-hook): Likewise.
(installcheck-local): Likewise.
(TAGS_FILES): Removed amfiles.
(dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
* tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
point it to the right directory.
* ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
compile.am, configure.am, data.am, dejagnu.am, depend.am,
depend2.am, distdir.am, footer.am, header-vars.am, header.am,
install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
mans.am, multilib.am, program.am, progs.am, python.am,
remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
* configure.in (AC_OUTPUT): Added lib/am/Makefile.
(AUTOMAKE): Use --libdir, not --amdir.
Ues AC_CONFIG_AUX_DIR.
* lib/Makefile.am (SUBDIRS): Added `am'.
(scriptdir): New macro.
(dist_script_DATA): Likewise.
(dist_pkgdata_DATA): Likewise.
(install-data-hook): New target.
(installcheck-local): Likewise.
* lib/am/Makefile.in: New file.
* lib/am/Makefile.am: Removed everything except amdir and
dist_am_DATA.
2001-05-13 Akim Demaille <akim@epita.fr>
* automake.in ($pkgdata_dir): Rename as...
($libdir): this.
($am_dir): Remove, replace its uses with $libdir.
(&parse_arguments): Replace --amdir with --libdir.
* automake.texi (Invoking Automake): Document --libdir, not
--amdir.
* tests/defs (AUTOMAKE): Use --libdir, not --amdir.
2001-05-13 Tom Tromey <tromey@redhat.com>
* m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
not AMDEP.
* m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
Correctly look at AMDEP_TRUE, not AMDEP.
Report from Robert Boehne:
* tests/Makefile.am (TESTS): Added depend2.test.
* tests/depend2.test: New file.
2001-05-13 James Henstridge <james@daa.com.au>
* m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
Point pythondir at site-packages directory. Rename
PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
pyexecdir. Removed package/module argument. Removed
PYTHON_SITE_INSTALL. Added version checking.
2001-05-14 Jim Meyering <meyering@lucent.com>
* automake.in (macro_define): Change one remaining use of
`variable_dump' to `macro_dump'.
2001-05-13 Tom Tromey <tromey@redhat.com>
* m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
and gcj.
2001-05-13 Akim Demaille <akim@epita.fr>
* automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
(&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
(&am_primary_prefixes): Use `map' rather than `grep'.
2001-05-13 Akim Demaille <akim@epita.fr>
* automake.in (Language): Set config_vars for yacc, yaccxx, lex,
lexxx, asm.
(&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
(&lang_asm_finish): Remove, set asm's finisher to C's one.
2001-05-13 Akim Demaille <akim@epita.fr>
* lang-compile.am: New file, loaded once per language.
* depend2.am: Move definitions loaded once per language in the
aforementioned file.
* automake.in (&handle_languages): Load it.
(&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
handled by lang-compile.am.
2001-05-13 Tom Tromey <tromey@redhat.com>
* tests/Makefile.am (TESTS): Added python.test.
* tests/python.test: New file.
* automake.in (handle_languages): Use
config_aux_dir_set_in_configure_in.
(handle_python): Correctly mention AM_PATH_PYTHON. Use
py-compile, not py_comp. Define py_compile macro.
2001-05-13 Derek Price <dprice@openavenue.com>
* automake.in (require_file_with_conf_line,
require_file_with_line, require_file): Pass a @require_file_path
of $relative_dir instead of '.' to require_file_internal so that
all the special casing of '.' can be removed elsewhere.
(require_config_file, require_conf_file_with_line,
require_conf_file_with_conf_line): Remove special casing for '.'
and make sure $config_aux_dir is maintained properly.
(require_file_internal): Remove special casing of '.' and set
@require_file_path when missing files are added.
(maybe_push_required_file): Remove special casing of '.'
(handle_dependencies): Remove a workaround for a bug now fixed
and remove $config_aux_dir special casing.
(handle_configure): Remove special casing for $config_aux_dir
(handle_python): Ditto.
(yacc_lex_finish_helper): Change $config_aux_dir switch to
switch on the value of $config_aux_dir_set_in_configure_in.
(handle_texinfo): Ditto.
(scan_one_configure_file): Set $config_aux_dir and
$config_aux_dir_set_in_configure_in properly so special casing
on the value of $config_aux_dir can be removed elsewhere.
* tests/depcomp.test: New file.
* tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
first subdir containing a C file.
* tests/libobj2.test: Ditto.
* tests/Makefile.am (TESTS): Added 'depcomp.test'.
2001-05-12 Tom Tromey <tromey@redhat.com>
* tests/gcj.test: Updated for gcj dependency tracking.
* tests/gcj2.test: Likewise.
Fixes PR automake/169.
* m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
style for OBJC.
* automake.in (java): Added autodep entry.
* tests/Makefile.am (TESTS): Added gcj3.test.
* tests/gcj3.test: New file.
2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
* automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
stop at the first '='.
* tests/Makefile.am (TESTS): Added vars.test.
* tests/vars.test: New file.
2001-05-12 Akim Demaille <akim@epita.fr>
* automake.in (&handle_single_transform_list): Simplify
computation of $object and $this_obj_ext.
* tests/lex3.test: Merge into...
* tests/lex.test: here.
* tests/pr19.test: Improve and rename as...
* tests/lex3.test: this.
2001-05-09 Tom Tromey <tromey@redhat.com>
* automake.in (read_am_file): Correctly compute $saw_bk.
(scan_autoconf_files): Ensure configure_dist_common is always
set.
* tests/defs (AUTOMAKE): Added --Werror.
2001-05-09 Pavel Roskin <proski@gnu.org>
* automake.in (define_compiler_variable): Escape $(LIBTOOL) in
double quotes.
2001-05-09 Tom Tromey <tromey@redhat.com>
* tests/werror.test: Use `rm -f'.
2001-05-09 Akim Demaille <akim@epita.fr>
* automake.in (&am_line_warning): Invoke `am_line_error', not itself.
2001-05-09 Akim Demaille <akim@epita.fr>
* automake.in: Remove some code left from bad patches.
(&handle_dependency): Remove, for the same reason.
2001-05-09 Akim Demaille <akim@epita.fr>
* automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
(&handle_tests_dejagnu, &define_standard_variables): Don't.
(&define_standard_variables): Don't transform %top_builddir% since...
* header-vars.am: Use %TOPDIR% instead.
2001-05-09 Akim Demaille <akim@epita.fr>
* automake.in (@objects): Remove, unused.
Remove all the code related to it, and to former `$(OBJECTS)'.
2001-05-08 Tom Tromey <tromey@redhat.com>
For PR automake/29:
* ylwrap: Handle arguments to program. Remove old code that tried
to avoid absolute paths and add new code to do it in all cases.
Removed ancient logic that tried to deal with relative path.
* tests/Makefile.am (TESTS): Added yacc4.test.
* tests/yacc4.test: New file.
Fix for PR automake/149 and werror.test:
* automake.in (require_file_internal): Use am_line_warning or
am_conf_line_warning when suppressing error.
(am_line_warning): New sub.
(am_conf_line_warning): Save and restore warning signal.
* tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
Fix for PR automake/36:
* tests/Makefile.am (TESTS): Added asm.test.
* tests/asm.test: New file.
* automake.in (asm): Use ASFLAGS and AS.
(lang_asm_finish): New sub.
* automake.in (read_am_file): Removed debugging code.
For PR automake/149:
* tests/Makefile.am (TESTS): Added werror.test.
(XFAIL_TESTS): Likewise.
* tests/werror.test: New file.
* automake.in (conditional_true_when): Don't return if we see
`TRUE'.
* tests/objc.test: Removed.
* tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
(TESTS): Likewise.
* automake.in (subst): New sub.
(handle_languages): Use it.
(output_lex_build_rule): Likewise; also use _am_quote.
(check_libobjs_sources): Likewise.
(make_paragraphs): Use subst.
* automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
problem.
* automake.in (file_contents_internal): Prototype now `$$%'.
(register_language): Prototype now `%'.
Fixes test subobj6.test and PR automake/160:
* tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
* compile.am (mostlyclean-compile): Added MOSTLYRMS.
(distclean-compile): Added DISTRMS.
* tests/subobj6.test (wish_SOURCES): Updated to reflect
`mostlyclean' use; added test for non-subdir case.
* automake.in (compile_clean_files): New global.
(MOSTLY_CLEAN, DIST_CLEAN): New constants.
(initialize_per_input): Initialize compile_clean_files.
(handle_single_transform_list): Set compile_clean_files entries.
(handle_compile): Handle compilation cleanups.
2001-05-08 Lars J. Aas <larsa@sim.no>
* automake.texi (Canonicalizing Automake macros): Document not
canonicalizing strudels (@) anymore.
2001-05-08 Akim Demaille <akim@epita.fr>
* distdir.am (dist-all): Build all the flavors using a single
distdir.
2001-05-08 Akim Demaille <akim@epita.fr>
* automake.in (&file_contents_internal): Apply the @cond_stack to
the rules and assignments.
Don't rely on `$.' as it's biased by &make_paragraphs.
Don't remove backslashes in variable values.
2001-05-08 Akim Demaille <akim@epita.fr>
* automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
($RULE_PATTERN): Use that from `&make_paragraphs'.
($MACRO_PATTERN): Just catch the name of a macro.
($BOGUS_MACRO_PATTERN): Remove.
($ASSIGNMENT_PATTERN): New.
(&file_contents_internal, &make_paragraphs): Adjust.
(¯o_define): Catch bad macro names.
(&cond_stack_endif): Better error message.
(&file_contents_internal): Don't remove backslashes in variable
values.
(¯o_define): Do it for `+=' user variables.
(&define_standard_variables): Use `undef' instead of a dummy
variable.
(&make_paragraph): Be sure not to chop the trail of hash only
lines: adjust the `##' regexp.
(&rule_define): Fix a bug: don't read $1 but $target.
* tests/condincl.test: Strengthen.
2001-05-08 Akim Demaille <akim@epita.fr>
* automake.in (Language): Add attributes `Name' and `config_vars'.
(&finish): Work properly if there is no _finish.
(Automake): Register language Names and AC_SUBST dependencies.
Register Fortran 77 variables upon which ratfor and ppf77 depend.
(&handle_languages): Once per language, invoke
`define_linker_variables', and check its config_vars.
(&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
(&lang_java_finish): Remove.
(&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
2001-05-08 Akim Demaille <akim@epita.fr>
* automake.in (&file_contents_internal): Accept $IS_AM.
(&handle_compile, &define_standard_variables, &file_contents): Adjust.
2001-05-08 Akim Demaille <akim@epita.fr>
* automake.in (am_install_var): Use `next' instead of `if' on the
body of $X loop.
2001-05-08 Akim Demaille <akim@epita.fr>
* automake.in (Language): Add attributes `lder' and `ld'.
(®ister_language): Specify for cxx, objc, f77, gcj.
(&define_linker_variable): New.
(&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
(&lang_java_finish): Adjust.
(&libtool_compiler): Remove.
2001-05-08 Akim Demaille <akim@epita.fr>
* automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
argument, as you don't use it.
Hence...
(&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
don't use it.
Hence...
(&handle_programs): Don't mess with %lex_sources, as you don't use
it.
2001-05-08 Akim Demaille <akim@epita.fr>
* automake.in (Language): Add attribute `link'.
(®ister_language): Specify for cxx, objc, f77, gcj.
(&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
(&lang_java_finish): Adjust.
2001-05-08 Akim Demaille <akim@epita.fr>
* automake.in (&define_compiler_variables): Use only $LANG as
argument.
(&handle_languages): Adjust.
2001-05-08 Akim Demaille <akim@epita.fr>
* automake.in (&define_program_variable): Remove.
(&scan_one_autoconf_file): Skip MAKEINFO when found in an
AM_MISSING_PROG.
(&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
* texinfos.am: Do it.
2001-05-08 Akim Demaille <akim@epita.fr>
* automake.in (&handle_tests_dejagnu): Don't define EXPECT and
RUNTEST.
* dejagnu.am: Do it.
(site.exp): Use `if'.
2001-05-08 Akim Demaille <akim@epita.fr>
* automake.in: Formatting changes.
(variable_dump, variables_dump): Rename as...
(macro_dump, macros_dump): these.
2001-05-08 Akim Demaille <akim@epita.fr>
Support `if !COND', `else COND', `end COND'.
* automake.texi (Conditionals): Document it.
* automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
a leading `!' before the condition.
(&handle_options): Use `\d'.
(&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
(&read_am_file, &file_contents_internal): Use them.
(&transform): No longer substitute `%!COND%', forcing the use of
`! %?COND%'.
* ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
2001-05-08 Akim Demaille <akim@epita.fr>
Uniform handling of per-object compilation rules.
Note: Automake is repaired.
* automake.in (&handle_languages): Output per object rules for all
the objects, not only for those which language supports dependency
tracking.
Fix Automake: when outputting per-object rules, use `-o' if the
language has no `output_flag', as it's really needed.
(&handle_single_transform_list): Instead of special casing files
which need per object rules but which language don't support
dependency tracking, keep them in the queue for processing by
`&handle_languages'.
2001-05-08 Akim Demaille <akim@epita.fr>
* automake.in (&handle_languages): `ext-compile.am' and
`depend2.am' are now equivalent for generic rules: output only the
latter.
* ext-compile.am: Remove.
2001-05-08 Akim Demaille <akim@epita.fr>
Note: This patch breaks Automake. Repaired within two patches.
* automake.in (Language): Replace the attribute `output_arg' with
`compile_flag' and `output_flag'.
(Automake): Adjust language registrations.
(&handle_languages): Transform `-c' and `-o' for both suffix and
per object rules, instead of `OUTARG' and `LTOUTARG' only for
generic rules.
(&handle_single_transform_list): Adjust to `compile_flag' and
`output_flag'.
* depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
2001-05-08 Akim Demaille <akim@epita.fr>
* automake.in (&handle_languages): Don't transform %COMPILER%.
Use `$lang->compiler' instead of `$pfx' to transform generic
%COMPILE% and %LTCOMPILE%.
* ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
of %COMPILER% and $<.
2001-05-07 Akim Demaille <akim@epita.fr>
* automake.in (&handle_languages): Use the same `%transform' for
both `depend2.am' and `ext-compile.am'.
Delay the definition of `$flag' so it is right before the first use,
and rename as `$flags'.
2001-05-07 Akim Demaille <akim@epita.fr>
* automake.in (&handle_languages): Compute `$ltoutarg' and
`$outarg' independently of dependency code.
There is no use looping on a language's possible extensions since
we loop over used extensions.
Therefore, there is no use for a local `%transform'.
2001-05-07 Akim Demaille <akim@epita.fr>
* automake.in (&handle_languages): Don't use $comp.
2001-05-07 Akim Demaille <akim@epita.fr>
* automake.in (&handle_languages): Merge the two loops over
%extension_seen/%languages into one and group code to be run once
per language together.
2001-05-07 Akim Demaille <akim@epita.fr>
* automake.in (&handle_languages): Move the `if
($use_dependencies)' block so that loops over extensions and
languages are next to each other.
2001-05-07 Akim Demaille <akim@epita.fr>
* automake.in (&depend2): Remove, merged into...
(&handle_languages): here.
2001-05-07 Akim Demaille <akim@epita.fr>
* automake.in (&finish_languages): Rename as...
(&handle_languages): this.
Include the body of...
(&handle_dependency): this.
Remove.
2001-05-06 Tom Tromey <tromey@redhat.com>
For PR automake/46:
* tests/Makefile.am (TESTS): Add subdir5.test.
(XFAIL_TESTS): Likewise.
* tests/subdir5.test: New file.
* tests/subobj6.test (wish_SOURCES): Use $MAKE.
* tests/subobj5.test (wish_SOURCES): Use $MAKE.
* automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
identifier'.
(handle_options): Handle fork identifier in version number.
* automake.texi (Dist): Document distcheck-hook.
* tests/confh4.test: Update to reflect DEFS change.
For PR automake/132.
Fix for PR automake/132:
* automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
compilation.
(java): Remove INCLUDES and DEFS from compilation.
(lang_c_finish): Add DEFAULT_INCLUDES to compilation.
* compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
(DEFAULT_INCLUDES): New macro.
* automake.in (usage): Re-align explanatory text.
Fixes PR automake/148.
* automake.texi (Uniform): Don't use @PROGRAMS@.
Fixes PR automake/154.
For PR automake/160:
* tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
(XFAIL_TESTS): Add subobj6.test.
* tests/subobj6.test: New file.
* automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
(Top level): Don't mention `flat'.
(Extending): Likewise.
(User Variables): New node.
* distdir.am (distdir): Make subdirectory for each file.
Fixes test subobj5.test.
* tests/Makefile.am (TESTS): Add new file.
(XFAIL_TESTS): Likewise.
* tests/texinfo10.test: New file.
2001-05-05 Pavel Roskin <proski@gnu.org>
* automake.in (scan_texinfo_file): Treat @defindex and @synindex
in the same way as @defcodeindex and @syncodeindex respectively.
2001-05-05 Tom Tromey <tromey@redhat.com>
* mans.am (install-man%SECTION%): Minor cleanup.
(uninstall-man%SECTION%): Likewise.
* tests/Makefile.am (XFAIL_TESTS): Removed man.test.
* mans.am (install-man%SECTION%): Handle dist_ and nodist_
prefixes.
(uninstall-man%SECTION%): Likewise.
* automake.in (handle_man_pages): Handle dist_ and nodist_
prefixes.
* automake.texi (Future): Removed.
(Depth): Removed.
(Hello): Don't mention `deep'.
(Top level): Likewise.
* automake.in (conditional_true_when): Use a hash, not index().
Also, a TRUE component always results in a true return.
Fixes test cond10.test. For PR automake/164.
* tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
For PR automake/164:
* tests/Makefile.am (TESTS): Added new file.
(XFAIL_TESTS): Likewise.
* tests/cond10.test: New file.
2001-05-05 Tom Tromey <tromey@redhat.com>
* texinfos.am (uninstall-info-am): Debian install-info v1.8.3
prints to stderr.
(install-info-am): Likewise.
2001-05-05 Pavel Roskin <proski@gnu.org>
* automake.in (scan_texinfo_file): Don't push undefined values
to @clean_suffixes.
2001-05-05 Richard Boulton <richard@tartarus.org>
* automake.in (handle_dist): Check for existence of DIST_SUBDIRS
first.
2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
* automake.in (required_targets): Added uninstall-am.
2001-05-05 Tom Tromey <tromey@redhat.com>
Fix bug reported by Robert Boehne:
* automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
substituted.
(handle_dependencies): Likewise.
* Makefile.am (maintainer-check): Look for AMDEP_TRUE
substitution. Correct diff now has 30 lines. Look for space
after losing `undef'.
2001-05-04 Peter Eisentraut <peter_e@gmx.net>
* m4/sanity.m4: Remove the temp file before possible error exits.
2001-05-04 Akim Demaille <akim@epita.fr>
* configure.in: Set perllibdir.
From Dave Morrison.
2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake.in ($pkgdata_dir): New.
(&require_file_internal): Use it.
2001-05-03 Akim Demaille <akim@epita.fr>
Case insensitive FS choke on Automake/ vs automake.
Reported by Tim Van Holder.
* Automake/: Move into...
* lib/: this new directory.
2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
* data.am (install-%DIR%%PRIMARY%): Execute the same command as
echoed.
2001-04-30 Jim Meyering <meyering@lucent.com>
* automake.in: Remove `/lib' from include directory.
2001-04-27 Akim Demaille <akim@epita.fr>
AM_INIT_AUTOMAKE is no longer optional.
* automake.in ($seen_make_set, $seen_prog_install)
($seen_arg_prog): Remove.
(&handle_programs, &handle_scripts, &scan_one_autoconf_file):
Remove related code.
2001-04-27 Akim Demaille <akim@epita.fr>
* tests/specflags4.test, tests/specflags5.test: Remove, merged
into...
* tests/specflags3.test: here.
2001-04-27 Akim Demaille <akim@epita.fr>
* automake.in ($seen_path_xtra): Remove.
(&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
(&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
2001-04-27 Akim Demaille <akim@epita.fr>
* automake.in (&file_contents_internal): Declare it.
2001-04-27 Akim Demaille <akim@epita.fr>
* automake.in (&read_am_file, &file_contents_internal): Don't
define macros when `FALSE', to avoid errors on doubly defined
variables but under condition `FALSE'. In order to allow...
(&am_install_var): When reading the associated file for the first
time, enable `%?FIRST%'.
(&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
* libs.am: Do it when `%?FIRST%'.
2001-04-27 Akim Demaille <akim@epita.fr>
* automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
* ansi2knr.am: Do it.
Prefer `if %?FOO%' to `if %!FOO%'.
2001-04-27 Akim Demaille <akim@epita.fr>
* automake.in (®ister_language, &finish_languages): Use `pure'
as a Boolean.
(®ister_language): Use %done properly with objects, not names.
(&finish_languages): Replace `$non_c' with `$needs_c'.
2001-04-27 Akim Demaille <akim@epita.fr>
Unify LISP, PYTHON and JAVA primaries.
* automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
return if there are no files, hook elisp-comp on the Autoconf
macro, rely on lisp.am to define variables.
(&handle_python, &handle_java): Likewise.
(&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
`PYTHON' must be handled here, not in `&handle_python'.
* java.am: Define needed variables and rules.
2001-04-27 Akim Demaille <akim@epita.fr>
* automake.in (&am_install_var): Transform `ONE_PRIMARY'.
* data.am: Use it.
* header.am: Include data.am.
2001-04-27 Akim Demaille <akim@epita.fr>
* automake.in (&am_install_var): Transform `PRIMARY'.
* data.am: Equip with %PRIMARY%.
2001-04-27 Akim Demaille <akim@epita.fr>
* automake.in (@conditional_stack): Rename as...
(@cond_stack): this.
(&file_contents_internal): Support inclusion of files.
2001-04-27 Akim Demaille <akim@epita.fr>
* automake.in (&lang_extensions): Remove.
(&add_depend2, &saw_sources_p): Adjust.
* depend2.am: `%EXT%' no longer includes the dot.
2001-04-27 Akim Demaille <akim@epita.fr>
* automake.in (&finish_languages, &handle_single_transform_list)
(&add_depend2, &handle_dependencies): No longer use the language
name in `$lang'. Rename `$lang_obj' as `$lang'.
2001-04-27 Akim Demaille <akim@epita.fr>
* automake.in (®ister_language): Use `new Language' with a hash.
2001-04-27 Akim Demaille <akim@epita.fr>
* automake.in (®ister_language): Rename `output-arg' and
`derived-autodep' as `output_arg' and `derived_autodep' to match
the Language attribute.
Set the defaults in %option instead of $lang.
2001-04-27 Akim Demaille <akim@epita.fr>
* Automake/: New directory.
* Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
* automake.in (Language): Use Automake::Struct.
* tests/defs: Adjust to find Struct.
2001-04-23 Pavel Roskin <proski@gnu.org>
* automake.in: Add forward declaration for register_language().
* tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
passes now.
2001-04-20 Akim Demaille <akim@epita.fr>
* automake.in (%required_targets): Add `uninstall'.
From Robert Collins.
2001-04-12 Akim Demaille <akim@epita.fr>
* automake.in (Language): Add attribute `name'.
(®ister_language): The name of the language is now given in the
hash.
No longer use `$lang' as the name of the language.
Rename `$lang_obj' as `$lang'.
2001-04-12 Akim Demaille <akim@epita.fr>
* automake.in (Language): Add attribute `_finish'.
(&finish): New.
(Automake): Adjust.
(&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
(&lang_asm_finish): Remove.
2001-04-12 Akim Demaille <akim@epita.fr>
* automake.in (Language): Add attribute `extensions'.
(Automake): Pass a hash to `®ister_language' instead of a
list of pseudo assignments.
(®ister_language): Adjust.
(&finish_languages): Initialize `$ltoutarg'.
2001-04-12 Akim Demaille <akim@epita.fr>
* automake.in (Language): Add attribute `output_arg'.
(%language_map): Remove.
(®ister_language): Build only the object, and store in
%languages only.
(&finish_languages, &handle_single_transform_list): Adjust.
2001-04-12 Akim Demaille <akim@epita.fr>
* automake.in (Language): Add attributes `flags', `compile' and
`compiler'.
(&finish_languages, &handle_single_transform_list, &handle_dist)
(&add_depend2, ®ister_language): Use them and the `linker' and
`pure' attributes.
2001-04-12 Akim Demaille <akim@epita.fr>
* automake.in (&handle_single_transform_list, &finish_languages)
(&handle_dist, &handle_dependencies): Use the language object for
autodep and derived-autodep too.
2001-04-12 Akim Demaille <akim@epita.fr>
* automake.in (¯o_define): Ignore Automake definition for
($var, $cond) if there is already a user definition for ($var, $cond).
2001-04-12 Akim Demaille <akim@epita.fr>
* automake.in (&scan_texinfo_file): Catch @cindex and the like,
but also @deffn and so on which push data in indexes.
Reported by Derek R. Price.
2001-04-12 Akim Demaille <akim@epita.fr>
* automake.in (Language): New package, temporarily in this file.
Use Class::Struct.
(Automake): New package.
(%languages): New.
(&handle_single_transform_list): Use the language object's `ansi'
attribute instead of `$language_map{"$lang-ansi-p"}'.
(®ister_language): Build and register the language too.
2001-04-11 Tom Tromey <tromey@redhat.com>
Fixes report from Larry Jones:
* automake.in (handle_dependencies): Add `@_am_quote@' where
appropriate.
* m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
2001-04-11 Akim Demaille <akim@epita.fr>
* depend2.am: Fix the `if' condition for Libtool.
Reported by Robert Boehne.
2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
* tests/subobj5.test: New file.
2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
* tests/Makefile.am (TESTS): Added make.test.
* tests/make.test: New file.
2001-04-10 Tom Tromey <tromey@redhat.com>
* tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
2001-04-10 Derek R. Price <dprice@collab.net>
* tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
2001-04-10 Akim Demaille <akim@epita.fr>
* distdir.am: Add a missing backslash.
2001-04-10 Akim Demaille <akim@epita.fr>
* automake.in (&scan_aclocal_m4): Handle $relative_dir and special
variables.
Specify to the caller whether $regen_aclocal_m4.
(&handle_configure): Adjust.
Transform `REGEN-ACLOCAL-M4'.
Reported by Tom.
* configure.am: Use it.
* tests/defs (me): New.
* tests/confdeps.test: New.
2001-04-09 Tom Tromey <tromey@redhat.com>
* m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
Fixes report from Jim Meyering.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&handle_configure): Don't bother with optimizing
macro uses.
2001-04-09 Akim Demaille <akim@epita.fr>
* tests/cond3.test (expected): Adjust.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&handle_single_transform_list): Remove $xbase,
unused.
(&handle_source_transform): All the variables have conditions now,
simplify.
(&variable_delete): Admit an argument @conds.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in ($source_suffix_pattern): Remove, unused.
%extension_map seems to have replaced it.
2001-04-09 Akim Demaille <akim@epita.fr>
* ext-compile.am: New file.
* automake.in (&finish_languages): Output it.
Require a C linker if there are several registered source suffixes.
(&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
extensions, which are discovered in ext-compile.am.
With the help from Robert Boehne.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&handle_compile): Extract from...
(&get_object_extension): here.
(&read_am_file): Call it.
($included_generic_compile, $included_knr_compile)
($included_libtool_compile): Remove.
($get_object_extension_was_run): New.
2001-04-09 Akim Demaille <akim@epita.fr>
Use AM_CONDITIONAL and if/endif for AMDEP.
* m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
* automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
to a configure time if/endif), or to `FALSE' (static removal of
the code).
(&handle_dependencies): Adjust to use `AMDEP_TRUE'.
* depend2.am: Use if/endif.
Adjust the 101 tests that use dependencies so that they
properly invoke aclocal before automake. They need to `see'
`AM_CONDITIONAL([AMDEP], ...)'.
2001-04-09 Akim Demaille <akim@epita.fr>
* tags.am: Fix missing leading tabs.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in: Use simple quotes to define the _PATTERN variables
to unobfuscate the regexps.
($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&rule_define): When you discover a suffix rules,
register the extensions for .SUFFIXES.
(&handle_texinfo): Don't register the suffixes.
(&get_object_extension): Don't register suffixes, let them be
discovered in depend2.am.
(&handle_emacs_lisp): Depend on your lisp.am.
* lisp.am: Include the rule &handle_emacs_lisp used to output.
2001-04-09 Akim Demaille <akim@epita.fr>
* subdirs.am: Don't define info related recursive targets.
* texinfos.am: Do.
2001-04-09 Akim Demaille <akim@epita.fr>
* subdirs.am (RECURSIVE_TARGETS): New variable.
Use it.
* automake.in (&handle_subdirs): Output it.
(&file_contents_internal): Support value spread on several lines.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&handle_man_pages): Rely on mans.am to define
man%SECTION%dir and MANS.
* mans.am: Do it.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&variable_dump): Use %var_type properly.
(¯o_define): Enforce better overriding rules.
Handle the special case that used to handle...
(&define_pretty_variable): this.
Hence, don't.
The variables you define are owned by Automake.
(&generate_makefile): PRE_INSTALL and co must not be defined *by
the user*.
(&variable_defined): Now independent of the owner.
(&variable_output, &variable_pretty_output): Adjust to %var_type.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (%var_was_plus_eq): Rename as...
(%var_type): this.
(%def_type): Remove.
(¯o_define): %var_type may now hold `', `+', or `:'.
(%conditional, %am_vars, %content_lines): Rename as...
(%var_value, %var_comment, %var_line): these.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&variable_output): Admit a list of @CONDS.
(&variable_pretty_output): New.
(&define_pretty_variable): Use it.
(&read_am_file, &file_contents_internal): Prepend a separator to
$am_vars only if there is none yet.
(&file_contents_internal): Rename $separator as $spacing to
harmonize with &read_am_file.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&am_install_var): Transform DIST, and let the *.am
files handle DIST_COMMON.
* data.am, header.am, java.am, list.am, python.am, script.am: Set
DIST_COMMON.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (%dist_common): Remove.
(%configure_dist_common): Replace with...
($configure_dist_common): this.
(&generate_makefile): Read the user file before using
push_dist_common, as it sets DIST_COMMON, and read_am_file checks
that no variable is defined before it is run.
(&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
(&dist_cmp): Rename as...
(&for_dist_common): this.
(&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
it.
Adjust to $configure_dist_common.
* configure.am, texi-vers.am: Set DIST_COMMON.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&handle_aclocal_m4): Rename as...
(&scan_aclocal_m4): this.
Return the list of aclocal.m4 dependencies.
(&handle_configure): Invoke it, and use it when loading...
* configure.am: Template the rules to recreate aclocal.m4.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&get_object_extension): Use ansi2knr.am.
* clean-kr.am, kr-extra.am: Remove, merged into...
* ansi2knr.am: this new file.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&transform): Fix an incredible bug which was
breaking the if/endif system.
($ELSE_PATTERN): Admit an optional argument.
2001-04-09 Akim Demaille <akim@epita.fr>
* comp-vars.am: Remove, merged into...
* compile.am: here.
* automake.in (&get_object_extension): Adjust.
2001-04-09 Akim Demaille <akim@epita.fr>
* remake.am: Merge into...
* configure.am: ... here.
* automake.in (&handle_configure): Adjust.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&output_lex_build_rule): Output this...
* lex.am: New file.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&condition_negate): New.
(&variable_conditions_permutations): Use it.
(&read_am_file, &file_contents): Use it on `else' clauses to
support `if FALSE'.
(&output_yacc_build_rule): Output this...
* yacc.am: New file.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
(&handle_dist): Don't.
(&handle_clean): Don't handle config.status here, let...
* clean.am: ... do it.
* distdir.am: Adjust.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in: Use strict vars and subs.
Declare `%require_file_found'.
(&handle_source_transform, &make_paragraphs): Declare my variables.
2001-04-09 Akim Demaille <akim@epita.fr>
* data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
* progs.am, python.am: Use if/endif instead of ?INSTALL?.
* java.am (_am_installdirs): Be sure to set it.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&make_condition): Return '#' when FALSE.
(&conditional_string): Return FALSE, not '#' in the corresponding
cases.
(&file_contents_internal): Adjust.
(&check_variable_defined_unconditional): Dump the guilty variable.
2001-04-09 Akim Demaille <akim@epita.fr>
* distdir.am: Use and abuse of if/endif.
* scripts.am: Using if/endif with variables is fine.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&make_paragraphs): Extract from &file_contents.
Make it more robust than the previous RE based scheme.
(&file_contents): Use it.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&make_paragraphs): Extract from &file_contents.
Make it more robust than the previous RE based scheme.
(&file_contents): Use it.
2001-04-09 Akim Demaille <akim@epita.fr>
* tests/yacc2.test: Don't define several times a variable, as
automake complains.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&handle_source_transform): Fix pr72: don't define
$linker if there are no @files.
2001-04-09 Akim Demaille <akim@epita.fr>
Avoid reading twice header-vars.am as now macro_define
complains.
* automake.in (&define_standard_variables): Don't output the
variables.
(&read_main_am_file): Output first user variables, then Automake
variables.
Don't call twice &define_standard_variables.
Save variable comments in $am_vars.
(&variable_output): New.
(&file_contents_internal): New.
Save variable comments in $am_vars.
(&file_contents): Use it.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (¯o_define): The user is allowed to override
a value if it was set by Automake, or if it was found in AC_SUBST.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&handle_source_transform): Better locality of the
variables.
Use `next' to skip nonexistent variables.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&variable_dump): If a variable is undefined, say
it.
(&check_ambiguous_conditional): Give finer error messages.
(¯o_define): Check that a `+=' variable is not set with `='.
Check for ambiguous definitions each time you _set_ (even with `+=')
a variable.
(&read_main_am_file): Perform a deep copy of %conditional.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&variable_defined): Some callers, e.g.,
&am_primary_prefixes, really want to know if the variable is
defined for any condition, not `TRUE' by default.
(&am_primary_prefixes): Give a more precise error message.
2001-04-09 Akim Demaille <akim@epita.fr>
(&variable_conditions): Don't include `FALSE' in the result.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&variable_conditions_reduce): FALSE is absorbent.
(&variable_conditions): Don't include `FALSE' in the result.
2001-04-09 Akim Demaille <akim@epita.fr>
* tests/defs, tests/depend3.test: Remove useless code.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&handle_source_transform): Use
&variable_conditions, don't read $conditional{$var}.
(&variable_conditions_sub): When the call is the top level call,
generate all the permutations of the conditions.
2001-04-09 Akim Demaille <akim@epita.fr>
* depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
that it does not get noticed twice by automake, which now
complains for multiple definitions.
* tests/vartar.test: s/INSTALL/install/g, automake now complains
because we defined INSTALL.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&generate_makefile) Use macro_define to define
SOURCES and OBJECTS.
(&variable_defined): Don't check for $conditional{VAR}{COND} as
this would make perl create $condition{VAR}, which we don't want.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&variable_defined, &define_pretty_variable):
Simplify code which used to handle the cases where not all
variables were in %conditional.
(&define_variable): Use &define_pretty_variable.
(&variable_conditions_sub, &variable_value_as_list_worker)
(&variable_value_as_list, &rule_define): Simplify syntax.
(&read_main_am_file): Dump the guilty predefined variables.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&variable_conditions_sub)
(&variable_value_as_list_worker): Remove dead code which used to
handle the cases where not all variables were in %conditional.
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&handle_source_transform, &read_main_am_file):
Simplify loops which were split in two parts, conditional vs
unconditional variables.
2001-04-09 Akim Demaille <akim@epita.fr>
Handle unconditional values of variables as conditioned by
`TRUE'.
* automake.in (%contents): Remove.
(&generate_makefile, &handle_ltlibraries, ¯o_define)
(&read_am_file, &variable_defined, &variable_conditions_sub)
(&variable_value, &variable_value_as_list_worker)
(&variable_value_as_list, &define_pretty_variable)
(&read_main_am_file): Use
$conditional, not %contents.
(&variable_conditions_permutations): Don't return TRUE and FALSE.
(&variable_conditionally_defined): New.
(&handle_dist): Use it.
(&check_ambiguous_conditional): When multiply defined, specify
under which condition.
(¯o_define): Use it.
(&variable_delete): New.
(&read_am_file): Use it.
(&am_install_var): Simplify, as all the variables are in
%conditional now.
2001-04-07 Tom Tromey <tromey@redhat.com>
* tests/Makefile.am (XFAIL_TESTS): Added man.test.
(TESTS): Likewise.
* tests/man.test: New file.
2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
* depcomp (gcc3): Invert test condition.
2001-04-07 Tom Tromey <tromey@redhat.com>
* depcomp (gcc3, gcc): Don't assume $? will be set in `if'
statement. Report from Larry Jones.
2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
* depcomp (sgi): Fix sed expression. Report from Robert Boehne.
2001-04-01 Tom Tromey <tromey@redhat.com>
* java.am (.PHONY clean-am): Removed trailing ":".
From Per Bothner. Fixes PR automake/139.
2001-03-28 Akim Demaille <akim@epita.fr>
* program.am: Fix a stupid typo: now *all* (not none) the programs
use `$(EXEEXT)'.
Reported by Robert Boehne.
2001-03-23 Akim Demaille <akim@epita.fr>
* automake.in (&read_am_file, &file_contents): Avoid name clashes
on $cond.
2001-03-23 Akim Demaille <akim@epita.fr>
* automake.in (&variable_conditionally_defined): Rename as...
(&check_variable_unconditionally_defined): this.
(&variable_dump): Fix the output.
(&variable_defined, ¯o_define): Since conditions are
canonicalized, don't use a loop to look for a condition: read the
hash.
(¯o_define, &rule_define, &read_am_file, &file_contents):
Rename $cond_string as $cond.
* distdir.am (PACKAGE, VERSION): Remove; since they are already
discovered via AC_SUBST, they now trigger a `defined twice' error.
2001-03-23 Akim Demaille <akim@epita.fr>
* automake.in (&handle_footer, &handle_installdirs)
(&read_main_am_file): Don't read %contents directly, use
&variable_value.
2001-03-23 Akim Demaille <akim@epita.fr>
* automake.in (&read_am_file): Define the variables in a single
shot.
Factor the $saw_bk code.
2001-03-23 Akim Demaille <akim@epita.fr>
* automake.in (&read_am_file): Keep $cond_string up to date.
2001-03-23 Akim Demaille <akim@epita.fr>
* automake.in (&define_variable): Use ¯o_define.
2001-03-23 Akim Demaille <akim@epita.fr>
* automake.in (¯o_define): Don't lose the location if we
redefine a variable.
Don't push all the variables in @var_list, let...
(&read_am_file, &file_contents): ... do it.
(&define_pretty_variable): Use macro_define.
(&am_install_var): Delete the value of variables being redefined
to pacify ¯o_define which checks that variables are not
doubly defined.
2001-03-23 Akim Demaille <akim@epita.fr>
* automake.in (&conditional_dump): Rename as...
(&variables_dump): this. Use...
(&variable_dump): this new sub.
2001-03-23 Akim Demaille <akim@epita.fr>
* automake.in (&file_contents): Maintain $cond_string sync with
@cond_stack.
Output rules only if not under `FALSE'.
Define variables under $cond_string.
* scripts.am: For the time being if/endif does not work properly
with macros.
2001-03-23 Akim Demaille <akim@epita.fr>
* automake.in (IF_PATTERN): Unobfuscate the parens.
(ENDIF_PATTERN): Allow a condition to be specified.
(&file_contents): Use a @cond_stack.
(&transform): At least for an easy transition, also transform
%?FOO% and %!FOO%, as suggested by Lars.
* scripts.am: First test bed for static if/endif use.
2001-03-23 Akim Demaille <akim@epita.fr>
* automake.in (&file_contents): Use rule_define.
2001-03-23 Akim Demaille <akim@epita.fr>
* automake.in (¯o_define): Don't rely on $1.
Initialize the variable.
Set its Automakism only if not defined or if given to the user.
When concatenating values, insert a separator only if the value
was not empty.
(&read_am_file): When dumping the @var_list, skip Automake
variables.
(&file_contents): Use macro_define.
2001-03-23 Akim Demaille <akim@epita.fr>
* automake.in (&rule_define): Extract from...
(&read_am_file): here.
2001-03-23 Akim Demaille <akim@epita.fr>
* automake.in (¯o_define, &read_am_file): More work for the
former from the latter. Reorganize the latter.
2001-03-23 Akim Demaille <akim@epita.fr>
* automake.in (¯o_define): Extract from...
(&read_am_file): here.
2001-03-23 Akim Demaille <akim@epita.fr>
* automake.in (%am_var_defs): Replace with...
(%var_is_am): this.
(&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
(&file_contents, am_primary_&prefixes): Adjust.
(&variable_defined, &define_variable): The actual semantics is
`user defined'.
(&read_main_am_file): Assert the var is user defined when
outputting @var_list.
2001-03-23 Akim Demaille <akim@epita.fr>
* automake.in (read_am_file): TRUE and FALSE are predefined
conditionals.
(&by_condition): Adjust.
(&conditional_string): Recognize `TRUE' and `FALSE'.
(&make_condition): Use it.
* m4/cond.m4: Reject TRUE and FALSE as conditionals.
* automake.texi (Conditionals): Adjust.
* tests/cond9.test: s/FALSE/WRONG/.
2001-03-12 Pavel Roskin <proski@gnu.org>
* tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
now.
2001-03-12 Akim Demaille <akim@epita.fr>
* automake.in (&variable_conditions_permutations): Separate the
conditions.
* tests/cond3.test: Improve the sed expression.
2001-03-09 Pavel Roskin <proski@gnu.org>
* Makefile.am (maintainer-check): Scan all *.am files and tests
for invocations of `rm' without `-f'.
* tests/mclean.test: Adjusted to prevent triggering the above
test.
2001-03-09 Tom Tromey <tromey@redhat.com>
* automake.in (scan_one_autoconf_file): Fixed comment to avoid
maintainer-check failure.
2001-03-09 Akim Demaille <akim@epita.fr>
* tests/cond3.test: Strengthen.
2001-03-09 Akim Demaille <akim@epita.fr>
* automake.in (&conditional_string): Produce a unique string
characterizing a condition stack.
(&conditional_same): Remove, comparing two strings is now enough.
(&variable_defined): Adjust.
(&read_am_file): Use conditional_string.
2001-03-08 Akim Demaille <akim@epita.fr>
* automake.in: Use -w.
Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
(&parse_arguments): Support --Werror and --Wno-error as a
temporary hack until --warning/-W is properly implemented.
(&handle_single_transform_list): Prototype.
Be sure to define $directory.
Use `exists' instead of testing the value of a maybe undefined
hash value.
(&add_depend2, &handle_configure, &handle_footer, &file_contents)
(&handle_factored_dependencies): Use defined values.
(&scan_one_autoconf_file): Save $_.
* tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
Run automake with --Wno-error.
2001-03-07 Akim Demaille <akim@epita.fr>
* automake.in (&handle_all): Use an array instead of a scalar for
local_headers.
Get rid of all-redirect: let `all' be that target.
2001-03-07 Akim Demaille <akim@epita.fr>
* automake.in (&handle_merge_targets): Ventilate its non `all'
related content into...
(&generate_makefile): here.
(&handle_merge_targets): Rename as...
(&handle_all): this.
Remove a useless `if': `@all' is obviously not empty, since it
contains at least the `basename ($makefile)' which has just been
unshifted.
2001-03-07 Akim Demaille <akim@epita.fr>
* automake.in, aclocal.in: Backquote is inert in double quotes.
2001-03-06 Akim Demaille <akim@epita.fr>
* Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
into `grep -v ...'.
2001-03-06 Pavel Roskin <proski@gnu.org>
* java.am: Use `rm -f' instead of `rm'.
2001-03-06 Akim Demaille <akim@epita.fr>
* automake.in (&push_dist_common): Simplify.
2001-03-06 Jens Krger <jens_krueger@physik.tu-muenchen.de>
* ltlib.am: Replaced spaces with tab.
2001-03-06 Pavel Roskin <proski@gnu.org>
* tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
fixed now.
2001-03-05 Pavel Roskin <proski@gnu.org>
* header.am, scripts.am: Use ?INSTALL? in the install and
uninstall rules.
2001-03-05 Pavel Roskin <proski@gnu.org>
* tests/copy.test: Never use `rm' without `-f' - it may ask
questions, notably for read-only files during `make distcheck'.
* tests/insh.test: Likewise.
* tests/installsh.test: Likewise.
* tests/symlink.test: Likewise.
* tests/symlink2.test: Likewise.
* tests/symlink3.test: Likewise.
2001-03-05 Pavel Roskin <proski@gnu.org>
* noinstdir.test: New test.
* tests/Makefile.am (TESTS): Add noinstdir.test.
(XFAIL_TESTS): Likewise.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in (&handle_options): Change the RE so that the third
part of the versions always exist.
(&file_contents): Don't pass uninitialized values to &transform.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in (&file_contents): Require a hash as second argument.
Adjust callers.
2001-03-05 Akim Demaille <akim@epita.fr>
Always use hashes with &file_contents.
* automake.in (&handle_texinfo): texibuild.am does not need
TEXINFODIR.
texinfos.am wants only TEXICLEANS.
(&handle_dist, &add_depend2, &handle_clean): Replace $xform with
%transform.
* texinfos.am: Adjust.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in (&handle_programs, &handle_libraries, &handle_tags)
(&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
(&am_install_var): Forget about `-clean'.
Transform ?INSTALL?.
Always output the *.am file.
* data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
* ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
Remove, merged into the corresponding *.am file.
* data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
?INSTALL?.
2001-03-05 Pavel Roskin <proski@gnu.org>
* Makefile.am (amfiles): Add configure.am. Sort alphabetically.
2001-03-05 Akim Demaille <akim@epita.fr>
If OBJEXT and EXEEXT are not set, provide a default value, and use
them unconditionally.
* automake.in (&generate_makefile): Provide default values for
EXEEXT and OBJEXT.
(&get_object_extension, &finish_languages)
(&handle_single_transform_list, &handle_programs, &add_depend2)
(&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
them, they are defined.
* compile.am, depend2.am, program.am, progs.am: Likewise.
* remake-hdr.am: Fix a typo.
* tests/cxxo.test, tests/fo.test, tests/implicit.test,
* tests/interp.test, tests/subobj.test, tests/subobj2.test,
* tests/suffix2.test: Adjust.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in (&file_contents): Map MAINTAINER-MODE to
@MAINTAINER_MODE_TRUE@ or nothing.
* configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
Suggested by Tom.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in (&do_one_merge_target): Remove, was only called from...
(&handle_merge_targets): here for `all'.
Adjust.
2001-03-05 Akim Demaille <akim@epita.fr>
Make the installation/uninstallation of Info pages follow the
regular am/recursive scheme.
* automake.in (%required_targets, %dependencies): Add
install-info.
(%dependencies): Add install-info, install-info-am, and
unstall-info.
(&handle_subdirs): Don't transform INSTALLINFO, which mapping was
reversed BTW. Does anybody use the option `no-installinfo'?
(&handle_merge_targets): Let the handling of info related targets
to...
(&handle_factored_dependencies): this.
* subdirs.am: Use ?INSTALL-INFO?.
* texinfos.am: Define the install-info, uninstall-info and
uninstall-info-am targets.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in (%required_targets, %dependencies): Add dvi, info,
dvi-am, info-am.
(@info, @dvi): Remove.
(&handle_texinfo, &handle_merge_targets): Adjust.
(&handle_factored_dependencies): Required targets are phony.
* texinfos.am: Build info, dvi, and the corresponding -am or
-recursive targets.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in (&am_install_var): Remove $cygxform, unused.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in (&file_contents): Transform LIBTOOL.
(&am_install_var): Remove $ltxform.
* ltlib.am, progs.am: Adjust.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in: Require AC_PROG_INSTALL in...
(&scan_autoconf_files): here.
2001-03-05 Akim Demaille <akim@epita.fr>
* configure.am: New file.
* automake.in (&file_contents): Transform CONFIGURE-AC.
(&handle_texinfo, &handle_configure): Don't transform
CONFIGURE_AM.
(&handle_configure): Use `configure.am'.
* remake-hdr.am, remake.am, texi-vers.am: Adjust to
MAINTAINER-MODE and CONFIGURE-AC.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in (&pretty_print_internal): Don't output useless
spaces.
(define_pretty_variable): Don't issue the space after the `=' sign
to avoid trailing spaces in Makefile.ins.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in (&generate_makefile): Invoke &initialize_per_input
*before* setting $am_file_name and $in_file_name.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in ($in_file_name, $am_file_name, $relative_dirs):
Globals, initialized...
(&initialize_per_input): here.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in ($am_relative_dir): Global.
(&initialize_per_input): Init it.
(%make_list, @make_input_list): My them from
(&scan_autoconf_files): here.
(&require_file_internal): Mying changes.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in (%am_vars, @var_list, %def_type): Globals.
(&initialize_per_input): Initialize them.
(&read_main_am_file): Don't local them.
(&get_object_extension): $objext is private.
(&handle_single_transform_list): $lang is.
(&handle_ltlibraries): $libname_rx is.
(&scan_autoconf_config_files): How about actually paying attention
to your arguments, instead of working on $_? (this is no Perl
variable, it's a Perl variable followed by a question mark).
(&file_contents): $contents and $separator are private.
(&am_install_var): Declare @condvals, not $condvals.
(%make_dirs): My.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in (&initialize_per_input): Move to the top.
Precede with the `my' list of its variables.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in ($am_file): Use vars.
($am_file_name, $in_file_name): Private to &generate_makefile.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in: Preparation for `use strict': Move the
initialization of the constants to the top, from...
(&initialize_global_constants): here.
2001-03-05 Akim Demaille <akim@epita.fr>
* automake.in (&handle_single_transform_list, &add_depend2): Let
$lang_specific_files{$lang} be a list instead of a string.
2001-03-05 Akim Demaille <akim@epita.fr>
Let's make it run ten times faster...
* automake.in (&transform): Be sure to remove the `\n' with ?FOO?
transformations.
(&file_contents): Let `$command' remove the Automake commands, and
normalize the series of `\n'.
Slurp the file and apply $command in a single step.
No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
is already normalized to be handled by &transform.
2001-03-05 Tom Tromey <tromey@redhat.com>
* automake.in (register_language): Add entry for `-pure'.
Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
(finish_languages): Use `-pure' field of language map.
2001-03-03 Tom Tromey <tromey@redhat.com>
* tests/yaccvpath.test: No need to remove dummy files.
* tests/subobj3.test: No need to remove dummy files.
* tests/pr9.test: No need to remove dummy files.
* tests/pr87.test: No need to remove dummy files.
* tests/pr19.test: No need to remove dummy files.
* tests/install2.test: No need to remove dummy files.
* tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
and depcomp.
2001-02-27 Pavel Roskin <proski@gnu.org>
* tests/yaccvpath.test: Add a delay to make parse.c really out
of date. Detect the problem earlier, after `make distdir'. Drop
dependency on flex. Always use the `-y' flag for bison. Comment
changes.
* tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
2001-03-02 Jens Krger <jens_krueger@physik.tu-muenchen.de>
* depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
2001-02-28 Akim Demaille <akim@epita.fr>
* automake.in (&add_depend2): Transform `GENERIC'.
Get rid of the ad hoc transformation of `@EXT@.o:' which in
addition was broken by the `@ -> %' patch.
* depend2.am: Adjust to use ?GENERIC?.
2001-02-28 Akim Demaille <akim@epita.fr>
* Makefile.am (maintainer-check): `undef $/' is OK.
2001-02-28 Akim Demaille <akim@epita.fr>
* automake.in (&handle_configure): Fortunately, $top_reldir,
the definition of which was highly suspicious, was unused.
2001-02-27 Akim Demaille <akim@epita.fr>
* automake.in (%exec_dir_p): Move to the top so that it is visible
to all routines.
2001-02-27 Pavel Roskin <proski@gnu.org>
* tests/yaccvpath.test: Prevent automake from looking into ..
and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
2001-02-27 Akim Demaille <akim@epita.fr>
* automake.in (%exec_dir_p): Pulled out from...
(&am_primary_prefixes): here.
2001-02-27 Akim Demaille <akim@epita.fr>
* automake.in (&usage): Display $0, not $me.
2001-02-27 Akim Demaille <akim@epita.fr>
* mans.am: s/INSTALL_MAN/INSTALL-MAN/.
* automake.in (&handle_clean): Don't escape what's given to
&transform.
2001-02-27 Akim Demaille <akim@epita.fr>
Distinguish automake substitutions from config.status
substitutions.
* automake.in (&add_depend2): Transform AMDEP.
(&handle_clean): Transform MCFILES and MFILES.
(&file_contents): Transform MAINTAINER_MODE.
(&transform, &am_install_var): Use `%', not `@'.
Adjust all the *.am files.
* clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
* depend2.am: Display the double dependency on both ?AMDEP? and
@AMDEP@.
2001-02-27 Tom Tromey <tromey@redhat.com>
* distdir.am (distcheck): Fixed new code.
* tests/yaccvpath.test: Fail gracefully if bison/flex not found.
Only configure once.
* distdir.am (distcheck): Print error message if distclean failed
to fully clean.
2001-02-27 Pavel Roskin <proski@gnu.org>
* tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/Makefile.am (TESTS): Added yaccvpath.test.
* tests/yaccvpath.test: New file.
2001-02-26 Akim Demaille <akim@epita.fr>
* automake.in (&am_install_var): Recognize whether predefined
directories are `data' or `exec'.
* libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
?EXEC?.
* tests/instdata2.test: Update.
2001-02-26 Akim Demaille <akim@epita.fr>
* texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
necessarily in infodir.
2001-02-26 Akim Demaille <akim@epita.fr>
* automake.in ($am_file): Be `local', as my'd variables used in
`foreach' loops are always private to the loop.
2001-02-26 Pavel Roskin <proski@gnu.org>
* Makefile.am: Add install.am.
2001-02-26 Akim Demaille <akim@epita.fr>
* automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
routines, otherwise the elements to compare are passed in @_
instead of $a and $b.
2001-02-26 Akim Demaille <akim@epita.fr>
* automake.in (%required_targets): `installcheck-am' is needed.
2001-02-26 Akim Demaille <akim@epita.fr>
* automake.in (&transform_cond): Merge into...
(&transform): this.
Adjust all uses.
2001-02-26 Akim Demaille <akim@epita.fr>
* automake.in (&handle_dist): Use &transform instead of dedicated
magic for DISTDIRS.
But be sure to always do it.
* distdir.am: Adjust.
2001-02-26 Akim Demaille <akim@epita.fr>
* automake.in: Use File::Basename.
(&dirname, &basename): Remove.
2001-02-26 Akim Demaille <akim@epita.fr>
* automake.in ($me): New.
Use it.
(&usage): Display your full name.
2001-02-26 Akim Demaille <akim@epita.fr>
* automake.texi (Invoking Automake): Remove dead options.
2001-02-26 Akim Demaille <akim@epita.fr>
* automake.in (&scan_texinfo_file): Also compute the list of files
to clean.
Handle local errors.
(&handle_texinfo): Use it.
2001-02-26 Akim Demaille <akim@epita.fr>
* automake.in: Don't pass arguments to...
(&parse_arguments): Work on @ARGV.
Use Getopt.
Add support for `-f'.
(&version): New.
(&usage): Update.
2001-02-26 Akim Demaille <akim@epita.fr>
* automake.in (&handle_merge_targets, &do_one_merge_target): Don't
handle installcheck and installcheck-am.
* install.am: Do it.
2001-02-26 Akim Demaille <akim@epita.fr>
* automake.in (&handle_merge_targets, &do_one_merge_target): Don't
handle install and install-am.
* install.am: Do it.
2001-02-26 Akim Demaille <akim@epita.fr>
* automake.in (&handle_merge_targets, &do_one_merge_target): Don't
work on targets handled by %dependencies.
(&handle_factored_dependencies): Do it.
* install.am: Install install-exec, install-data and uninstall's
suites.
2001-02-26 Akim Demaille <akim@epita.fr>
* automake.in (&handle_merge_targets): Move `install-strip' from
here...
* install.am: to here.
2001-02-26 Akim Demaille <akim@epita.fr>
* automake.in (@installdirs): Remove.
(&file_contents): Be able to grow Automake macros with `+='.
(&handle_texinfo, &handle_man_pages, &am_install_var): Let your
files define _am_installdirs.
(&handle_installdirs): Remove the code, just output `install.am'.
* install.am: New.
* data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
* python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
2001-02-26 Akim Demaille <akim@epita.fr>
* tests/instdata2.test (libexec_DATA): Exercise more
possibilities.
2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
2001-02-25 Tom Tromey <tromey@redhat.com>
* tests/instdata2.test: Added `sbin_DATA' check.
* tests/Makefile.am (TESTS): Added subdircond.test.
* tests/subdircond.test: New file.
* automake.in (handle_gettext): Don't fail if SUBDIRS
conditionally defined.
* automake.in: Use IO::File.
(generate_makefile): Use IO::File.
(scan_texinfo_file): Likewise.
(handle_aclocal_m4): Likewise.
(scan_autoconf_traces): Likewise.
(scan_one_autoconf_file): Likewise.
(read_am_file): Likewise.
(file_contents): Likewise.
(create): Likewise.
2001-02-25 Akim Demaille <akim@epita.fr>
* automake.in (handle_texinfo): Remove code handled by texinfos.am.
2001-02-25 Akim Demaille <akim@epita.fr>
* automake.in (&transform): Also call &transform_cond on your
arguments.
(&handle_dist): Adjust.
(&handle_factored_dependencies): Uniq dependencies.
2001-02-25 Akim Demaille <akim@epita.fr>
* automake.in (&handle_gettext): Simplify redundant `if'.
Used &variable_value, don't read %contents directly.
2001-02-25 Akim Demaille <akim@epita.fr>
* automake.in ($install_recursive): Remove, replaced with calls to
`&variable_defined ('SUBDIRS')'.
(&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
(&file_contents): now does.
2001-02-25 Akim Demaille <akim@epita.fr>
* automake.in (&handle_man_pages): $found is dead.
2001-02-25 Akim Demaille <akim@epita.fr>
Internally just store the conditionals as space separated lists of
CONDITIONS (instead of @CONDITIONS@).
* automake.in (&conditional_true_when, &variable_conditions_sub):
Split conditions at spaces.
(&handle_dependencies, &variable_conditions_permutations): Don't
put @ around conditions.
(&variable_conditions_cmp): There are no @ to strip.
(&make_condition): New.
(&define_pretty_variable, &read_main_am_file, &read_am_file): Use
it.
(&read_main_am_file, &read_am_file): Stop playing with @ by hand.
Join @conditional_stack with spaces.
(&read_main_am_file): Adjust the output of variables.
Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
true' and no longer `@TEST@TRUE = @TEST@true'.
(&variable_conditions_cmp): Rename as...
(&by_condition): this.
Sort in a human pleasant order.
Use it everywhere a human can see conditions.
(&variable_conditions_reduce): Don't sort conditions, that's
pointless.
* tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
2001-02-25 Akim Demaille <akim@epita.fr>
* automake.in: `my' the globals.
2001-02-25 Akim Demaille <akim@epita.fr>
* automake.in (&initialize_per_input): %targets_conditionals is
new.
(&read_am_file): When slurping a rule, set the target related
variable, and no variable related variable.
(&file_contents): Likewise.
* tests/vartar.test, tests/ctarget1.test: New.
2001-02-25 Akim Demaille <akim@epita.fr>
* automake.in (&variable_defined, &variable_value_as_list_worker):
If $VAR is effectively a variable, don't die if it's also a
target.
Plus some formatting changes.
2001-02-25 Akim Demaille <akim@epita.fr>
* automake.in: Mying changes.
* Makefile.am (maintainer-check): Check the stability of the
number of uses of `local'.
2001-02-25 Akim Demaille <akim@epita.fr>
* automake.in: Mying changes.
2001-02-25 Akim Demaille <akim@epita.fr>
* automake.in: Mying changes.
2001-02-25 Akim Demaille <akim@epita.fr>
* automake.in: Mying changes.
(&handle_tags): Fix a bug uncovered by the previous mying changes:
transform CONFIG into $config, not $xform.
2001-02-25 Akim Demaille <akim@epita.fr>
* automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
Don't deal with install-data-am, install-exec-am and unstall-am.
(&initialize_per_input): Add them to %dependencies.
Remove %exec_dir_p since the *.am files are now in charge of it.
Remove @uninstall, @install_data, @install_exec.
(&handle_merge_targets): Adjust to these removals.
(&file_contents): Also &transform_cond for --no-installman and
--no-installinfo.
(&do_one_merge_target): Add some magic to install hooks on
%dependencies' targets.
(%required_targets): New.
(&handle_factored_dependencies): Output required targets.
* data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
* mans-vars.am, mans.am, progs.am, python.am, scripts.am,
* texinfos.am: Declare your dependencies on install-data-am,
install-exec-am and uninstall-am.
* tests/instdata2.test (incldata_HEADERS): New test.
2001-02-24 Tom Tromey <tromey@redhat.com>
* Makefile.am (amfiles): Added texibuild.am.
* texibuild.am: New file.
* tests/Makefile.am (TESTS): Added texinfo9.test.
* tests/texinfo9.test: New file.
* automake.in (handle_texinfo): Keep track of suffixes used. Give
error if suffix unrecognized. Removed extraneous newline.
2001-02-23 Akim Demaille <akim@epita.fr>
* automake.in (&am_install_var): Don't hook on the clean targets
and .PHONY.
* data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
* ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
Do it.
2001-02-23 Akim Demaille <akim@epita.fr>
* automake.in: Promote local `my' over `local'.
2001-02-23 Akim Demaille <akim@epita.fr>
* automake.in: Formatting and mying changes.
2001-02-23 Akim Demaille <akim@epita.fr>
* automake.in: Formatting and mying changes.
2001-02-23 Akim Demaille <akim@epita.fr>
* automake.in (&handle_man_pages): Let install-man and
uninstall-man be handled by the dependency tracker.
(&initialize_per_input): Let %dependencies track them.
* mans.am: Add the needed hooks with the proper dependencies.
2001-02-22 Pavel Roskin <proski@gnu.org>
* tests/target-cflags.test: Don't use subshell to configure in
subdirectory. Typo fix - run `./foo', not `/foo'.
2001-02-22 Akim Demaille <akim@epita.fr>
* automake.in: Formatting and mying changes.
2001-02-21 Tom Tromey <tromey@redhat.com>
* automake.in (handle_dist): Introduce new variable to avoid extra
keys in %dist_dirs. Fixes distdir.test.
* automake.in (handle_texinfo): Only remove suffixes we can
handle.
* tests/distdir.test: Check to make sure directory isn't made in
build directory.
* automake.in (handle_dist): Do nothing in Cygnus mode.
2001-02-21 Pavel Roskin <proski@gnu.org>
* header-vars.am: Remove tabs before variable definitions.
2001-02-21 Akim Demaille <akim@epita.fr>
* tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
false diagnostics.
2001-02-21 Akim Demaille <akim@epita.fr>
* automake.in (&dist_cmp, &target_cmp): Be sure to return a
numeric value as required by Perl 5.6.
2001-02-21 Akim Demaille <akim@epita.fr>
* dist-vars.am: Remove, merge into...
* distdir.am: this.
* automake.in (dirname, basename, backname): Move to the top of
the file so that prototypes are checked,
Use them without `&'.
(&handle_dist): Adjust.
2001-02-21 Akim Demaille <akim@epita.fr>
* automake.in (&check_ambiguous_conditional, &read_main_am_file):
Use a uniform naming scheme.
("e_cond_val, &unquote_cond_val): Delete, dead code.
(&read_am_file): Fix conditional definition of backslash continued
items.
2001-02-21 Akim Demaille <akim@epita.fr>
Change the handling of conditionals: instead of using an ad-hoc
encoding to store a hash in a string, use hashes.
* automake.in (&conditional_dump): New.
(&check_ambiguous_conditional, &variable_defined)
(&variable_conditions_sub, &variable_value_as_list_worker)
(&define_variable, read_am_file, &read_main_am_file): Be sure to
handle `$conditional{$vars}' as a hash instead of a plain string.
2001-02-21 Akim Demaille <akim@epita.fr>
* automake.in (&conditional_true_when): Modernize, simplify.
Warning: `$comp' is now private (my), while it used to be
`inherited' from a `local' elsewhere in the code. AFAICT it was
wrong, but some dirty side effect might show up.
(&conditionals_true_when): New.
(&variable_conditions_sub, &variable_conditions_reduce): Use it.
2001-02-21 Akim Demaille <akim@epita.fr>
* automake.in ($top_builddir): Remove, used in one place.
(&define_standard_variables): Adjust.
Move the definition of triplet variables into...
* header-vars.am: here.
2001-02-21 Akim Demaille <akim@epita.fr>
* automake.in (&initialize_global_constants): Don't define $USAGE.
(&usage): Handle the former content of $USAGE.
Don't pretend autoconf cares about Makefile.in.
Classify the options.
(&handle_tests): Formatting and mying changes.
2001-02-21 Akim Demaille <akim@epita.fr>
* automake.in (&handle_tests_dejagnu): Move the definition of a
default `site.exp' into...
* dejagnu.am (site.exp): here.
Use DOS compliant file names.
2001-02-21 Akim Demaille <akim@epita.fr>
* automake.in (&dist_cmp): New.
(&handle_dist): Use it.
Promote `my' over `local'.
2001-02-21 Akim Demaille <akim@epita.fr>
* dist.am: Remove, merge into...
* distdir.am: here. Use the neat sed snippet for banners.
BTW, distcheck is phony.
* automake.in (&handle_dist_worker): Remove, merge into...
(&handle_dist): this.
(&file_contents): Strip leading new lines.
Be sure to end comments with new lines.
2001-02-21 Akim Demaille <akim@epita.fr>
* distdir.am (GZIP_ENV): Define.
* automake.in (&handle_dist): Don't.
(&uniq): New.
(&handle_dist_worker, &am_install_var): Use it.
2001-02-21 Akim Demaille <akim@epita.fr>
* distdir.am (distdir): Handle the DIST-TARGETS.
* automake.in (&handle_dist_worker): Don't.
2001-02-21 Akim Demaille <akim@epita.fr>
* automake.in (&file_contents): Transform the global options (such
as CYGNUS).
(&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
2001-02-21 Akim Demaille <akim@epita.fr>
* distdir.am (distdir): Be sure to have permissive rights on its
contents.
(dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
targets.
And BTW, all these guys are phony.
* automake.in (&handle_dist_worker): As its name doesn't indicate,
output distributions.
(&handle_dist): As its name doesn't indicate, don't.
(&initialize_global_constants): Don't define variables which
content is now handled by distdir.am.
But register `dist-all' as a factored target.
(&handle_factored_dependencies): Don't output empty targets.
2001-02-20 Tom Tromey <tromey@redhat.com>
* m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
invocation.
2001-02-18 Tom Tromey <tromey@redhat.com>
* m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
(AM_PROG_STRIP): Commented out.
2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
* depcomp (gcc3): Protect against the compiler deleting
the dependency output file.
2001-02-17 Tom Tromey <tromey@redhat.com>
* automake.in (handle_merge_targets): Use double quotes around
setting of INSTALL_STRIP_PROGRAM.
* m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
to absolute path at runtime.
(AM_PROG_STRIP): Don't explicitly test $STRIP.
2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
* m4/strip.m4: New file.
* m4/Makefile.am (m4data_DATA): Add strip.m4.
* m4/init.m4: Call AM_PROG_INSTALL_STRIP.
* m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
* automake.in (handle_merge_targets): In the install-strip rule,
set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
* progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
don't use INSTALL_STRIP_FLAG any longer.
2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
argument.
2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (unquote_m4_arg): New function.
(scan_one_configure_file): Call unquote_m4_arg on
AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
works.
2001-02-15 Tom Tromey <tromey@redhat.com>
* config.guess, config.sub: New versions from FSF.
* Makefile.am (WGET): New macro.
(FETCHFILES): New macro.
(fetch): New target.
* tests/subobj3.test: Exit with status 77 if gcc not found.
* tests/pr9.test: Exit with status 77 if gzip not found.
* tests/pr87.test: Exit with status 77 if gcc not found.
* tests/pr19.test: Exit with status 77 if gzip or gcc not found.
* tests/install2.test: Exit with status 77 if gzip not found.
* tests/exsource.test: Exit with status 77 if GNU make not found.
* tests/ansi3.test: Exit with status 77 if gcc not found.
* tests/target-cflags.test: Require GNU make. Exit with status 77
if gcc or make not found. Fixes PR automake/121.
* configure.in: Require Perl 5.005.
* automake.in: Require 5.005.
* automake.texi (Top): Conditionalize on `nottex', not `info'.
Fixes PR automake/122.
2001-02-14 Tom Tromey <tromey@redhat.com>
* automake.in (add_depend2): Only emit a given object rule once.
Fixes specflags6.test.
2001-02-14 Richard Boulton <richard@tartarus.org>
* tests/specflags6.test: New file.
2001-02-14 Tom Tromey <tromey@redhat.com>
* automake.texi (A Shared Library): Mention -module.
2001-02-13 Tom Tromey <tromey@redhat.com>
* automake.in (do_one_merge_target): Always register $name and
$name-am as phony.
* automake.in (do_one_merge_target): Register `all' as phony
target.
* configure.in: Updated to 1.4e for cvs.
2001-02-12 Tom Tromey <tromey@redhat.com>
* configure.in: Updated to 1.4d and released.
* m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
names through autoconf.
Fix for subdirbuiltsources.test:
* automake.in (initialize_per_input): [all_target] Initialize to
empty string.
(handle_merge_targets): Use all-redirect target to handle built
sources.
(do_one_merge_target): Don't generate all-redirect rule.
2001-02-11 Peter Muir <iyhi@yahoo.com>
* tests/subdirbuiltsources.test: New file.
* tests/Makefile.am (TESTS): Added new file.
2001-02-10 Tom Tromey <tromey@redhat.com>
* tests/condlib.test: New file.
* tests/Makefile.am (TESTS): Added new file.
2001-02-10 Lars J. Aas <larsa@sim.no>
* automake.in ($MACRO_PATTERN): Include '@' in name regex.
(&canonicalize): New. Includes '@' in canonical range.
(&check_canonical_spelling, &handle_programs, &handle_libraries,
&handle_ltlibraries, &handle_texinfo): Use &canonicalize.
2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
* automake.in (handle_configure): Revert part of
'2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
set CONFIG_COMMANDS explicitly.
2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
* depcomp (gcc3): Propagate exit code.
2001-02-09 Lars J. Aas <larsa@sim.no>
* header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
2001-02-09 Tom Tromey <tromey@redhat.com>
Clean up maintainer-check warnings:
* Makefile.am (maintainer-check): Ignore comment lines in CDPATH
check.
* automake.in (handle_dist_worker): Removed redundant `my $xform'.
2001-02-09 Akim Demaille <akim@epita.fr>
* automake.in (&file_contents): Remove a dead branch.
2001-02-09 Akim Demaille <akim@epita.fr>
* automake.in (&transform): Use `my', not `local'.
(&transform_cond): New.
(&get_object_extension, &handle_texinfo, &handle_tags)
(&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
(&handle_tests_dejagnu): Use it.
* texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
* dejagnu.am, data.am, clean.am: Adjust to the new syntax.
2001-02-09 Akim Demaille <akim@epita.fr>
* automake.in: Various formatting changes, and modernization of
Perl constructs.
(&backname): New.
(&handle_configure, define_standard_variables): Use it.
2001-02-08 Tom Tromey <tromey@redhat.com>
* automake.in (file_contents): Only add $actions if any are
found. Fixes new failure in pr87.test.
2001-02-08 Pavel Roskin <proski@gnu.org>
* tests/pr87.test: Check foo/Makfile.in after it is created.
2001-02-08 Tom Tromey <tromey@redhat.com>
* tests/pr87.test: Added check for blank line after `.c.o' rule.
Report from Lars J. Aas.
2001-02-07 Lars J. Aas <larsa@sim.no>
* lisp.am (install-@DIR@LISP): Removed extra space.
* header.am (install-@DIR@HEADERS): Removed extra space.
* data.am (install-@DIR@DATA): Removed extra space.
2001-02-07 Tom Tromey <tromey@redhat.com>
* m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
* automake.in (handle_dependencies): Use _am_include, not
AMINCLUDE.
* tests/exsource.test: Use _am_include, not AMINCLUDE.
* m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
* tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
* tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
* automake.in (handle_configure): Handle case where output file is
in subdir with no Makefile of its own. Fixes remake3.test,
distcommon.test.
2001-02-06 Pavel Roskin <proski@gnu.org>
* automake.in (handle_dependencies): Rename AM_INCLUDE to
AMINCLUDE.
* m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
* tests/exsource.test: Likewise.
2001-02-06 Derek Price <derek.price@openavenue.com>
* automake.in (handle_configure): Fix syntax error.
2001-02-06 Akim Demaille <akim@epita.fr>
* subdirs.am: This file is the exception: clean recursive targets
are called by the clean targets, not the clean-am targets.
Otherwise we have a circular dependency: clean -> clean-am ->
clean-recursive -> clean.
* automake.in (handle_clean): Bind `-local' targets to `-am'
targets, not top targets.
Don't declare -recursive dependencies of the clean targets:
`subdirs.am' did it. Less hard coded knowledge, transfered
into...
* clean.am: here.
2001-02-06 Akim Demaille <akim@epita.fr>
Monstro unsplitable patch.
The aim is to remove hard coded knowledge about clean targets from
automake.in, leaving them in the *.am files.
In addition to the mechanic needed to factor some dependencies, it
appears some rules (most notably distclean and maintainer-clean)
need factored actions. So first, be ready to catch factored
rules.
* automake.in (&file_contents): For the time being, use an extended
$RULE_PATTERN which is able to match any kind of rules, with or
without dependency, with or without actions.
Handle all the rules uniformly, storing in %actions the factored
actions.
(&flatten, &target_cmp): New.
(&handle_factored_dependencies): Output the %actions.
No longer special case `clean'.
Output the rules in alphabetical order, but keeping `.PHONY' last.
Now we must not use &push_phony_cleaners, which is doing all sort
of magic to push a bit of everything in all the clean targets.
The biggest problem being that, making a Cartesian product, it
requires many useless targets. The `*.am' file know better.
But first, register the new factored rules.
* automake.in (&initialize_per_input): Include clean, mostlyclean,
maintainer-clean, distclean and their `*-am' counterpart in
%dependencies.
Initialize %actions.
(get_object_extension, handle_texinfo, handle_tags, handle_multilib)
handle_dependencies, handle_subdirs, handle_configure, handle_clean)
(handle_emacs_lisp, handle_python): Don't play with
&push_phony_cleaners nor &depend and `clean'.
* texinfos.am, texi-vers.am, tags-clean.am:
* subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
* libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
* clean-kr.am, clean-hdr.am: Do it.
Whenever a target is empty, just remove it, it will no longer be
called.
There is still some magic about clean to hard code. But really,
that's the end of &do_one_clean_target.
* automake.in (&do_one_clean_target): Kaboom out.
(&handle_clean): Rewrite the magic code.
(&am_install_var): No longer use &push_phony_cleaners, nor depend
on `clean'.
(&push_phony_cleaners): Kaboom too.
2001-02-06 Akim Demaille <akim@epita.fr>
* automake.in (do_one_clean_target): Don't hard code knowledge
about libtool, and maintainer-clean.
* clean.am, libtool.am: Handle these.
2001-02-05 Akim Demaille <akim@epita.fr>
* automake.in (handle_texinfo): No longer hard code the clean
targets.
(texinfos.am): Include them.
2001-02-05 Akim Demaille <akim@epita.fr>
* Makefile.am (perl4-check): Remove, we now require Perl 5.
(maintainer-check): Don't be silent when you find a problem, and
actually, even specify the locations.
Also check that @_ is assigned to arrays.
2001-02-05 Akim Demaille <akim@epita.fr>
* m4/regex.m4: Use AC_LIBSOURCES.
* automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
_AC_LIBOBJ_DECL.
2001-02-04 Tom Tromey <tromey@redhat.com>
* m4/Makefile.am (m4data_DATA): Added make.m4.
* automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
dependency files.
* m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
Copy depcomp to subdir.
* m4/make.m4: New file.
2001-02-04 Pavel Roskin <proski@gnu.org>
* automake.in (handle_dist_worker): Remove a line that is now
in distdir.am.
2001-02-04 Kevin Ryde <user42@zip.com.au>
* automake.in (handle_configure): Call config.status with empty
CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
2001-02-04 Tom Tromey <tromey@redhat.com>
* depcomp (ddashmd): Removed case.
(sgi): Handle failure exit correctly
(aix): Likewise. Also, add dummy `.h' targets.
2001-02-04 Akim Demaille <akim@epita.fr>
* distdir.am (distdir): New file, extracted from...
* automake.in (handle_dist_worker): here.
Adjust.
2001-02-04 Akim Demaille <akim@epita.fr>
* automake.in (@clean): Remove, replaced by...
($dependencies{'clean'}): this.
Use `&depend' instead of push'ing into @clean.
(handle_factored_dependencies): For the time being, skip 'clean'.
(do_one_clean_target): Don't ask for argument 1 and 4 as they are
always `clean', and `@clean'.
2001-02-04 Akim Demaille <akim@epita.fr>
* automake.in (%dependencies): Don't be initialize globally for
all the files, but in...
(&initialize_per_input): here.
(&depend): New.
(@phony): Replace all occurrences with the corresponding &depend
invocation.
2001-02-03 Tom Tromey <tromey@redhat.com>
* header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
* header-vars.am (INSTALL_HEADER): New macro.
* automake.texi (Rebuilding): New node.
-----
Copyright (C) 2001, 2003 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification, are
permitted provided the copyright notice and this notice are preserved.
|