diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-20 09:23:57 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-20 09:23:57 +0000 |
commit | dde3886a5067d1b49ac8ad50383c388f469978b3 (patch) | |
tree | 5915844590b90594891d89a78f9586624bec27ba /configure.ac | |
parent | 298916773ff3b80112cbac6c2ff6d41e7e280db1 (diff) | |
download | manaserv-dde3886a5067d1b49ac8ad50383c388f469978b3.tar.gz manaserv-dde3886a5067d1b49ac8ad50383c388f469978b3.tar.xz manaserv-dde3886a5067d1b49ac8ad50383c388f469978b3.zip |
Enabled Lua scripting by default.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index 8516666..4aebed8 100644 --- a/configure.ac +++ b/configure.ac @@ -94,15 +94,17 @@ fi # Checks for Lua support AC_ARG_ENABLE( [lua-engine], - AS_HELP_STRING([--enable-lua-engine], [support Lua scripts]), - [if test "$enable_lua_engine" = "yes"; then - PKG_CHECK_MODULES(LUA, [lua5.1 >= 5.1]) - CXXFLAGS="$CXXFLAGS $LUA_CFLAGS" - LIBS="$LIBS $LUA_LIBS" - fi], - [enable_lua_engine="no"] + AS_HELP_STRING([--disable-lua-engine], [do not support Lua scripts]), + [], + [enable_lua_engine="yes"] ) +if test "$enable_lua_engine" = "yes"; then + PKG_CHECK_MODULES(LUA, [lua5.1 >= 5.1]) + CXXFLAGS="$CXXFLAGS $LUA_CFLAGS" + LIBS="$LIBS $LUA_LIBS" +fi + AM_CONDITIONAL(BUILD_MYSQL, test "$with_storage_backend" = "mysql") AM_CONDITIONAL(BUILD_POSTGRESQL, test "$with_storage_backend" = "postgresql") AM_CONDITIONAL(BUILD_SQLITE, test "$with_storage_backend" = "sqlite") |