]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
With an unknown CA path, we undef the variable. To build properly without
authorDaniel Stenberg <daniel@haxx.se>
Fri, 25 Jul 2003 08:47:34 +0000 (08:47 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 25 Jul 2003 08:47:34 +0000 (08:47 +0000)
SSL/CA.

lib/Makefile.am

index a12c00e18acc4e68438f2022f53c7053bcf0d4a1..421b4fecb9a993321990b82df15a316210b4ad90 100644 (file)
@@ -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 \