m4_ifdef([_A][M_PROG_TAR],[_A][M_SET_OPTION([tar-ustar])])
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(mono,1.2.6)
+AM_INIT_AUTOMAKE(mono,1.9)
AM_MAINTAINER_MODE
API_VER=1.0
no_version_script=yes
libdl=
libgc_threads=pthreads
+ if test "x$cross_compiling" = "xyes"; then
+ has_broken_apple_cpp=yes
+ fi
;;
*)
AC_MSG_WARN([*** Please add $host to configure.in checks!])
case $with_glib in
embedded)
- GLIB_CFLAGS='-I$(top_srcdir)/eglib/src'
+ GLIB_CFLAGS='-I$(top_srcdir)/eglib/src -I$(top_builddir)/eglib/src'
GLIB_LIBS='-L$(top_builddir)/eglib/src -leglib -lm'
BUILD_GLIB_CFLAGS="$GLIB_CFLAGS"
BUILD_GLIB_LIBS="$GLIB_LIBS"
if test x$platform_win32 = xno; then
+ dnl hires monotonic clock support
+ AC_SEARCH_LIBS(clock_gettime, rt)
+
dnl dynamic loader support
AC_CHECK_FUNC(dlopen, DL_LIB="",
AC_CHECK_LIB(dl, dlopen, DL_LIB="-ldl", dl_support=no)
dnl *** Checks for math functions ***
dnl *********************************
LIBS="$LIBS -lm";
- AC_CHECK_FUNCS(finite, , AC_MSG_CHECKING(for finite in math.h)
- AC_TRY_LINK([#include <math.h>],
- [ finite(0.0); ],
- AC_DEFINE(HAVE_FINITE) AC_MSG_RESULT(yes),
- AC_MSG_RESULT(no)))
+ if text "x$has_broken_apple_cpp" != "xyes"; then
+ AC_CHECK_FUNCS(finite, , AC_MSG_CHECKING(for finite in math.h)
+ AC_TRY_LINK([#include <math.h>],
+ [ finite(0.0); ],
+ AC_DEFINE(HAVE_FINITE) AC_MSG_RESULT(yes),
+ AC_MSG_RESULT(no)))
+ fi
AC_CHECK_FUNCS(isfinite, , AC_MSG_CHECKING(for isfinite in math.h)
AC_TRY_LINK([#include <math.h>],
[ isfinite(0.0); ],
JIT_SUPPORTED=yes
jit_wanted=true
;;
+ arm*-darwin*)
+ TARGET=ARM;
+ arch_target=arm;
+ ACCESS_UNALIGNED="no"
+ JIT_SUPPORTED=yes
+ CPPFLAGS="$CPPFLAGS -DARM_FPU_NONE=1"
+ jit_wanted=true
+ ;;
arm*-linux*)
TARGET=ARM;
arch_target=arm;
])
fi
-if test ${TARGET} = ARM; then
+if test ${TARGET} = ARM && test x$cross_compiling = xno && test x$enable_mcs_build != xno; then
dnl ******************************************
dnl *** Check to see what FPU is available ***
dnl ******************************************
AC_CONFIG_FILES([runtime/mono-wrapper],[chmod +x runtime/mono-wrapper])
AC_CONFIG_FILES([runtime/monodis-wrapper],[chmod +x runtime/monodis-wrapper])
-AC_CONFIG_FILES([runtime/semdel-wrapper],[chmod +x runtime/semdel-wrapper])
AC_CONFIG_COMMANDS([runtime/etc/mono/1.0/machine.config],
[ depth=../../../..
echo 'IL_FLAGS = /debug' >> $srcdir/$mcsdir/build/config.make
echo "RUNTIME = $mono_build_root/runtime/mono-wrapper" >> $srcdir/$mcsdir/build/config.make
echo "ILDISASM = $mono_build_root/runtime/monodis-wrapper" >> $srcdir/$mcsdir/build/config.make
-
case $INSTALL in
[[\\/$]]* | ?:[[\\/]]* ) mcs_INSTALL=$INSTALL ;;
*) mcs_INSTALL=$mono_build_root/$INSTALL ;;