added configurable ENGINESDIR and OPENSSLDIR

use --with-enginesdir and --with-openssldir

ok beck@
This commit is contained in:
Brent Cook 2014-07-12 05:28:21 -05:00
parent 82610be03b
commit b12be4016a

View File

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