Browse Source

2008-11-21 Zoltan Varga <[email protected]>

	* configure.in: Only enable AOT on linux. Fixes #447265.

svn path=/trunk/mono/; revision=119604
Zoltan Varga 17 years ago
parent
commit
dcadb89406
2 changed files with 6 additions and 1 deletions
  1. 4 0
      ChangeLog
  2. 2 1
      configure.in

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+2008-11-21  Zoltan Varga  <[email protected]>
+
+	* configure.in: Only enable AOT on linux. Fixes #447265.
+
 2008-11-19  Jonathan Pryor  <[email protected]>
 
 	* configure.in: Remove mono/monoburg/Makefile; fixes the build.

+ 2 - 1
configure.in

@@ -143,6 +143,7 @@ case "$host" in
 		libmono_ldflags="-lpthread"
 		libdl="-ldl"
 		libgc_threads=pthreads
+		AOT_SUPPORTED="yes"
 		;;
 	*-*-hpux*)
         platform_win32=no
@@ -2388,7 +2389,7 @@ fi
     echo "MONO_VERSION = $myver" >> $srcdir/$mcsdir/build/config.make
   fi
 
-  if test x$TARGET = xAMD64 -a x$platform_win32 = xno; then
+  if test x$TARGET = xAMD64 -a x$platform_win32 = xno -a "x$AOT_SUPPORTED" = "xyes"; then
   	 echo "ENABLE_AOT = 1" >> $srcdir/$mcsdir/build/config.make
   fi