From 518c1428b7bc9b3b3d3f6f43010fa88bdc4b69dc Mon Sep 17 00:00:00 2001 From: krcroft Date: Sun, 19 Jan 2020 10:31:39 -0800 Subject: [PATCH] Prevent autoconf leaking tokens into configure --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index 3636e267..22745d9a 100644 --- a/configure.ac +++ b/configure.ac @@ -24,6 +24,13 @@ AC_PROG_CXX AC_PROG_INSTALL AC_PROG_RANLIB +dnl Prevent autoconf from leaking non-understood tokens into the configure script +m4_pattern_forbid([PKG_PROG_PKG_CONFIG]) +m4_pattern_forbid([PKG_CHECK_MODULES]) +m4_pattern_forbid([^AC_]) +m4_pattern_forbid([^AH_]) +m4_pattern_forbid([^AX_]) + dnl Check for SDL SDL_VERSION=2.0.0 AM_PATH_SDL($SDL_VERSION,