[Pkg-mono-svn-commits] [SCM] mono branch, master-experimental, updated. debian/2.10.1-4-37-g03befb1

Mirco Bauer meebey at meebey.net
Sun Aug 7 16:05:43 UTC 2011


The following commit has been merged in the master-experimental branch:
commit 247307f1b8eac1bb2a198d4d87e6f30a3f285de5
Merge: b968c080dd0580ec0c3d5a66d6696b2726b5ef95 35f3a1e228bb8dccbdacdbb70d9bbe209aeb579c
Author: Mirco Bauer <meebey at meebey.net>
Date:   Sun Aug 7 17:57:34 2011 +0200

    Merge branch 'master-experimental-patches/kfreebsd_support' into merge/2.10.3

diff --combined configure.in
index c87a0a1,ff65880..40d0d9c
--- a/configure.in
+++ b/configure.in
@@@ -128,6 -128,17 +128,17 @@@ case "$host" i
  		with_sigaltstack=no
  		use_sigposix=yes
  		;;
+ 	*-*-kfreebsd*-gnu)
+ 		platform_win32=no
+ 		CPPFLAGS="$CPPFLAGS -DGC_FREEBSD_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -DTHREAD_LOCAL_ALLOC -pthread"
+ 		libmono_cflags="-D_REENTRANT -DTHREAD_LOCAL_ALLOC -pthread"
+ 		libmono_ldflags="-lpthread -pthread"
+ 		libdl="-ldl"
+ 		libgc_threads=pthreads
+ 		need_link_unlink=yes
+ 		with_sigaltstack=no
+ 		use_sigposix=yes
+ 		;;
  	*-*-*freebsd*)
  		host_win32=no
  		if test "x$PTHREAD_CFLAGS" = "x"; then
@@@ -2209,7 -2220,7 +2220,7 @@@ case "$host" i
  			sgen_supported=true
  			AOT_SUPPORTED="yes"
  			;;
- 		  darwin*|openbsd*|freebsd*)
+ 		  darwin*|openbsd*|freebsd*|kfreebsd-gnu*)
  			sgen_supported=true
  		        ;;
  		esac
@@@ -2224,7 -2235,7 +2235,7 @@@
  			sgen_supported=true
  			AOT_SUPPORTED="yes"
  			;;
- 		  darwin*|openbsd*|freebsd*)
+ 		  darwin*|openbsd*|freebsd*|kfreebsd-gnu*)
  			sgen_supported=true
  			;;
  		esac
@@@ -2555,6 -2566,11 +2566,11 @@@ case "$host" i
  	LIBC="libc.so.12"
  	INTL="libintl.so.0"
  	;;
+      *-*-kfreebsd*-gnu)
+ 	LIBC="libc.so.0.1"
+ 	INTL="libc.so.0.1"
+ 	X11="libX11.so.6"
+ 	;;
      *-*-*freebsd*)
      	LIBC="libc.so"
  	INTL="libintl.so"
@@@ -2651,24 -2667,15 +2667,24 @@@ if test "x$with_tls" = "x__thread"; the
  	])
  fi
  
 -if test ${TARGET} = ARM && test x$cross_compiling = xno && test x$enable_mcs_build != xno; then
 +AC_ARG_WITH(fpu, [ --with-fpu=FPA,VFP,NONE    Select fpu to use on arm],[fpu=$withval])
 +
 +if test ${TARGET} = ARM; then
  	dnl ******************************************
  	dnl *** Check to see what FPU is available ***
  	dnl ******************************************
  	AC_MSG_CHECKING(which FPU to use)
  
 -	AC_TRY_COMPILE([], [
 -		__asm__ ("ldfd f0, [r0]");
 -		], fpu=FPA, fpu=NONE)
 +	if test "x$fpu" = "x"; then
 +
 +		AC_TRY_COMPILE([], [
 +			__asm__ ("ldfd f0, [r0]");
 +		], fpu=FPA, [
 +				AC_TRY_COMPILE([], [
 +					__asm__ ("fldd d0, [r0]");
 +				], fpu=VFP, fpu=NONE)
 +		])
 +	fi
  
  	AC_MSG_RESULT($fpu)
  	CPPFLAGS="$CPPFLAGS -DARM_FPU_$fpu=1"

-- 
mono



More information about the Pkg-mono-svn-commits mailing list