diff options
author | Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> | 2012-11-01 18:48:53 +0100 |
---|---|---|
committer | Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> | 2012-11-01 18:51:35 +0100 |
commit | f3c09cc3c41e7ec1faf9dfef269a99a8ef7d5838 (patch) | |
tree | 541647e1916325907a0f90e6bf7a984a114e3d8b | |
parent | a4ec5de5ed537604ef0229990dc449821ad13a4f (diff) |
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
-rw-r--r-- | configure.ac | 3 |
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 |