Add callbacks for Tethering enable/disable on technology level
[platform/upstream/connman.git] / configure.ac
index 6514483..f137749 100644 (file)
@@ -347,6 +347,11 @@ AM_CONDITIONAL(CLIENT, test "${enable_client}" = "yes")
 AC_ARG_ENABLE(tools, AC_HELP_STRING([--enable-tools],
                [enable testing tools]), [enable_tools=${enableval}])
 if (test "${enable_tools}" = "yes"); then
+       PKG_CHECK_MODULES(IPTC, libiptc, dummy=yes,
+                               AC_MSG_ERROR(iptables library is required))
+       AC_SUBST(IPTC_CFLAGS)
+       AC_SUBST(IPTC_LIBS)
+
        PKG_CHECK_MODULES(NETLINK, libnl-1, dummy=yes,
                                AC_MSG_ERROR(Netlink library is required))
        AC_SUBST(NETLINK_CFLAGS)