build: use pkgconfig to detect zlib
authorJan Engelhardt <jengelh@medozas.de>
Sat, 24 Dec 2011 03:45:22 +0000 (04:45 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Sat, 24 Dec 2011 19:25:21 +0000 (20:25 +0100)
commit7b3a74fc67993e6fb85918ec8c2f71c90903a4d4
tree182d4342573d5c1647ad9c903884db6fa709e574
parentbb417099e481bc947f19b1a7c2f4073ec64c8086
build: use pkgconfig to detect zlib

build: explicitly call PKG_PROG_PKG_CONFIG

Per the manual page, PKG_PROG_PKG_CONFIG needs to be invoked
explicitly if PKG_CHECK_MODULES might not happen (it is indeed stowed
in an AS_IF in kmod). Without this, funny failures can occur.
(As it did.)
Makefile.am
configure.ac
libkmod/libkmod.pc.in