forked from exira-legacy/docker-powerdns
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackageversion.patch
More file actions
28 lines (23 loc) · 850 Bytes
/
packageversion.patch
File metadata and controls
28 lines (23 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From eb46507b497f5ed9391fde1d23f2f9d83e99ff48 Mon Sep 17 00:00:00 2001
From: David Cumps <david@cumps.be>
Date: Mon, 4 Apr 2016 00:37:15 +0200
Subject: [PATCH] Support setting PACKAGEVERSION from configure
---
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index fa51af8..d8fd791 100644
--- a/configure.ac
+++ b/configure.ac
@@ -347,6 +347,11 @@ AC_SUBST(LIBS)
AC_SUBST([AM_CPPFLAGS], ['-I$(top_builddir) -I$(top_srcdir)'])
AC_SUBST([AM_CXXFLAGS], ['-I$(top_builddir) -I$(top_srcdir)'])
+AC_ARG_VAR(PACKAGEVERSION,[The version used in secpoll queries])
+AS_IF([test "x$PACKAGEVERSION" != "x"],
+ [AC_DEFINE_UNQUOTED([PACKAGEVERSION], "$PACKAGEVERSION", [Set to the package version used for secpoll])]
+)
+
export moduledirs moduleobjects modulelibs
AC_CONFIG_FILES([
--
2.6.3.windows.1