Kaydet (Commit) 3ddb3345 authored tarafından Riccardo Magliocchetti's avatar Riccardo Magliocchetti Kaydeden (comit) Petr Mladek

configure: don't enable ENABLE_NPAPI_FROM_BROWSER with --enable-headless

This fix a build error since otherwise X libraries are required
Backport of 759cc275

Change-Id: Iba718969dca90563ba9e60aa16944e6de67c7141
Reviewed-on: https://gerrit.libreoffice.org/3786Reviewed-by: 's avatarAndras Timar <atimar@suse.com>
Tested-by: 's avatarAndras Timar <atimar@suse.com>
üst f9e0e980
...@@ -8418,7 +8418,7 @@ dnl =================================================================== ...@@ -8418,7 +8418,7 @@ dnl ===================================================================
dnl Check for NPAPI interface to plug browser plugins into LibreOffice documents dnl Check for NPAPI interface to plug browser plugins into LibreOffice documents
dnl =================================================================== dnl ===================================================================
AC_MSG_CHECKING([whether to plug browser plugins into LibreOffice documents]) 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 then
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
ENABLE_NPAPI_FROM_BROWSER=YES ENABLE_NPAPI_FROM_BROWSER=YES
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment