aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-04-07 06:56:33 +0000
committerMartin Willi <martin@strongswan.org>2008-04-07 06:56:33 +0000
commitff867d062efe6f51ac32a3231d998fb2e460ce6b (patch)
treeaa01e95d8e7844c0ad375f4c0386bc8f20a9798c /configure.in
parent4071ad1e5b7aff9e823ed4faa5fd3fe74f033886 (diff)
downloadstrongswan-ff867d062efe6f51ac32a3231d998fb2e460ce6b.tar.bz2
strongswan-ff867d062efe6f51ac32a3231d998fb2e460ce6b.tar.xz
added ./configure option --with-strongswan-conf=
defaults to /etc/strongswan.conf
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 8a7f17154..9e0de9cd4 100644
--- a/configure.in
+++ b/configure.in
@@ -53,6 +53,13 @@ AC_ARG_WITH(
)
AC_ARG_WITH(
+ [strongswan-conf],
+ AS_HELP_STRING([--with-strongswan-conf=file],[strongswan.conf file other than "sysconfdir/strongswan.conf"]),
+ [AC_DEFINE_UNQUOTED(STRONGSWAN_CONF, "$withval")],
+ [AC_DEFINE_UNQUOTED(STRONGSWAN_CONF, "${sysconfdir}/strongswan.conf")]
+)
+
+AC_ARG_WITH(
[urandom-device],
AS_HELP_STRING([--with-urandom-device=dev],[set the device for pseudo random data other than "/dev/urandom"]),
[AC_DEFINE_UNQUOTED(DEV_URANDOM, "$withval")],