]> git.pld-linux.org Git - packages/dictd.git/commitdiff
- if gethostbyname() isn't avalaible in libc than link with libnsl.
authorkloczek <kloczek@pld-linux.org>
Wed, 7 Nov 2001 16:04:21 +0000 (16:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dictd-no_libnsl.patch -> 1.1

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

diff --git a/dictd-no_libnsl.patch b/dictd-no_libnsl.patch
new file mode 100644 (file)
index 0000000..87247ac
--- /dev/null
@@ -0,0 +1,13 @@
+--- dictd-1.5.5/configure.in~  Wed Nov  7 16:08:49 2001
++++ dictd-1.5.5/configure.in   Wed Nov  7 16:09:00 2001
+@@ -224,7 +224,9 @@
+ fi
+ AC_CHECK_LIB(socket,main,REALLIBS="$REALLIBS -lsocket")
+-AC_CHECK_LIB(nsl,main,REALLIBS="$REALLIBS -lnsl")
++AC_CHECK_FUNC(gethostbyname, [],
++      AC_CHECK_LIB(nsl, gethostbyname, REALLIBS="$REALLIBS -lnsl")
++)
+ if test "$local_dmalloc" = 0 -a "$needs_dmalloc" = 1; then
+     AC_CHECK_LIB(dmalloc,main,
This page took 0.051455 seconds and 4 git commands to generate.