+20030908
+ - (tim) [configure.ac openbsd-compat/getrrsetbyname.c] wrap _getshort and
+ _getlong in #ifndef
+
20030907
- (dtucker) [agent-ptrace.sh dynamic-forward.sh (all regress/)]
Put "which" inside quotes.
# Needed by our getrrsetbyname()
AC_SEARCH_LIBS(res_query, resolv)
AC_SEARCH_LIBS(dn_expand, resolv)
+ AC_CHECK_FUNCS(_getshort _getlong)
])
fi
]
* Routines to insert/extract short/long's.
*/
+#ifndef HAVE__GETSHORT
static u_int16_t
_getshort(msgp)
register const u_char *msgp;
GETSHORT(u, msgp);
return (u);
}
+#endif
+#ifndef HAVE__GETLONG
static u_int32_t
_getlong(msgp)
register const u_char *msgp;
GETLONG(u, msgp);
return (u);
}
+#endif
int
getrrsetbyname(const char *hostname, unsigned int rdclass,