]> git.notmuchmail.org Git - notmuch/blobdiff - configure
cli/show: move formatter structs closer to where they're needed
[notmuch] / configure
index 47130203d27be13c69b6d5a5af0fae0924741b41..e16a9b761e7257551b39f7f60455e9d2d374afe4 100755 (executable)
--- 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 <<EOF