aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2020-03-30 21:19:17 +0200
committerMatthias Andree <matthias.andree@gmx.de>2020-03-30 21:19:17 +0200
commit66a35bd6c22fc68b685fd90f0cc80a32ffc1e364 (patch)
tree72c4389fc91116445f501e8ec6a4901cb70f0abf /configure.ac
parentc9fb61809611f51363db1779e02cea3faf8146d4 (diff)
downloadfetchmail-66a35bd6c22fc68b685fd90f0cc80a32ffc1e364.tar.gz
fetchmail-66a35bd6c22fc68b685fd90f0cc80a32ffc1e364.tar.bz2
fetchmail-66a35bd6c22fc68b685fd90f0cc80a32ffc1e364.zip
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4990fe49..ccca38d6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -180,7 +180,7 @@ AC_CHECK_FUNCS(tcsetattr stty setsid geteuid seteuid dnl
atexit inet_aton strftime setrlimit socketpair dnl
sigaction strdup setlocale)
-AC_CHECK_DECLS([strerror,getenv])
+AC_CHECK_DECLS([strerror])
dnl INET6 is used by KAME/getnameinfo
AC_CACHE_CHECK(for AF_INET6/PF_INET6,ac_cv_inet6,
AC_COMPILE_IFELSE([