mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
build-sys: make bootstrap.sh fail if autopoint or intltoolize are not available
This commit is contained in:
parent
703d95fd00
commit
675a407a0e
1 changed files with 9 additions and 5 deletions
14
bootstrap.sh
14
bootstrap.sh
|
|
@ -32,13 +32,17 @@ fi
|
|||
# configure file faulty.
|
||||
if ! pkg-config --version &>/dev/null; then
|
||||
echo "pkg-config is required to bootstrap this program"
|
||||
DIE=1
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Other necessary programs
|
||||
intltoolize --version >/dev/null || DIE=1
|
||||
test "$DIE" = 1 && exit 1
|
||||
|
||||
if ! autopoint --version &>/dev/null ; then
|
||||
echo "autopoint is required to bootstrap this program"
|
||||
exit 1
|
||||
fi
|
||||
if ! intltoolize --version >/dev/null ; then
|
||||
echo "intltoolize is required to bootstrap this program"
|
||||
exit 1
|
||||
fi
|
||||
autopoint --force
|
||||
AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue