|
a/src/configure.ac |
|
b/src/configure.ac |
|
... |
|
... |
179 |
# Enable use of threads in the indexing pipeline.
|
179 |
# Enable use of threads in the indexing pipeline.
|
180 |
# This is disabled by default as we usually care little about indexing
|
180 |
# This is disabled by default as we usually care little about indexing
|
181 |
# absolute performance (more about impact on usability and total
|
181 |
# absolute performance (more about impact on usability and total
|
182 |
# resources used).
|
182 |
# resources used).
|
183 |
AC_ARG_ENABLE(idxthreads,
|
183 |
AC_ARG_ENABLE(idxthreads,
|
184 |
AC_HELP_STRING([--enable-idxthreads],
|
184 |
AC_HELP_STRING([--disable-idxthreads],
|
185 |
[Enable multithread indexing. This can somewhat boost indexing
|
185 |
[Disable multithread indexing.]),
|
186 |
performance.]),
|
|
|
187 |
idxthreadsEnabled=$enableval, idxthreadsEnabled=no)
|
186 |
idxthreadsEnabled=$enableval, idxthreadsEnabled=yes)
|
188 |
|
187 |
|
189 |
if test X$idxthreadsEnabled = Xyes ; then
|
188 |
if test X$idxthreadsEnabled = Xyes ; then
|
190 |
AC_DEFINE(IDX_THREADS, 1, [Use multiple threads for indexing])
|
189 |
AC_DEFINE(IDX_THREADS, 1, [Use multiple threads for indexing])
|
191 |
NOTHREADS=""
|
190 |
NOTHREADS=""
|
192 |
else
|
191 |
else
|