]> Savannah Git Hosting - gnulib.git/commitdiff
Ensure that HAVE_* variables are set to 1 before they are set to 0.
authorBruno Haible <bruno@clisp.org>
Sun, 9 Oct 2011 13:08:47 +0000 (15:08 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 9 Oct 2011 13:08:47 +0000 (15:08 +0200)
* 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.

ChangeLog
m4/fdopendir.m4
m4/inet_ntop.m4
m4/inet_pton.m4
m4/pthread_sigmask.m4

index 9bbca90ff39929f1b034ac11d01198a4b46b5c3b..be2b20bd7c7802f6a8dadc00e1ae0a55f911f05f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-10-09  Bruno Haible  <bruno@clisp.org>
+
+       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.
+
 2011-10-09  Bruno Haible  <bruno@clisp.org>
 
        poll: Make macro safer.
index f0d8cfa67430db8d9b4a55d7a7e6def36d4fe739..3ac08b26dcab9fe0e170915424d3326eb3a76e53 100644 (file)
@@ -1,4 +1,4 @@
-# serial 8
+# serial 9
 # See if we need to provide fdopendir.
 
 dnl Copyright (C) 2009-2011 Free Software Foundation, Inc.
@@ -10,7 +10,10 @@ dnl with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_FUNC_FDOPENDIR],
 [
+  AC_REQUIRE([gl_DIRENT_H_DEFAULTS])
+
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
+
   dnl FreeBSD 7.3 has the function, but failed to declare it.
   AC_CHECK_DECLS([fdopendir], [], [HAVE_DECL_FDOPENDIR=0], [[
 #include <dirent.h>
index 8291edd0a3b77362f73c4dec44b13fa34d68f797..4936fa382fcbf1ba2794671e4ff677484a104216 100644 (file)
@@ -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])
 
index 807a4dd288029df380d90eb1dc248c70631f7f8f..e64da7b01ed9c80462428fc942b66d3eebc090db 100644 (file)
@@ -1,4 +1,4 @@
-# inet_pton.m4 serial 16
+# inet_pton.m4 serial 17
 dnl Copyright (C) 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_PTON],
 [
+  AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS])
+
   dnl Persuade Solaris <arpa/inet.h> to declare inet_pton.
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
 
index f06bc119ff39beb1f1e2d61b43bae883b66c2f06..673914022c9ed86b30c45d446279dca28ac1eb71 100644 (file)
@@ -1,4 +1,4 @@
-# pthread_sigmask.m4 serial 12
+# pthread_sigmask.m4 serial 13
 dnl Copyright (C) 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_PTHREAD_SIGMASK],
 [
+  AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
+
   AC_CHECK_FUNCS_ONCE([pthread_sigmask])
   LIB_PTHREAD_SIGMASK=