From 493c712d61c35a6d8db877b208d34c111337a918 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 15 Apr 2008 11:15:16 +0200 Subject: [PATCH] Dynamically create xtables.h.in with version --- configure.ac | 2 +- include/{xtables.h => xtables.h.in} | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename include/{xtables.h => xtables.h.in} (99%) diff --git a/configure.ac b/configure.ac index 2d9862ef..b6afa349 100644 --- a/configure.ac +++ b/configure.ac @@ -56,4 +56,4 @@ AC_SUBST([kinclude_CFLAGS]) AC_SUBST([kbuilddir]) AC_SUBST([ksourcedir]) AC_SUBST([xtlibdir]) -AC_OUTPUT([Makefile extensions/GNUmakefile libipq/Makefile]) +AC_OUTPUT([Makefile extensions/GNUmakefile libipq/Makefile include/xtables.h]) diff --git a/include/xtables.h b/include/xtables.h.in similarity index 99% rename from include/xtables.h rename to include/xtables.h.in index 5eba8aca..c8a8746f 100644 --- a/include/xtables.h +++ b/include/xtables.h.in @@ -17,6 +17,8 @@ #define IPPROTO_UDPLITE 136 #endif +#define XTABLES_VERSION "@PACKAGE_VERSION@" + /* Include file for additions: new matches and targets. */ struct xtables_match { -- 2.39.5