summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2013-05-04 18:16:25 +0200
committerRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2013-05-04 18:16:25 +0200
commit759cc27530a5f58b43721f2d760c9429561a12fd (patch)
tree3f8c10db44c9c2066059cf2a034d8527d50f02f3 /configure.ac
parentba09793d3b566d30ecb49422ce02fe4b2e2c7600 (diff)
configure: no ENABLE_NPAPI_FROM_BROWSER for --enable-headless
Change-Id: Icc986a13700396913e89299826f58cd107ff2673
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d8fd6dffab8f..0be1aa4fbe6c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8498,7 +8498,8 @@ dnl ===================================================================
AC_MSG_CHECKING([whether to plug browser plugins into LibreOffice documents])
# Obviously no such thing on iOS or Android. Also not possible when building
# 64-bit OS X code as the plugin code uses QuickTime and Carbon.
-if test "$_os" != Android -a "$_os" != iOS -a \( $_os != Darwin -o "$BITNESS_OVERRIDE" = "" \)
+if test "$_os" != Android -a "$_os" != iOS -a \( $_os != Darwin -o "$BITNESS_OVERRIDE" = "" \) -a \
+ "$enable_headless" != yes
then
AC_MSG_RESULT([yes])
ENABLE_NPAPI_FROM_BROWSER=YES