2008-11-21 Zoltan Varga <vargaz@gmail.com>
authorZoltan Varga <vargaz@gmail.com>
Fri, 21 Nov 2008 12:45:09 +0000 (12:45 -0000)
committerZoltan Varga <vargaz@gmail.com>
Fri, 21 Nov 2008 12:45:09 +0000 (12:45 -0000)
* configure.in: Only enable AOT on linux. Fixes #447265.

svn path=/trunk/mono/; revision=119604

ChangeLog
configure.in

index cac5f36f5944bacd9a19776eeef4145682f9259f..424a67a8f7b8db8ee38179c1294899c221ba6d3d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-11-21  Zoltan Varga  <vargaz@gmail.com>
+
+       * configure.in: Only enable AOT on linux. Fixes #447265.
+
 2008-11-19  Jonathan Pryor  <jpryor@novell.com>
 
        * configure.in: Remove mono/monoburg/Makefile; fixes the build.
index 1d7cd8bbf0d7207826e33c06277c9b958243e371..0e9bfce07491c1f407bfd83b4c926236e484a208 100644 (file)
@@ -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