aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.am
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2008-03-20 08:09:23 +0000
committerMichal Marek <mmarek@suse.cz>2008-03-20 08:09:23 +0000
commit86cbb23282bee426439fc969d09a462acac0abe9 (patch)
tree5b97fda383c39a16038479d6c168e45e65abed4a /lib/Makefile.am
parente9a460411fcbf28c9e8b4e6afba4a7d1efa8bde2 (diff)
- Added --with-ca-path=DIRECTORY configure option to use an openSSL CApath by
default instead of a ca bundle. The configure script will also look for a ca path if no ca bundle is found and no option given. - Fixed detection of previously installed curl-ca-bundle.crt
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r--lib/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index f342946a6..350931df0 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -113,6 +113,11 @@ if CABUNDLE
else
echo '#undef CURL_CA_BUNDLE /* unknown default path */' >> $@
endif
+if CAPATH
+ echo '#define CURL_CA_PATH @CURL_CA_PATH@' >> $@
+else
+ echo '#undef CURL_CA_PATH /* unknown default path */' >>$@
+endif
# this hook is mainly for non-unix systems to build even if configure
# isn't run