(gl_PREREQ_GETADDRINFO): Use AC_C_RESTRICT, not
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 8 Aug 2006 22:16:18 +0000 (22:16 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 8 Aug 2006 22:16:18 +0000 (22:16 +0000)
gl_C_RESTRICT, since we assume recent Autoconf.

m4/getaddrinfo.m4

index 8d57bb3..db285d9 100644 (file)
@@ -1,4 +1,4 @@
-# getaddrinfo.m4 serial 10
+# getaddrinfo.m4 serial 11
 dnl Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -52,7 +52,7 @@ AC_DEFUN([gl_PREREQ_GETADDRINFO], [
       LIBS="$LIBS -lws2_32"
     fi
     ])
-  AC_REQUIRE([gl_C_RESTRICT])
+  AC_REQUIRE([AC_C_RESTRICT])
   AC_REQUIRE([gl_SOCKET_FAMILIES])
   AC_REQUIRE([gl_HEADER_SYS_SOCKET])
   AC_REQUIRE([AC_C_INLINE])