Commit db2f19b8b40c12420070612acc3ed7faed45b819 in couchdb's branch refs/heads/master from Paul Joseph Davis
[ https://gitbox.apache.org/repos/asf?p=couchdb.git;h=db2f19b ]
Fix mango full text detection
The check for whether full text support in mango is available was broken
in that the mango_cursor_text module is only compiled if dreyfus exists
while the check to use the module was a runtime check. Thus is a user
were to add dreyfus after mango had been compiled it would have led to a
runtime error when we attempted to use a module that didn't exist.
This changes the check to a compile time check in both places. And now
that its a compile time define we can remove the need to rename source
files around which causes problems with source control seeing that file
change depending on local configuration.