Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk> writes:
> The thing is, if xml2-config is meant to give the flags necessary to
> compile a programme with libxml, then why pick-and-choose which flags
> you are going to use?
Well, if they gave the flags in a sane format (distinguishing CPPFLAGS
from CFLAGS, and LDFLAGS from LIBS), then we could just use them as-is.
They don't, so we have to do some picking-apart.
What exactly does xml2-config --libs produce on your machine?
regards, tom lane