diff options
author | Martin Willi <martin@strongswan.org> | 2007-02-12 15:56:47 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2007-02-12 15:56:47 +0000 |
commit | f27f6296e6ae5beece739342fd54528cf91e5394 (patch) | |
tree | c868a123b98b8a244b249473ab91b0bd4a764b31 /configure.in | |
parent | 6fda18d99d2b6eac921e731a52229d9c1cf8a295 (diff) | |
download | strongswan-f27f6296e6ae5beece739342fd54528cf91e5394.tar.bz2 strongswan-f27f6296e6ae5beece739342fd54528cf91e5394.tar.xz |
merged EAP framework from branch into trunk
includes a lot of other modifications
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/configure.in b/configure.in index ffc142f8b..89ab54fff 100644 --- a/configure.in +++ b/configure.in @@ -19,9 +19,7 @@ dnl =========================== AC_INIT(strongSwan,4.0.8) AM_INIT_AUTOMAKE(tar-ustar) AC_C_BIGENDIAN -AC_SUBST(ipsecdir, '${libexecdir}/ipsec') AC_SUBST(confdir, '${sysconfdir}') -AC_SUBST(piddir, '/var/run') dnl ================================= dnl check --enable-xxx & --with-xxx @@ -30,7 +28,7 @@ dnl ================================= AC_ARG_WITH( [default-pkcs11], - AS_HELP_STRING([--with-default-pkcs11=lib],[set the default PKCS11 library other than /usr/lib/opensc-pkcs11.so]), + AS_HELP_STRING([--with-default-pkcs11=lib],[set the default PKCS11 library other than "/usr/lib/opensc-pkcs11.so"]), [AC_DEFINE_UNQUOTED(PKCS11_DEFAULT_LIB, "$withval")], [AC_DEFINE_UNQUOTED(PKCS11_DEFAULT_LIB, "/usr/lib/opensc-pkcs11.so")] ) @@ -43,18 +41,39 @@ AC_ARG_WITH( AC_ARG_WITH( [random-device], - AS_HELP_STRING([--with-random-device=dev],[set the device for real random data other than /dev/random]), + AS_HELP_STRING([--with-random-device=dev],[set the device for real random data other than "/dev/random"]), [AC_DEFINE_UNQUOTED(DEV_RANDOM, "$withval")], [AC_DEFINE_UNQUOTED(DEV_RANDOM, "/dev/random")] ) AC_ARG_WITH( [urandom-device], - AS_HELP_STRING([--with-urandom-device=dev],[set the device for pseudo random data other than /dev/urandom]), + AS_HELP_STRING([--with-urandom-device=dev],[set the device for pseudo random data other than "/dev/urandom"]), [AC_DEFINE_UNQUOTED(DEV_URANDOM, "$withval")], [AC_DEFINE_UNQUOTED(DEV_URANDOM, "/dev/urandom")] ) +AC_ARG_WITH( + [ipsecdir], + AS_HELP_STRING([--with-ipsecdir=dir],[installation path for ipsec tools other than "libexecdir/ipsec"]), + [AC_SUBST(ipsecdir, "$withval")], + [AC_SUBST(ipsecdir, "${libexecdir}/ipsec")] +) + +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( + [eapdir], + AS_HELP_STRING([--with-eapdir=dir],[path for pluggable EAP modules other than "ipsecdir/eap"]), + [AC_SUBST(eapdir, "$withval")], + [AC_SUBST(eapdir, "${ipsecdir}/eap")] +) + AC_ARG_ENABLE( [http], AS_HELP_STRING([--enable-http],[enable OCSP and fetching of Certificates and CRLs over HTTP (default is NO). Requires libcurl.]), |