]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
build: install modules in arch-dependent location
authorJan Engelhardt <jengelh@medozas.de>
Mon, 4 Jul 2011 10:44:43 +0000 (12:44 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Mon, 4 Jul 2011 10:44:43 +0000 (12:44 +0200)
Make it possible to have multiple types of ELF classes for the
extension modules by putting them in an arch-dependent path.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
INSTALL
configure.ac

diff --git a/INSTALL b/INSTALL
index acb56cd58bc419ad98f4cd6ce1e028b2b869293a..e17e84415eecc7affd42c9b74390e62965fd4981 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -31,7 +31,7 @@ Configuring and compiling
 --with-xtlibdir=
 
        The path to where Xtables extensions should be installed to. It
-       defaults to ${prefix}/libexec/xtables.
+       defaults to ${libdir}/xtables.
 
 --enable-devel (or --disable-devel)
 
index 6c90caaf5f9b698e092ba3c571b96992731576e8..5cb1b1bb87dcbe45b620b8fa3467f564d734b2d8 100644 (file)
@@ -30,7 +30,7 @@ AC_ARG_WITH([xtlibdir],
        AS_HELP_STRING([--with-xtlibdir=PATH],
        [Path where to install Xtables extensions [[LIBEXECDIR/xtables]]]),
        [xtlibdir="$withval"],
-       [xtlibdir="${libexecdir}/xtables"])
+       [xtlibdir="${libdir}/xtables"])
 AC_ARG_ENABLE([ipv4],
        AS_HELP_STRING([--disable-ipv4], [Do not build iptables]),
        [enable_ipv4="$enableval"], [enable_ipv4="yes"])