From e66a241c246ff51d8b779af3495f16a3b8d91e3c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 2 Jan 2021 22:23:23 +0000 Subject: patch to avoid requiring libcurl git-svn-id: svn://tug.org/texlive/trunk@57301 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/utils/asymptote/parser.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Build/source/utils/asymptote/parser.cc b/Build/source/utils/asymptote/parser.cc index 06509acd39f..cdc8d81c680 100644 --- a/Build/source/utils/asymptote/parser.cc +++ b/Build/source/utils/asymptote/parser.cc @@ -111,8 +111,10 @@ bool isURL(const string& filename) absyntax::file *parseFile(const string& filename, const char *nameOfAction) { +#ifdef HAVE_LIBCURL if(isURL(filename)) return parseURL(filename,nameOfAction); +#endif if(filename == "-") return parseStdin(); -- cgit v1.2.3