Added SOLARIS define

This commit is contained in:
Harry Moffat 2008-12-30 00:21:51 +00:00
parent 89a8b49ded
commit a0f170edd9
2 changed files with 9 additions and 0 deletions

View file

@ -71,6 +71,10 @@ typedef int ftnlen; // Fortran hidden string length type
// microsoft vc++ being used as the compiler // microsoft vc++ being used as the compiler
#undef WINMSVC #undef WINMSVC
// Identify whether the operating system is solaris
// with a native compiler
#undef SOLARIS
//--------- Fonts for reaction path diagrams ---------------------- //--------- Fonts for reaction path diagrams ----------------------
#undef RXNPATH_FONT #undef RXNPATH_FONT

View file

@ -85,6 +85,7 @@ SHARED_CTLIB=0
OS_IS_DARWIN=0 OS_IS_DARWIN=0
OS_IS_WIN=0 OS_IS_WIN=0
OS_IS_CYGWIN=0 OS_IS_CYGWIN=0
OS_IS_SOLARIS=0
EXTRA_LINK=${EXTRA_LINK:=""} EXTRA_LINK=${EXTRA_LINK:=""}
# default Matlab MEX file extension # default Matlab MEX file extension
@ -99,6 +100,7 @@ case $ac_sys_system in
# mex_ext=mexmaci # mex_ext=mexmaci
;;#fi;; ;;#fi;;
CYGWIN*) OS_IS_CYGWIN=1; mex_ext=mexw32;; CYGWIN*) OS_IS_CYGWIN=1; mex_ext=mexw32;;
SunOS*) OS_IS_SOLARIS=1;;
Linux* ) case $BITHARDWARE in Linux* ) case $BITHARDWARE in
64 ) if test "$BITCHANGE" = "y" ; then 64 ) if test "$BITCHANGE" = "y" ; then
ldemulationarg='-melf_i386' ldemulationarg='-melf_i386'
@ -260,6 +262,9 @@ fi
if test "x${OS_IS_CYGWIN}" = "x1"; then if test "x${OS_IS_CYGWIN}" = "x1"; then
AC_DEFINE_UNQUOTED(CYGWIN,$OS_IS_CYGWIN) AC_DEFINE_UNQUOTED(CYGWIN,$OS_IS_CYGWIN)
fi fi
if test "x${OS_IS_SOLARIS}" = "x1"; then
AC_DEFINE_UNQUOTED(CYGWIN,$OS_IS_SOLARIS)
fi
if test "x${OS_IS_WIN}" = "x1"; then if test "x${OS_IS_WIN}" = "x1"; then
AC_DEFINE_UNQUOTED(WINMSVC,$OS_IS_WIN) AC_DEFINE_UNQUOTED(WINMSVC,$OS_IS_WIN)
fi fi