aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2015-07-27 20:31:20 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2015-07-28 11:18:44 +0200
commitc3f7aa7252ad9adb51cef1e35f566883ef953aad (patch)
tree456ddfb23cdfd3aeddfc2ac71a3e86ce4748fac6 /configure.ac
parent7b3f7da0ec70e7be0e3db9524d092d9e138ed448 (diff)
downloadsciteco-c3f7aa7252ad9adb51cef1e35f566883ef953aad.tar.gz
added full Haiku OS support (non x86_gcc2)
* Haiku can be handled like UNIX in most respects since it is POSIX compliant, has a UNIX-like terminal emulator and uses ncurses. * still the Glib platform macro is G_OS_HAIKU instead of G_OS_UNIX, so the preprocessor conditionals had to be adapted. * the only functional difference between a Haiku and UNIX build is the default SCITECOCONFIG path. We use the config path returned by Glib instead of $HOME, so .teco_ini will be in ~/config/settings on Haiku. Other UNIX ports appear to use the same conventions. * Some Haiku-specific restrictions still apply: * Haiku's terminal is xterm-compatible, but only supports 8 colors. Therefore only the terminal.tes color scheme can be used and the terminal must be set up to "Use bright instead of bold text". * The terminal has artifacts. This appears to be a Haiku bug and affects other curses applications as well. * GTK is yet unsupported on Haiku, so there may never be a GUI port (unless someone writes a QT GUI for SciTECO). * SciTECO cannot be built with the legacy gcc2 used for BeOS compatibility on Haiku. This would require too many changes for an obsolete platform. BeOS and the x86_gcc2 platform of Haiku will therefore never be supported. The PPC and ARM platforms of Haiku should work but are untested. * a HaikuPorts recipe will be provided for the next regular SciTECO release. This should hopefully allow installation via HaikuDepot.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f952d44..3011c22 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,8 +109,9 @@ AC_CHECK_FUNCS([memset setlocale strchr strrchr fstat], , [
])
# Library functions that should exist on UNIX/Linux
+# and UNIXoid systems
case $host in
-*-*-darwin* | *-*-linux* | *-*-cygwin*)
+*-*-darwin* | *-*-linux* | *-*-cygwin* | *-*-haiku*)
AC_CHECK_FUNCS([realpath fchown dup dup2], , [
AC_MSG_ERROR([Missing libc function])
])