diff options
| author | Brent Cook <bcook@openbsd.org> | 2014-07-12 05:28:21 -0500 |
|---|---|---|
| committer | Brent Cook <bcook@openbsd.org> | 2014-07-12 05:28:21 -0500 |
| commit | b12be4016a2fef4bf7efcb9f92efa01e1e146fe6 (patch) | |
| tree | bdf70d2ace218dcbad4d74f2b278203a20e4cbd1 | |
| parent | 82610be03b7ff2fd6b47abd411c6f95f695637c8 (diff) | |
| download | portable-b12be4016a2fef4bf7efcb9f92efa01e1e146fe6.tar.gz portable-b12be4016a2fef4bf7efcb9f92efa01e1e146fe6.tar.bz2 portable-b12be4016a2fef4bf7efcb9f92efa01e1e146fe6.zip | |
added configurable ENGINESDIR and OPENSSLDIR
use --with-enginesdir and --with-openssldir
ok beck@
| -rw-r--r-- | configure.ac.tpl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac.tpl b/configure.ac.tpl index 4e5e015..d02eb7a 100644 --- a/configure.ac.tpl +++ b/configure.ac.tpl | |||
| @@ -95,6 +95,16 @@ AC_CHECK_FUNC(funopen, AC_DEFINE(HAVE_FUNOPEN)) | |||
| 95 | 95 | ||
| 96 | AC_CHECK_HEADER(sys/sysctl.h, AC_DEFINE(HAVE_SYS_SYSCTL_H)) | 96 | AC_CHECK_HEADER(sys/sysctl.h, AC_DEFINE(HAVE_SYS_SYSCTL_H)) |
| 97 | 97 | ||
| 98 | AC_ARG_WITH([openssldir], | ||
| 99 | AS_HELP_STRING([--with-openssldir], [Set the default openssl directory]), | ||
| 100 | AC_DEFINE_UNQUOTED(OPENSSLDIR, "$withval") | ||
| 101 | ]) | ||
| 102 | |||
| 103 | AC_ARG_WITH([enginesdir], | ||
| 104 | AS_HELP_STRING([--with-enginesdir], [Set the default engines directory (use with openssldir)]), | ||
| 105 | AC_DEFINE_UNQUOTED(ENGINESDIR, "$withval") | ||
| 106 | ]) | ||
| 107 | |||
| 98 | LT_INIT | 108 | LT_INIT |
| 99 | 109 | ||
| 100 | AC_CONFIG_FILES([ | 110 | AC_CONFIG_FILES([ |
