Origin: commit:d340b02cbedb7e6e726559f26dc09d3b8b104ec5 Author: Amadeusz Sławiński Date: Tue Jul 8 14:55:25 2014 +0200 Bug-Debian: https://bugs.debian.org/903818 Forwarded: https://lists.gnu.org/archive/html/screen-devel/2018-07/msg00003.html Reviewed-By: Sven Joachim Reviewed-By: Axel Beckert Subject: Do not link against libelf. I'd like to upstream the patch to drop linking dependency to libelf. It is probably some leftover from old versions of gnu screen and some distributions downstream upply it for years. http://pkgs.fedoraproject.org/cgit/screen.git/tree/screen-4.0.3-libs.patch (Fedora) http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-misc/screen/files/4.0.2-no-libelf.patch?revision=1.1&view=markup (Gentoo) https://galileo.mailstation.de/gerrit/#/c/1275/ (Exherbo) From: Ivan Diorditsa Signed-off-by: Amadeusz Sławiński --- a/configure.ac +++ b/configure.ac @@ -202,14 +202,6 @@ #endif ], LIBS="$LIBS -lsocket -linet";seqptx=1) -oldlibs="$LIBS" -LIBS="$LIBS -lelf" -AC_CHECKING(SVR4) -AC_TRY_LINK([#include -],, -[AC_CHECK_HEADER(dwarf.h, AC_DEFINE(SVR4) AC_DEFINE(BUGGYGETLOGIN), -[AC_CHECK_HEADER(elf.h, AC_DEFINE(SVR4) AC_DEFINE(BUGGYGETLOGIN))])] -,LIBS="$oldlibs") AC_CHECK_HEADERS([stropts.h string.h strings.h]) AC_CHECKING(for Solaris 2.x)