From 83f249cf65a77a787505ffc69113b42943e0fc72 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 25 Jul 2003 08:47:34 +0000 Subject: With an unknown CA path, we undef the variable. To build properly without SSL/CA. --- lib/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/Makefile.am') diff --git a/lib/Makefile.am b/lib/Makefile.am index a12c00e18..421b4fecb 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -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 \ -- cgit v1.2.3