--- fetchmail-6.3.26.orig/configure.ac	2013-04-23 22:51:10.000000000 +0200
+++ fetchmail-6.3.26/configure.ac	2016-09-29 16:00:20.683625569 +0200
@@ -803,6 +803,7 @@ fi
 
 case "$LIBS" in *-lssl*)
 	AC_CHECK_DECLS([SSLv2_client_method],,,[#include <openssl/ssl.h>])
+	AC_CHECK_DECLS([SSLv3_client_method],,,[#include <openssl/ssl.h>])
 	;;
 esac
 
