From bf6d1772501f87c8223761109ac40446bdd06ae5 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 4 Jun 2004 20:32:38 +0000 Subject: [PATCH] fix calling lua-config if lua-config50 was found --- stepmania/autoconf/m4/lua.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/autoconf/m4/lua.m4 b/stepmania/autoconf/m4/lua.m4 index 6957a2197b..70cd4ba4b4 100644 --- a/stepmania/autoconf/m4/lua.m4 +++ b/stepmania/autoconf/m4/lua.m4 @@ -2,8 +2,8 @@ AC_DEFUN(SM_LUA, [ AC_CHECK_PROGS(LUA_CONFIG, [lua-config50 lua-config], "") if test "$LUA_CONFIG" != ""; then - LUA_CFLAGS=`lua-config --include` - LUA_LIBS=`lua-config --static` + LUA_CFLAGS=`$LUA_CONFIG --include` + LUA_LIBS=`$LUA_CONFIG --static` else if test "$LIB_LUA" = ""; then AC_CHECK_LIB(lua, lua_open, LIB_LUA=-llua)