acinclude: fix --without-ca-path when cross-compiling
authorDaniel Stenberg <daniel@haxx.se>
Tue, 3 Sep 2013 22:01:03 +0000 (00:01 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 3 Sep 2013 22:01:03 +0000 (00:01 +0200)
commit073b03fab78e0e445a06776ff556d6c68668f4dc
tree29931475cf9b6260dd4642605eb5431511d4a62b
parentf73f052010b2430dbb14ddf05e2a67e4d0b4b7de
acinclude: fix --without-ca-path when cross-compiling

The commit 7b074a460b64811 to CURL_CHECK_CA_BUNDLE in 7.31 (don't check
for paths when cross-compiling) causes --without-ca-path to no longer
works when cross-compiling, since ca and capath only ever get set to
"no" when not cross-compiling, I attach a patch that works for me. Also
in the cross-compilation case, no ca-path seems to be a better default
(IMVHO) than empty ca-path.

Bug: http://curl.haxx.se/bug/view.cgi?id=1273
Patch-by: Stefan Neis
acinclude.m4