futimens: new module
[gnulib.git] / m4 / inet_pton.m4
index a72cd23..e0ec432 100644 (file)
@@ -1,5 +1,5 @@
-# inet_pton.m4 serial 5
-dnl Copyright (C) 2006, 2008 Free Software Foundation, Inc.
+# inet_pton.m4 serial 7
+dnl Copyright (C) 2006, 2008, 2009 Free Software Foundation, Inc.
 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.
@@ -9,10 +9,9 @@ AC_DEFUN([gl_INET_PTON],
   dnl Persuade Solaris <arpa/inet.h> to declare inet_pton.
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
 
-  AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS])
-  ARPA_INET_H='arpa/inet.h'
+  gl_REPLACE_ARPA_INET_H
 
-  AC_REPLACE_FUNCS(inet_pton)
+  AC_REPLACE_FUNCS([inet_pton])
   gl_PREREQ_INET_PTON
 ])