main: implement a different solution for dependency generators, too many broken configure scripts still :/