cmake HAVE_GCC_DESTRUCTOR examples

Froser/gamemachine src/3rdparty/openal-soft-1.19.1/CMakeLists.txt :333

CHECK_C_SOURCE_COMPILES("int foo() __attribute__((destructor));
                             int main() {return 0;}" HAVE_GCC_DESTRUCTOR)