forked from disco-23/audiowmark
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathautogen.sh
More file actions
executable file
·37 lines (31 loc) · 763 Bytes
/
autogen.sh
File metadata and controls
executable file
·37 lines (31 loc) · 763 Bytes
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
#!/bin/bash
if automake --version >/dev/null 2>&1; then
:
else
echo "You need to have automake installed to build this package"
DIE=1
fi
if autoconf --version >/dev/null 2>&1; then
:
else
echo "You need to have autoconf installed to build this package"
DIE=1
fi
if libtoolize --version >/dev/null 2>&1; then
:
elif glibtoolize --version >/dev/null 2>&1; then # macOS
:
else
echo "You need to have libtool installed to build this package"
DIE=1
fi
if pkg-config --version >/dev/null 2>&1; then
:
else
echo "You need to have pkg-config installed to build this package"
DIE=1
fi
# bail out as scheduled
test "0$DIE" -gt 0 && exit 1
echo "Running: autoreconf -i && ./configure $@"
autoreconf -f -i -Wno-portability && ./configure "$@"