diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2021-11-17 01:05:54 +0100 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2022-07-24 19:35:11 +0200 |
commit | a405fc138596f552581d2011fd6de02d5c8186c4 (patch) | |
tree | 4c084700b5cb5e9fcedf982a2d921bbc41d9935a /gl/m4/hostent.m4 | |
parent | 9f2a9ca3d72023ff9b5707d1872c54d65edc9017 (diff) | |
download | monitoring-plugins-a405fc138596f552581d2011fd6de02d5c8186c4.tar.gz |
Sync with the latest Gnulib code (1a268176f)
Diffstat (limited to 'gl/m4/hostent.m4')
-rw-r--r-- | gl/m4/hostent.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gl/m4/hostent.m4 b/gl/m4/hostent.m4 index 72be876b..f1390a32 100644 --- a/gl/m4/hostent.m4 +++ b/gl/m4/hostent.m4 | |||
@@ -1,5 +1,5 @@ | |||
1 | # hostent.m4 serial 2 | 1 | # hostent.m4 serial 4 |
2 | dnl Copyright (C) 2008, 2010-2013 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2008, 2010-2021 Free Software Foundation, Inc. |
3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
5 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
@@ -8,12 +8,12 @@ AC_DEFUN([gl_HOSTENT], | |||
8 | [ | 8 | [ |
9 | dnl Where are gethostent(), sethostent(), endhostent(), gethostbyname(), | 9 | dnl Where are gethostent(), sethostent(), endhostent(), gethostbyname(), |
10 | dnl gethostbyaddr() defined? | 10 | dnl gethostbyaddr() defined? |
11 | dnl - On Solaris, they are in libnsl. Ignore libxnet. | 11 | dnl - On Solaris < 11.4, they are in libnsl. Ignore libxnet. |
12 | dnl - On Haiku, they are in libnetwork. | 12 | dnl - On Haiku, they are in libnetwork. |
13 | dnl - On BeOS, they are in libnet. | 13 | dnl - On BeOS, they are in libnet. |
14 | dnl - On native Windows, they are in ws2_32.dll. | 14 | dnl - On native Windows, they are in ws2_32.dll. |
15 | dnl - Otherwise they are in libc. | 15 | dnl - Otherwise they are in libc. |
16 | AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H | 16 | AC_REQUIRE([gl_SYS_SOCKET_H])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H |
17 | HOSTENT_LIB= | 17 | HOSTENT_LIB= |
18 | gl_saved_libs="$LIBS" | 18 | gl_saved_libs="$LIBS" |
19 | AC_SEARCH_LIBS([gethostbyname], [nsl network net], | 19 | AC_SEARCH_LIBS([gethostbyname], [nsl network net], |