From 411a4e50ec1030f2dc51c5b0156e0c7255c81905 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 4 Jul 2011 12:44:43 +0200 Subject: build: install modules in arch-dependent location 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 --- INSTALL | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/INSTALL b/INSTALL index acb56cd5..e17e8441 100644 --- 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) diff --git a/configure.ac b/configure.ac index 6c90caaf..5cb1b1bb 100644 --- a/configure.ac +++ b/configure.ac @@ -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"]) -- cgit v1.2.3