From 06af12a4aa331b56db3b923798f9a7eb4588ed61 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 4 Jun 2004 20:35:05 +0000 Subject: [PATCH] cleanup --- stepmania/autoconf/m4/lua.m4 | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/stepmania/autoconf/m4/lua.m4 b/stepmania/autoconf/m4/lua.m4 index 70cd4ba4b4..1d3dc1c603 100644 --- a/stepmania/autoconf/m4/lua.m4 +++ b/stepmania/autoconf/m4/lua.m4 @@ -17,11 +17,16 @@ else if test "$LIB_LUA_LIB" = ""; then AC_CHECK_LIB(lualib50, luaopen_base, LIB_LUA_LIB=-llualib50, , [$LIB_LUA]) fi - if test "$LIB_LUA" = "" -o "$LIB_LUA_LIB" = ""; then + if test "$LIB_LUA" = ""; then echo - echo "*** liblua is required to build StepMania; please" - echo "*** make sure that liblua is installed to continue" - echo "*** the installation process." + echo "*** liblua is required to build StepMania; please make sure that" + echo "*** it is installed to continue the installation process." + exit 0; + fi + if test "$LIB_LUA_LIB" = ""; then + echo + echo "*** liblualib is required to build StepMania; please make sure that" + echo "*** it is installed to continue the installation process." exit 0; fi LUA_CFLAGS=