blob: dedaaadae1931d02abd059807192e984c2d1d49d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
Origin: commit:d340b02cbedb7e6e726559f26dc09d3b8b104ec5
Author: Amadeusz Sławiński <amade@asmblr.net>
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 <svenjoac@gmx.de>
Reviewed-By: Axel Beckert <abe@debian.org>
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 <ivan.diorditsa@gmail.com>
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
--- 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 <utmpx.h>
-],,
-[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)
|