summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorBrian Cameron <brian.cameron@sun.com>2009-01-23 10:04:39 +0100
committerSebastian Dröge <slomo@circular-chaos.org>2009-01-23 10:04:39 +0100
commitd818fb174ba76356ea5f8fb9677a2d61fac41b23 (patch)
tree558255ee1b2bffdc396c7173bbf7c7dd4e9df7e5 /configure.ac
parent1a85ce023914cdcfea7d2f2884d1ca53d902614a (diff)
Fix linking on Solaris. Fixes bug #568809.
Check for the socket library which is needed for socket() on Solaris.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6b9d85e5..0f11fb36 100644
--- a/configure.ac
+++ b/configure.ac
@@ -318,6 +318,9 @@ AG_GST_CHECK_PLUGIN(videomixer)
AG_GST_CHECK_PLUGIN(wavenc)
AG_GST_CHECK_PLUGIN(wavparse)
+dnl *** checks for socket and nsl libraries ***
+AC_CHECK_FUNC(socket,,[AC_CHECK_LIB(socket,socket)])
+
dnl disable gst plugins we might not be able to build on this
dnl platform: udp and rtsp (ugly but minimally invasive)
dnl FIXME: maybe move to sys