]>
Commit | Line | Data |
---|---|---|
5c9a3261 JB |
1 | --- atftp-0.8.0/configure.ac.orig 2023-12-25 17:03:51.624746674 +0100 |
2 | +++ atftp-0.8.0/configure.ac 2023-12-25 17:31:38.212384661 +0100 | |
3 | @@ -149,7 +149,7 @@ if test x$libwrap = xtrue; then | |
4 | dnl test here. We automatically link against nsl since libwrap is not | |
5 | dnl already linked with it on all systems. | |
6 | orig_LIBS="$LIBS" | |
7 | - LIBS="-lnsl -lwrap" | |
8 | + LIBS="-lwrap" | |
9 | AC_MSG_CHECKING([for hosts_ctl in -lwrap]) | |
10 | AC_TRY_LINK([ | |
11 | #include <tcpd.h> | |
12 | @@ -158,7 +158,7 @@ if test x$libwrap = xtrue; then | |
13 | ], | |
14 | hosts_ctl("", STRING_UNKNOWN, STRING_UNKNOWN, STRING_UNKNOWN); | |
15 | , | |
16 | - LIBWRAP="-lnsl -lwrap" | |
17 | + LIBWRAP="-lwrap" | |
18 | LIBS="$orig_LIBS" | |
19 | AC_MSG_RESULT(yes) | |
20 | AC_DEFINE([HAVE_WRAP], 1, "Support for libwrap") |