poll: Make macro safer.
authorBruno Haible <bruno@clisp.org>
Sun, 9 Oct 2011 13:03:23 +0000 (15:03 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 9 Oct 2011 13:03:23 +0000 (15:03 +0200)
* m4/poll.m4 (gl_FUNC_POLL): Complain if, after invoking gl_POLL_H,
ac_cv_header_poll_h is not set.

ChangeLog
m4/poll.m4

index e27cfc1..9bbca90 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-10-09  Bruno Haible  <bruno@clisp.org>
 
+       poll: Make macro safer.
+       * m4/poll.m4 (gl_FUNC_POLL): Complain if, after invoking gl_POLL_H,
+       ac_cv_header_poll_h is not set.
+
+2011-10-09  Bruno Haible  <bruno@clisp.org>
+
        copysign: Provide replacement.
        * lib/math.in.h (copysign): New declaration.
        * lib/copysign.c: New file.
index 0cf3183..91a494c 100644 (file)
@@ -1,4 +1,4 @@
-# poll.m4 serial 15
+# poll.m4 serial 16
 dnl Copyright (c) 2003, 2005-2007, 2009-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,
@@ -8,7 +8,7 @@ AC_DEFUN([gl_FUNC_POLL],
 [
   AC_REQUIRE([gl_POLL_H])
   AC_REQUIRE([gl_SOCKETS])
-  if test "$ac_cv_header_poll_h" = no; then
+  if test $ac_cv_header_poll_h = no; then
     ac_cv_func_poll=no
     gl_cv_func_poll=no
   else