summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e31a119f..167953bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -157,6 +157,10 @@ dnl *** checks for library functions ***
dnl *** checks for dependency libraries ***
+dnl *** checks for socket and nsl libraries ***
+AC_CHECK_FUNC(socket,,[AC_CHECK_LIB(socket,socket)])
+AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname)])
+
dnl GLib is required
AG_GST_GLIB_CHECK([2.6])