@unnick I tried to build some autotools software for Android a few weeks ago. It ended with me writing config.h files from hand.