diff options
author | David Bremner <david@tethera.net> | 2014-06-22 06:53:21 -0300 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-06-22 06:53:21 -0300 |
commit | cc2722ba9e1b2854c5500eb7bb41910478aa8fce (patch) | |
tree | 7130e8abf64aae7e133c262c0079ab2afafda9a1 /configure | |
parent | 9e7bc02530caf94f2eff633129b089d4be26f58a (diff) | |
parent | 0c698ef0374b671d3b6a8def2d9c113797ceaec3 (diff) |
Merge branch 'release'
Austin's termpos patches and Felipe's zlib.pc workaround
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -340,6 +340,15 @@ else errors=$((errors + 1)) fi +if ! pkg-config --exists zlib; then + ${CC} ${zlib_cflags} -o compat/gen_zlib_pc \ + "$srcdir"/compat/gen_zlib_pc.c ${zlib_ldflags} > /dev/null 2>&1 && + compat/gen_zlib_pc > compat/zlib.pc && + PKG_CONFIG_PATH="$PKG_CONFIG_PATH":compat && + export PKG_CONFIG_PATH + rm -f compat/gen_zlib_pc +fi + printf "Checking for zlib (>= 1.2.5.2)... " have_zlib=0 if pkg-config --atleast-version=1.2.5.2 zlib; then |