Since the removal of pluto this is quite superfluous. The flag itself
might be useful to avoid starting charon if the executable does not
exist for some reason (e.g. if DAEMON_NAME is incorrect).
$(strongswan_PATH)/src/starter \
$(strongswan_PATH)/src/stroke
-LOCAL_CFLAGS := $(strongswan_CFLAGS) -DSTART_CHARON \
+LOCAL_CFLAGS := $(strongswan_CFLAGS) \
-DIPSEC_SCRIPT='"ipsec"' \
-DPLUGINS='"$(strongswan_STARTER_PLUGINS)"'
MAINTAINERCLEANFILES = keywords.c
BUILT_SOURCES = keywords.c parser/parser.h
-if USE_CHARON
- AM_CPPFLAGS += -DSTART_CHARON
-endif
-
if USE_LOAD_WARNING
AM_CPPFLAGS += -DLOAD_WARNING
endif
dict->destroy(dict);
/* verify the executables are actually available */
-#ifdef START_CHARON
cfg->setup.charonstart = cfg->setup.charonstart &&
daemon_exists(daemon_name, cmd);
-#else
- cfg->setup.charonstart = FALSE;
-#endif
}
/*
INIT(cfg,
.setup = {
.uniqueids = TRUE,
-
+ .charonstart = TRUE,
}
);
-#ifdef START_CHARON
- cfg->setup.charonstart = TRUE;
-#endif
/* load config setup section */
load_setup(cfg, parser);