summaryrefslogtreecommitdiff
path: root/graphics/asymptote/settings.cc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/settings.cc')
-rw-r--r--graphics/asymptote/settings.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/asymptote/settings.cc b/graphics/asymptote/settings.cc
index d3817c7c61..0f83cfcaf9 100644
--- a/graphics/asymptote/settings.cc
+++ b/graphics/asymptote/settings.cc
@@ -961,7 +961,7 @@ struct versionOption : public option {
#ifdef HAVE_RPC_RPC_H
xdr=true;
#endif
-#ifdef HAVE_LIBREADLINE
+#if defined(HAVE_LIBREADLINE) && defined(HAVE_LIBCURSES)
readline=true;
#endif
#ifdef HAVE_LIBSIGSEGV