wdm fails to cross build from source, because configure.ac hard codes the build architecture pkg-config. I'm attaching a patch that uses the recommended PKG_CHECK_MODULES macro and in turn reduces quite a bit of code while making wdm cross buildable. Please consider applying it and forwarding it upstream. Helmut