From: Lucas De Marchi Date: Thu, 6 Jun 2013 14:43:19 +0000 (-0300) Subject: build-sys: do not allow --enable static X-Git-Tag: v14~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b7016153ec87dba2b0f0d182cc8f1e3b12f4dfaf;p=thirdparty%2Fkmod.git build-sys: do not allow --enable static 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. --- 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 #####################################################################