mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-13 15:18:14 +00:00
* Haiku OS port * haiku with X11 backend * haiku has stpncpy * Haiku is not Linux. * X not stable enough on Haiku * Haiku : settimeofday is a no-op * Haiku : no need to define settimeofday at all (pointed by nbriggs) --------- Signed-off-by: Anarchos <sylvain_kerjean@hotmail.com>
19 lines
613 B
Bash
Executable File
19 lines
613 B
Bash
Executable File
#!/bin/sh
|
|
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
|
os=${LDEARCH:-`$SCRIPTPATH/config.guess`}
|
|
case "$os" in
|
|
m68k-*-amigaos) echo amigaos ;;
|
|
sparc-sun-sunos*) echo sunos4 ;;
|
|
sparc-sun-solaris1*) echo sunos4 ;;
|
|
*-*-solaris2*) echo sunos5 ;;
|
|
alpha-dec-osf1) echo osf1 ;;
|
|
*-apple-darwin*) echo darwin ;;
|
|
*-*-linux*) echo linux ;;
|
|
*-*-openbsd*) echo openbsd ;;
|
|
*-*-freebsd*) echo freebsd ;;
|
|
*-*-cygwin*) echo cygwin ;;
|
|
*-*-haiku*) echo haiku ;;
|
|
esac
|
|
### Don't leave the variable set.
|
|
unset os
|