summaryrefslogtreecommitdiffstats
path: root/packaging/makeself/jobs/50-bash-4.4.18.install.sh
blob: a762d37aefeea3edb38edfc4453ecd4ac8c13628 (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
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later

. $(dirname "${0}")/../functions.sh "${@}" || exit 1

fetch "bash-4.4.18" "http://ftp.gnu.org/gnu/bash/bash-4.4.18.tar.gz"

run ./configure \
	--prefix=${NETDATA_INSTALL_PATH} \
	--without-bash-malloc \
	--enable-static-link \
	--enable-net-redirections \
	--enable-array-variables \
	--disable-profiling \
	--disable-nls \
#	--disable-rpath \
#	--enable-alias \
#	--enable-arith-for-command \
#	--enable-array-variables \
#	--enable-brace-expansion \
#	--enable-casemod-attributes \
#	--enable-casemod-expansions \
#	--enable-command-timing \
#	--enable-cond-command \
#	--enable-cond-regexp \
#	--enable-directory-stack \
#	--enable-dparen-arithmetic \
#	--enable-function-import \
#	--enable-glob-asciiranges-default \
#	--enable-help-builtin \
#	--enable-job-control \
#	--enable-net-redirections \
#	--enable-process-substitution \
#	--enable-progcomp \
#	--enable-prompt-string-decoding \
#	--enable-readline \
#	--enable-select \


run make clean
run make -j$(find_processors)

cat >examples/loadables/Makefile <<EOF
all:
clean:
install:
EOF

run make install

if [ ${NETDATA_BUILD_WITH_DEBUG} -eq 0 ]
then
    run strip ${NETDATA_INSTALL_PATH}/bin/bash
fi