[Libreoffice-commits] .: configure.ac

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 1 10:52:33 PDT 2012


 configure.ac |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit f3c09cc3c41e7ec1faf9dfef269a99a8ef7d5838
Author: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
Date:   Thu Nov 1 18:48:53 2012 +0100

    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

diff --git a/configure.ac b/configure.ac
index b420286..e1598e7 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
 


More information about the Libreoffice-commits mailing list