SDL: test: Fix path used in AC_CONFIG_AUX_DIR

From 91ce6019df0e85b3bdcdc11734ea2984058194de Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
Date: Mon, 6 Sep 2021 10:40:23 +0100
Subject: [PATCH] test: Fix path used in AC_CONFIG_AUX_DIR

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. It also does not automatically treat
the given path as being relative to the $srcdir, unlike the documented

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 if $srcdir is explicitly specified. The argument to
AC_CONFIG_AUX_DIR is checked  relative to $srcdir anyway, so there is no
need to specify $srcdir a second time.

Signed-off-by: Simon McVittie <>
 test/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/ b/test/
index e2067e3add..a0450255a2 100644
--- a/test/
+++ b/test/
@@ -3,7 +3,7 @@ AC_INIT
 dnl Detect the canonical build and host environments
 dnl Check for tools