From: Peter Prymmer Date: Tue, 26 Mar 2002 13:04:59 +0000 (-0500) Subject: remove Thread extension if not use_threads X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a92ae87826b31fa92b185c928fb28a63f22e4d21;p=p5sagit%2Fp5-mst-13.2.git remove Thread extension if not use_threads Message-ID: p4raw-id: //depot/perl@15531 --- diff --git a/configure.com b/configure.com index cfa695c..c353f62 100644 --- a/configure.com +++ b/configure.com @@ -2548,6 +2548,7 @@ $ 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") $! $! Ask for their default list of extensions to build @@ -2935,7 +2936,7 @@ $ usedl="define" $ startperl="""$ perl 'f$env(\""procedure\"")' \""'"+"'p1'\"" \""'"+"'p2'\"" \""'"+"'p3'\"" \""'"+"'p4'\"" \""'"+"'p5'\"" \""'"+"'p6'\"" \""'"+"'p7'\"" \""'"+"'p8'\""!\n" $ startperl=startperl + "$ exit++ + ++$status!=0 and $exit=$status=undef; while($#ARGV != -1 and $ARGV[$#ARGV] eq '"+"'){pop @ARGV;}""" $! -$ IF ((Use_Threads) .AND. (vms_ver .LES. "6.2")) +$ IF ((use_threads) .AND. (vms_ver .LES. "6.2")) $ THEN $ libs="SYS$SHARE:CMA$LIB_SHR.EXE/SHARE SYS$SHARE:CMA$RTL.EXE/SHARE SYS$SHARE:CMA$OPEN_LIB_SHR.exe/SHARE SYS$SHARE:CMA$OPEN_RTL.exe/SHARE" $ ELSE @@ -3025,7 +3026,7 @@ $ sSCNfldbl = sPRIfldbl ! expect consistency $! $! Now some that we build up $! -$ IF Use_Threads +$ IF use_threads $ THEN $ IF use_5005_threads $ THEN @@ -6013,7 +6014,7 @@ $ ELSE $ SOCKET_REPLACE = "SOCKET=" $ ENDIF $ ENDIF -$ IF Use_Threads +$ IF use_threads $ THEN $ IF (vms_ver .LES. "6.2") $ THEN