summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2012-09-03 16:29:09 +0200
committerRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2012-09-03 20:00:32 +0200
commit95a9b3088fa02007f31e4280f0438dec1aeadf13 (patch)
treed6ee6e45913909c183e95383cb0e758c985f40c4 /configure.in
parent64a530cfa8e9be44965c9d708dfb642c2df2a59d (diff)
configure: always avoid building ns plugin extension with --enable-headless
Doing the same trick as osx and android. Change-Id: Ib2efa8166eca0017c86947acdedf20f3826dddaf
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index da4e35c287eb..f7d8f350097d 100644
--- a/configure.in
+++ b/configure.in
@@ -8329,7 +8329,7 @@ dnl Check for nsplugin
dnl ===================================================================
AC_MSG_CHECKING([whether to build nsplugin extension])
ENABLE_NSPLUGIN=NO
-if test $_os = Darwin -o $_os = iOS -o $_os = Android; then
+if test $_os = Darwin -o $_os = iOS -o $_os = Android -o "$enable_headless" = "yes"; then
enable_gtk=no
fi
if test "$enable_nsplugin" != "no"; then