added ./configure option --with-strongswan-conf=
defaults to /etc/strongswan.conf
This commit is contained in:
@@ -4,7 +4,6 @@ dist_man_MANS = openac.8
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan
|
||||
AM_CFLAGS = -DIPSEC_CONFDIR=\"${confdir}\" \
|
||||
-DIPSEC_DIR=\"${ipsecdir}\" \
|
||||
-DIPSEC_PLUGINDIR=\"${plugindir}\"
|
||||
openac_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la -lgmp
|
||||
|
||||
|
||||
+1
-1
@@ -267,7 +267,7 @@ int main(int argc, char **argv)
|
||||
openlog("openac", 0, LOG_AUTHPRIV);
|
||||
|
||||
/* initialize library */
|
||||
library_init(IPSEC_DIR "/strongswan.conf");
|
||||
library_init(STRONGSWAN_CONF);
|
||||
lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR, "libstrongswan-");
|
||||
|
||||
/* initialize optionsfrom */
|
||||
|
||||
Reference in New Issue
Block a user