Mercurial > hg > octave-lyh > gnulib-hg
changeset 15909:7c3f393e9c20
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.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 09 Oct 2011 15:03:23 +0200 |
parents | 2f40da163bc2 |
children | 298082962c0e |
files | ChangeLog m4/poll.m4 |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- a/m4/poll.m4 +++ b/m4/poll.m4 @@ -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_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