[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r10820: add a _HOST to the OS define
From: |
rob |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r10820: add a _HOST to the OS defines so they don't conflict with other system defines of the same name. Add AmigaOS4 support as well. |
Date: |
Tue, 21 Apr 2009 14:46:40 -0600 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 10820
committer: address@hidden
branch nick: trunk
timestamp: Tue 2009-04-21 14:46:40 -0600
message:
add a _HOST to the OS defines so they don't conflict with other system
defines of the same name. Add AmigaOS4 support as well.
modified:
configure.ac
=== modified file 'configure.ac'
--- a/configure.ac 2009-04-21 18:40:48 +0000
+++ b/configure.ac 2009-04-21 20:46:40 +0000
@@ -98,6 +98,10 @@
DEFAULT_FLASH_PLATFORM_ID="HPX"
DEFAULT_FLASH_SYSTEM_OS="HPUX"
;;
+ *-amigaos*)
+ DEFAULT_FLASH_PLATFORM_ID="OS4"
+ DEFAULT_FLASH_SYSTEM_OS="AmigaOS4"
+ ;;
*)
DEFAULT_FLASH_PLATFORM_ID="UNK"
DEFAULT_FLASH_SYSTEM_OS="Unknown"
@@ -124,10 +128,11 @@
powerpc-apple-darwin*)
AC_DEFINE([__powerpc64__], [1], [this is a 64 bit powerpc])
darwin=yes
+ AC_DEFINE([DARWIN_HOST], [1], [this is a Darwin platform])
;;
*-apple-darwin*)
darwin=yes
- AC_DEFINE([DARWIN], [1], [this is a Darwin platform])
+ AC_DEFINE([DARWIN_HOST], [1], [this is a Darwin platform])
;;
dnl Unfortunately, all BSD distributions are not identical, so
dnl as tacky as it is to look for the distribution name, we don't
@@ -135,34 +140,38 @@
*-openbsd*)
bsd=yes
openbsd=yes
- AC_DEFINE([OPENBSD], [1], [this is an OpenBSD platform])
+ AC_DEFINE([OPENBSD_HOST], [1], [this is an OpenBSD platform])
;;
*-freebsd*)
bsd=yes
freebsd=yes
- AC_DEFINE([FREEBSD], [1], [this is a FreeBSD platform])
+ AC_DEFINE([FREEBSD_HOST], [1], [this is a FreeBSD platform])
;;
*-netbsd*)
bsd=yes
netbsd=yes
- AC_DEFINE([NETBSD], [1], [this is a NetBSD platform])
+ AC_DEFINE([NETBSD_HOST], [1], [this is a NetBSD platform])
;;
*-*solaris*)
solaris=yes
- AC_DEFINE([SOLARIS], [1], [this is a Solaris platform])
+ AC_DEFINE([SOLARIS_HOST], [1], [this is a Solaris platform])
;;
*-*linux*)
linux=yes
- AC_DEFINE([LINUX], [1], [this is a Linux platform])
+ AC_DEFINE([LINUX_HOST], [1], [this is a Linux platform])
;;
*-cygwin* | *-mingw* | *-pw32*)
windows=yes
- AC_DEFINE([WIN32], [1], [this is a Win32 platform])
+ AC_DEFINE([WIN32_HOST], [1], [this is a Win32 platform])
;;
*64-*-*bsd*)
bsd_os=bsd
AC_DEFINE([WORDSIZE], [64], [this is a 64 platform])
;;
+ *-*amigaos*)
+ amigaos4=yes
+ AC_DEFINE([AMIGAOS4_HOST], [1], [this is an AmigaOS4 platform])
+ ;;
esac
AM_CONDITIONAL(PLUGIN_LINK_UNDEFINED, test x$openbsd_os = xopenbsd)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r10820: add a _HOST to the OS defines so they don't conflict with other system defines of the same name. Add AmigaOS4 support as well.,
rob <=