summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2013-06-04 14:42:56 -0400
committerLennart Poettering <lennart@poettering.net>2013-06-06 10:10:54 +0200
commit5e63ce78b5018ba612e794a610a6f13c5eefade7 (patch)
treecac1655e8007a055534f6602a774e28ead701894 /configure.ac
parentaf4713396cff773beb56fef23cd8a9a3803670ab (diff)
build-sys: do not allow --enable static
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d266601aeb..bd46b33e85 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])