From 35751aa2857c2c35de57a51b44cd6028db641199 Mon Sep 17 00:00:00 2001 From: Alexei Sheplyakov Date: Sun, 7 Sep 2008 19:33:11 +0400 Subject: [PATCH] [bugfix] Actually compile in version info into the library. src/base/cl_version.cc: don't #include "cl_sysdep.h", so the version info actually gets compiled into the library. Due to the changes introduced in 7da4d3ae ("build: switch to ordinary auto* tools system") including "cln/version.h" after "cl_config.h" is no-op (yes, this is intended). --- src/base/cl_version.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/base/cl_version.cc b/src/base/cl_version.cc index 6943534..bc99b36 100644 --- a/src/base/cl_version.cc +++ b/src/base/cl_version.cc @@ -1,14 +1,6 @@ // Version string buried into the library - -// General includes. -#include "base/cl_sysdep.h" - -// Specification. #include "cln/version.h" - -// Implementation. - namespace cln { const int version_major = CL_VERSION_MAJOR;