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
--
"To argue with a person who has renounced the use of reason is
like administering medicine to the dead." -- Thomas Paine
--- misc/xmlsec1-1.2.14/configure.in Wed Jun 30 11:55:37 2010
+++ misc/build/xmlsec1-1.2.14/configure.in Wed Jun 30 11:53:55 2010
@@ -231,7 +231,7 @@
if test "z$LIBXML_FOUND" = "zno" ; then
if test "z$with_libxml" != "zyes" ; then
AC_PATH_PROG([LIBXML_CONFIG], [$LIBXML_CONFIG], [],
- [$with_libxml/bin:$PATH])
+ [$with_libxml${with_libxml:+/bin:}$PATH])
fi
AC_MSG_CHECKING([libxml2 $LIBXML_CONFIG ])
if ! LIBXML_VERSION=`$LIBXML_CONFIG --version 2>/dev/null`; then
@@ -296,7 +296,7 @@
if test "z$LIBXSLT_FOUND" = "zno" ; then
if test "z$with_libxslt" != "zyes" ; then
AC_PATH_PROG([LIBXSLT_CONFIG], [$LIBXSLT_CONFIG], [],
- [$with_libxslt/bin:$PATH])
+ [$with_libxslt${with_libxslt:+/bin:}:$PATH])
fi
AC_MSG_CHECKING(for libxslt libraries >= $LIBXSLT_MIN_VERSION)
if ! LIBXSLT_VERSION=`$LIBXSLT_CONFIG --version 2>/dev/null`; then
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec