Search
j0ke.net Open Build Service
>
Projects
>
GFS
>
net-snmp
> net-snmp-5.2.1-autoconf.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File net-snmp-5.2.1-autoconf.diff of Package net-snmp (Revision 2)
Currently displaying revision
2
,
show latest
Index: configure.in =================================================================== --- configure.in.orig +++ configure.in @@ -943,8 +943,8 @@ AC_EXEEXT # libtool stuff for shared/static libraries. -AC_LIBTOOL_DLOPEN AC_LIBTOOL_WIN32_DLL +AC_LIBTOOL_DLOPEN AC_PROG_LIBTOOL AC_SUBST(LIBTOOL_DEPS) @@ -1037,7 +1037,7 @@ # system check -AC_CANONICAL_TARGET +AC_CANONICAL_TARGET([]) changequote(, ) PARTIALTARGETOS=`echo $target_os | sed 's/[-._].*//'` if test "x$PARTIALTARGETOS" = "xmingw32msvc"; then @@ -2332,8 +2332,6 @@ [ 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> @@ -3754,7 +3752,7 @@ # 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 @@ -3808,7 +3806,7 @@ 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