Hi,
please see attached patch. pthread library is no longer needed from
Solaris 10.
See:
http://docs.oracle.com/cd/E19963-01/html/821-1601/compile-94611.html
http://docs.oracle.com/cd/E26502_01/html/E29043/pthreads-5.html#REFMAN5pthreads-5
Thanks,
Petr
>From Solaris 10 it's not necessary to link explicitly with libpthread
library because all the threading functions are in the libc library.
--- libxml2-2.9.0/configure.in Wed Jan 30 07:40:27 2013
+++ libxml2-2.9.0/configure.in Wed Jan 30 07:45:50 2013
@@ -1014,6 +1014,14 @@
fi
fi
;;
+ solaris*)
+ SOLARIS_MAJOR=`echo $host_os | sed -e 's+solaris++' -e 's+\..*++'`
+ SOLARIS_MINOR=`echo $host_os | sed 's+solaris[[0-9]]*\.++'`
+ if test $SOLARIS_MAJOR -ge 2 -a $SOLARIS_MINOR -ge 10 ; then
+ THREAD_LIBS=""
+ BASE_THREAD_LIBS=""
+ fi
+ ;;
esac
if test "$WITH_THREADS" = "1" ; then
THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
https://mail.gnome.org/mailman/listinfo/xml