[xmlsec] [patch] configure check for libxml2/libxslt prepends /bin

Michael Stahl Michael.X.Stahl at Oracle.com
Wed Jul 14 03:19:39 PDT 2010

hi libxmlsec maintainers,

the check for the xml2-config/xslt-config programs in configure (as of
libxmlsec 1.2.14) is a bit suboptimal:


if no --with-libxml parameter is given explicitly, it will prepend /bin to
$PATH (because $with_libxml is empty).
this is not usually a problem, except that on my Solaris box for some
reason there's a /bin/xml2-config and /bin/xslt-config  :(

attached patch fixed that for me.
[ note that i'm not a shell expert, but i've tested that the ${var:+foo}
construct works with Solaris old moldy /bin/sh and with Ubuntu /bin/dash ]


"To argue with a person who has renounced the use of reason is
 like administering medicine to the dead." -- Thomas Paine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmlsec1-configure-libxml-libxslt.patch
Type: text/x-patch
Size: 903 bytes
Desc: not available
URL: <http://www.aleksey.com/pipermail/xmlsec/attachments/20100714/14b94a26/attachment.bin>

More information about the xmlsec mailing list