Source

cpython-withatomic / configure.in

Diff from to

configure.in

 AC_ERROR(--with(out)-readline is obsolete, edit Modules/Setup instead)],
 [AC_MSG_RESULT(not specified.)])
 
+AC_SUBST(USE_THREAD_MODULE)
+USE_THREAD_MODULE="#"
+
 AC_MSG_CHECKING(for --with-dec-threads)
 AC_SUBST(LDLAST)
 AC_ARG_WITH(dec-threads,
 
 AC_MSG_CHECKING(for --with-thread)
 AC_ARG_WITH(thread, [--with-thread[=DIRECTORY] make interpreter thread-safe], [
+USE_THREAD_MODULE=
 AC_MSG_RESULT($withval)
 if test -d "$withval"
 then LDFLAGS="$LDFLAGS -L$withval"
  Objects/Makefile \
  Parser/Makefile \
  Python/Makefile \
- Modules/Makefile.pre)
+ Modules/Makefile.pre \
+ Modules/Setup.thread)