defining ME globally, as we need it in plugins

This commit is contained in:
Martin Willi 2008-03-31 15:01:43 +00:00
parent 58a05045cc
commit 9e72d3bcaf
2 changed files with 8 additions and 1 deletions

View File

@ -614,6 +614,14 @@ AM_CONDITIONAL(USE_PLUTO_OR_CHARON, test x$pluto = xtrue -o x$charon = xtrue)
AM_CONDITIONAL(USE_LIBSTRONGSWAN, test x$charon = xtrue -o x$tools = xtrue)
AM_CONDITIONAL(USE_FILE_CONFIG, test x$pluto = xtrue -o x$stroke = xtrue)
dnl ==============================
dnl set global definitions
dnl ==============================
if test x$me = xtrue; then
AC_DEFINE(ME)
fi
dnl ==============================
dnl build Makefiles
dnl ==============================

View File

@ -107,7 +107,6 @@ else
endif
if USE_ME
AM_CFLAGS += -DME
charon_SOURCES += encoding/payloads/endpoint_notify.c encoding/payloads/endpoint_notify.h \
processing/jobs/initiate_mediation_job.c processing/jobs/initiate_mediation_job.h \
processing/jobs/mediation_job.c processing/jobs/mediation_job.h \