]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
doc: a few extra words to pkgconfig overriding
authorJan Engelhardt <jengelh@medozas.de>
Thu, 18 Feb 2010 12:00:38 +0000 (13:00 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Thu, 18 Feb 2010 12:00:38 +0000 (13:00 +0100)
INSTALL

diff --git a/INSTALL b/INSTALL
index 71d4741cd2e2ac7ce48a1ddb3c53ec2c39b45475..9531f72c1e7d8201270bc07d401b003dbf182fb1 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -70,12 +70,19 @@ To make use of a libxtables that is not in the default path, either
 
        PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
 
-  b) override the default pkg-config variables, for example:
+     (Assuming that files have been installed)
+or,
+
+  b) override the pkg-config variables, for example:
 
        ./configure libxtables_CFLAGS="-I../iptables/include" \
                libxtables_LIBS="-L../iptables/.libs \
                        -Wl,-rpath,../iptables/.libs -lxtables"
 
+     (Use this in case you wish to use it without having to
+     run `make install`. This is because the libxtables.pc pkgconfig
+     file in ../iptables would already point to e.g. /usr/local.)
+
 
 Build-time options
 ==================
@@ -91,6 +98,6 @@ Note to distribution packagers
 Except for --with-kbuild, distributions should not have a need to
 supply any other flags (besides --prefix=/usr and perhaps
 --libdir=/usr/lib64, etc.) to configure when all prerequired packages
-are installed. If iptables-devel is installed, necessary headers
-should be in /usr/include, so PKG_CONFIG_PATH, libxtables_CFLAGS and
-libxtables_LIBS variables are not needed.
+are installed. If iptables-devel is installed, necessary headers should
+already be in /usr/include, so that overriding PKG_CONFIG_PATH,
+libxtables_CFLAGS and libxtables_LIBS variables should not be needed.