summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
Diffstat (limited to 'Build')
-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();