Fix FTBFS with autoconf 2.71
Closes: #993157
Simon McVittie
2 years ago
0 | From: Simon McVittie <smcv@debian.org> | |
1 | Date: Mon, 6 Sep 2021 10:07:46 +0100 | |
2 | Subject: build: Remove redundant AC_CONFIG_AUX_DIRS | |
3 | ||
4 | There's an invocation of AC_CONFIG_AUX_DIR(build-scripts) at the top of | |
5 | the file, which is sufficient. AC_CONFIG_AUX_DIRS is an undocumented, | |
6 | internal version of AC_CONFIG_AUX_DIR that takes a whitespace-separated | |
7 | list, instead of a single path to add to the list. | |
8 | ||
9 | Newer versions of autoconf treat the argument to AC_CONFIG_AUX_DIRS | |
10 | as being literal (they do not expand the shell variable), causing | |
11 | autoreconf to fail. The argument to AC_CONFIG_AUX_DIR is documented | |
12 | to be relative to $srcdir anyway, so there is no need to specify $srcdir | |
13 | a second time. | |
14 | ||
15 | Part of commit 614326ff "autotools build system updates" upstream. | |
16 | ||
17 | Bug-Debian: https://bugs.debian.org/993157 | |
18 | Forwarded: not-needed, part of a larger commit upstream | |
19 | --- | |
20 | configure.in | 1 - | |
21 | 1 file changed, 1 deletion(-) | |
22 | ||
23 | diff --git a/configure.in b/configure.in | |
24 | index 240a322..02b97a4 100644 | |
25 | --- a/configure.in | |
26 | +++ b/configure.in | |
27 | @@ -41,7 +41,6 @@ AC_SUBST(LT_REVISION) | |
28 | AC_SUBST(LT_AGE) | |
29 | ||
30 | dnl Detect the canonical build and host environments | |
31 | -AC_CONFIG_AUX_DIRS($srcdir/build-scripts) | |
32 | dnl AC_CANONICAL_HOST | |
33 | ||
34 | dnl Check for tools |