summaryrefslogtreecommitdiffstats
path: root/include/xtables-version.h.in
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2012-08-31 03:59:07 +0200
committerJan Engelhardt <jengelh@inai.de>2012-08-31 04:12:18 +0200
commitdf60a301bf24c3b3e37188d9da155b97fd6dc076 (patch)
tree4c49a41af3e8137b11ce5f8532ba6feef214e07b /include/xtables-version.h.in
parent053a4fdf6536ca63ad640d0b75f54c3f4964ca2b (diff)
build: separate AC variable replacements from xtables.h
It was/is a bit annoying that modifying xtables.h.in causes configure to rerun. Split the @foo@ things into a separate file to bypass this. Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Diffstat (limited to 'include/xtables-version.h.in')
-rw-r--r--include/xtables-version.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xtables-version.h.in b/include/xtables-version.h.in
new file mode 100644
index 00000000..cb13827c
--- /dev/null
+++ b/include/xtables-version.h.in
@@ -0,0 +1,2 @@
+#define XTABLES_VERSION "libxtables.so.@libxtables_vmajor@"
+#define XTABLES_VERSION_CODE @libxtables_vmajor@