summaryrefslogtreecommitdiff
path: root/m4/inet_ntop.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-10-09 15:08:47 +0200
committerBruno Haible <bruno@clisp.org>2011-10-09 15:08:47 +0200
commit48a6564774f35e0c0b2ca55c73ccb26067396439 (patch)
tree90bce9ed9a273a704ba897f8f4f32539836709cd /m4/inet_ntop.m4
parent8898b893b45d6584e8678df4255120fb0d3e9f02 (diff)
downloadgnulib-48a6564774f35e0c0b2ca55c73ccb26067396439.tar.gz
Ensure that HAVE_* variables are set to 1 before they are set to 0.
* m4/fdopendir.m4 (gl_FUNC_FDOPENDIR): Require gl_DIRENT_H_DEFAULTS. * m4/inet_ntop.m4 (gl_FUNC_INET_NTOP): Require gl_ARPA_INET_H_DEFAULTS. * m4/inet_pton.m4 (gl_FUNC_INET_PTON): Likewise. * m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Require gl_SIGNAL_H_DEFAULTS.
Diffstat (limited to 'm4/inet_ntop.m4')
-rw-r--r--m4/inet_ntop.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/inet_ntop.m4 b/m4/inet_ntop.m4
index 8291edd0a3..4936fa382f 100644
--- a/m4/inet_ntop.m4
+++ b/m4/inet_ntop.m4
@@ -1,4 +1,4 @@
-# inet_ntop.m4 serial 18
+# inet_ntop.m4 serial 19
dnl Copyright (C) 2005-2006, 2008-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -6,6 +6,8 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_INET_NTOP],
[
+ AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS])
+
dnl Persuade Solaris <arpa/inet.h> to declare inet_ntop.
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])