diff options
author | Jan Engelhardt <jengelh@inai.de> | 2019-05-28 11:43:26 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2019-05-30 22:43:17 +0200 |
commit | 093cec72e7f7793d55fa1547cadb6655104feb5e (patch) | |
tree | 237bfd5ed2672fd18dc93a21dc53ddb11b29de82 /configure.ac | |
parent | a84b12c69dcd57eb7df19e59b85af0fb5d98a81b (diff) |
src: replace IPTABLES_VERSION by PACKAGE_VERSION
The IPTABLES_VERSION C macro replicates the PACKAGE_VERSION C macro
(both have the same definition, "@PACKAGE_VERSION@"). Since
IPTABLES_VERSION, being located in internal.h, is not exposed to
downstream users in any way, it can just be replaced by
PACKAGE_VERSION, which saves a configure-time file substitution.
This goes towards eliminating unnecessary rebuilds after rerunning
./configure.
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 0a2802ff..c922f7a0 100644 --- a/configure.ac +++ b/configure.ac @@ -245,7 +245,7 @@ AC_CONFIG_FILES([Makefile extensions/GNUmakefile include/Makefile libiptc/Makefile libiptc/libiptc.pc libiptc/libip4tc.pc libiptc/libip6tc.pc libxtables/Makefile utils/Makefile - include/xtables-version.h include/iptables/internal.h + include/xtables-version.h iptables/xtables-monitor.8 utils/nfnl_osf.8 utils/nfbpf_compile.8]) |