* m4/poll.m4 (gl_FUNC_POLL): Move AC_LIBOBJ and gl_PREREQ_POLL
invocations from here...
* modules/poll (configure.ac): ... to here.
+2011-05-21 Bruno Haible <bruno@clisp.org>
+
+ poll: Move AC_LIBOBJ invocations to module description.
+ * m4/poll.m4 (gl_FUNC_POLL): Move AC_LIBOBJ and gl_PREREQ_POLL
+ invocations from here...
+ * modules/poll (configure.ac): ... to here.
+
2011-05-21 Bruno Haible <bruno@clisp.org>
pipe-posix: Move AC_LIBOBJ invocations to module description.
-# poll.m4 serial 13
+# poll.m4 serial 14
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,
fi
fi
if test $HAVE_POLL = 0 || test $REPLACE_POLL = 1; then
- AC_LIBOBJ([poll])
- gl_PREREQ_POLL
+ :
else
AC_DEFINE([HAVE_POLL], [1],
[Define to 1 if you have the 'poll' function and it works.])
configure.ac:
gl_FUNC_POLL
+if test $HAVE_POLL = 0 || test $REPLACE_POLL = 1; then
+ AC_LIBOBJ([poll])
+ gl_PREREQ_POLL
+fi
gl_POLL_MODULE_INDICATOR([poll])
Makefile.am: