Re: PThreads and Configure files

2017-09-28 Thread David Claughton
Hi, I think I've found a solution, which turned out to be a lot simpler than I'd thought ... I made a change to line 71 of shell.js : From: var currentScriptUrl = ENVIRONMENT_IS_WORKER ? undefined : document.currentScript.src; To: var currentScriptUrl = (ENVIRONMENT_IS_WORKER ||

PThreads and Configure files

2017-09-28 Thread David Claughton
Hi, I'm having a bit of trouble working out how to compile a project with pthreads support where the project is based on autoconf. The docs say I need to pass -s USE_PTHREADS=1 to the compile stage as well as when linking. The simplest way to do that with a configure script is to pass it in