Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Crichton <crichton@mono-cvs.ximian.com>2002-09-19 22:30:56 +0400
committerMark Crichton <crichton@mono-cvs.ximian.com>2002-09-19 22:30:56 +0400
commit3eedd84b1821f91acd8f7e95bc5863ddfdbf13e2 (patch)
tree0e92728159939020c1ab80419e5948cf771a6066 /configure.in
parent0a7663f9d510a3dba8ca57822d03d4e6fae1fbae (diff)
Beginning to add support for Solaris. Tested on Solaris 9.
Shared handles are still not working, will be addressed soon. Trampoline code still broken, expect a rewrite. svn path=/trunk/mono/; revision=7622
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index dcf3b3e93e8..3cd1bc0ff7b 100644
--- a/configure.in
+++ b/configure.in
@@ -311,6 +311,28 @@ if test x$platform_win32 = xno; then
AC_DEFINE_UNQUOTED(MONO_SIZEOF_SUNPATH, $cv_mono_sizeof_sunpath)
dnl *****************************
+ dnl *** Checks for libxnet ***
+ dnl *****************************
+ case "${host}" in
+ *solaris* )
+ AC_MSG_CHECKING(for Solaris XPG4 support)
+ if test -f /usr/lib/libxnet.so; then
+ CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500"
+ CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__"
+ CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED=1"
+ LIBS="$LIBS -lxnet"
+ AC_MSG_RESULT(yes)
+ else
+ AC_MSG_RESULT(no)
+ fi
+
+ if test "$GCC" = "yes"; then
+ CFLAGS="$CFLAGS -Wno-char-subscripts"
+ fi
+ ;;
+ esac
+
+ dnl *****************************
dnl *** Checks for libpthread ***
dnl *****************************
AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread")