Skip to content
Snippets Groups Projects
Commit fcbe2542 authored by Moe Jette's avatar Moe Jette
Browse files

Generated error if someone tries to configure "--without-ssl"

parent 46d46400
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,9 @@ AC_DEFUN([X_AC_SLURM_WITH_SSL], [ ...@@ -46,6 +46,9 @@ AC_DEFUN([X_AC_SLURM_WITH_SSL], [
if test "x$prefix" != "xNONE" ; then if test "x$prefix" != "xNONE" ; then
tryssldir="$tryssldir $prefix" tryssldir="$tryssldir $prefix"
fi fi
if test "x$tryssldir" == "xno" ; then
AC_MSG_ERROR([OpenSSL libary is required for SLURM operation, please install])
fi
AC_CACHE_CHECK([for OpenSSL directory], ac_cv_openssldir, [ AC_CACHE_CHECK([for OpenSSL directory], ac_cv_openssldir, [
for ssldir in $tryssldir "" $ssl_default_dirs; do for ssldir in $tryssldir "" $ssl_default_dirs; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment