fpending: Assume AC_CHECK_DECLS_ONCE invocation, like in fpending.m4.
authorBruno Haible <bruno@clisp.org>
Sun, 15 Jul 2012 21:00:48 +0000 (23:00 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 15 Jul 2012 21:00:48 +0000 (23:00 +0200)
* lib/fpending.h: Assume HAVE_DECL___FPENDING is defined.
* cfg.mk (exclude_file_name_regexp--sc_prohibit_defined_have_decl_tests)
Remove exemption for fpending.h.
Suggested by Eric Blake.

ChangeLog
cfg.mk
lib/fpending.h

index 1de5899..21db377 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-07-15  Bruno Haible  <bruno@clisp.org>
+
+       fpending: Assume AC_CHECK_DECLS_ONCE invocation, like in fpending.m4.
+       * lib/fpending.h: Assume HAVE_DECL___FPENDING is defined.
+       * cfg.mk (exclude_file_name_regexp--sc_prohibit_defined_have_decl_tests)
+       Remove exemption for fpending.h.
+       Suggested by Eric Blake.
+
 2012-07-15  Paul Eggert  <eggert@cs.ucla.edu>
 
        pthread_sigmask: fix bug on FreeBSD 9
diff --git a/cfg.mk b/cfg.mk
index bf59024..ba2126c 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -79,4 +79,4 @@ exclude_file_name_regexp--sc_avoid_if_before_free = \
   ^lib/($(if_before_free_basename_re_))\.c$$
 
 exclude_file_name_regexp--sc_prohibit_defined_have_decl_tests = \
-  ^lib/((error|getopt|strtoimax)\.c|(argp-namefrob|fpending|getpass)\.h)$$
+  ^lib/((error|getopt|strtoimax)\.c|(argp-namefrob|getpass)\.h)$$
index 5b5d71c..0365287 100644 (file)
 #include <stddef.h>
 #include <stdio.h>
 
-#ifndef HAVE_DECL___FPENDING
-"this configure-time declaration test was not run"
-#endif
-
 #if HAVE_DECL___FPENDING
 # if HAVE_STDIO_EXT_H
 #  include <stdio_ext.h>