aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* am-wrapper.sh: recognise automake-1.17HEADat-20240607mainSam James2024-06-071-1/+1
| | | | | | Crank LAST_KNOWN_AUTOMAKE_VER. Signed-off-by: Sam James <sam@gentoo.org>
* ac-wrapper.sh: adapt to autoconf-2.72at-20231224Sam James2023-12-241-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* ac-wrapper.sh: fix autoconf regexat-20221207Arsen Arsenović2022-12-071-1/+1
| | | | | | | | | We need to optionally match the ., not require digits following period in version group. Bug: https://bugs.gentoo.org/870169 Fixes: 6f9e65b68174b938714100f34f399844f8d2cb93 Signed-off-by: Arsen Arsenović <arsen@aarsen.me> Signed-off-by: Sam James <sam@gentoo.org>
* am-wrapper.sh: handle 9999 tooSam James2022-11-221-1/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* ac-wrapper.sh: handle 9999 tooSam James2022-11-221-1/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* autoconf-wrapper: fix version detectionat-20221118Mike Frysinger2022-02-071-1/+1
| | | | | | | | Make sure we chop the trailing period from the version string to fix comparing to installed versions. Otherwise, "2.69." will never match "2.69". Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* harmonize wrappers a littleat-20220130Mike Frysinger2022-01-302-6/+10
| | | | | | | | Try to use variables to hold the tool name to reduce the differences between the scripts. Hopefully this will make it a little easier to keep the two in sync. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* autoconf-wrapper: expand full version range only on demandMike Frysinger2022-01-301-4/+7
| | | | | | | Sync the automake behavior to autoconf where we expand all possible versions only if the current ones not found. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* autoconf-wrapper: drop unnecessary argv0 checkMike Frysinger2022-01-301-4/+0
| | | | | | | | | This doesn't add much value, and would never fire in an installed setup. It was meant to catch `./ac-wrapper.sh` usage in the source tree, but the code largely executes fine otherwise, so might as well punt it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* autoconf-wrapper: use clearer warning/error messagesMike Frysinger2022-01-301-2/+3
| | | | | | Copy the style used in the automake wrapper over. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* autoconf-wrapper: try to enable shell POSIX mode if availableMike Frysinger2022-01-301-0/+2
| | | | | | This sync the logic that's been in the automake wrapper for a long time. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* autoconf-wrapper: fix minor variable stylingMike Frysinger2022-01-301-1/+1
| | | | | | We don't use braces on single-character shell builtins. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* autoconf-wrapper: drop mention of emergeMike Frysinger2022-01-301-1/+1
| | | | | | | | Generalize the "install autoconf" message to not refer to emerge specifically since this script isn't specific to emerge, or even Gentoo for that matter. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* autoconf-wrapper: handle autodetection betterMike Frysinger2022-01-301-1/+23
| | | | | | | | | If WANT_AUTOCONF isn't set, don't just default to the latest version. If the current directory has configure or aclocal.m4 files previously generated with a specific autoconf version, then use that if available. This matches how the automake wrapper behaves. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* autoconf-wrapper: rework WANT_AUTOCONF parsing to match WANT_AUTOMAKEMike Frysinger2022-01-301-51/+41
| | | | | | | | Take the WANT_AUTOMAKE approach to parsing to find a matching version. This simplifies the code a bit, and will allow us to do better dynamic detection in a follow up. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* autoconf-wrapper: simplify known version listMike Frysinger2022-01-301-12/+9
| | | | | | | | Since the 2.1/2.5 version aliases are inlined in the WANT_AUTOCONF parse logic now, there's no need to keep annotating every specific version with it. Drop it to simplify the logic a bit. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* autoconf-wrapper: make sure we break on first match, not lastMike Frysinger2022-01-301-0/+2
| | | | | | | | | The intention was that we break on the first match in WANT_AUTOCONF, so add that missing break statement. In practice, people only ever set one value in WANT_AUTOCONF, so that's probably why no one has ever noticed this bug before. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* autoconf-wrapper: slightly rework handling of 2.1 version aliasMike Frysinger2022-01-301-4/+11
| | | | | | | | | | | The 2.1 alias only ever expanded into the 2.13 version. Every other version uses the 2.5 alias, and at this point, seems extremely unlikely that this will ever change (or that we'd add a new alias set). Rework the WANT_AUTOCONF checking logic to rewrite 2.1 to 2.13, and then accept any non-2.13 version when 2.5 is used. This will allow us to burn down the alias logic entirely which will simplify the code nicely. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* autoconf-wrapper: export WANT_AUTOCONF to the full versionMike Frysinger2022-01-301-2/+1
| | | | | | | | | | When exporting the WANT_AUTOCONF version based on what we picked, use the full version instead of the short 2.1 or 2.5 values since they may expand into an unrelated version (since we accept many versions as an alias to 2.5). Practically speaking, there shouldn't be a difference, but this will make things a bit more clear. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* autoconf-wrapper: clean up old error messageMike Frysinger2022-01-301-5/+5
| | | | | | | Unwrap it a bit to take up fewer lines while still fitting within a reasonable line length, and fix the grammar in a number of places. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* autoconf-wrapper: ignore $KNOWN_AUTOCONF in envMike Frysinger2022-01-301-3/+1
| | | | | | | | It's not clear why this was made into an env var as nothing ever sets it in ebuilds/eclasses, and we don't have a desire to allow them to either. It's also not how the automake-wrapper works. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* autoconf-wrapper: use -E with sedMike Frysinger2022-01-301-2/+2
| | | | | | The -E option to enable POSIX ERE is more portable. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* autoconf-wrapper: support WANT_AUTOCONF=latestMike Frysinger2022-01-291-0/+3
| | | | | | Match existing automake-wrapper behavior. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* automake-wrapper: merge historyMike Frysinger2021-12-061-0/+186
|\ | | | | | | | | | | | | This is reconstructed from the CVS & git history from the automake & automake-wrapper packages. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * sys-devel/automake-wrapper: Bump to v11am-11Thomas Deutschmann2018-02-261-2/+2
| | | | | | | | | | | | Add sys-devel/automake-1.16 support. Package-Manager: Portage-2.3.24, Repoman-2.3.6
| * Drop remaining $Id$ and $Header$ from files.Ulrich Müller2017-02-281-1/+0
| | | | | | | | Bug: 611234
| * Version bump for automake-1.15am-10Lars Wendler2015-01-071-3/+3
| | | | | | | | | | Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0x981CA6FC
| * Version bump for automake-1.14.am-9Mike Frysinger2013-06-231-7/+13
| | | | | | | | | | Package-Manager: portage-2.2.0_alpha179/cvs/Linux x86_64 Manifest-Sign-Key: 0xFB7C4156
| * Call gawk as before since GNU awk is required and breaks with e.g. BSD awk. ↵Alexis Ballier2013-02-041-2/+2
| | | | | | | | | | | | | | Bug #455436 Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64 Manifest-Sign-Key: 0x160F534A
| * Rewrite logic to be more friendly to missing versions #417745 by Toralf ↵am-8Mike Frysinger2013-01-021-71/+68
| | | | | | | | | | | | | | Förster. Package-Manager: portage-2.2.0_alpha144/cvs/Linux x86_64 Manifest-Sign-Key: 0xFB7C4156
| * Support new automake-1.12.am-7Mike Frysinger2012-04-261-53/+53
| | | | | | | | Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
| * Optimize version lookup a bit, and handle the case where $0 is not a full ↵am-6Mike Frysinger2011-10-021-10/+40
| | | | | | | | | | | | path #385201 by Florian Philipp. Package-Manager: portage-2.2.0_alpha59/cvs/Linux x86_64
| * Merge updates from autoconf-wrapper to get POSIX-only code.am-5Mike Frysinger2010-03-071-28/+23
| | | | | | | | Package-Manager: portage-2.2_rc65/cvs/Linux x86_64
| * fixed prefix support -> dont use /bin/bash in the shebang, since bash may ↵Markus Duft2010-02-241-2/+2
| | | | | | | | | | | | not be installed in the host system. Package-Manager: portage-2.1.7.16/cvs/Linux i686
| * Create a real new version rather than mucking with the FILESDIR.am-4Mike Frysinger2009-05-171-2/+2
| | | | | | | | Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
| * Make sure we break out of new loop as reported by Alexis Ballier.Mike Frysinger2006-11-051-2/+6
| | | | | | | | Package-Manager: portage-2.1.2_rc1-r2
| * make sure we warn when someone uses an invalid WANT_AUTOMAKE valueMike Frysinger2006-11-051-1/+2
| | | | | | | | Package-Manager: portage-2.1.2_rc1-r2
| * Make default automake selection more flexible and allow WANT_AUTOMAKE to ↵am-3Mike Frysinger2006-11-051-15/+34
| | | | | | | | | | | | contain a list of versions. Package-Manager: portage-2.1.2_rc1-r2
| * Include support for automake-1.10.am-2Mike Frysinger2006-10-161-8/+14
| | | | | | | | Package-Manager: portage-2.1.2_pre2-r9
| * use gawk, not awk #92582Mike Frysinger2005-05-141-2/+2
| | | | | | | | Package-Manager: portage-2.0.51.21-r1
| * wrapper updates #71132Mike Frysinger2004-11-151-4/+13
| |
| * set binary properlyMike Frysinger2004-11-141-3/+3
| |
| * Punt perl version of wrapper in favor of bash by Gregorio Guidi #66478.am-1Mike Frysinger2004-11-142-137/+120
| |
| * initial ebuildMike Frysinger2004-10-221-17/+4
| | | | | | | | Break the automake wrapper (am-wrapper.pl) off into its own package.
| * Update am-wrapper script to also use ac_version and am_version functions toMartin Schlemmer2004-06-161-10/+20
| | | | | | | | | | check AC_PREREQ and AM_AUTOMAKE_VERSION (allows us to check strings beyond the first match).
| * Update version; Also update version of 1.7 versions to 1.7.9Martin Schlemmer2004-02-031-4/+25
| |
| * update am-wrapper.pl to work with AC_PREREQ in []Martin Schlemmer2003-03-091-4/+4
| |
| * new versionMartin Schlemmer2003-01-211-23/+69
| | | | | | | | | | Update version. Change WANT_AUTOMAKE_1_?=1 selection scheme to WANT_AUTOMAKE=<version>.
| * wrapper updatesMartin Schlemmer2002-09-231-6/+23
| | | | | | | | | | | | Firstly, 'am-wrapper.pl' is based on 'ac-wrapper.pl'. This is a nifty script by Guillaume Cottenceau (gc@mandrakesoft.com). This release adds updates for automake-1.6 detection.
| * new versionMartin Schlemmer2002-05-191-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | New version. Thanks to Alexander Kelett for the initial version that contains all three major releases, and also am-wrapper.pl-1.6. Changes from his version: 1.5d has to have "-1.5d" as suffix, and not "-1.5", as this causes calls by aclocal to automake to fail, as they have multiversion support. Also fixed some other problems that was part of my first dual version. Added the sed to change the "-1.5x" in am-wrapper.pl-1.6 to "-1.5d". Anyway, should resolve bug 2803.