diff options
author | Kacper Kasper <kacperkasper@gmail.com> | 2018-02-18 15:15:56 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2018-02-19 12:58:11 +0100 |
commit | 60f1490af9b29ac2df8e9e9411e9d41b472f9113 (patch) | |
tree | 1a1fdafe5298129c66e96118695e60603565a55b /configure.ac | |
parent | 48fd0d45288bd8501f14c993cf613fe7743fabcd (diff) |
Buildsystem changes to recognize Haiku.
Change-Id: I219d556f8e124cfe426cc1ac3c54da34eb7ef790
Reviewed-on: https://gerrit.libreoffice.org/49925
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c40f61b3f1c7..e20e91e7fa42 100644 --- a/configure.ac +++ b/configure.ac @@ -786,6 +786,29 @@ linux-android*) BUILD_TYPE="$BUILD_TYPE CAIRO FONTCONFIG FREETYPE" ;; +haiku*) + test_cups=no + test_dbus=no + test_randr=no + test_xrender=no + test_freetype=yes + test_cairo=yes + enable_java=no + enable_opengl=no + enable_odk=no + enable_gconf=no + enable_gnome_vfs=no + enable_gstreamer=no + enable_vlc=no + enable_gltf=no + enable_collada=no + enable_coinmp=no + enable_pdfimport=no + enable_postgresql_sdbc=no + enable_firebird_sdbc=no + _os=Haiku + ;; + *) AC_MSG_ERROR([$host_os operating system is not suitable to build LibreOffice for!]) ;; @@ -4020,6 +4043,31 @@ freebsd*) esac ;; +haiku*) + COM=GCC + USING_X11= + GUIBASE=haiku + RTL_OS=Haiku + OS=HAIKU + P_SEP=: + + case "$host_cpu" in + i*86) + CPUNAME=INTEL + RTL_ARCH=x86 + PLATFORMID=haiku_x86 + ;; + x86_64|amd64) + CPUNAME=X86_64 + RTL_ARCH=X86_64 + PLATFORMID=haiku_x86_64 + ;; + *) + AC_MSG_ERROR([Unsupported host_cpu $host_cpu for host_os $host_os]) + ;; + esac + ;; + kfreebsd*) COM=GCC USING_X11=TRUE |