comparison configure.ac @ 28029:7a456d5da878

And really fix that --with-system-ssl-certs argument.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sun, 26 Jul 2009 21:42:21 +0000
parents be6999665c5e
children 8be4bea98188 c80c7274cda6 67143ecbddb1
comparison
equal deleted inserted replaced
28028:e741d5534055 28029:7a456d5da878
1638 dnl # SSL support 1638 dnl # SSL support
1639 dnl # 1639 dnl #
1640 dnl # Thanks go to Evolution for the checks. 1640 dnl # Thanks go to Evolution for the checks.
1641 dnl ####################################################################### 1641 dnl #######################################################################
1642 1642
1643 AC_ARG_WITH(system-ssl-certs, [AC_HELP_STRING([--with-system-ssl-certs=<dir>], [directory containing system-wide SSL CA certificates])]) 1643 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])
1644 1644
1645 SSL_CERTIFICATES_DIR="" 1645 SSL_CERTIFICATES_DIR=""
1646 if ! test -z "$with_system_ssl_certs" ; then 1646 if ! test -z "$ssl_certificates_dir" ; then
1647 if ! test -d "$with_system_ssl_certs" ; then 1647 if ! test -d "$ssl_certificates_dir" ; then
1648 AC_MSG_ERROR([$with_system_ssl_certs does not exist, if this is the correct location please make sure that it exists.]) 1648 AC_MSG_ERROR([$ssl_certificates_dir does not exist, if this is the correct location please make sure that it exists.])
1649 fi 1649 fi
1650 SSL_CERTIFICATES_DIR="$with_system_ssl_certs" 1650 SSL_CERTIFICATES_DIR="$ssl_certificates_dir"
1651 fi 1651 fi
1652 AC_SUBST(SSL_CERTIFICATES_DIR) 1652 AC_SUBST(SSL_CERTIFICATES_DIR)
1653 AM_CONDITIONAL(INSTALL_SSL_CERTIFICATES, test "x$SSL_CERTIFICATES_DIR" = "x") 1653 AM_CONDITIONAL(INSTALL_SSL_CERTIFICATES, test "x$SSL_CERTIFICATES_DIR" = "x")
1654 1654
1655 dnl These two are inverses of each other <-- stolen from evolution! 1655 dnl These two are inverses of each other <-- stolen from evolution!