added ./configure option --with-strongswan-conf=

defaults to /etc/strongswan.conf
This commit is contained in:
Martin Willi
2008-04-07 06:56:33 +00:00
parent 4071ad1e5b
commit ff867d062e
6 changed files with 11 additions and 5 deletions
-1
View File
@@ -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
View File
@@ -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 */