aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-06-19 17:12:53 +0200
committerTobias Brunner <tobias@strongswan.org>2012-06-25 16:53:38 +0200
commitbc6d9447058c946b199daf0defc8869bea92ba5e (patch)
treed73c02e2c5bdd496df348dbe815758246366fb8d /configure.in
parentd86cf32b4be46039a25986224a56fd7b03c84718 (diff)
downloadstrongswan-bc6d9447058c946b199daf0defc8869bea92ba5e.tar.bz2
strongswan-bc6d9447058c946b199daf0defc8869bea92ba5e.tar.xz
Added an option to rename the ipsec script during installation
Also rename the man page and adjust all references in the script, the man page and other files. Closes #194.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 5a6058b80..7c2342c3e 100644
--- a/configure.in
+++ b/configure.in
@@ -40,6 +40,7 @@ ARG_WITH_SUBST([nm-ca-dir], [/usr/share/ca-certificates], [directory th
ARG_WITH_SUBST([linux-headers], [\${top_srcdir}/src/include], [set directory of linux header files to use])
ARG_WITH_SUBST([routing-table], [220], [set routing table to use for IPsec routes])
ARG_WITH_SUBST([routing-table-prio], [220], [set priority for IPsec routing table])
+ARG_WITH_SUBST([ipsec-script], [ipsec], [change the name of the ipsec script])
ARG_WITH_SET([capabilities], [no], [set capability dropping library. Currently supported values are "libcap" and "native"])
ARG_WITH_SET([mpz_powm_sec], [yes], [use the more side-channel resistant mpz_powm_sec in libgmp, if available])
@@ -65,6 +66,9 @@ AC_ARG_WITH(
[AC_SUBST(ipsecgroup, "root")]
)
+# convert script name to uppercase
+AC_SUBST(ipsec_script_upper, [`echo -n "$ipsec_script" | tr a-z A-Z`])
+
m4_include(m4/macros/enable-disable.m4)
ARG_ENABL_SET([curl], [enable CURL fetcher plugin to fetch files via libcurl. Requires libcurl.])