summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b420286e2031..e1598e718392 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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