diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2013-06-06 11:43:19 -0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2013-06-06 11:48:38 -0300 |
commit | b7016153ec87dba2b0f0d182cc8f1e3b12f4dfaf (patch) | |
tree | e556f03cf649861aa13462b1b8eefd685780074d | |
parent | 4b9cab287263ec9c7558b54c5fec1feff0c82fe1 (diff) | |
download | kmod-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.ac | 4 |
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 ##################################################################### |