Hi all,
FreeBSD, at least 8.0+, ships with libbsdxml.so in its base system, which, according to the libbsdxml(3) man page is:
"The libbsdxml library is a verbatim copy of the eXpat XML library version 2.0.1".
Seeing as klish can be build with expat as an XML backend now I thought it might be useful to FreeBSD users out there to be able to autodetect and build against libbsdxml too.
I've tried this and it works - klish builds fine and is able to parse the XML files under xml-examples/test using libbsdxml.
This also makes it easier to cross-compile (I've tried it for ARM) klish on FreeBSD.
I've attached a patch for this change and I'd be happy if you guys find it useful and include it in klish mainline.
Best wishes,
Stanislav