summaryrefslogtreecommitdiffstats
path: root/autogen.sh
blob: 5e0c381e7c4442f5bac16a217268655ab411c0cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# Only there to make jhbuild happy

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 builddir
$MESON setup "$@" builddir # use 'autogen.sh --reconfigure' to update
ln -sf builddir/Makefile Makefile