- removed AC_CHECK_LIB(nsl, main) and added
authorkloczek <kloczek@pld-linux.org>
Sat, 16 Dec 2000 05:32:32 +0000 (05:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  AC_CHECK_FUNC(gethostbyname, [], AC_CHECK_LIB(nsl, gethostbyname))
  On system with gethostbyname in libs this causes linking without libnsl.

Changed files:
    cftp-no_libnsl.patch -> 1.1

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

diff --git a/cftp-no_libnsl.patch b/cftp-no_libnsl.patch
new file mode 100644 (file)
index 0000000..527cd40
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Nru cftp-0.10/configure.in cftp-0.10.new/configure.in
+--- cftp-0.10/configure.in     Sat Dec  9 14:50:45 2000
++++ cftp-0.10.new/configure.in Sat Dec 16 06:23:40 2000
+@@ -42,7 +42,7 @@
+ LIBS="$LIBS $TERMCAP"
+ AC_CHECK_LIB(socket, main)
+-AC_CHECK_LIB(nsl, main)
++AC_CHECK_FUNC(gethostbyname, [], AC_CHECK_LIB(nsl, gethostbyname))
+ AC_CHECK_LIB(resolv, main)
This page took 0.032884 seconds and 4 git commands to generate.