diff options
Diffstat (limited to 'BuildTools')
-rw-r--r-- | BuildTools/SCons/SConstruct | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct index af2d747..0c1cf94 100644 --- a/BuildTools/SCons/SConstruct +++ b/BuildTools/SCons/SConstruct @@ -499,6 +499,13 @@ conf.Finish() # Lua env["LUA_BUNDLED"] = 1 +# Readline +conf = Configure(conf_env) +if conf.CheckCHeader(["stdio.h", "readline/readline.h"]) and conf.CheckLib("readline") : + env["HAVE_READLINE"] = True + env["READLINE_FLAGS"] = { "LIBS": ["readline"] } +conf.Finish() + # Avahi avahi_conf_env = conf_env.Clone() avahi_flags = {} |