@@ -8,74 +8,74 @@ true # Dummy command because shellcheck treats all directives before first
8
8
# See: https://github.com/koalaman/shellcheck/wiki/Directive
9
9
10
10
# shellcheck disable=SC2154
11
- depends_prefix="$(cd "$(dirname ${ ac_site_file} )/.." && pwd)"
11
+ depends_prefix="$(cd "$(dirname "$ ac_site_file" )/.." && pwd)"
12
12
13
13
cross_compiling=maybe
14
- host_alias=@HOST@
15
- ac_tool_prefix=${host_alias}-
14
+ host_alias=" @HOST@"
15
+ ac_tool_prefix=" ${host_alias}-"
16
16
17
- if test -z $with_boost; then
18
- with_boost=$depends_prefix
17
+ if test -z " $with_boost" ; then
18
+ with_boost=" $depends_prefix"
19
19
fi
20
- if test -z $with_qt_plugindir; then
21
- with_qt_plugindir=$ depends_prefix/plugins
20
+ if test -z " $with_qt_plugindir" ; then
21
+ with_qt_plugindir="${ depends_prefix} /plugins"
22
22
fi
23
- if test -z $with_qt_translationdir; then
24
- with_qt_translationdir=$ depends_prefix/translations
23
+ if test -z " $with_qt_translationdir" ; then
24
+ with_qt_translationdir="${ depends_prefix} /translations"
25
25
fi
26
- if test -z $with_qt_bindir && test -z "@no_qt@"; then
27
- with_qt_bindir=$ depends_prefix/native/bin
26
+ if test -z " $with_qt_bindir" && test -z "@no_qt@"; then
27
+ with_qt_bindir="${ depends_prefix} /native/bin"
28
28
fi
29
- if test -z $with_mpgen && test -n "@multiprocess@"; then
30
- with_mpgen=$ depends_prefix/native
29
+ if test -z " $with_mpgen" && test -n "@multiprocess@"; then
30
+ with_mpgen="${ depends_prefix} /native"
31
31
fi
32
32
33
- if test -z $with_qrencode && test -n "@no_qr@"; then
33
+ if test -z " $with_qrencode" && test -n "@no_qr@"; then
34
34
with_qrencode=no
35
35
fi
36
36
37
- if test -z $enable_wallet && test -n "@no_wallet@"; then
37
+ if test -z " $enable_wallet" && test -n "@no_wallet@"; then
38
38
enable_wallet=no
39
39
fi
40
40
41
- if test -z $enable_multiprocess && test -n "@multiprocess@"; then
41
+ if test -z " $enable_multiprocess" && test -n "@multiprocess@"; then
42
42
enable_multiprocess=yes
43
43
fi
44
44
45
- if test -z $with_miniupnpc && test -n "@no_upnp@"; then
45
+ if test -z " $with_miniupnpc" && test -n "@no_upnp@"; then
46
46
with_miniupnpc=no
47
47
fi
48
48
49
- if test -z $with_natpmp && test -n "@no_natpmp@"; then
49
+ if test -z " $with_natpmp" && test -n "@no_natpmp@"; then
50
50
with_natpmp=no
51
51
fi
52
52
53
- if test -z $with_gui && test -n "@no_qt@"; then
53
+ if test -z " $with_gui" && test -n "@no_qt@"; then
54
54
with_gui=no
55
55
fi
56
56
57
- if test -z $enable_zmq && test -n "@no_zmq@"; then
57
+ if test -z " $enable_zmq" && test -n "@no_zmq@"; then
58
58
enable_zmq=no
59
59
fi
60
60
61
- if test x@host_os@ = xdarwin; then
61
+ if test " x@host_os@" = xdarwin; then
62
62
BREW=no
63
63
PORT=no
64
64
fi
65
65
66
- PATH=$ depends_prefix/native/bin:$PATH
66
+ PATH="${ depends_prefix} /native/bin:${ PATH}"
67
67
PKG_CONFIG="$(which pkg-config) --static"
68
68
69
69
# These two need to remain exported because pkg-config does not see them
70
70
# otherwise. That means they must be unexported at the end of configure.ac to
71
71
# avoid ruining the cache. Sigh.
72
- export PKG_CONFIG_PATH=$ depends_prefix/share/pkgconfig:$depends_prefix/lib/pkgconfig
72
+ export PKG_CONFIG_PATH="${ depends_prefix} /share/pkgconfig:${ depends_prefix} /lib/pkgconfig"
73
73
if test -z "@allow_host_packages@"; then
74
- export PKG_CONFIG_LIBDIR=$ depends_prefix/lib/pkgconfig
74
+ export PKG_CONFIG_LIBDIR="${ depends_prefix} /lib/pkgconfig"
75
75
fi
76
76
77
- CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS"
78
- LDFLAGS="-L$depends_prefix/lib $LDFLAGS"
77
+ CPPFLAGS="-I${ depends_prefix} /include/ ${ CPPFLAGS} "
78
+ LDFLAGS="-L${ depends_prefix} /lib ${ LDFLAGS} "
79
79
80
80
if test -n "@CC@" -a -z "${CC}"; then
81
81
CC="@CC@"
86
86
PYTHONPATH="${depends_prefix}/native/lib/python3/dist-packages${PYTHONPATH:+${PATH_SEPARATOR}}${PYTHONPATH}"
87
87
88
88
if test -n "@AR@"; then
89
- AR=@AR@
90
- ac_cv_path_ac_pt_AR=${AR}
89
+ AR=" @AR@"
90
+ ac_cv_path_ac_pt_AR=" ${AR}"
91
91
fi
92
92
93
93
if test -n "@RANLIB@"; then
94
- RANLIB=@RANLIB@
95
- ac_cv_path_ac_pt_RANLIB=${RANLIB}
94
+ RANLIB=" @RANLIB@"
95
+ ac_cv_path_ac_pt_RANLIB=" ${RANLIB}"
96
96
fi
97
97
98
98
if test -n "@NM@"; then
99
- NM=@NM@
100
- ac_cv_path_ac_pt_NM=${NM}
99
+ NM=" @NM@"
100
+ ac_cv_path_ac_pt_NM=" ${NM}"
101
101
fi
102
102
103
103
if test -n "@debug@"; then
104
104
enable_reduce_exports=no
105
105
fi
106
106
107
107
if test -n "@CFLAGS@"; then
108
- CFLAGS="@CFLAGS@ $CFLAGS"
108
+ CFLAGS="@CFLAGS@ ${ CFLAGS} "
109
109
fi
110
110
if test -n "@CXXFLAGS@"; then
111
- CXXFLAGS="@CXXFLAGS@ $CXXFLAGS"
111
+ CXXFLAGS="@CXXFLAGS@ ${ CXXFLAGS} "
112
112
fi
113
113
if test -n "@CPPFLAGS@"; then
114
- CPPFLAGS="@CPPFLAGS@ $CPPFLAGS"
114
+ CPPFLAGS="@CPPFLAGS@ ${ CPPFLAGS} "
115
115
fi
116
116
if test -n "@LDFLAGS@"; then
117
- LDFLAGS="@LDFLAGS@ $LDFLAGS"
117
+ LDFLAGS="@LDFLAGS@ ${ LDFLAGS} "
118
118
fi
0 commit comments