aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-02-18 11:35:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-02-18 11:35:12 +0000
commitfb23b85770b72b25448a99108f80fc4d6b8e10ac (patch)
treecb4593e86c20291f790fdf8784061facb8542422 /configure.ac
parent3458ce9ae55779f7409dabd82ce2efb73b03eea3 (diff)
- We're no longer providing a very old ca-bundle in the curl tarball. You can
get a fresh one downloaded and created with 'make ca-bundle' or you can get one from here => http://curl.haxx.se/docs/caextract.html if you want a fresh new one extracted from Mozilla's recent list of ca certs. The configure option --with-ca-bundle now lets you specify what file to use as default ca bundle for your build. If not specified, the configure script will check a few known standard places for a global ca cert to use.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac23
1 files changed, 1 insertions, 22 deletions
diff --git a/configure.ac b/configure.ac
index 0f4190005..990df578d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1610,28 +1610,7 @@ dnl **********************************************************************
dnl Check for the CA bundle
dnl **********************************************************************
-if test X"$SSL_ENABLED" != "X"; then
-
- AC_MSG_CHECKING([CA cert bundle install path])
-
- AC_ARG_WITH(ca-bundle,
-AC_HELP_STRING([--with-ca-bundle=FILE], [File name to install the CA bundle as])
-AC_HELP_STRING([--without-ca-bundle], [Don't install the CA bundle]),
- [ ca="$withval" ],
- [
- if test "x$prefix" != xNONE; then
- ca="\${prefix}/share/curl/curl-ca-bundle.crt"
- else
- ca="$ac_default_prefix/share/curl/curl-ca-bundle.crt"
- fi
- ] )
-
- if test "x$ca" != "xno"; then
- CURL_CA_BUNDLE='"'$ca'"'
- AC_SUBST(CURL_CA_BUNDLE)
- fi
- AC_MSG_RESULT([$ca])
-fi dnl only done if some kind of SSL was enabled
+CURL_CHECK_CA_BUNDLE
AM_CONDITIONAL(CABUNDLE, test x$ca != xno)