From b12be4016a2fef4bf7efcb9f92efa01e1e146fe6 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sat, 12 Jul 2014 05:28:21 -0500 Subject: [PATCH] added configurable ENGINESDIR and OPENSSLDIR use --with-enginesdir and --with-openssldir ok beck@ --- configure.ac.tpl | 10 ++++++++++ 1 file changed, 10 insertions(+) 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)) AC_CHECK_HEADER(sys/sysctl.h, AC_DEFINE(HAVE_SYS_SYSCTL_H)) +AC_ARG_WITH([openssldir], + AS_HELP_STRING([--with-openssldir], [Set the default openssl directory]), + AC_DEFINE_UNQUOTED(OPENSSLDIR, "$withval") +]) + +AC_ARG_WITH([enginesdir], + AS_HELP_STRING([--with-enginesdir], [Set the default engines directory (use with openssldir)]), + AC_DEFINE_UNQUOTED(ENGINESDIR, "$withval") +]) + LT_INIT AC_CONFIG_FILES([