From 126c1361ad5201973e6ebc761b3e38a67915de29 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 4 Aug 2008 18:37:38 +0200 Subject: Put xtables.c into its own library, libxtables.so iproute2's tc's m_ipt.c poses as a pseudo-iptables program to make use of the info structure composition of iptables extensions. Since tc would have to clone a lot of code, xtables.c is put into its own shared library and should not be relied upon by any other programs. Signed-off-by: Jan Engelhardt Signed-off-by: Patrick McHardy --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2ffe6c02..d86e29f1 100644 --- a/configure.ac +++ b/configure.ac @@ -37,6 +37,9 @@ AC_ARG_ENABLE([devel], [enable_devel="$enableval"], [enable_devel="yes"]) AC_ARG_ENABLE([libipq], AS_HELP_STRING([--enable-libipq], [Build and install libipq])) +AC_ARG_WITH([pkgconfigdir], AS_HELP_STRING([--with-pkgconfigdir=PATH], + [Path to the pkgconfig directory [[LIBDIR/pkgconfig]]]), + [pkgconfigdir="$withval"], [pkgconfigdir='${libdir}/pkgconfig']) AC_CHECK_HEADER([linux/dccp.h]) @@ -69,6 +72,7 @@ AC_SUBST([kinclude_CFLAGS]) AC_SUBST([kbuilddir]) AC_SUBST([ksourcedir]) AC_SUBST([xtlibdir]) +AC_SUBST([pkgconfigdir]) XTABLES_VERSION_MAJOR=_XTABLES_VERSION_MAJOR XTABLES_VERSION_MINOR=_XTABLES_VERSION_MINOR @@ -79,4 +83,5 @@ AC_SUBST([XTABLES_VERSION_MINOR]) AC_SUBST([XTABLES_VERSION_PATCH]) AC_SUBST([XTABLES_VERSION_EXTRA]) -AC_OUTPUT([Makefile extensions/GNUmakefile libipq/Makefile include/xtables.h]) +AC_OUTPUT([Makefile extensions/GNUmakefile libipq/Makefile include/xtables.h + xtables.pc]) -- cgit v1.2.3