summaryrefslogtreecommitdiff
path: root/graphics/asymptote/parser.cc
diff options
context:
space:
mode:
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();