summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-12-08 00:21:52 +0200
committerTor Lillqvist <tml@collabora.com>2016-12-08 00:21:52 +0200
commit8d3ade357d74eda30da6065f60591f29a81a8007 (patch)
tree6052176d0f2acb3a4e315efe12f28ca7cf672ce8 /configure.ac
parent0606c064f01b4e7e7c7d771765a2669379dd716a (diff)
Fix thinko
Change-Id: I086028a42bd6d35bdefeb58fb11693da4bcff59b
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1481343a0d4e..b32c24ae651f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4905,7 +4905,7 @@ dnl ===================================================================
dnl enable pch by default on windows
dnl enable it explicitly otherwise
ENABLE_PCH=""
-if test "$enable_pch" != no; then
+if test "$enable_pch" = yes -a "$enable_compiler_plugins" = yes; then
if test -z "$libo_fuzzed_enable_pch"; then
AC_MSG_ERROR([--enable-pch cannot be used with --enable-compiler-plugins])
else