rclversion.h must not include xapian.h. Replace with Rcl::version_string()

This commit is contained in:
dockes
2009-10-17 06:38:04 +00:00
parent f61590c31d
commit a27ddc32c4
6 changed files with 20 additions and 10 deletions
+2 -2
View File
@@ -39,8 +39,8 @@ using namespace std;
#include "pathut.h"
#include "rclmon.h"
#include "x11mon.h"
#include "rclversion.h"
#include "cancelcheck.h"
#include "rcldb.h"
// Globals for exit cleanup
ConfIndexer *confindexer;
@@ -256,7 +256,7 @@ Usage(FILE *where = stderr)
{
FILE *fp = (op_flags & OPT_h) ? stdout : stderr;
fprintf(fp, "%s: Usage: %s", thisprog, usage);
fprintf(fp, "Recoll version: %s\n", rclversion);
fprintf(fp, "Recoll version: %s\n", Rcl::version_string().c_str());
exit((op_flags & OPT_h)==0);
}