GCC's atomic built-ins were introduced in 4.1.0, so check for that version
tree46d2b3cf8b4db4698b382ff2b846e4bc47a50fd9
-rw-r--r-- 6 .gitignore
drwxr-xr-x - Alc
-rw-r--r-- 23346 CMakeLists.txt
-rw-r--r-- 25269 COPYING
drwxr-xr-x - OpenAL32
-rw-r--r-- 1662 README
-rw-r--r-- 1310 XCompile.txt
-rw-r--r-- 9585 alsoftrc.sample
drwxr-xr-x - build
drwxr-xr-x - cmake
-rw-r--r-- 3035 config.h.in
drwxr-xr-x - include
-rw-r--r-- 300 openal.pc.in
drwxr-xr-x - utils