configure: don't accept -enable-headless where it won't work
Don't even try to build --enable-headless where GUIBASE would not be unx. Change-Id: I6e5a6d3071317171f42c0b1336502cec50ba72fa
This commit is contained in:
@@ -3945,6 +3945,9 @@ solaris*)
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
if test "$enable_headless" = "yes"; then
|
if test "$enable_headless" = "yes"; then
|
||||||
|
if test "$GUIBASE" != "unx"; then
|
||||||
|
AC_MSG_ERROR([$host_os operating system is not suitable to build LibreOffice with --enable-headless])
|
||||||
|
fi
|
||||||
GUIBASE=headless
|
GUIBASE=headless
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user