--- libaitsched/configure.in 2026/05/19 15:56:20 1.61.2.1 +++ libaitsched/configure.in 2026/05/20 04:07:04 1.62 @@ -1,6 +1,6 @@ # # $Author: misho $ -# $Id: configure.in,v 1.61.2.1 2026/05/19 15:56:20 misho Exp $ +# $Id: configure.in,v 1.62 2026/05/20 04:07:04 misho Exp $ # AC_INIT(libaitsched, 8.6, misho@elwix.org) AC_CONFIG_SRCDIR([src/aitsched.c]) @@ -136,6 +136,20 @@ AC_ARG_WITH(elwix, ;; esac ],) AC_MSG_RESULT($ELWIX) + +ATOMIC=no +AC_MSG_CHECKING(Enable atomic lock support) +AC_ARG_ENABLE(atomic, + [ --enable-atomic Enable atomic lock support ], + [ ATOMIC=$enableval + case "$enableval" in + yes) + AC_DEFINE(ATOMIC_SUPPORT,, [atomic lock support]) + ;; + *) + ;; + esac ], ) +AC_MSG_RESULT($ATOMIC) DEBIAN_ARCH=$target_cpu AS_IF([ test "x$target_cpu" = "xarm6l" -o "x$target_cpu" = "xarm7l" ], DEBIAN_ARCH="armhf")