doc:
if test -n "$(doxygen)"; then \
$(doxygen) $(srcdir)/doc/unbound.doxygen; fi
+ifeq "$(findstring yes,$(WITH_PYUNBOUND)$(WITH_PYTHONMODULE))" "yes"
if test -x "`which sphinx-build 2>&1`"; then \
sphinx-build -b html pythonmod/doc doc/html/pythonmod; \
sphinx-build -b html libunbound/python/doc doc/html/pyunbound;\
fi
+endif
strip:
$(STRIP) unbound$(EXEEXT)
mkdir build >/dev/null 2>&1
mkdir build/libevent >/dev/null 2>&1
mkdir build/libevent/.libs >/dev/null 2>&1
- ev_files_o=`ls $thedir/*.o | grep -v evdns\.o`
- ev_files_lo=`ls $thedir/*.lo | grep -v evdns\.lo`
- ev_files_libso=`ls $thedir/.libs/*.o | grep -v evdns\.o`
+ ev_files_o=`ls $thedir/*.o | grep -v evdns\.o | grep -v bufferevent_openssl\.o`
+ ev_files_lo=`ls $thedir/*.lo | grep -v evdns\.lo | grep -v bufferevent_openssl\.lo`
+ ev_files_libso=`ls $thedir/.libs/*.o | grep -v evdns\.o | grep -v bufferevent_openssl\.o`
cp $ev_files_o build/libevent
cp $ev_files_lo build/libevent
cp $ev_files_libso build/libevent/.libs
mkdir build >/dev/null 2>&1
mkdir build/libevent >/dev/null 2>&1
mkdir build/libevent/.libs >/dev/null 2>&1
- ev_files_o=`ls $thedir/*.o | grep -v evdns\.o`
- ev_files_lo=`ls $thedir/*.lo | grep -v evdns\.lo`
- ev_files_libso=`ls $thedir/.libs/*.o | grep -v evdns\.o`
+ ev_files_o=`ls $thedir/*.o | grep -v evdns\.o | grep -v bufferevent_openssl\.o`
+ ev_files_lo=`ls $thedir/*.lo | grep -v evdns\.lo | grep -v bufferevent_openssl\.lo`
+ ev_files_libso=`ls $thedir/.libs/*.o | grep -v evdns\.o | grep -v bufferevent_openssl\.o`
cp $ev_files_o build/libevent
cp $ev_files_lo build/libevent
cp $ev_files_libso build/libevent/.libs
+4 September 2009: Wouter
+ - Changes to make unbound work with libevent-2.0.3 alpha. (in
+ configure detection due to new ssl dependency in libevent)
+ - do not call sphinx for documentation when python is disabled.
+ - remove EV_PERSIST from libevent timeout code to make the code
+ compatible with the libevent-2.0. Works with older libevent too.
+
3 September 2009: Wouter
- Got a patch from Luca Bruno for libunbound support on windows to
pick up the system resolvconf nameservers and hosts there.
tm->ev_timer->base = base;
tm->callback = cb;
tm->cb_arg = cb_arg;
- event_set(&tm->ev_timer->ev, -1, EV_PERSIST|EV_TIMEOUT,
+ event_set(&tm->ev_timer->ev, -1, EV_TIMEOUT,
comm_timer_callback, tm);
if(event_base_set(base->eb->base, &tm->ev_timer->ev) != 0) {
log_err("timer_create: event_base_set failed.");
log_assert(tv);
if(timer->ev_timer->enabled)
comm_timer_disable(timer);
- event_set(&timer->ev_timer->ev, -1, EV_PERSIST|EV_TIMEOUT,
+ event_set(&timer->ev_timer->ev, -1, EV_TIMEOUT,
comm_timer_callback, timer);
if(event_base_set(timer->ev_timer->base->eb->base,
&timer->ev_timer->ev) != 0)