]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
remove pkg-config dependency from lxc
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 10 Jun 2009 17:04:41 +0000 (19:04 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 10 Jun 2009 17:04:41 +0000 (19:04 +0200)
Stupid me, we don't want to add a dependency to an external
tool as the library has to be standalone.

Just let lxc to define a .pc file, so the upper layer will
find the needed informations to use it.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/lxc-version.in

index 190408e63a281b3943cf935c03cd8cff2c2556df..dcc88b21b3cafda4937a92eba71cd1f408bd4561 100644 (file)
@@ -1,4 +1,3 @@
 #!/bin/bash
 
-export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:@DATADIR@/pkgconfig
-echo "lxc version: $(pkg-config --modversion lxc)"
+echo "lxc version: @LXC_MAJOR_VERSION@.@LXC_MINOR_VERSION@.@LXC_MICRO_VERSION@"