summaryrefslogtreecommitdiff
path: root/graphics/asymptote/parser.cc
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-02-20 03:00:53 +0000
committerNorbert Preining <norbert@preining.info>2021-02-20 03:00:53 +0000
commitb94dba90d83866ccb6db5273d214512e859c3179 (patch)
tree22d9aa93362d01d16e846322750afc738a05037a /graphics/asymptote/parser.cc
parentf670508774c35b585b520fa9217d156664b4cb2a (diff)
CTAN sync 202102200300
Diffstat (limited to 'graphics/asymptote/parser.cc')
-rw-r--r--graphics/asymptote/parser.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/asymptote/parser.cc b/graphics/asymptote/parser.cc
index 06509acd39..cdc8d81c68 100644
--- a/graphics/asymptote/parser.cc
+++ b/graphics/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();