added UnixWare recognition

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2003-04-12 00:32:22 +00:00
parent 66f2199449
commit 4a8900f257
2 changed files with 40 additions and 28 deletions

View File

@ -64,32 +64,35 @@ dnl ------------------------------------------------------------------------
dnl Check platform (host system)
dnl ------------------------------------------------------------------------
dnl assume Unix
dnl OS (assume Unix)
USE_UNIX=1
USE_WIN32=0
USE_DOS=0
USE_BEOS=0
USE_MAC=0
USE_LINUX=
USE_SGI=
USE_HPUX=
USE_SYSV=
USE_SVR4=
dnl Unix kind
USE_AIX=
USE_SUN=
USE_SOLARIS=
USE_SUNOS=
USE_ALPHA=
USE_OSF=
USE_BSD=
USE_DARWIN=
USE_FREEBSD=
USE_OPENBSD=
USE_HPUX=
USE_LINUX=
USE_NETBSD=
USE_OPENBSD=
USE_OSF=
USE_SGI=
USE_SOLARIS=
USE_SUN=
USE_SUNOS=
USE_SVR4=
USE_SYSV=
USE_VMS=
USE_ULTRIX=
USE_DATA_GENERAL=
USE_UNIXWARE=
dnl hardware platform
USE_ALPHA=
dnl on some platforms xxx_r() functions are declared inside "#ifdef
dnl _REENTRANT" and it's easier to just define this symbol for these platforms
@ -236,6 +239,13 @@ case "${host}" in
DEFAULT_DEFAULT_wxUSE_MOTIF=1
;;
*-*-*UnixWare*)
USE_SYSV=1
USE_SVR4=1
USE_UNIXWARE=1
AC_DEFINE(__UNIXWARE__)
;;
*-*-cygwin* | *-*-mingw32* )
dnl MBN: some of the defines have been moved after toolkit detection
dnl because for wxMotif/wxGTK/wxX11 to build on Cygwin

View File

@ -70,27 +70,29 @@
#define wxUSE_UNIX 0
#undef __UNIX__
#undef __LINUX__
#undef __SGI__
#undef __HPUX__
#undef __SYSV__
#undef __SVR4__
#undef __AIX__
#undef __SUN__
#undef __SOLARIS__
#undef __SUNOS__
#undef __ALPHA__
#undef __IA64__
#undef __OSF__
#undef __BSD__
#undef __FREEBSD__
#undef __DARWIN__
#undef __EMX__
#undef __FREEBSD__
#undef __HPUX__
#undef __LINUX__
#undef __NETBSD__
#undef __OPENBSD__
#undef __VMS__
#undef __OSF__
#undef __SGI__
#undef __SOLARIS__
#undef __SUN__
#undef __SUNOS__
#undef __SVR4__
#undef __SYSV__
#undef __ULTRIX__
#undef __DATA_GENERAL__
#undef __EMX__
#undef __UNIXWARE__
#undef __VMS__
#undef __IA64__
#undef __ALPHA__
/* NanoX (with wxX11) */
#define wxUSE_NANOX 0