Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sebastian Schrader
Kea
Commits
87479e97
Commit
87479e97
authored
Sep 21, 2018
by
Tomek Mrugalski
🛰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[#137,!42] Kea version moved to separate header.
parent
a388c647
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
16 additions
and
2 deletions
+16
-2
Makefile.am
Makefile.am
+1
-1
configure.ac
configure.ac
+5
-1
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/dhcp4_srv.cc
+2
-0
src/bin/dhcp4/main.cc
src/bin/dhcp4/main.cc
+1
-0
src/bin/dhcp6/dhcp6_srv.cc
src/bin/dhcp6/dhcp6_srv.cc
+1
-0
src/bin/dhcp6/main.cc
src/bin/dhcp6/main.cc
+1
-0
src/bin/lfc/lfc_controller.cc
src/bin/lfc/lfc_controller.cc
+1
-0
src/bin/netconf/main.cc
src/bin/netconf/main.cc
+1
-0
src/lib/cfgrpt/tests/config_report_unittests.cc
src/lib/cfgrpt/tests/config_report_unittests.cc
+1
-0
src/lib/process/d_controller.cc
src/lib/process/d_controller.cc
+1
-0
src/lib/process/tests/d_controller_unittests.cc
src/lib/process/tests/d_controller_unittests.cc
+1
-0
No files found.
Makefile.am
View file @
87479e97
...
...
@@ -150,4 +150,4 @@ CLEANFILES = $(abs_top_builddir)/logger_lockfile
# config.h may be included by headers supplied for building user-written
# hooks libraries, so we need to include it in the distribution.
pkginclude_HEADERS
=
config.h
pkginclude_HEADERS
=
config.h
kea_version.h
configure.ac
View file @
87479e97
...
...
@@ -43,7 +43,11 @@ else
fi
# Export EXTENDED_VERSION to config.h
# This will be either "tarball" or "git abcd".
AC_DEFINE_UNQUOTED([EXTENDED_VERSION], ["${KEA_SRCID}"], [Extended Kea version])
# We do not want to put this in a config.h, because it messes up ccache
# horribly. When building different branches, the commit-id is different
# and since the config.h is included in most files *and* has a different
# content, ccache can't use cached content and thus has to do full compilation.
echo "#define EXTENDED_VERSION \"${KEA_SRCID}\"" > kea_version.h
# Find a separator for path_replacer
for sep in "+" "," ";" "&" "__NONE__"; do
...
...
src/bin/dhcp4/dhcp4_srv.cc
View file @
87479e97
...
...
@@ -5,6 +5,8 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <kea_version.h>
#include <dhcp/dhcp4.h>
#include <dhcp/duid.h>
#include <dhcp/hwaddr.h>
...
...
src/bin/dhcp4/main.cc
View file @
87479e97
...
...
@@ -5,6 +5,7 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <kea_version.h>
#include <dhcp4/ctrl_dhcp4_srv.h>
#include <dhcp4/dhcp4_log.h>
...
...
src/bin/dhcp6/dhcp6_srv.cc
View file @
87479e97
...
...
@@ -5,6 +5,7 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <kea_version.h>
#include <asiolink/io_address.h>
#include <dhcp_ddns/ncr_msg.h>
...
...
src/bin/dhcp6/main.cc
View file @
87479e97
...
...
@@ -5,6 +5,7 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <kea_version.h>
#include <dhcp6/ctrl_dhcp6_srv.h>
#include <dhcp6/dhcp6_log.h>
...
...
src/bin/lfc/lfc_controller.cc
View file @
87479e97
...
...
@@ -5,6 +5,7 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <kea_version.h>
#include <lfc/lfc_controller.h>
#include <lfc/lfc_log.h>
...
...
src/bin/netconf/main.cc
View file @
87479e97
...
...
@@ -5,6 +5,7 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <kea_version.h>
#include <netconf/netconf_log.h>
#include <exceptions/exceptions.h>
...
...
src/lib/cfgrpt/tests/config_report_unittests.cc
View file @
87479e97
...
...
@@ -5,6 +5,7 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <kea_version.h>
#include <cfgrpt/config_report.h>
#include <gtest/gtest.h>
...
...
src/lib/process/d_controller.cc
View file @
87479e97
...
...
@@ -14,6 +14,7 @@
#include <process/d_log.h>
#include <process/d_controller.h>
#include <process/config_base.h>
#include <kea_version.h>
#ifdef HAVE_MYSQL
#include <dhcpsrv/mysql_lease_mgr.h>
...
...
src/lib/process/tests/d_controller_unittests.cc
View file @
87479e97
...
...
@@ -5,6 +5,7 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <kea_version.h>
#include <cc/command_interpreter.h>
#include <process/testutils/d_test_stubs.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment