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:
parent
a4ec5de5ed
commit
f3c09cc3c4
@ -3945,6 +3945,9 @@ solaris*)
|
||||
esac
|
||||
|
||||
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
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user