Patch #101936: Auto-detect DEC threads (which need "-threads" argument)

by Thomas Wouters
This commit is contained in:
Jeremy Hylton 2000-10-16 16:59:12 +00:00
parent 75f8101c42
commit 1a2ca86a4f
2 changed files with 419 additions and 427 deletions

837
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -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