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:
mheily 2009-12-26 05:23:08 +00:00
parent 854f13b289
commit bc6c9c7ed1
2 changed files with 3 additions and 7 deletions

View File

@ -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

View File

@ -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) {