AM_CONDITIONAL(NO_VERSION_SCRIPT, test x$no_version_script = xyes)
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h sys/utime.h semaphore.h sys/un.h linux/rtc.h sys/syscall.h sys/mkdev.h)
-AC_CHECK_HEADERS(sys/user.h)
+AC_CHECK_HEADERS(sys/user.h sys/ipc.h sys/sem.h alloca.h ucontext.h)
AC_CHECK_HEADER(zlib.h, [have_zlib=yes], [have_zlib=no])
if test x$have_zlib = xyes; then
powerpc-*-sysv* | powerpc-*-darwin* | powerpc-*-netbsd* )
if test "x$ac_cv_sizeof_void_p" = "x8"; then
TARGET=POWERPC64;
+ CPPFLAGS="$CPPFLAGS -D__mono_ppc__ -D__mono_ppc64__"
else
TARGET=POWERPC;
+ CPPFLAGS="$CPPFLAGS -D__mono_ppc__"
fi
AC_DEFINE(MONO_ARCH_REGPARMS,1,[Architecture uses registers for Parameters])
arch_target=ppc;
echo "MONO_VERSION = $myver" >> $srcdir/$mcsdir/build/config.make
fi
+ if test x$TARGET = xAMD64 -a x$platform_win32 = xno; then
+ echo "ENABLE_AOT = 1" >> $srcdir/$mcsdir/build/config.make
+ fi
+
# if we have an olive folder, override the default settings
if test -d $olivedir; then
"
if test x$with_static_mono = xno -a "x$platform_win32" != "xyes"; then
- AC_MSG_WARN(Turning off static Mono is a risk, you might run into unexepcted bugs)
+ AC_MSG_WARN(Turning off static Mono is a risk, you might run into unexpected bugs)
fi
if test x$gc = xsgen; then