Initial patch to add detection for -lnetwork in tnftp. Note that this fails to build, but it is detecting ipv6, so probably a good one to

take a fresh look at once ipv6 is known to be more stable and working on Haiku.
This commit is contained in:
Scott McCreary
2010-08-30 03:59:36 +00:00
parent ab4115b08b
commit 0340856a00
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
diff -urN tnftpd-20091122/configure.ac tnftpd-20091122-haiku/configure.ac
--- tnftpd-20091122/configure.ac 2009-12-30 01:42:42.036962304 +0000
+++ tnftpd-20091122-haiku/configure.ac 2010-08-30 03:35:13.000000000 +0000
@@ -123,7 +123,7 @@
[LIBS="-lsocket -lnsl $LIBS"],
[],
[-lnsl])])
-
+AC_CHECK_LIB(network, socket, LIBS="-lnetwork $LIBS")
#
# Checks for header files.
#

View File

@@ -7,6 +7,11 @@ DEPEND=""
CHECKSUM_MD5="e7f86e7680648b675ee27c94655de494"
BUILD {
cd tnftpd-20091122
libtoolize --force --copy --install
aclocal
autoconf
automake
autoheader
./configure --prefix=/boot/common
make
}