From c6603c262f0a49f28213eb094bb16984e27c540e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net>
Date: Tue, 16 Feb 2010 22:29:13 +0200
Subject: [PATCH] configure: one error message for missing Lua is enough

---
 configure.ac | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index c944df1371..96cd9fc767 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1606,9 +1606,6 @@ then
             AC_CHECK_LIB( lua , luaL_newstate,
               [LUA_LIBS="-llua"],
               [ have_lua=no
-                AS_IF([test "x${enable_lua}" = "xyes"],
-                  [AC_MSG_ERROR([lua >= 5.1 not found!])],
-                  [AC_MSG_WARN([lua >= 5.1 not found!])])
               ], [-lm])
           )
         )
-- 
2.25.4