From: Eric Blake Date: Thu, 30 Sep 2010 15:32:45 +0000 (-0600) Subject: poll: fix typo that broke test on MacOS X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d45b03e4eda2218eec0b302d60496b1b3ca2e87c;p=pspp 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 index af7ba44d22..8d8d082b1a 100644 --- 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 index 9cb02d5396..38595971d0 100644 --- 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 @@ This is MacOSX or AIX 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