* configure.ac: Call CHECK_ATOMIC after setting the C++ options. This is probably not necessary, but it makes more sense. * m4/l_atomic.m4: Augment the test body with a scenario that actually requires -latomic.
* configure.ac, m4/l_atomic.m4, python/Makefile.am, tests/Makefile.am: Here.