Skip to content

Commit

Permalink
test: Fix path used in AC_CONFIG_AUX_DIR
Browse files Browse the repository at this point in the history
AC_CONFIG_AUX_DIRS is an undocumented, internal version of
AC_CONFIG_AUX_DIR that takes a whitespace-separated list, instead of a
single path to add to the list. Use the documented version instead, as
in the top-level configure.ac.

Newer versions of autoconf treat the argument to AC_CONFIG_AUX_DIRS
as being literal (they do not expand the shell variable), causing
autoreconf to fail. The argument to AC_CONFIG_AUX_DIR is documented
to be relative to $srcdir anyway, so there is no need to specify $srcdir
a second time.

Resolves: libsdl-org#4719
Signed-off-by: Simon McVittie <smcv@debian.org>
  • Loading branch information
smcv committed Sep 6, 2021
1 parent ddfd21a commit 1bc26a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/configure.ac
Expand Up @@ -3,7 +3,7 @@ AC_INIT
AC_CONFIG_SRCDIR([loopwave.c])

dnl Detect the canonical build and host environments
AC_CONFIG_AUX_DIRS($srcdir/../build-scripts)
AC_CONFIG_AUX_DIRS([../build-scripts])
AC_CANONICAL_HOST

dnl Check for tools
Expand Down

0 comments on commit 1bc26a9

Please sign in to comment.