Merged in rest of Native Client changes, untested
[mono.git] / libgc / configure.in
index c7ce110c6c2a490f4ce36c6f8a14f8f8d34a4f35..e68d7382883db2b9bbbc3aab9cab64e61f18c387 100644 (file)
@@ -94,7 +94,7 @@ case "$THREADS" in
        fi
        AC_DEFINE(THREAD_LOCAL_ALLOC)
        ;;
-     *-*-linux*)
+     *-*-linux* | *-*-nacl*)
        AC_DEFINE(GC_LINUX_THREADS)
        AC_DEFINE(_REENTRANT)
        ;;
@@ -340,6 +340,9 @@ case "$host" in
      machdep="mach_dep.lo ia64_save_regs_in_stack.lo"
        target_ia64=true
     ;;
+ *-*-nacl*)
+    AC_DEFINE(NO_EXECUTE_PERMISSION)
+    ;;
 esac
 if test x"$machdep" = x; then
 AC_MSG_RESULT($machdep)