cmake ALLEGRO_HAVE_SV_PROCFS_H examples

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

check_c_source_compiles("
        #include <sys/procfs.h>
        #include <sys/ioctl.h>
        int main(void) {
            struct prpsinfo psinfo;
            ioctl(0, PIOCPSINFO, &psinfo);
            return 0;
        }"
        ALLEGRO_HAVE_SV_PROCFS_H
        )