host_win32=yes
if test "x$cross_compiling" = "xno"; then
target_win32=yes
- if test "x$host" == "x$target"; then
+ if test "x$host" == "x$build"; then
AC_DEFINE(TARGET_WIN32,1,[Target OS is Win32])
fi
CC="gcc -mno-cygwin -g"
AC_CHECK_FUNCS(getpriority)
AC_CHECK_FUNCS(setpriority)
AC_CHECK_FUNCS(dl_iterate_phdr)
+ AC_CHECK_FUNCS(dladdr)
AC_CHECK_FUNCS(sysconf)
AC_CHECK_FUNCS(sched_setaffinity)
AC_MSG_RESULT($try_dev_random)
-case "{$target}" in
+case "{$build}" in
*-openbsd*)
NAME_DEV_RANDOM="/dev/srandom"
;;
sgen_supported=true
AOT_SUPPORTED="yes"
;;
- darwin*|openbsd*)
+ darwin*|openbsd*|freebsd*)
sgen_supported=true
;;
esac
sgen_supported=true
AOT_SUPPORTED="yes"
;;
- darwin*|openbsd*)
+ darwin*|openbsd*|freebsd*)
sgen_supported=true
;;
esac