Hash :
2652a32d
Author :
Date :
2004-01-16T06:15:39
* modules/poll: Add BUILT_SOURCES. Prefer "$@" to "poll.h" in rule for building poll.h. All this is for consistency with alloca and fnmatch.
Description:
poll() function: wait for some event on a set of file descriptors.
Files:
lib/poll.c
lib/poll_.h
m4/poll.m4
Depends-on:
configure.ac:
gl_FUNC_POLL
Makefile.am:
BUILT_SOURCES += $(POLL_H)
EXTRA_DIST += poll_.h
# We need the following in order to create an <poll.h> when the system
# doesn't have one.
all-local $(lib_OBJECTS): $(POLL_H)
poll.h: poll_.h
cp $(srcdir)/poll_.h $@-t
mv $@-t $@
MOSTLYCLEANFILES += poll.h poll.h-t
Include:
#include <poll.h>
Maintainer:
Paolo Bonzini <bonzini@gnu.org>