cmake ALLEGRO_HAVE_POSIX_MONOTONIC_CLOCK examples

adventuregamestudio/ags libsrc/allegro/CMakeLists.txt :106

check_c_source_compiles("
        #include <time.h>
        int main(void) {
            struct timespec new_time_ns;
            clock_gettime(CLOCK_MONOTONIC, &new_time_ns);
            return 0;
        }"
            ALLEGRO_HAVE_POSIX_MONOTONIC_CLOCK
            )