WHAT'S NEW?
+ v0.33 Fixed the Linux glibc resolver problems.
+ Fixed the off-by-one problem with -c option.
+
v0.32 Fixed the FreeBSD bug detection stuff.
v0.31 Fixed a few documentation issues. -- Matt
AC_INIT(mtr.c)
-AM_INIT_AUTOMAKE(mtr, 0.32)
+AM_INIT_AUTOMAKE(mtr, 0.33)
AC_SUBST(GTK_OBJ)
AC_SUBST(CURSES_OBJ)
AC_CHECK_LIB(bind, res_init, ,
AC_CHECK_LIB(resolv, res_init, , AC_MSG_ERROR(No resolver library found))))
+AC_CHECK_FUNC(res_mkquery, ,
+ AC_CHECK_LIB(bind, res_init, ,
+ AC_CHECK_LIB(resolv, res_init, , AC_MSG_ERROR(No resolver library found))))
+
AC_CHECK_FUNC(herror, , AC_DEFINE(NO_HERROR))
AC_CHECK_FUNC(strerror, , AC_DEFINE(NO_STRERROR))
struct timeval lasttime, thistime, selecttime;
float wt;
- NumPing = 0;
+ /* This starts at -1, because the first packet sent is not counted
+ as a ping. That confuses people. */
+ NumPing = -1;
anyset = 0;
gettimeofday(&lasttime, NULL);
DeltaTime = WaitTime/10;