summaryrefslogtreecommitdiff
path: root/m4/inet_ntop.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2005-05-09 15:15:14 +0000
committerBruno Haible <bruno@clisp.org>2005-05-09 15:15:14 +0000
commitf74678545ef70a55cc08b1b06380fba3116ebf4a (patch)
treeebc1245dfcc52eee07a6017f49d7df186b817b8f /m4/inet_ntop.m4
parent972bcf1cffcbd45bc7f7dcf541d8a6c332fa41cf (diff)
downloadgnulib-f74678545ef70a55cc08b1b06380fba3116ebf4a.tar.gz
New module 'inet_ntop'.
Diffstat (limited to 'm4/inet_ntop.m4')
-rw-r--r--m4/inet_ntop.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/m4/inet_ntop.m4 b/m4/inet_ntop.m4
new file mode 100644
index 0000000000..fea429e74b
--- /dev/null
+++ b/m4/inet_ntop.m4
@@ -0,0 +1,16 @@
+# inet_ntop.m4 serial 1
+dnl Copyright (C) 2005 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.
+
+AC_DEFUN([gl_INET_NTOP],
+[
+ AC_REPLACE_FUNCS(inet_ntop)
+ gl_PREREQ_INET_NTOP
+])
+
+# Prerequisites of lib/inet_ntop.h and lib/inet_ntop.c.
+AC_DEFUN([gl_PREREQ_INET_NTOP], [
+ AC_REQUIRE([gl_SOCKET_FAMILIES])
+])