get rid of redundant rclversion.h

This commit is contained in:
Jean-Francois Dockes
2019-01-30 12:40:55 +01:00
parent c0d87a3995
commit 2909eec062
3 changed files with 1 additions and 4 deletions
-1
View File
@@ -1 +0,0 @@
static const char *rclversionstr = "@RCLVERSION@";
-1
View File
@@ -548,7 +548,6 @@ AC_SUBST(XSLT_LINKADD)
# All object files depend on localdefs which has the cc flags. Avoid
# changing it unless necessary
AC_CONFIG_FILES(Makefile)
AC_CONFIG_FILES(common/rclversion.h)
AC_CONFIG_FILES(python/recoll/setup.py)
AC_CONFIG_FILES(python/pychm/setup.py)
+1 -2
View File
@@ -52,7 +52,6 @@ using namespace std;
#include "rclquery_p.h"
#include "rclvalues.h"
#include "md5ut.h"
#include "rclversion.h"
#include "cancelcheck.h"
#include "termproc.h"
#include "expansiondbs.h"
@@ -116,7 +115,7 @@ static const string cstr_md5empty("d41d8cd98f00b204e9800998ecf8427e");
static const int MB = 1024 * 1024;
string version_string(){
return string("Recoll ") + string(rclversionstr) + string(" + Xapian ") +
return string("Recoll ") + string(PACKAGE_VERSION) + string(" + Xapian ") +
string(Xapian::version_string());
}