From 9e1ddb5b73c28b531186c526ead54bfd544f149d Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Tue, 3 Feb 2015 21:12:07 -0500 Subject: Only set HAVE_LUA if we, er, have Lua. Change-Id: Idb6f1dfa06c2b4e5d9e1f77743f13b4e0a6d8afe Reviewed-on: https://code.wireshark.org/review/6942 Reviewed-by: Jeff Morriss --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 7a7abbce6d..c0f0faf3f0 100644 --- a/configure.ac +++ b/configure.ac @@ -2381,6 +2381,9 @@ if test "x$want_lua" != "xno" ; then then AC_MSG_ERROR([Lua support was requested, but is not available]) fi +fi +if test "x$have_lua" = "xyes" +then AC_DEFINE(HAVE_LUA, 1, [Define to use Lua]) fi AM_CONDITIONAL(HAVE_LIBLUA, test x$have_lua = xyes) -- cgit v1.2.3