]> git.pld-linux.org Git - packages/epic4.git/blob - epic4-gethostname_is_in_libc_aka_no_libnsl.patch
- added very simple ac fix
[packages/epic4.git] / epic4-gethostname_is_in_libc_aka_no_libnsl.patch
1 diff -Nru epic4-0.9.7/configure.in epic4-0.9.7.new/configure.in
2 --- epic4-0.9.7/configure.in    Fri Jul  7 04:32:24 2000
3 +++ epic4-0.9.7.new/configure.in        Mon Aug 21 00:15:28 2000
4 @@ -93,9 +93,8 @@
5         AC_CHECK_LIB(inet, socket, libnsl=1; LIBS="$LIBS -linet -lnsl_s",)
6  fi
7  
8 -if test -z "$libnsl"; then
9 -       AC_CHECK_LIB(nsl, gethostname, LIBS="$LIBS -lnsl",)
10 -fi
11 +AC_CHECK_FUNC(gethostname, ,
12 +       AC_CHECK_LIB(nsl, gethostname, LIBS="$LIBS -lnsl",) )
13  
14  AC_CHECK_LIB(sun, getpwnam, LIBS="$LIBS -lsun",)
15  AC_CHECK_LIB(dgc, inet_addr, LIBS="$LIBS -ldgc",)
This page took 0.072237 seconds and 3 git commands to generate.