Here's a proof of concept script which determines development dependencies from header, libtool and pkgconfig files. Do you think this is worth exploring further? -- Earthling Michel Dänzer | Debian (powerpc), X and DRI developer Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer