Mercurial > pidgin
comparison configure.ac @ 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 | 82917071d16f |
children | 852f9df1d735 |
comparison
equal
deleted
inserted
replaced
29645:08d4ec689d66 | 29646:55a807c06fbb |
---|---|
1682 | 1682 |
1683 AC_ARG_WITH(system-ssl-certs, [AC_HELP_STRING([--with-system-ssl-certs=<dir>], [directory containing system-wide SSL CA certificates])], [ssl_certificates_dir=$withval]) | 1683 AC_ARG_WITH(system-ssl-certs, [AC_HELP_STRING([--with-system-ssl-certs=<dir>], [directory containing system-wide SSL CA certificates])], [ssl_certificates_dir=$withval]) |
1684 | 1684 |
1685 SSL_CERTIFICATES_DIR="" | 1685 SSL_CERTIFICATES_DIR="" |
1686 if ! test -z "$ssl_certificates_dir" ; then | 1686 if ! test -z "$ssl_certificates_dir" ; then |
1687 if test "x$ssl_certificates_dir" = "xyes" ; then | |
1688 AC_MSG_ERROR([--with-system-ssl-certs requires that a location is specified, eg. --with-system-ssl-certs=/etc/pki/tls/certs]) | |
1689 fi | |
1687 if ! test -d "$ssl_certificates_dir" ; then | 1690 if ! test -d "$ssl_certificates_dir" ; then |
1688 AC_MSG_ERROR([$ssl_certificates_dir does not exist, if this is the correct location please make sure that it exists.]) | 1691 AC_MSG_ERROR([$ssl_certificates_dir does not exist, if this is the correct location please make sure that it exists.]) |
1689 fi | 1692 fi |
1690 SSL_CERTIFICATES_DIR="$ssl_certificates_dir" | 1693 SSL_CERTIFICATES_DIR="$ssl_certificates_dir" |
1691 fi | 1694 fi |