From: Craig A. Berry Date: Sat, 28 Apr 2007 14:28:00 +0000 (+0000) Subject: Don't try to build old Thread extension on VMS when -Duseithreads X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=65f9def6e9d9e48317c4d5c5b7f9ee488e5a4f5c;p=p5sagit%2Fp5-mst-13.2.git Don't try to build old Thread extension on VMS when -Duseithreads has been chosen. p4raw-id: //depot/perl@31104 --- diff --git a/configure.com b/configure.com index 9d883b3..b4fdaf2 100644 --- a/configure.com +++ b/configure.com @@ -907,7 +907,7 @@ $ config_symbols0 ="|archlib|archlibexp|bin|binexp|builddir|cf_email|config_sh $ config_symbols1 ="|installprivlib|installscript|installsitearch|installsitelib|most|oldarchlib|oldarchlibexp|osname|pager|perl_symbol|perl_verb|" $ config_symbols2 ="|prefix|privlib|privlibexp|scriptdir|sitearch|sitearchexp|sitebin|sitelib|sitelib_stem|sitelibexp|try_cxx|use64bitall|use64bitint|" $ config_symbols3 ="|usecasesensitive|usedefaulttypes|usedevel|useieee|useithreads|uselongdouble|usemultiplicity|usemymalloc|usedebugging_perl|" -$ config_symbols4 ="|useperlio|usesecurelog||usethreads|usevmsdebug|usefaststdio|usemallocwrap|unlink_all_versions|uselargefiles|usesitecustomize|" +$ config_symbols4 ="|useperlio|usesecurelog|usethreads|usevmsdebug|usefaststdio|usemallocwrap|unlink_all_versions|uselargefiles|usesitecustomize|" $ config_symbols5 ="|buildmake|builder|usethreadupcalls|usekernelthreads|usedecterm" $! $ open/read CONFIG 'config_sh' @@ -2773,7 +2773,8 @@ $ IF .NOT. Has_socketshr .AND. .NOT. Has_Dec_C_Sockets $ THEN $ dflt = dflt - "Socket" ! optional on VMS $ ENDIF -$ IF .NOT. use_threads THEN dflt = dflt - "Thread" +$ ! Build this one only for threads without ithreads +$ IF useithreads .OR. useithreads .EQS. "define" .OR. .NOT. use_threads THEN dflt = dflt - "Thread" $ dflt = dflt - "Win32API/File" - "Win32CORE" - "Win32" ! need Dave Cutler's other project $ dflt = F$EDIT(dflt,"TRIM,COMPRESS") $!