This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/117187/

Review request for Baloo and Vishesh Handa.
By Raphael Kubo da Costa.
Repository: baloo

Description

malloc_trim(3) is a GNU extension and thus should not be used
unconditionally.

Solve this problem by adding more checks to ConfigureChecks.cmake and using
a config.h so that we only use non-standard features if their presence has
been detected at configuration time.

Testing

I can build baloo on FreeBSD again, all tests pass.

Diffs

  • CMakeLists.txt (977eaf7e99da7742d5ea87ecb10df8c2355f81db)
  • ConfigureChecks.cmake (34db1e47338002d83250c5e3276bf207c477c30f)
  • config.h.cmake (PRE-CREATION)
  • src/xapian/xapiandatabase.cpp (d139ea70e60236a91e716e8ace03f4e01bb55706)

View Diff