From 297ea5eb483d24573604ea84d2b943fdc911ea51 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Thu, 5 Oct 2017 18:23:22 +0300 Subject: [PATCH] Improved editline detection on NetBSD. --- nxt/auto/editline | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nxt/auto/editline b/nxt/auto/editline index 4bc5d668..7a635321 100644 --- a/nxt/auto/editline +++ b/nxt/auto/editline @@ -27,6 +27,16 @@ if [ $nxt_found = no ]; then . auto/feature fi +if [ $nxt_found = no ]; then + + # NetBSD + + nxt_feature="editline in /usr/include" + nxt_feature_incs="-I/usr/include/readline" + + . auto/feature +fi + if [ $nxt_found = yes ]; then NXT_HAVE_LIBEDIT=YES cat << END >> $NXT_MAKEFILE_CONF -- 2.47.3