Skip to content

Commit 437363c

Browse files
committed
autotools: reword the version detection a bit
It wasn't that clear what a "right" version is, and also add what happens if finding a matching version fails.
1 parent bf9dae9 commit 437363c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/docs/autotools.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ Since some projects depend on specific versions of automake and, in some cases,
1111

1212
### automake wrapper
1313

14-
By default the [automake wrapper](https://packages.msys2.org/package/automake-wrapper) will detect the right version based on existing generated files and things will just work. You can also force a different version via the `WANT_AUTOMAKE` env var, and the newest available version via `WANT_AUTOMAKE=latest`.
14+
By default the [automake wrapper](https://packages.msys2.org/package/automake-wrapper) will detect the version to use based on existing generated files and things will just work. If there are no generated files, or if the detected version isn't available it will fall back to the newest available version. You can also force a different version via the `WANT_AUTOMAKE` env var, and the newest available version via `WANT_AUTOMAKE=latest`.
1515

1616
```shell
1717
WANT_AUTOMAKE='1.15' autoreconf -fvi
1818
```
1919

2020
### autoconf wrapper
2121

22-
By default the [autoconf wrapper](https://packages.msys2.org/package/autoconf-wrapper) will detect the right version based on existing generated files and things will just work. You can also force a different version via the `WANT_AUTOCONF` env var, and the newest available version via `WANT_AUTOCONF=latest`.
22+
By default the [autoconf wrapper](https://packages.msys2.org/package/autoconf-wrapper) will detect the version to use based on existing generated files and things will just work. If there are no generated files, or if the detected version isn't available it will fall back to the newest available version. You can also force a different version via the `WANT_AUTOCONF` env var, and the newest available version via `WANT_AUTOCONF=latest`.
2323

2424
```bash
2525
WANT_AUTOCONF='2.69' autoreconf -fvi

0 commit comments

Comments
 (0)