Thanks Michael! I fixed it in a slightly different way by
adding an explicit if() check for an empty $with_libxml/libxslt.

Aleksey

On 7/14/2010 3:19 AM, Michael Stahl wrote:

hi libxmlsec maintainers,

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

        AC_PATH_PROG([LIBXML_CONFIG], [$LIBXML_CONFIG], [],
                     [$with_libxml/bin:$PATH])

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 ]

regards,
  michael




_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to