From 65d1b8c392755692bd889eb35a7e8dd8e678e952 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Sat, 2 Sep 2017 13:30:14 +0200
Subject: fix check needed for inet_pton


diff --git a/configure.ac b/configure.ac
index de651d7..b666d52 100644
--- a/configure.ac
+++ b/configure.ac
@@ -215,6 +215,8 @@ AC_HEADER_DIRENT
 AC_HEADER_STAT
 AC_HEADER_SYS_WAIT
 
+dnl Check for -lsocket -lnetwork inet
+AC_SEARCH_LIBS([socket],[socket inet network])
 
 dnl Checks for typedefs, structures, and compiler characteristics.
 
-- 
2.21.0

