Fix linking on Solaris. Fixes bug #568809.
authorBrian Cameron <brian.cameron@sun.com>
Fri, 23 Jan 2009 09:04:39 +0000 (10:04 +0100)
committerSebastian Dröge <slomo@circular-chaos.org>
Fri, 23 Jan 2009 09:04:39 +0000 (10:04 +0100)
Check for the socket library which is needed
for socket() on Solaris.

configure.ac

index 6b9d85e..0f11fb3 100644 (file)
@@ -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