Patch #101936: Auto-detect DEC threads (which need "-threads" argument)
by Thomas Wouters
This commit is contained in:
parent
75f8101c42
commit
1a2ca86a4f
|
@ -805,6 +805,15 @@ else
|
|||
LIBS="$LIBS -lthread"
|
||||
LIBOBJS="$LIBOBJS thread.o"
|
||||
USE_THREAD_MODULE=""])
|
||||
|
||||
if test "$USE_THREAD_MODULE" != "#"
|
||||
then
|
||||
# If the above checks didn't disable threads, (at least) OSF1
|
||||
# needs this '-threads' argument during linking.
|
||||
case $ac_sys_system in
|
||||
OSF1) LDLAST=-threads;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
|
||||
# Check for GC support
|
||||
|
|
Loading…
Reference in New Issue