diff options
-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 ##################################################################### |