[Bug 754875] configure.ac: no socketpair() check causes unresolved reference

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Sep 11 06:28:04 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=754875

--- Comment #2 from d_garry at mail.ru ---
My current patch for this issue (libtool uses LIBS variable indeed, that was my
mistake):

diff -crBN gstreamer-1.5.90.orig/configure.ac gstreamer-1.5.90/configure.ac
*** gstreamer-1.5.90.orig/configure.ac  2015-08-19 11:41:23.000000000 +0300
--- gstreamer-1.5.90/configure.ac       2015-09-11 16:01:27.845970250 +0300
***************
*** 620,625 ****
--- 620,632 ----
  AC_CHECK_FUNCS([ppoll])
  AC_CHECK_FUNCS([pselect])

+ dnl check for socketpair()
+ AC_CHECK_FUNC(socketpair, [], [
+   AC_CHECK_LIB(socket, socketpair, [
+     LIBS="$LIBS -lsocket"
+   ]) 
+ ])
+ 
  dnl ****************************************
  dnl *** GLib POLL* compatibility defines ***
  dnl ****************************************

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list