From 66a35bd6c22fc68b685fd90f0cc80a32ffc1e364 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 30 Mar 2020 21:19:17 +0200 Subject: Remove broken AC_CHECK_DECLS(getenv). We were testing #ifndef HAVE_DECL_GETENV, which was always false. Thus, it is safe to assume that the test never triggered, and the entire #ifndef...#endif block can be removed. --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index bd92702b..79973449 100644 --- a/NEWS +++ b/NEWS @@ -91,6 +91,12 @@ fetchmail-6.4.3 (WIP) with OpenSSL lacks TLS v1.3 support. * If the trust anchor is missing, fetchmail refers the user to README.SSL. +## INTERNAL CHANGES: +* The AC_DECLS(getenv) check was removed, its only user was broken and not + accounting for that AC_DECLS always defines HAVE_DECL_... to 0 or 1, so + fetchmail never declared a missing getenv() symbol (it was testing with + #ifdef). Remove the backup declaration. getenv is mandated by SUSv2 anyways. + fetchmail-6.4.2 (released 2020-02-14, 27473 LoC): ## BREAKING CHANGES: -- cgit v1.2.3