Search
j0ke.net Open Build Service
>
Projects
>
GFS
>
net-snmp
> net-snmp-5.4.2_autoconf.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File net-snmp-5.4.2_autoconf.patch of Package net-snmp (Revision 3)
Currently displaying revision
3
,
show latest
Index: configure.in =================================================================== --- configure.in.orig 2008-09-05 11:27:25.000000000 +0200 +++ configure.in 2008-10-24 15:30:38.018389374 +0200 @@ -1025,7 +1025,7 @@ AC_SUBST(LINKCC) AC_AIX # system check -AC_CANONICAL_TARGET +AC_CANONICAL_TARGET([]) changequote(, ) PARTIALTARGETOS=`echo $target_os | sed 's/[-._].*//'` changequote([, ]) @@ -2756,8 +2756,6 @@ AC_ARG_WITH(libwrap, [ AC_MSG_RESULT([no]) # Linux RedHat 6.1 won't link libwrap without libnsl - AC_CHECK_FUNC(yp_get_default_domain, , - AC_CHECK_LIB(nsl, yp_get_default_domain)) AC_MSG_CHECKING([for TCP wrappers library -lwrap linked with -lnsl]) AC_TRY_LINK([#include <sys/types.h> #include <tcpd.h> @@ -4555,7 +4553,7 @@ fi # we need to have a local variable `hz' in scope and set to a useful # value whenever we use one of these constants. # -AC_CACHE_CHECK(whether TCP timers depend on \`hz',ac_cv_TCPTV_NEEDS_HZ, +AC_CACHE_CHECK(whether TCP timers depend on hz,ac_cv_TCPTV_NEEDS_HZ, [AC_EGREP_CPP(hz, [#include <netinet/tcp_timer.h> TCPTV_SRTTDFLT @@ -4609,7 +4607,7 @@ fi ME=`$WHOAMI` if test -f /etc/resolv.conf; then - LOC=`cat /etc/resolv.conf | grep '^domain' | tail -1 | awk '{print $NF}'` + LOC=`cat /etc/resolv.conf | grep '^domain' | tail -n 1 | awk '{print $NF}'` else LOC="@no.where" fi