Once upon a time we had to exclude threads and threads::shared from non-threaded builds because they failed to compile in that case. This is an apparently crufty and unexpected exclusion so I have reenabled them. The patch at the end of this message on top of my previous patches to 17882 gets all tests passing with an unthreaded build on OpenVMS Alpha 7.2-1.
>>The following test still fails: >> >>ext/threads/shared/t/disabled........FAILED at test 0 >> >>It fails because we don't build threads::shared with a non-thread >>configuration. I'm afraid I don't understand the rationale of this >>test. Should I really be building the extension for the sole purpose of >>running a test that proves the extension is unavailable >> > >Well, threads and threads::shared are intended to be present even >on non-threaded perls. >
--- configure.com;-2 Wed Sep 11 16:55:04 2002 +++ configure.com Tue Sep 24 12:02:00 2002 @@ -2573,8 +2573,6 @@ $ THEN $ dflt = dflt - "Socket" ! optional on VMS $ ENDIF -$ IF .NOT. use_ithreads THEN dflt = dflt - "threads/shared" -$ IF .NOT. use_ithreads THEN dflt = dflt - "threads" $ IF .NOT. use_threads THEN dflt = dflt - "Thread" $ dflt = F$EDIT(dflt,"TRIM,COMPRESS") $!
