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([