1 diff -ur screen-4.5.0.orig/configure screen-4.5.0/configure
2 --- screen-4.5.0.orig/configure Tue Jan 17 14:29:21 2017
3 +++ screen-4.5.0/configure Sun Jul 15 13:06:06 2018
6 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7 $EGREP "yes" >/dev/null 2>&1; then :
8 - LIBS="$LIBS -lsocket -linet";seqptx=1
9 + LIBS="$LIBS -linet";seqptx=1
15 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16 $EGREP "yes" >/dev/null 2>&1; then :
17 - LIBS="$LIBS -lsocket -lnsl -lkstat"
18 + LIBS="$LIBS -lnsl -lkstat"
24 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25 $EGREP "yes" >/dev/null 2>&1; then :
26 - LIBS="$LIBS -lsocket -lcrypt_i"
27 + LIBS="$LIBS -lcrypt_i"
35 -test -n "$seqptx" && LIBS="-ltermcap -lc -lsocket -linet -lnsl -lsec -lseq"
36 +test -n "$seqptx" && LIBS="-ltermcap -lc -linet -lnsl -lsec -lseq"
38 if test "$cross_compiling" = yes; then :
39 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40 diff -ur screen-4.5.0.orig/configure.ac screen-4.5.0/configure.ac
41 --- screen-4.5.0.orig/configure.ac Tue Jan 17 14:28:29 2017
42 +++ screen-4.5.0/configure.ac Sun Jul 15 13:05:51 2018
47 -], LIBS="$LIBS -lsocket -linet";seqptx=1)
48 +], LIBS="$LIBS -linet";seqptx=1)
53 [#if defined(SVR4) && defined(sun)
56 -], LIBS="$LIBS -lsocket -lnsl -lkstat")
57 +], LIBS="$LIBS -lnsl -lkstat")
60 dnl **** typedefs ****
65 -], LIBS="$LIBS -lsocket -lcrypt_i")
66 +], LIBS="$LIBS -lcrypt_i")
69 dnl **** misc things ****
73 dnl Ptx bug workaround -- insert -lc after -ltermcap
74 -test -n "$seqptx" && LIBS="-ltermcap -lc -lsocket -linet -lnsl -lsec -lseq"
75 +test -n "$seqptx" && LIBS="-ltermcap -lc -linet -lnsl -lsec -lseq"
77 AC_TRY_RUN(main(){exit(0);},,AC_MSG_ERROR(Can't run the compiler - internal error. Sorry.))