aix case: assume gcc handles -pthread, in the non-gcc case, use the
compiler as hint (xlc vs xlc_r) if this environment handles threads or not git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15333 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -40,7 +40,15 @@ case "$host" in
|
||||
esac
|
||||
;;
|
||||
*-*-aix*)
|
||||
enable_pthread_support=yes
|
||||
if test "$GCC" = yes; then
|
||||
enable_pthread_support=yes
|
||||
else if expr "$CC" : ".*_r" > /dev/null ; then
|
||||
enable_pthread_support=yes
|
||||
PTHREADS_CFLAGS=""
|
||||
PTHREADS_LIBS=""
|
||||
else
|
||||
enable_pthread_support=no
|
||||
fi
|
||||
;;
|
||||
mips-sgi-irix6.[[5-9]]) # maybe works for earlier versions too
|
||||
enable_pthread_support=yes
|
||||
|
Reference in New Issue
Block a user