⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
proc
/
self
/
root
/
usr
/
share
/
aclocal
/
View File Name :
ax_lib_socket_nsl.m4
# =========================================================================== # https://www.gnu.org/software/autoconf-archive/ax_lib_socket_nsl.html # =========================================================================== # # SYNOPSIS # # AX_LIB_SOCKET_NSL # # DESCRIPTION # # This macro figures out what libraries are required on this platform to # link sockets programs. # # The common cases are not to need any extra libraries, or to need # -lsocket and -lnsl. We need to avoid linking with libnsl unless we need # it, though, since on some OSes where it isn't necessary it will totally # break networking. Unisys also includes gethostbyname() in libsocket but # needs libnsl for socket(). # # LICENSE # # Copyright (c) 2008 Russ Allbery <rra@stanford.edu> # Copyright (c) 2008 Stepan Kasal <kasal@ucw.cz> # Copyright (c) 2008 Warren Young <warren@etr-usa.com> # # Copying and distribution of this file, with or without modification, are # permitted in any medium without royalty provided the copyright notice # and this notice are preserved. This file is offered as-is, without any # warranty. #serial 7 AU_ALIAS([LIB_SOCKET_NSL], [AX_LIB_SOCKET_NSL]) AC_DEFUN([AX_LIB_SOCKET_NSL], [ AC_SEARCH_LIBS([gethostbyname], [nsl]) AC_SEARCH_LIBS([socket], [socket], [], [ AC_CHECK_LIB([socket], [socket], [LIBS="-lsocket -lnsl $LIBS"], [], [-lnsl])]) ])