From 671ab22c9fd9ddb06f49e26472b2d7025ae4e2b4 Mon Sep 17 00:00:00 2001 From: kloczek Date: Fri, 4 Oct 2002 09:03:12 +0000 Subject: [PATCH] - correctly detect is lininking with libnsl is neccessary in case using gethostbyname(). Changed files: uucp-no_libnsl.patch -> 1.1 --- uucp-no_libnsl.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 uucp-no_libnsl.patch diff --git a/uucp-no_libnsl.patch b/uucp-no_libnsl.patch new file mode 100644 index 0000000..ec53981 --- /dev/null +++ b/uucp-no_libnsl.patch @@ -0,0 +1,11 @@ +--- uucp-1.06.1/configure.in~ Fri Oct 4 10:53:32 2002 ++++ uucp-1.06.1/configure.in Fri Oct 4 10:53:32 2002 +@@ -361,7 +361,7 @@ + esac + case $LIBS in + *-lnsl*) ;; +-*) AC_CHECK_LIB(nsl, main) ;; ++*) AC_CHECK_FUNC(gethostbyname, [], AC_CHECK_LIB(nsl, gethostbyname)) ;; + esac + case $LIBS in + *-lsocket*) ;; -- 2.44.0