summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2544084..f76e9d5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,6 +35,10 @@ AM_PROG_CC_C_O
LINGUAS=""
AM_GNU_GETTEXT([external], [need-ngettext])
+if test "$enable_static" = "yes"; then
+ AC_MSG_ERROR([p11-kit cannot be used as a static library])
+fi
+
AC_MSG_CHECKING([for win32])
case "$host" in
*-*-mingw*)