summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-01-02 22:23:23 +0000
committerKarl Berry <karl@freefriends.org>2021-01-02 22:23:23 +0000
commite66a241c246ff51d8b779af3495f16a3b8d91e3c (patch)
tree5beb2e174d7495b3c9255559fa528d5146ad3cd6
parent8108f8772a3191c3087e5989a5b5277c27270ef0 (diff)
patch to avoid requiring libcurl
git-svn-id: svn://tug.org/texlive/trunk@57301 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/utils/asymptote/parser.cc2
1 files changed, 2 insertions, 0 deletions
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();