From b7016153ec87dba2b0f0d182cc8f1e3b12f4dfaf Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Thu, 6 Jun 2013 11:43:19 -0300 Subject: [PATCH] build-sys: do not allow --enable static MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Do the same as done in systemd by Cristian Rodríguez . We use private symbols, not namespaced. So don't pretend we support static linking. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index b8845d41..929eb7fe 100644 --- a/configure.ac +++ b/configure.ac @@ -18,6 +18,10 @@ AM_SILENT_RULES([yes]) LT_INIT([disable-static pic-only]) AC_PREFIX_DEFAULT([/usr]) +AS_IF([test "x$enable_static" = "xyes"], + [AC_MSG_ERROR([--enable-static is not supported by kmod])]) + + ##################################################################### # Program checks and configurations ##################################################################### -- 2.47.2