aboutsummaryrefslogtreecommitdiff
path: root/configure
blob: 57730b0577a71a8a936976454c76dc6062776e1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/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