summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-07-25 08:47:34 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-07-25 08:47:34 +0000
commit83f249cf65a77a787505ffc69113b42943e0fc72 (patch)
treecc1c2381c6f953960a9f15a6d4110529014ef0f7
parent2c2baa93ea0d2191ad4b8d26f194ab2d48a956eb (diff)
downloadgnurl-83f249cf65a77a787505ffc69113b42943e0fc72.tar.gz
gnurl-83f249cf65a77a787505ffc69113b42943e0fc72.tar.bz2
gnurl-83f249cf65a77a787505ffc69113b42943e0fc72.zip
With an unknown CA path, we undef the variable. To build properly without
SSL/CA.
-rw-r--r--lib/Makefile.am4
1 files changed, 4 insertions, 0 deletions
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 \