]> git.pld-linux.org Git - packages/cpio.git/blob - cpio-gethostname_is_in_libc_aka_no_libnsl.patch
- release 25,
[packages/cpio.git] / cpio-gethostname_is_in_libc_aka_no_libnsl.patch
1 diff -uNr cpio-2.4.2/configure.in cpio-2.4.2.new/configure.in
2 --- cpio-2.4.2/configure.in     Wed Dec 20 17:28:29 1995
3 +++ cpio-2.4.2.new/configure.in Mon Aug 21 01:20:15 2000
4 @@ -62,6 +62,7 @@
5  AC_FUNC_VPRINTF
6  AC_FUNC_ALLOCA
7  AC_HEADER_DIRENT
8 -AC_CHECK_LIB(nsl, gethostname, [LIBS="$LIBS -lnsl"])
9 +AC_CHECK_FUNC(gethostname, ,
10 +AC_CHECK_LIB(nsl, gethostname, [LIBS="$LIBS -lnsl"],) )
11  AC_CHECK_LIB(socket, setsockopt, [LIBS="$LIBS -lsocket"])
12  AC_OUTPUT(Makefile)
This page took 0.055364 seconds and 3 git commands to generate.