Index: configure.ac
===================================================================
RCS file: /home/lav/cvsroot/lftp/configure.ac,v
retrieving revision 1.79
diff -u -r1.79 configure.ac
--- configure.ac        9 Nov 2007 15:38:49 -0000       1.79
+++ configure.ac        11 Nov 2007 20:52:30 -0000
@@ -171,8 +171,8 @@
 case "`uname -sr`" in
 # Linux-2.2.x and older don't support fcntl64.
 "Linux 2.2."*|"Linux 2.0."*)  enable_largefile=no;;
-# MacOS X Tiger's poll does not work correctly.
-"Darwin 8."*)  lftp_cv_func_poll_works=no;;
+# MacOS X Tiger's and Leopard's poll does not work correctly.
+"Darwin 8."*|"Darwin 9."*)  lftp_cv_func_poll_works=no;;
 esac

 AC_PROG_YACC


Making assumptions is a bad way to check for functionality; checking
for functionality is a better way to check for functionality. You
might wish to consult this patch for glib which does it properly:
http://bugzilla.gnome.org/attachment.cgi?id=68325&action=view. I'll
leave the implementation of that patch as an exercise to you.

Reply via email to