* modules/glob (Files): Add glob-libc.h.
[gnulib.git] / m4 / getaddrinfo.m4
index 10de9d6..b4de7d0 100644 (file)
@@ -1,13 +1,12 @@
-# getaddrinfo.m4 serial 1
+# getaddrinfo.m4 serial 2
 dnl Copyright (C) 2004 Free Software Foundation, Inc.
-dnl This file is free software, distributed under the terms of the GNU
-dnl General Public License.  As a special exception to the GNU General
-dnl Public License, this file may be distributed as part of a program
-dnl that contains a configuration script generated by Autoconf, under
-dnl the same distribution terms as the rest of that program.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_GETADDRINFO],
 [
+  AC_SEARCH_LIBS(getaddrinfo, nsl socket)
   AC_REPLACE_FUNCS(getaddrinfo)
   gl_PREREQ_GETADDRINFO
 ])