aboutsummaryrefslogtreecommitdiffstats
path: root/m4/ax_lib_socket_nsl.m4
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-04-18 11:39:23 -0700
committerGuy Harris <guy@alum.mit.edu>2018-04-18 19:57:13 +0000
commit66c0c4f9e9d823bee8a100a5e00f3d5cdb6a6f6d (patch)
treee960e357ac56ac8dbb20472a216f2e941f178082 /m4/ax_lib_socket_nsl.m4
parentad71a9154040bce496bb959c7c7b73f63aed97ef (diff)
Remove more autotools stuff.
Change-Id: I2112e9a24308e2e1c04097df006f32bdf58778c3 Reviewed-on: https://code.wireshark.org/review/27010 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'm4/ax_lib_socket_nsl.m4')
-rw-r--r--m4/ax_lib_socket_nsl.m440
1 files changed, 0 insertions, 40 deletions
diff --git a/m4/ax_lib_socket_nsl.m4 b/m4/ax_lib_socket_nsl.m4
deleted file mode 100644
index 058e975157..0000000000
--- a/m4/ax_lib_socket_nsl.m4
+++ /dev/null
@@ -1,40 +0,0 @@
-# ===========================================================================
-# http://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 6
-
-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])])
-])