mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Add FreeRTOS-Plus directory with new directory structure so it matches the FreeRTOS directory.
This commit is contained in:
parent
80f7e8cdd4
commit
64a3ab321a
528 changed files with 228252 additions and 0 deletions
25
FreeRTOS-Plus/Source/CyaSSL/m4/lib_socket_nsl.m4
Normal file
25
FreeRTOS-Plus/Source/CyaSSL/m4/lib_socket_nsl.m4
Normal file
|
@ -0,0 +1,25 @@
|
|||
dnl @synopsis LIB_SOCKET_NSL
|
||||
dnl
|
||||
dnl This macro figures out what libraries are required on this platform
|
||||
dnl to link sockets programs.
|
||||
dnl
|
||||
dnl The common cases are not to need any extra libraries, or to need
|
||||
dnl -lsocket and -lnsl. We need to avoid linking with libnsl unless we
|
||||
dnl need it, though, since on some OSes where it isn't necessary it
|
||||
dnl will totally break networking. Unisys also includes gethostbyname()
|
||||
dnl in libsocket but needs libnsl for socket().
|
||||
dnl
|
||||
dnl @category Misc
|
||||
dnl @author Russ Allbery <rra@stanford.edu>
|
||||
dnl @author Stepan Kasal <kasal@ucw.cz>
|
||||
dnl @author Warren Young <warren@etr-usa.com>
|
||||
dnl @version 2005-09-06
|
||||
dnl @license AllPermissive
|
||||
|
||||
AC_DEFUN([LIB_SOCKET_NSL],
|
||||
[
|
||||
AC_SEARCH_LIBS([gethostbyname], [nsl])
|
||||
AC_SEARCH_LIBS([socket], [socket], [], [
|
||||
AC_CHECK_LIB([socket], [socket], [LIBS="-lsocket -lnsl $LIBS"],
|
||||
[], [-lnsl])])
|
||||
])
|
Loading…
Add table
Add a link
Reference in a new issue