mirror of
https://github.com/nginx/njs.git
synced 2025-09-18 09:03:15 +03:00
66 lines
1.0 KiB
Bash
Executable File
66 lines
1.0 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
# Copyright (C) Igor Sysoev
|
|
# Copyright (C) NGINX, Inc.
|
|
|
|
|
|
# Disable localized program messages.
|
|
LC_ALL=C
|
|
export LC_ALL
|
|
|
|
# Stop on error exit status.
|
|
set -e
|
|
# Stop on uninitialized variable.
|
|
set -u
|
|
|
|
. auto/init
|
|
. auto/options
|
|
|
|
NJS_AUTOTEST=$NJS_BUILD_DIR/autotest
|
|
NJS_AUTOCONF_ERR=$NJS_BUILD_DIR/autoconf.err
|
|
NJS_AUTO_CONFIG_H=$NJS_BUILD_DIR/njs_auto_config.h
|
|
NJS_MAKEFILE=$NJS_BUILD_DIR/Makefile
|
|
|
|
NJS_LIB_INCS="src external $NJS_BUILD_DIR"
|
|
|
|
test -d $NJS_BUILD_DIR || mkdir $NJS_BUILD_DIR
|
|
|
|
> $NJS_AUTOCONF_ERR
|
|
|
|
cat << END > $NJS_AUTO_CONFIG_H
|
|
|
|
/* This file is auto-generated by configure */
|
|
|
|
END
|
|
|
|
NJS_LIBS="$NJS_LIBRT"
|
|
NJS_LIB_AUX_CFLAGS=
|
|
NJS_LIB_AUX_LIBS=
|
|
|
|
. auto/os
|
|
. auto/cc
|
|
. auto/types
|
|
. auto/endianness
|
|
. auto/clang
|
|
. auto/time
|
|
. auto/memalign
|
|
. auto/getrandom
|
|
. auto/stat
|
|
. auto/computed_goto
|
|
. auto/explicit_bzero
|
|
. auto/pcre
|
|
. auto/readline
|
|
. auto/quickjs
|
|
. auto/openssl
|
|
. auto/libxml2
|
|
. auto/zlib
|
|
. auto/libbfd
|
|
. auto/link
|
|
|
|
. auto/sources
|
|
. auto/modules
|
|
. auto/qjs_modules
|
|
. auto/make
|
|
. auto/expect
|
|
. auto/summary
|