From 8c4a41f9835d56437c44631d97ef592e948385d9 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Sat, 17 Nov 2012 03:43:57 -0800 Subject: fix spinlocks; add --disable-atomics cfg opt --- configure | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'configure') diff --git a/configure b/configure index c0def38..e9864a6 100755 --- a/configure +++ b/configure @@ -648,6 +648,7 @@ enable_stow enable_optional_subprojects enable_vm enable_fp_emulation +enable_atomics ' ac_precious_vars='build_alias host_alias @@ -1283,6 +1284,7 @@ Optional Features: Enable all optional subprojects --disable-vm Disable virtual memory --disable-fp-emulation Disable floating-point emulation + --disable-atomics Emulate atomic ops nonatomically Some influential environment variables: CC C compiler command @@ -4047,6 +4049,19 @@ $as_echo "#define PK_ENABLE_FP_EMULATION /**/" >>confdefs.h fi +# Check whether --enable-atomics was given. +if test "${enable_atomics+set}" = set; then : + enableval=$enable_atomics; +fi + +if test "x$enable_atomics" != "xno"; then : + + +$as_echo "#define PK_ENABLE_ATOMICS /**/" >>confdefs.h + + +fi + -- cgit v1.1