Description of feature: Typing `./configure --ostype=pkg-config` or similar would magically fetch all the CFLAGS and whatever using pkg-config.
It's a start: https://hg.prosody.im/0.10/rev/c6d18ee93e34
This is severely complicated by how the rest of the configure script expects the Lua include directory, which needs to be wrestled out of the CFLAGS given by pkg-config, only to be reconstructed as CFLAGS in util-src/Makefile.
Description of feature: Typing `./configure --ostype=pkg-config` or similar would magically fetch all the CFLAGS and whatever using pkg-config.
It's a start: https://hg.prosody.im/0.10/rev/c6d18ee93e34
ChangesThis is severely complicated by how the rest of the configure script expects the Lua include directory, which needs to be wrestled out of the CFLAGS given by pkg-config, only to be reconstructed as CFLAGS in util-src/Makefile.