|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchessphinx_67219.diff (last revision 2014-05-06 15:54 UTC by tony2001@php.net)sph-rank-const-fix (last revision 2014-05-06 15:20 UTC by saprykin dot dmitry at gmail dot com) Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-05-06 15:54 UTC] tony2001@php.net
[2014-05-06 15:56 UTC] tony2001@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: tony2001
[2014-05-06 15:56 UTC] tony2001@php.net
[2014-05-06 16:11 UTC] saprykin dot dmitry at gmail dot com
[2014-05-06 16:26 UTC] tony2001@php.net
[2014-05-06 16:26 UTC] tony2001@php.net
-Status: Assigned
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 15 22:00:02 2025 UTC |
Description: ------------ My sphinxclient.h content is: /// known ranking modes (ext2 only) enum { SPH_RANK_PROXIMITY_BM25 = 0, SPH_RANK_BM25 = 1, SPH_RANK_NONE = 2, SPH_RANK_WORDCOUNT = 3 }; This causes wrong match for pattern in config.m4 function SPHINX_CHECK_ENUM with string "SPH_RANK_PROXIMITY_BM25 = 0". So ./configure defines constant HAVE_SPH_RANK_PROXIMITY by mistake. Nevertheless regex will match even commented out strings. May be it is better to use AC_TRY_COMPILE?