From: Jan Engelhardt Date: Tue, 15 Apr 2008 09:15:16 +0000 (+0200) Subject: Dynamically create xtables.h.in with version X-Git-Tag: v1.4.1-rc1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=493c712d61c35a6d8db877b208d34c111337a918;p=thirdparty%2Fiptables.git Dynamically create xtables.h.in with version --- 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 {