From: Dmitry Volyntsev Date: Thu, 5 Oct 2017 15:23:22 +0000 (+0300) Subject: Improved editline detection on NetBSD. X-Git-Tag: 0.1.14~1 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=297ea5eb483d24573604ea84d2b943fdc911ea51;p=njs.git Improved editline detection on NetBSD. --- 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