(fix commit
8240ed0)
* configure.ac (pthread_start_standalone): New variable.
* configure.ac [*-*-*linux* && THREADS=posix] (pthread_start_standalone):
Set to yes (instead of AM_CONDITIONAL(PTHREAD_START_STANDALONE) directly).
* configure.ac (PTHREAD_START_STANDALONE): AM_CONDITIONAL if
pthread_start_standalone.
test x$enable_thread_local_alloc != xno -a x$THREADS != xnone)
compiler_suncc=no
+pthread_start_standalone=no
case "$host" in
*-*-*linux*)
- AM_CONDITIONAL(PTHREAD_START_STANDALONE, test x$THREADS = xposix)
+ # Turn on the workaround described in pthread_start.c.
+ AS_IF([test "$THREADS" = posix], [pthread_start_standalone=yes])
;;
powerpc-*-darwin*)
powerpc_darwin=true
fi
;;
esac
+AM_CONDITIONAL(PTHREAD_START_STANDALONE,
+ test x$pthread_start_standalone = xyes)
if test "$GCC" = yes; then
# Output all warnings.