chiark / gitweb /
build-sys: do not allow --enable static
[elogind.git] / configure.ac
index d266601aebcc1532021e5ff18093d9df82340151..bd46b33e85d28282050aba7423cf084029172762 100644 (file)
@@ -44,6 +44,8 @@ AS_IF([test "x$host_cpu" = "xmips" || test "x$host_cpu" = "xmipsel" ||
 LT_PREREQ(2.2)
 LT_INIT([disable-static])
 
+AS_IF([test "x$enable_static" = "xyes"], [AC_MSG_ERROR([--enable-static is not supported by systemd])])
+
 # i18n stuff for the PolicyKit policy files
 IT_PROG_INTLTOOL([0.40.0])