X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=configure;h=e16a9b761e7257551b39f7f60455e9d2d374afe4;hb=b2488a925a61c929db6ff831a288db87b70c4d92;hp=47130203d27be13c69b6d5a5af0fae0924741b41;hpb=5a957c3f33e6addaeb61a4bc4bddf3959acddcd1;p=notmuch diff --git a/configure b/configure index 47130203..e16a9b76 100755 --- a/configure +++ b/configure @@ -493,8 +493,7 @@ else 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 && + ${CC} -o compat/gen_zlib_pc "$srcdir"/compat/gen_zlib_pc.c >/dev/null 2>&1 && compat/gen_zlib_pc > compat/zlib.pc && PKG_CONFIG_PATH="$PKG_CONFIG_PATH":compat && export PKG_CONFIG_PATH @@ -680,8 +679,6 @@ else EOF fi -rm -f _byteorder _byteorder.c - if [ $errors -gt 0 ]; then cat <