diff options
author | Quentin Young <qlyoung@users.noreply.github.com> | 2021-07-05 06:13:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-05 06:13:20 +0200 |
commit | 71bae95e4aa78a5f269d7d26171911169e0810b1 (patch) | |
tree | 36a3633d7eddd2d549366a5f8883d7868bacea8a /configure.ac | |
parent | Merge pull request #7674 from oerdnj/embedded-deb-packages (diff) | |
parent | doc: space code block (diff) | |
download | frr-71bae95e4aa78a5f269d7d26171911169e0810b1.tar.xz frr-71bae95e4aa78a5f269d7d26171911169e0810b1.zip |
Merge pull request #8888 from dlqs/lua-call
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c04956928..6108a3752 100644 --- a/configure.ac +++ b/configure.ac @@ -280,6 +280,8 @@ if test "$enable_clang_coverage" = "yes"; then ]) fi +AM_CONDITIONAL([SCRIPTING], [test "$enable_scripting" = "yes"]) + if test "$enable_scripting" = "yes"; then AX_PROG_LUA([5.3], [5.4], [], [ AC_MSG_ERROR([Lua 5.3 is required to build with Lua support. No other version is supported.]) @@ -290,7 +292,9 @@ if test "$enable_scripting" = "yes"; then AX_LUA_LIBS([ AC_DEFINE([HAVE_SCRIPTING], [1], [Have support for scripting]) LIBS="$LIBS $LUA_LIB" + SCRIPTING=true ], [ + SCRIPTING=false AC_MSG_ERROR([Lua 5.3 libraries are required to build with Lua support. No other version is supported.]) ]) fi |