# HG changeset patch # User Eric Blake # Date 1285860765 21600 # Node ID a330b97239efcf6118eb9a2433e08112232cfb9e # Parent 70aca43be6c1e93e8c105499cdbb6d3bb8c2e519 poll: fix typo that broke test on MacOS * m4/poll.m4 (gl_FUNC_POLL): Add missing test. Reported by Justin Clift. Signed-off-by: Eric Blake diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-09-30 Eric Blake + poll: fix typo that broke test on MacOS + * m4/poll.m4 (gl_FUNC_POLL): Add missing test. + Reported by Justin Clift. + getdate: rename to get_date Note: getdate.h is not renamed, to minimize client impact. * modules/getdate: Mark obsolete. Move old contents... diff --git a/m4/poll.m4 b/m4/poll.m4 --- a/m4/poll.m4 +++ b/m4/poll.m4 @@ -1,4 +1,4 @@ -# poll.m4 serial 10 +# poll.m4 serial 11 dnl Copyright (c) 2003, 2005, 2006, 2007, 2009, 2010 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation @@ -60,7 +60,7 @@ REPLACE_POLL=1 fi fi - if test $HAVE_POLL = 0 || $REPLACE_POLL = 1; then + if test $HAVE_POLL = 0 || test $REPLACE_POLL = 1; then gl_REPLACE_POLL_H AC_LIBOBJ([poll]) gl_PREREQ_POLL