1
1

Fix a bug in the configure.m4 to ensure we disable unused libevent modes. Edit their Makefile.am to remove bufferevent support since we don't use it either.

Sorry for mid-day correction.

This commit was SVN r25453.
Этот коммит содержится в:
Ralph Castain 2011-11-07 15:21:29 +00:00
родитель 4cf9e1323d
Коммит c9fe8c32e2
2 изменённых файлов: 17 добавлений и 14 удалений

Просмотреть файл

@ -33,9 +33,7 @@ AC_DEFUN([MCA_opal_event_libevent2013_CONFIG],[
AC_MSG_CHECKING([libevent configuration args])
str=`event_args="--disable-dns --disable-http --disable-rpc --disable-openssl --enable-hidden-symbols --includedir=$includedir/openmpi/opal/event/libevent/include"`
eval $str
unset str
event_args="--disable-dns --disable-http --disable-rpc --disable-openssl --enable-hidden-symbols --includedir=$includedir/openmpi/opal/event/libevent/include"
AC_ARG_ENABLE(event-rtsig,
AC_HELP_STRING([--enable-event-rtsig],

Просмотреть файл

@ -178,12 +178,14 @@ endif
# echo "#endif" >> $@
# Open MPI: -- eliminate extra libevent libraries. We compile
# everything that is enabled into the core.
CORE_SRC = event.c evthread.c buffer.c \
# everything that is enabled into the core, removing bufferevents
# as OMPI does not use them
# buffer.c \
bufferevent.c bufferevent_sock.c bufferevent_filter.c \
bufferevent_pair.c listener.c bufferevent_ratelim.c \
evmap.c log.c evutil.c evutil_rand.c strlcpy.c event_tagging.c \
$(SYS_SRC)
bufferevent_pair.c bufferevent_ratelim.c
CORE_SRC = event.c evthread.c listener.c \
evmap.c log.c evutil.c evutil_rand.c strlcpy.c event_tagging.c \
$(SYS_SRC)
CORE_LIBS =
if HTTP
@ -200,17 +202,20 @@ if PTHREADS
CORE_SRC += evthread_pthread.c
endif
if OPENSSL
CORE_SRC += bufferevent_openssl.c
CORE_LIBS += -lcrypto -lssl
endif
# Open MPI: do not include ssl
#if OPENSSL
#CORE_SRC += bufferevent_openssl.c
#CORE_LIBS += -lcrypto -lssl
#endif
libevent_la_SOURCES = $(CORE_SRC) $(headers)
libevent_la_LIBADD = $(CORE_LIBS) $(SYS_LIBS)
# Open MPI: do not include bufferevent
# evbuffer-internal.h \
bufferevent-internal.h
EXTRA_DIST += event.h evutil.h util-internal.h mm-internal.h ipv6-internal.h \
strlcpy-internal.h evbuffer-internal.h \
bufferevent-internal.h event-internal.h \
strlcpy-internal.h event-internal.h \
evthread-internal.h defer-internal.h \
minheap-internal.h log-internal.h evsignal-internal.h evmap-internal.h \
changelist-internal.h iocp-internal.h \