changeset 29646:55a807c06fbb

Add a more helpful error message if --with-system-ssl-certs is specified without a path provided
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 27 Mar 2010 02:11:31 +0000
parents 08d4ec689d66
children c35fd54ec64b
files configure.ac
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Fri Mar 26 09:37:16 2010 +0000
+++ b/configure.ac	Sat Mar 27 02:11:31 2010 +0000
@@ -1684,6 +1684,9 @@
 
 SSL_CERTIFICATES_DIR=""
 if ! test -z "$ssl_certificates_dir" ; then
+	if test "x$ssl_certificates_dir" = "xyes" ; then
+		AC_MSG_ERROR([--with-system-ssl-certs requires that a location is specified, eg. --with-system-ssl-certs=/etc/pki/tls/certs])
+	fi
 	if ! test -d "$ssl_certificates_dir" ; then
 		AC_MSG_ERROR([$ssl_certificates_dir does not exist, if this is the correct location please make sure that it exists.])
 	fi