From 81076d440799f67ed7a964685633f871520f61fc Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sun, 7 Oct 2012 12:34:57 +0000 Subject: [PATCH] build: safety measure in configure.ac to error out if a Lol Engine m4 macro is undefined. --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 31bba620..808a6675 100644 --- a/configure.ac +++ b/configure.ac @@ -34,6 +34,10 @@ m4_pattern_allow([^PKG_CONFIG_LIBDIR$]) m4_pattern_forbid([^PKG_CHECK_MODULES$]) m4_pattern_forbid([^PKG_PROG_PKG_CONFIG$]) +dnl Same for Lol Engine M4 files. +m4_pattern_forbid([^LOL_]) + + dnl Do not use PKG_CONFIG_LIBDIR when cross-compiling. if test "${build}" != "${host}" -a "${PKG_CONFIG_LIBDIR}" = ""; then export PKG_CONFIG_LIBDIR=/dev/null @@ -152,7 +156,7 @@ dnl Are we on a Direct3D 9 platform? #fi #AM_CONDITIONAL(USE_D3D9, test "${ac_cv_my_have_d3d9}" != "no") -LOL_CHECK_OPENGL() +LOL_CHECK_OPENGL dnl Use SDL? (always required on Linux or Win32)