]> Savannah Git Hosting - gnulib.git/commitdiff
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 e27cfc1aa952947bac0b9ab46afd7abba76b2272..9bbca90ff39929f1b034ac11d01198a4b46b5c3b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
index 0cf3183d14a4f8f09bae8da15b0db0b0b9e5ff20..91a494c596dba6463cf3c09ebfe630fbcd468b93 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