Skip to content

Commit

Permalink
configure: Allow '--disable-parallel-mark' even if no threads
Browse files Browse the repository at this point in the history
* configure.ac (parallel-mark): Do not report configuration error if
"--disable-parallel-mark" is specified (and threads are not enabled).
  • Loading branch information
ivmai committed Feb 27, 2012
1 parent 73a87cf commit e3bfd10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure.ac
Expand Up @@ -113,7 +113,9 @@ AC_ARG_ENABLE(parallel-mark,
[parallelize marking and free list construction])],
[case "$THREADS" in
no | none | single)
AC_MSG_ERROR([Parallel mark requires --enable-threads=x spec])
if test "${enable_parallel_mark}" != no; then
AC_MSG_ERROR([Parallel mark requires --enable-threads=x spec])
fi
;;
esac ]
)
Expand Down

0 comments on commit e3bfd10

Please sign in to comment.