From: Andreas Steffen Date: Sun, 20 Jan 2008 17:57:38 +0000 (-0000) Subject: added --with-plugindir option X-Git-Tag: 4.1.11~38 X-Git-Url: https://git.strongswan.org/?p=strongswan.git;a=commitdiff_plain;h=dfc14c84800b8814e8deb9fdc60bb1d6fd1c0592;ds=inline added --with-plugindir option --- diff --git a/configure.in b/configure.in index 50e203f..6d0ffbe 100644 --- a/configure.in +++ b/configure.in @@ -60,6 +60,13 @@ AC_ARG_WITH( ) AC_ARG_WITH( + [piddir], + AS_HELP_STRING([--with-piddir=dir],[path for PID and UNIX socket files other than "/var/run"]), + [AC_SUBST(piddir, "$withval")], + [AC_SUBST(piddir, "/var/run")] +) + +AC_ARG_WITH( [ipsecdir], AS_HELP_STRING([--with-ipsecdir=dir],[installation path for ipsec tools other than "libexecdir/ipsec"]), [AC_SUBST(ipsecdir, "$withval")], @@ -67,37 +74,38 @@ AC_ARG_WITH( ) AC_ARG_WITH( - [piddir], - AS_HELP_STRING([--with-piddir=dir],[path for PID and UNIX socket files other than "/var/run"]), - [AC_SUBST(piddir, "$withval")], - [AC_SUBST(piddir, "/var/run")] + [plugindir], + AS_HELP_STRING([--with-plugindir=dir],[installation path for plugins other than "ipsecdir/plugins"]), + [AC_SUBST(plugindir, "$withval")], + [AC_SUBST(plugindir, "${ipsecdir}/plugins")] ) AC_ARG_WITH( [eapdir], - AS_HELP_STRING([--with-eapdir=dir],[path for pluggable EAP modules other than "ipsecdir/plugins/eap"]), + AS_HELP_STRING([--with-eapdir=dir],[path for pluggable EAP modules other than "plugindir/eap"]), [AC_SUBST(eapdir, "$withval")], - [AC_SUBST(eapdir, "${ipsecdir}/plugins/eap")] + [AC_SUBST(eapdir, "${plugindir}/eap")] ) AC_ARG_WITH( [backenddir], - AS_HELP_STRING([--with-backenddir=dir],[path for pluggable configuration backend modules other than "ipsecdir/plugins/backends"]), + AS_HELP_STRING([--with-backenddir=dir],[path for pluggable configuration backend modules other than "plugindir/backends"]), [AC_SUBST(backenddir, "$withval")], - [AC_SUBST(backenddir, "${ipsecdir}/plugins/backends")] + [AC_SUBST(backenddir, "${plugindir}/backends")] ) AC_ARG_WITH( [interfacedir], - AS_HELP_STRING([--with-interfacedir=dir],[path for pluggable control interface modules other than "ipsecdir/plugins/interfaces"]), + AS_HELP_STRING([--with-interfacedir=dir],[path for pluggable control interface modules other than "plugindir/interfaces"]), [AC_SUBST(interfacedir, "$withval")], - [AC_SUBST(interfacedir, "${ipsecdir}/plugins/interfaces")] + [AC_SUBST(interfacedir, "${plugindir}/interfaces")] ) AC_ARG_WITH( [sim-reader], - AS_HELP_STRING([--with-sim-reader=library.so],[library containing the sim_run_alg() function for EAP-SIM]), - [AC_DEFINE_UNQUOTED(SIM_READER_LIB, "$withval")] + AS_HELP_STRING([--with-sim-reader=library.so],[library containing the sim_run_alg()/sim_get_triplet() function for EAP-SIM]), + [AC_SUBST(simreader, "$withval")], + [AC_SUBST(simreader, "${plugindir}/libcharon-eapsim-file.so")] ) AC_ARG_WITH(