]> git.kaiwu.me - njs.git/commitdiff
Improved editline detection on NetBSD.
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 5 Oct 2017 15:23:22 +0000 (18:23 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Thu, 5 Oct 2017 15:23:22 +0000 (18:23 +0300)
nxt/auto/editline

index 4bc5d668828861e11271c3722d3b454b35ef309d..7a635321118921dca0ff8e45caee170dcfdedb52 100644 (file)
@@ -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