pidgin: 21968e25: Add a more helpful error message if --wi...

nosnilmot at pidgin.im nosnilmot at pidgin.im
Fri Mar 26 22:15:47 EDT 2010


-----------------------------------------------------------------
Revision: 21968e25181ee86f5556544054046884f68fa3ce
Ancestor: 275fcb4db5ba847f0178cdd86ad90ce3513cb5a4
Author: nosnilmot at pidgin.im
Date: 2010-03-27T02:11:31
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/21968e25181ee86f5556544054046884f68fa3ce

Modified files:
        configure.ac

ChangeLog: 

Add a more helpful error message if --with-system-ssl-certs is specified
without a path provided

-------------- next part --------------
============================================================
--- configure.ac	59985f638354a834566058abf06304ce45d9e6b8
+++ configure.ac	0b425877e0b6e2bdcb985ba4baf9751d5976a866
@@ -1684,6 +1684,9 @@ if ! test -z "$ssl_certificates_dir" ; t
 
 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


More information about the Commits mailing list