summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2013-06-06 11:43:19 -0300
committerLucas De Marchi <lucas.demarchi@intel.com>2013-06-06 11:48:38 -0300
commitb7016153ec87dba2b0f0d182cc8f1e3b12f4dfaf (patch)
treee556f03cf649861aa13462b1b8eefd685780074d
parent4b9cab287263ec9c7558b54c5fec1feff0c82fe1 (diff)
downloadkmod-b7016153ec87dba2b0f0d182cc8f1e3b12f4dfaf.tar.gz
kmod-b7016153ec87dba2b0f0d182cc8f1e3b12f4dfaf.tar.bz2
kmod-b7016153ec87dba2b0f0d182cc8f1e3b12f4dfaf.zip
build-sys: do not allow --enable static
Do the same as done in systemd by Cristian Rodríguez <crrodriguez@opensuse.org>. We use private symbols, not namespaced. So don't pretend we support static linking.
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b8845d4..929eb7f 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
#####################################################################