File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ function _get_branch_alephone() {
26
26
}
27
27
28
28
function depends_alephone() {
29
- local depends=(libboost-all-dev libspeexdsp-dev libzzip-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev autoconf automake libboost-system-dev libcurl4-openssl-dev)
29
+ local depends=(libboost-all-dev libspeexdsp-dev libzzip-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev autoconf automake libboost-system-dev libcurl4-openssl-dev autoconf-archive )
30
30
if compareVersions " $__os_debian_ver " ge 9 || [[ -n " $__os_ubuntu_ver " ]]; then
31
31
depends+=(libsdl2-dev libsdl2-net-dev libsdl2-image-dev libsdl2-ttf-dev libglu1-mesa-dev libgl1-mesa-dev)
32
32
else
@@ -42,7 +42,14 @@ function sources_alephone() {
42
42
function build_alephone() {
43
43
params=(--prefix=" $md_inst " )
44
44
isPlatform " arm" && params+=(--with-boost-libdir=/usr/lib/arm-linux-gnueabihf)
45
- ./autogen.sh
45
+
46
+ # if building an older release, use autogen.sh otherwise use autoreconf
47
+ if [[ -f " autogen.sh" ]]; then
48
+ ./autogen.sh
49
+ else
50
+ autoreconf -iv
51
+ fi
52
+
46
53
./configure " ${params[@]} "
47
54
make clean
48
55
make
You can’t perform that action at this time.
0 commit comments