mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
Fix linking on Solaris. Fixes bug #568482.
Check for nsl and socket libraries and add them to LIBS if they're found. They're needed for socket() and gethostbyname() on Solaris.
This commit is contained in:
parent
c42c6d6da0
commit
16347bfa21
1 changed files with 4 additions and 0 deletions
|
@ -236,6 +236,10 @@ LIBS=$save_libs
|
||||||
dnl Check for a way to display the function name in debug output
|
dnl Check for a way to display the function name in debug output
|
||||||
AG_GST_CHECK_FUNCTION
|
AG_GST_CHECK_FUNCTION
|
||||||
|
|
||||||
|
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 *** checks for dependency libraries ***
|
dnl *** checks for dependency libraries ***
|
||||||
|
|
||||||
dnl GLib is required
|
dnl GLib is required
|
||||||
|
|
Loading…
Reference in a new issue