04b7641e85
- Add x11proto to redbear-full.toml package list - libxau recipe updated with x11proto dependency and custom build script - Fixes libxau build failure: 'Package xproto was not found'
14 lines
393 B
Plaintext
14 lines
393 B
Plaintext
AC_DEFUN([AC_REQUIRE_SOCKET],
|
|
[
|
|
AC_SEARCH_LIBS(socket, [xnet bsd socket inet], [have_socket=yes])
|
|
if test x"$have_socket" = x"yes"; then
|
|
AC_SEARCH_LIBS(gethostbyname, [bsd socket inet netinet nsl])
|
|
AC_CHECK_MEMBERS([struct linger.l_linger], , , [
|
|
#include <sys/types.h>
|
|
#include <sys/socket.h>
|
|
])
|
|
else
|
|
AC_MSG_ERROR([Couldn't find socket functions])
|
|
fi
|
|
])
|