From f436d69c7188c97bbde9771a941d935fab60c86a Mon Sep 17 00:00:00 2001 From: Kubat <mael.martin31@gmail.com> Date: Mon, 7 Sep 2020 17:47:42 +0200 Subject: [PATCH] BUILD: Default to build static modules By default, lektor is built with modules inside. The old behaviour was just painfull. --- configure | 6 +++--- configure.ac | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 440c4c28..ca7d3351 100755 --- a/configure +++ b/configure @@ -1422,7 +1422,7 @@ Optional Features: optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --enable-debug Enable debug so you can use gdb - --enable-static-module Build modules statically in liblektor + --disable-static-module Build modules statically not in liblektor Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -13541,9 +13541,9 @@ fi # Check whether --enable-static-module was given. if test "${enable_static_module+set}" = set; then : - enableval=$enable_static_module; LKT_STATIC_MODULE=yes + enableval=$enable_static_module; LKT_STATIC_MODULE=no else - LKT_STATIC_MODULE=no + LKT_STATIC_MODULE=yes fi if test "x${LKT_STATIC_MODULE}" = "xyes"; then diff --git a/configure.ac b/configure.ac index 8f32808d..cfa88917 100644 --- a/configure.ac +++ b/configure.ac @@ -88,10 +88,10 @@ if test "x${LKT_DEBUG_ENABLED}" = "xyes" ; then fi AC_ARG_ENABLE([static-module], - [AS_HELP_STRING([--enable-static-module], - [Build modules statically in liblektor])], - [LKT_STATIC_MODULE=yes], - [LKT_STATIC_MODULE=no]) + [AS_HELP_STRING([--disable-static-module], + [Build modules statically not in liblektor])], + [LKT_STATIC_MODULE=no], + [LKT_STATIC_MODULE=yes]) AM_CONDITIONAL([LKT_STATIC_MODULE], [test "x${LKT_STATIC_MODULE}" = "xyes"]) if test "x${LKT_STATIC_MODULE}" = "xyes" ; then AC_DEFINE([LKT_STATIC_MODULE], [], [Build with modules inside liblektor]) -- GitLab