New comment by pullmoll on void-packages repository https://github.com/void-linux/void-packages/pull/24991#issuecomment-695799019 Comment: So I merged your PR locally and tried `builddir/imwheel-1.0.0pre12/configure --help` It lists `--enable-gpm` which means that `--disable-gpm` should disable the check also for cross. However, it does not disable looking for `gpm.c` so I'm going to try to patch `configure.in` and rip out that entire section for `imwheel-gpm`.