
# Copyright (C) Igor Sysoev
# Copyright (C) NGINX, Inc.


echo
echo "NJS configuration summary:"
echo
echo " + using CC: \"$CC\""
echo " + using CFLAGS: \"$NJS_CC_OPT ${CFLAGS:-$NJS_CFLAGS}\""
echo

if [ $NJS_HAVE_PCRE = YES ]; then
  echo " + using PCRE library: $NJS_PCRE_LIB"
fi

if [ $NJS_HAVE_READLINE = YES ]; then
  echo " + using readline library: $NJS_READLINE_LIB"
fi

if [ $NJS_HAVE_QUICKJS = YES ]; then
  echo " + using QuickJS library: $NJS_QUICKJS_LIB"
fi

if [ $NJS_HAVE_OPENSSL = YES ]; then
  echo " + using OpenSSL library: $NJS_OPENSSL_LIB"
fi

if [ $NJS_HAVE_LIBXML2 = YES ]; then
  echo " + using libxml2 library: $NJS_LIBXML2_LIB"
fi

if [ $NJS_HAVE_ZLIB = YES ]; then
  echo " + using zlib library: $NJS_ZLIB_LIB"
fi

if [ $NJS_HAVE_COMPUTED_GOTO = YES ]; then
  echo " + using computed goto"
fi


echo
echo " njs build dir: $NJS_BUILD_DIR"
echo " njs CLI: $NJS_BUILD_DIR/njs"

echo
