fi
if [ $nxt_found = yes ]; then
+ NXT_HAVE_LIBEDIT=YES
cat << END >> $NXT_MAKEFILE_CONF
NXT_EDITLINE_CFLAGS = $nxt_feature_incs
END
else
+ NXT_HAVE_LIBEDIT=NO
$nxt_echo " - building interactive shell is not possible"
cat << END >> $NXT_MAKEFILE_CONF
if [ $nxt_found = yes ]; then
$nxt_echo " found"
$nxt_echo " + Expect version: `expect -v`"
+
+else
+ $nxt_echo " not found"
+fi
+
+if [ $nxt_found = yes -a $NXT_HAVE_LIBEDIT = YES ]; then
cat << END >> $NXT_MAKEFILE_CONF
njs_expect_test: njs njs/test/njs_expect_test.exp
END
else
- $nxt_echo " not found"
$nxt_echo " - expect tests are disabled"
cat << END >> $NXT_MAKEFILE_CONF