mirror of
https://github.com/darlinghq/darling-libkqueue.git
synced 2024-11-23 11:49:50 +00:00
Don't force --debug and reconfiguration
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@130 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
This commit is contained in:
parent
854f13b289
commit
bc6c9c7ed1
@ -16,13 +16,10 @@
|
||||
|
||||
include config.mk
|
||||
|
||||
all: kqtest
|
||||
|
||||
kqtest: $(SOURCES)
|
||||
if [ ! -f /usr/include/sys/event.h ] ; then \
|
||||
if [ ! -f libkqueue.a ] ; then \
|
||||
cd .. && ./configure --debug=yes && make ; \
|
||||
cp libkqueue.a test ; \
|
||||
fi \
|
||||
fi
|
||||
test -f libkqueue.a || ln -s ../libkqueue.a
|
||||
$(CC) -o kqtest $(CFLAGS) $(SOURCES) $(LDADD)
|
||||
|
||||
check: kqtest
|
||||
|
@ -39,7 +39,6 @@ test_no_kevents(void)
|
||||
struct timespec timeo;
|
||||
struct kevent kev;
|
||||
|
||||
puts("confirming that there are no events pending");
|
||||
memset(&timeo, 0, sizeof(timeo));
|
||||
nfds = kevent(kqfd, NULL, 0, &kev, 1, &timeo);
|
||||
if (nfds != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user