]> git.pld-linux.org Git - packages/cpio.git/blob - cpio-gethostname_is_in_libc_aka_no_libnsl.patch
- remove old gettext definitions to avoid 'undefined AM_MKINSTALLDIRS' problem
[packages/cpio.git] / cpio-gethostname_is_in_libc_aka_no_libnsl.patch
1 --- cpio-2.6/configure.ac.orig  2004-12-20 11:46:30.000000000 +0100
2 +++ cpio-2.6/configure.ac       2005-01-09 02:12:13.121894584 +0100
3 @@ -95,8 +95,8 @@
4  AC_CHECK_FUNCS(lchown endpwent endgrent)
5  AC_FUNC_VPRINTF
6  AC_FUNC_ALLOCA
7 -AC_CHECK_LIB(nsl, gethostname, [LIBS="$LIBS -lnsl"])
8 -AC_CHECK_LIB(socket, setsockopt, [LIBS="$LIBS -lsocket"])
9 +AC_CHECK_FUNC(gethostname,,[AC_CHECK_LIB(nsl, gethostname, [LIBS="$LIBS -lnsl"])])
10 +AC_CHECK_FUNC(setsockopt,,[AC_CHECK_LIB(socket, setsockopt, [LIBS="$LIBS -lsocket"])])
11  
12  # Gettext.
13  AM_GNU_GETTEXT([external], [need-ngettext])
14 @@ -104,10 +104,9 @@
15  
16  # Initialize the test suite.
17  AC_CONFIG_TESTDIR(tests)
18 -AC_CONFIG_FILES([tests/Makefile tests/atlocal]) # FIXME: tests/preset?
19  AM_MISSING_PROG([AUTOM4TE], [autom4te])
20  
21 -AC_CONFIG_FILES([Makefile
22 +AC_CONFIG_FILES([Makefile tests/Makefile tests/atlocal
23   doc/Makefile
24   headers/Makefile
25   lib/Makefile
This page took 0.020803 seconds and 3 git commands to generate.