diff options
author | Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> | 2013-05-04 19:24:40 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2013-05-05 06:46:41 +0000 |
commit | ca6943b8462b843a5f99fc3291cef86454f4ac7a (patch) | |
tree | 6736cb2417c4943db89ef00abfddcd910c4a9586 /configure.ac | |
parent | bb925573298d8be9c63f348cb4c13ff689634224 (diff) |
configure: don't enable ENABLE_NPAPI_FROM_BROWSER with --enable-headless
This fix a build error since otherwise X libraries are required
Backport of 759cc27530a5f58b43721f2d760c9429561a12fd
Change-Id: Iba718969dca90563ba9e60aa16944e6de67c7141
Reviewed-on: https://gerrit.libreoffice.org/3786
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 390b3eb6947a..b196fe9dba23 100644 --- a/configure.ac +++ b/configure.ac @@ -8304,7 +8304,7 @@ dnl =================================================================== dnl Check for NPAPI interface to plug browser plugins into LibreOffice documents dnl =================================================================== AC_MSG_CHECKING([whether to plug browser plugins into LibreOffice documents]) -if test "$_os" != Android -a "$_os" != iOS +if test "$_os" != Android -a "$_os" != iOS -a "$enable_headless" != yes then AC_MSG_RESULT([yes]) ENABLE_NPAPI_FROM_BROWSER=YES |