Switch to unified view

a/src/configure.ac b/src/configure.ac
...
...
175
175
176
if test X$xattrEnabled = Xyes ; then
176
if test X$xattrEnabled = Xyes ; then
177
  AC_DEFINE(RCL_USE_XATTR, 1, [Use file extended attributes])
177
  AC_DEFINE(RCL_USE_XATTR, 1, [Use file extended attributes])
178
fi
178
fi
179
179
180
# Enable use of threads in the indexing pipeline.  Threads are used in
180
# Enable use of threads in the indexing pipeline.  
181
# bucket-brigade fashion for the processing steps (reading file - text
182
# splitting - indexing proper). The performance increase is small in normal
183
# case (might be a bit more significant if you're using an SSD), and this
184
# is disabled by default as we usually care little about indexing absolute
181
# This is disabled by default as we usually care little about indexing 
185
# performance (more about impact on usability and total resources used).
182
# absolute performance (more about impact on usability and total 
183
# resources used).
186
AC_ARG_ENABLE(idxthreads,
184
AC_ARG_ENABLE(idxthreads,
187
    AC_HELP_STRING([--enable-idxthreads],
185
    AC_HELP_STRING([--enable-idxthreads],
188
   [Enable multithread indexing. This can somewhat boost indexing 
186
   [Enable multithread indexing. This can somewhat boost indexing 
189
   performance.]),
187
   performance.]),
190
        idxthreadsEnabled=$enableval, idxthreadsEnabled=no)
188
        idxthreadsEnabled=$enableval, idxthreadsEnabled=no)
191
189
192
if test X$idxthreadsEnabled = Xyes ; then
190
if test X$idxthreadsEnabled = Xyes ; then
193
  AC_DEFINE(IDX_THREADS, 1, [Use multiple threads for indexing])
191
  AC_DEFINE(IDX_THREADS, 1, [Use multiple threads for indexing])
192
  NOTHREADS=""
193
else
194
  NOTHREADS="#"
194
fi
195
fi
195
196
196
# Enable CamelCase word splitting. This is optional because it causes 
197
# Enable CamelCase word splitting. This is optional because it causes 
197
# problems with phrases: with camelcase enabled, "MySQL manual"
198
# problems with phrases: with camelcase enabled, "MySQL manual"
198
# will be matched by "MySQL manual" and "my sql manual" but not 
199
# will be matched by "MySQL manual" and "my sql manual" but not 
...
...
555
AC_SUBST(QMAKE_DISABLE_WEBKIT)
556
AC_SUBST(QMAKE_DISABLE_WEBKIT)
556
AC_SUBST(QMAKE_ENABLE_ZEITGEIST)
557
AC_SUBST(QMAKE_ENABLE_ZEITGEIST)
557
AC_SUBST(QMAKE_DISABLE_ZEITGEIST)
558
AC_SUBST(QMAKE_DISABLE_ZEITGEIST)
558
AC_SUBST(LIBQZEITGEIST)
559
AC_SUBST(LIBQZEITGEIST)
559
AC_SUBST(NOPIC)
560
AC_SUBST(NOPIC)
561
AC_SUBST(NOTHREADS)
560
AC_SUBST(NOPYTHON)
562
AC_SUBST(NOPYTHON)
561
AC_SUBST(RCLVERSION)
563
AC_SUBST(RCLVERSION)
562
564
563
# All object files depend on localdefs which has the cc flags. Avoid
565
# All object files depend on localdefs which has the cc flags. Avoid
564
# changing it unless necessary
566
# changing it unless necessary