diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2015-02-03 21:12:07 -0500 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2015-02-04 02:15:06 +0000 |
commit | 9e1ddb5b73c28b531186c526ead54bfd544f149d (patch) | |
tree | 8d07920a8236632daea5c9e0e5d79781de19ac48 | |
parent | 89e6f4c468eaa9b479d7c1a24ca83223f23f5c95 (diff) |
Only set HAVE_LUA if we, er, have Lua.
Change-Id: Idb6f1dfa06c2b4e5d9e1f77743f13b4e0a6d8afe
Reviewed-on: https://code.wireshark.org/review/6942
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
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) |