pipewire/autogen.sh
Thomas Zimmermann ff44d57426 autogen.sh: Check for meson
If meson is not installed, at least an error message should be printed.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
2019-05-23 10:14:35 +02:00

21 lines
479 B
Bash
Executable file

#!/bin/sh
# Only there to make jhbuild happy
git submodule init
git submodule update
if [ -z $MESON ]; then
MESON=`which meson`
fi
if [ -z $MESON ]; then
echo "error: Meson not found."
echo "Install meson to configure and build Pipewire. If meson" \
"is already installed, set the environment variable MESON" \
"to the binary's path."
exit 1;
fi
mkdir -p build
$MESON setup "$@" build # use 'autogen.sh --reconfigure' to update
ln -sf build/Makefile Makefile