From f3c09cc3c41e7ec1faf9dfef269a99a8ef7d5838 Mon Sep 17 00:00:00 2001 From: Riccardo Magliocchetti Date: Thu, 1 Nov 2012 18:48:53 +0100 Subject: [PATCH] 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 --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) 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