]> git.pld-linux.org Git - packages/uucp.git/commitdiff
- correctly detect is lininking with libnsl is neccessary in case using gethostbyname().
authorkloczek <kloczek@pld-linux.org>
Fri, 4 Oct 2002 09:03:12 +0000 (09:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    uucp-no_libnsl.patch -> 1.1

uucp-no_libnsl.patch [new file with mode: 0644]

diff --git a/uucp-no_libnsl.patch b/uucp-no_libnsl.patch
new file mode 100644 (file)
index 0000000..ec53981
--- /dev/null
@@ -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*) ;;
This page took 0.049005 seconds and 4 git commands to generate.