[njs] Improved editline detection on NetBSD.

Dmitry Volyntsev xeioex at nginx.com
Thu Oct 5 15:30:53 UTC 2017


details:   http://hg.nginx.org/njs/rev/d6ab83febe2b
branches:  
changeset: 416:d6ab83febe2b
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Thu Oct 05 18:23:22 2017 +0300
description:
Improved editline detection on NetBSD.

diffstat:

 nxt/auto/editline |  10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diffs (20 lines):

diff -r 65607378a01b -r d6ab83febe2b nxt/auto/editline
--- a/nxt/auto/editline	Thu Oct 05 18:22:56 2017 +0300
+++ b/nxt/auto/editline	Thu Oct 05 18:23:22 2017 +0300
@@ -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


More information about the nginx-devel mailing list