]> git.ipfire.org Git - thirdparty/util-linux.git/commit
build-sys: support --with-python[={2,3}]
authorKarel Zak <kzak@redhat.com>
Fri, 20 Sep 2013 10:42:45 +0000 (12:42 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 20 Sep 2013 10:42:45 +0000 (12:42 +0200)
commit8e5c46750073137ff35154242437e56c3b41ec1b
tree284716fa384af0d64696cbddae25f9aab0f9c0ac
parent2afcbe139d272fa494c28c8e6a0624d93a96e157
build-sys: support --with-python[={2,3}]

 * we use pkg-config to get CGLAGS and LIBS, use package specific
   config (e.g. python-config) is non-sense.

 * default is to follow distribution and use pkg-config module name
   "python". This is probably symlink to python2.pc or python3.pc.

 * --with-python=2 forces to pkg-module "python2 >= 2"

 * --with-python=3 forces to pkg-module "python3 >= 3"

Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac
libmount/python/Makemodule.am