2
0
mirror of https://github.com/curl/curl.git synced 2025-04-24 16:40:32 +08:00

With an unknown CA path, we undef the variable. To build properly without

SSL/CA.
This commit is contained in:
Daniel Stenberg 2003-07-25 08:47:34 +00:00
parent 2c2baa93ea
commit 83f249cf65

@ -84,7 +84,11 @@ $(srcdir)/getdate.c: getdate.y
$(srcdir)/ca-bundle.h: Makefile.in Makefile
cd $(srcdir) && \
echo "/* The file is generated automaticly */" > $@
if CABUNDLE
echo '#define CURL_CA_BUNDLE @CURL_CA_BUNDLE@' >> $@
else
echo '#undef CURL_CA_BUNDLE /* unknown */' >> $@
endif
install-data-hook:
@if test -n "@CURL_CA_BUNDLE@"; then \