See:
https://mail.gnome.org/archives/xml/2012-October/msg00038.html
https://mail.gnome.org/archives/xml/2012-October/msg00039.html
--- libxml2-2.9.2/configure.ac 2014-10-15 21:06:15.000000000 -0700
+++ libxml2-2.9.2/configure.ac 2014-10-30 06:08:49.500465105 -0700
@@ -83,6 +83,7 @@
else
case $host in
*-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;
+ *-*-solaris*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;
esac
fi
AC_SUBST(VERSION_SCRIPT_FLAGS)
@@ -1226,7 +1227,7 @@
TEST_SAX=SAXtests
fi
AC_SUBST(WITH_SAX1)
-AM_CONDITIONAL(WITH_SAX1_SOURCES, test "${WITH_TRIO}" = "1")
+AM_CONDITIONAL(WITH_SAX1_SOURCES, test "${WITH_SAX1}" = "1")
AC_SUBST(TEST_SAX)
if test "$with_push" = "no" ; then