#
-# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
include $(TOPDIR)/rules.mk
PKG_NAME:=mtr
-PKG_VERSION:=0.81
+PKG_VERSION:=0.82
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.bitwizard.nl/mtr
-PKG_MD5SUM:=b7a7914f1fc1b5a21ab10bdca44356e1
+PKG_MD5SUM:=10601ea543fda3e51545c4bce195b64c
PKG_INSTALL:=1
- AC_CHECK_LIB(bind, res_mkquery, ,
- AC_CHECK_LIB(resolv, res_mkquery, ,
- AC_CHECK_LIB(resolv, __res_mkquery, , AC_MSG_ERROR(No resolver library found)))))
-+#AC_CHECK_FUNC(res_mkquery, ,
-+# AC_CHECK_LIB(bind, res_mkquery, ,
++#AC_CHECK_FUNC(res_mkquery, ,
++# AC_CHECK_LIB(bind, res_mkquery, ,
+# AC_CHECK_LIB(resolv, res_mkquery, ,
+# AC_CHECK_LIB(resolv, __res_mkquery, , AC_MSG_ERROR(No resolver library found)))))
# This next line would override the just detected-or-not -lresolv.
- AC_DEFINE(NO_GTK, 1, [Define if you don't have the GTK+ libraries available.])
- GTK_OBJ="")
-else
-- AC_DEFINE(NO_GTK)
-- GTK_OBJ=""
--fi
+#if test "x$WANTS_GTK" = "xyes"; then
+# AM_PATH_GTK_2_0(2.6.0, CFLAGS="$CFLAGS $GTK_CFLAGS"
+# LIBS="$LIBS $GTK_LIBS -lm",
+# AC_DEFINE(NO_GTK, 1, [Define if you don't have the GTK+ libraries available.])
+# GTK_OBJ="")
+#else
-+ AC_DEFINE(NO_GTK)
-+ GTK_OBJ=""
+ AC_DEFINE(NO_GTK)
+ GTK_OBJ=""
+-fi
+#fi
AC_CHECK_FUNC(socket, ,